From d1b80a373ca21b3d51f0db4b6a70c48edcf65901 Mon Sep 17 00:00:00 2001
From: Gabriel PREDA
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
+ * $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...);
+ * $budget = $adexchangebuyerService->budget;
+ *
+ */
+class Google_Service_AdExchangeBuyer_Budget_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the budget information for the adgroup specified by the accountId and
+ * billingId. (budget.get)
+ *
+ * @param string $accountId The account id to get the budget information for.
+ * @param string $billingId The billing id to get the budget information for.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Budget
+ */
+ public function get($accountId, $billingId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'billingId' => $billingId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AdExchangeBuyer_Budget");
+ }
+
+ /**
+ * Updates the budget amount for the budget of the adgroup specified by the
+ * accountId and billingId, with the budget amount in the request. This method
+ * supports patch semantics. (budget.patch)
+ *
+ * @param string $accountId The account id associated with the budget being
+ * updated.
+ * @param string $billingId The billing id associated with the budget being
+ * updated.
+ * @param Google_Budget $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Budget
+ */
+ public function patch($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AdExchangeBuyer_Budget");
+ }
+
+ /**
+ * Updates the budget amount for the budget of the adgroup specified by the
+ * accountId and billingId, with the budget amount in the request.
+ * (budget.update)
+ *
+ * @param string $accountId The account id associated with the budget being
+ * updated.
+ * @param string $billingId The billing id associated with the budget being
+ * updated.
+ * @param Google_Budget $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AdExchangeBuyer_Budget
+ */
+ public function update($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'billingId' => $billingId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AdExchangeBuyer_Budget");
+ }
+}
+
/**
* The "creatives" collection of methods.
* Typical usage is:
@@ -920,6 +1044,68 @@ public function getKind()
}
}
+class Google_Service_AdExchangeBuyer_Budget extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $billingId;
+ public $budgetAmount;
+ public $currencyCode;
+ public $id;
+ public $kind;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setBillingId($billingId)
+ {
+ $this->billingId = $billingId;
+ }
+ public function getBillingId()
+ {
+ return $this->billingId;
+ }
+ public function setBudgetAmount($budgetAmount)
+ {
+ $this->budgetAmount = $budgetAmount;
+ }
+ public function getBudgetAmount()
+ {
+ return $this->budgetAmount;
+ }
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
protected $collection_key = 'vendorType';
From c0afacd55a976800894f4daa704b57ef51dc9de5 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $booksService = new Google_Service_Books(...);
+ * $onboarding = $booksService->onboarding;
+ *
+ */
+class Google_Service_Books_Onboarding_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List categories for onboarding experience. (onboarding.listCategories)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
+ * Default is en-US if unset.
+ * @return Google_Service_Books_Category
+ */
+ public function listCategories($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategories', array($params), "Google_Service_Books_Category");
+ }
+
+ /**
+ * List available volumes under categories for onboarding experience.
+ * (onboarding.listCategoryVolumes)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string locale ISO-639-1 language and ISO-3166-1 country code.
+ * Default is en-US if unset.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * page.
+ * @opt_param string categoryId List of category ids requested.
+ * @opt_param string pageSize Number of maximum results per page to be included
+ * in the response.
+ * @return Google_Service_Books_Volume2
+ */
+ public function listCategoryVolumes($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('listCategoryVolumes', array($params), "Google_Service_Books_Volume2");
+ }
+}
+
/**
* The "promooffer" collection of methods.
* Typical usage is:
@@ -3218,6 +3346,69 @@ public function getKind()
}
}
+class Google_Service_Books_Category extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_Books_CategoryItems';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Books_CategoryItems extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $badgeUrl;
+ public $categoryId;
+ public $name;
+
+
+ public function setBadgeUrl($badgeUrl)
+ {
+ $this->badgeUrl = $badgeUrl;
+ }
+ public function getBadgeUrl()
+ {
+ return $this->badgeUrl;
+ }
+ public function setCategoryId($categoryId)
+ {
+ $this->categoryId = $categoryId;
+ }
+ public function getCategoryId()
+ {
+ return $this->categoryId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
class Google_Service_Books_ConcurrentAccessRestriction extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -4942,6 +5133,59 @@ public function getUrl()
}
}
+class Google_Service_Books_Usersettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $notesExportType = 'Google_Service_Books_UsersettingsNotesExport';
+ protected $notesExportDataType = '';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNotesExport(Google_Service_Books_UsersettingsNotesExport $notesExport)
+ {
+ $this->notesExport = $notesExport;
+ }
+ public function getNotesExport()
+ {
+ return $this->notesExport;
+ }
+}
+
+class Google_Service_Books_UsersettingsNotesExport extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $folderName;
+ public $isEnabled;
+
+
+ public function setFolderName($folderName)
+ {
+ $this->folderName = $folderName;
+ }
+ public function getFolderName()
+ {
+ return $this->folderName;
+ }
+ public function setIsEnabled($isEnabled)
+ {
+ $this->isEnabled = $isEnabled;
+ }
+ public function getIsEnabled()
+ {
+ return $this->isEnabled;
+ }
+}
+
class Google_Service_Books_Volume extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -5056,6 +5300,43 @@ public function getVolumeInfo()
}
}
+class Google_Service_Books_Volume2 extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_Books_Volume';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Books_VolumeAccessInfo extends Google_Model
{
protected $internal_gapi_mappings = array(
From 8a9bd13d9a6f7b4b1d07e5e989051cb681ded48c Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Dataflow extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $v1b3_projects_jobs; + public $v1b3_projects_jobs_messages; + public $v1b3_projects_jobs_workItems; + + + /** + * Constructs the internal representation of the Dataflow service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'dataflow/v1b3/projects/'; + $this->version = 'v1beta3'; + $this->serviceName = 'dataflow'; + + $this->v1b3_projects_jobs = new Google_Service_Dataflow_V1b3ProjectsJobs_Resource( + $this, + $this->serviceName, + 'jobs', + array( + 'methods' => array( + 'create' => array( + 'path' => '{projectId}/jobs', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'get' => array( + 'path' => '{projectId}/jobs/{jobId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getMetrics' => array( + 'path' => '{projectId}/jobs/{jobId}/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'list' => array( + 'path' => '{projectId}/jobs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => '{projectId}/jobs/{jobId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => '{projectId}/jobs/{jobId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->v1b3_projects_jobs_messages = new Google_Service_Dataflow_V1b3ProjectsJobsMessages_Resource( + $this, + $this->serviceName, + 'messages', + array( + 'methods' => array( + 'list' => array( + 'path' => '{projectId}/jobs/{jobId}/messages', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'startTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'endTime' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'minimumImportance' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->v1b3_projects_jobs_workItems = new Google_Service_Dataflow_V1b3ProjectsJobsWorkItems_Resource( + $this, + $this->serviceName, + 'workItems', + array( + 'methods' => array( + 'lease' => array( + 'path' => '{projectId}/jobs/{jobId}/workItems:lease', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'reportStatus' => array( + 'path' => '{projectId}/jobs/{jobId}/workItems:reportStatus', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'jobId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "v1b3" collection of methods. + * Typical usage is: + *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $v1b3 = $dataflowService->v1b3;
+ *
+ */
+class Google_Service_Dataflow_V1b3_Resource extends Google_Service_Resource
+{
+}
+
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $projects = $dataflowService->projects;
+ *
+ */
+class Google_Service_Dataflow_V1b3Projects_Resource extends Google_Service_Resource
+{
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $jobs = $dataflowService->jobs;
+ *
+ */
+class Google_Service_Dataflow_V1b3ProjectsJobs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a dataflow job. (jobs.create)
+ *
+ * @param string $projectId
+ * @param Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * @return Google_Service_Dataflow_Job
+ */
+ public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dataflow_Job");
+ }
+
+ /**
+ * Gets the state of the specified dataflow job. (jobs.get)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * @return Google_Service_Dataflow_Job
+ */
+ public function get($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataflow_Job");
+ }
+
+ /**
+ * Request the job status. (jobs.getMetrics)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startTime
+ * @return Google_Service_Dataflow_JobMetrics
+ */
+ public function getMetrics($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics");
+ }
+
+ /**
+ * List the jobs of a project (jobs.listV1b3ProjectsJobs)
+ *
+ * @param string $projectId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * @opt_param string view
+ * @opt_param int pageSize
+ * @return Google_Service_Dataflow_ListJobsResponse
+ */
+ public function listV1b3ProjectsJobs($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse");
+ }
+
+ /**
+ * Updates the state of an existing dataflow job. This method supports patch
+ * semantics. (jobs.patch)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function patch($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dataflow_Job");
+ }
+
+ /**
+ * Updates the state of an existing dataflow job. (jobs.update)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dataflow_Job");
+ }
+}
+
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $messages = $dataflowService->messages;
+ *
+ */
+class Google_Service_Dataflow_V1b3ProjectsJobsMessages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Request the job status. (messages.listV1b3ProjectsJobsMessages)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize
+ * @opt_param string pageToken
+ * @opt_param string startTime
+ * @opt_param string endTime
+ * @opt_param string minimumImportance
+ * @return Google_Service_Dataflow_ListJobMessagesResponse
+ */
+ public function listV1b3ProjectsJobsMessages($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse");
+ }
+}
+/**
+ * The "workItems" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $workItems = $dataflowService->workItems;
+ *
+ */
+class Google_Service_Dataflow_V1b3ProjectsJobsWorkItems_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Leases a dataflow WorkItem to run. (workItems.lease)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_LeaseWorkItemRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_LeaseWorkItemResponse
+ */
+ public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse");
+ }
+
+ /**
+ * Reports the status of dataflow WorkItems leased by a worker.
+ * (workItems.reportStatus)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_ReportWorkItemStatusRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_ReportWorkItemStatusResponse
+ */
+ public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse");
+ }
+}
+
+
+
+
+class Google_Service_Dataflow_ApproximateProgress extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $percentComplete;
+ protected $positionType = 'Google_Service_Dataflow_Position';
+ protected $positionDataType = '';
+ public $remainingTime;
+
+
+ public function setPercentComplete($percentComplete)
+ {
+ $this->percentComplete = $percentComplete;
+ }
+ public function getPercentComplete()
+ {
+ return $this->percentComplete;
+ }
+ public function setPosition(Google_Service_Dataflow_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setRemainingTime($remainingTime)
+ {
+ $this->remainingTime = $remainingTime;
+ }
+ public function getRemainingTime()
+ {
+ return $this->remainingTime;
+ }
+}
+
+class Google_Service_Dataflow_AutoscalingSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $algorithm;
+ public $maxNumWorkers;
+
+
+ public function setAlgorithm($algorithm)
+ {
+ $this->algorithm = $algorithm;
+ }
+ public function getAlgorithm()
+ {
+ return $this->algorithm;
+ }
+ public function setMaxNumWorkers($maxNumWorkers)
+ {
+ $this->maxNumWorkers = $maxNumWorkers;
+ }
+ public function getMaxNumWorkers()
+ {
+ return $this->maxNumWorkers;
+ }
+}
+
+class Google_Service_Dataflow_ComputationTopology extends Google_Collection
+{
+ protected $collection_key = 'outputs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $computationId;
+ protected $inputsType = 'Google_Service_Dataflow_StreamLocation';
+ protected $inputsDataType = 'array';
+ protected $keyRangesType = 'Google_Service_Dataflow_KeyRangeLocation';
+ protected $keyRangesDataType = 'array';
+ protected $outputsType = 'Google_Service_Dataflow_StreamLocation';
+ protected $outputsDataType = 'array';
+
+
+ public function setComputationId($computationId)
+ {
+ $this->computationId = $computationId;
+ }
+ public function getComputationId()
+ {
+ return $this->computationId;
+ }
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+ public function setKeyRanges($keyRanges)
+ {
+ $this->keyRanges = $keyRanges;
+ }
+ public function getKeyRanges()
+ {
+ return $this->keyRanges;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+}
+
+class Google_Service_Dataflow_DataDiskAssignment extends Google_Collection
+{
+ protected $collection_key = 'dataDisks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataDisks;
+ public $vmInstance;
+
+
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setVmInstance($vmInstance)
+ {
+ $this->vmInstance = $vmInstance;
+ }
+ public function getVmInstance()
+ {
+ return $this->vmInstance;
+ }
+}
+
+class Google_Service_Dataflow_Disk extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $diskType;
+ public $mountPoint;
+ public $sizeGb;
+
+
+ public function setDiskType($diskType)
+ {
+ $this->diskType = $diskType;
+ }
+ public function getDiskType()
+ {
+ return $this->diskType;
+ }
+ public function setMountPoint($mountPoint)
+ {
+ $this->mountPoint = $mountPoint;
+ }
+ public function getMountPoint()
+ {
+ return $this->mountPoint;
+ }
+ public function setSizeGb($sizeGb)
+ {
+ $this->sizeGb = $sizeGb;
+ }
+ public function getSizeGb()
+ {
+ return $this->sizeGb;
+ }
+}
+
+class Google_Service_Dataflow_Environment extends Google_Collection
+{
+ protected $collection_key = 'workerPools';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clusterManagerApiService;
+ public $dataset;
+ public $experiments;
+ public $tempStoragePrefix;
+ public $userAgent;
+ public $version;
+ protected $workerPoolsType = 'Google_Service_Dataflow_WorkerPool';
+ protected $workerPoolsDataType = 'array';
+
+
+ public function setClusterManagerApiService($clusterManagerApiService)
+ {
+ $this->clusterManagerApiService = $clusterManagerApiService;
+ }
+ public function getClusterManagerApiService()
+ {
+ return $this->clusterManagerApiService;
+ }
+ public function setDataset($dataset)
+ {
+ $this->dataset = $dataset;
+ }
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+ public function setExperiments($experiments)
+ {
+ $this->experiments = $experiments;
+ }
+ public function getExperiments()
+ {
+ return $this->experiments;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setWorkerPools($workerPools)
+ {
+ $this->workerPools = $workerPools;
+ }
+ public function getWorkerPools()
+ {
+ return $this->workerPools;
+ }
+}
+
+class Google_Service_Dataflow_EnvironmentUserAgent extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_EnvironmentVersion extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_FlattenInstruction extends Google_Collection
+{
+ protected $collection_key = 'inputs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputsType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputsDataType = 'array';
+
+
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+}
+
+class Google_Service_Dataflow_InstructionInput extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $outputNum;
+ public $producerInstructionIndex;
+
+
+ public function setOutputNum($outputNum)
+ {
+ $this->outputNum = $outputNum;
+ }
+ public function getOutputNum()
+ {
+ return $this->outputNum;
+ }
+ public function setProducerInstructionIndex($producerInstructionIndex)
+ {
+ $this->producerInstructionIndex = $producerInstructionIndex;
+ }
+ public function getProducerInstructionIndex()
+ {
+ return $this->producerInstructionIndex;
+ }
+}
+
+class Google_Service_Dataflow_InstructionOutput extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $codec;
+ public $name;
+
+
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dataflow_InstructionOutputCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Job extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ protected $internal_gapi_mappings = array(
+ );
+ public $createTime;
+ public $currentState;
+ public $currentStateTime;
+ protected $environmentType = 'Google_Service_Dataflow_Environment';
+ protected $environmentDataType = '';
+ protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo';
+ protected $executionInfoDataType = '';
+ public $id;
+ public $name;
+ public $projectId;
+ public $requestedState;
+ protected $stepsType = 'Google_Service_Dataflow_Step';
+ protected $stepsDataType = 'array';
+ public $type;
+
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setCurrentState($currentState)
+ {
+ $this->currentState = $currentState;
+ }
+ public function getCurrentState()
+ {
+ return $this->currentState;
+ }
+ public function setCurrentStateTime($currentStateTime)
+ {
+ $this->currentStateTime = $currentStateTime;
+ }
+ public function getCurrentStateTime()
+ {
+ return $this->currentStateTime;
+ }
+ public function setEnvironment(Google_Service_Dataflow_Environment $environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+ public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo)
+ {
+ $this->executionInfo = $executionInfo;
+ }
+ public function getExecutionInfo()
+ {
+ return $this->executionInfo;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRequestedState($requestedState)
+ {
+ $this->requestedState = $requestedState;
+ }
+ public function getRequestedState()
+ {
+ return $this->requestedState;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dataflow_JobExecutionInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $stagesType = 'Google_Service_Dataflow_JobExecutionStageInfo';
+ protected $stagesDataType = 'map';
+
+
+ public function setStages($stages)
+ {
+ $this->stages = $stages;
+ }
+ public function getStages()
+ {
+ return $this->stages;
+ }
+}
+
+class Google_Service_Dataflow_JobExecutionInfoStages extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_JobExecutionStageInfo extends Google_Collection
+{
+ protected $collection_key = 'stepName';
+ protected $internal_gapi_mappings = array(
+ );
+ public $stepName;
+
+
+ public function setStepName($stepName)
+ {
+ $this->stepName = $stepName;
+ }
+ public function getStepName()
+ {
+ return $this->stepName;
+ }
+}
+
+class Google_Service_Dataflow_JobMessage extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $messageImportance;
+ public $messageText;
+ public $time;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessageImportance($messageImportance)
+ {
+ $this->messageImportance = $messageImportance;
+ }
+ public function getMessageImportance()
+ {
+ return $this->messageImportance;
+ }
+ public function setMessageText($messageText)
+ {
+ $this->messageText = $messageText;
+ }
+ public function getMessageText()
+ {
+ return $this->messageText;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Google_Service_Dataflow_JobMetrics extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ public $metricTime;
+ protected $metricsType = 'Google_Service_Dataflow_MetricUpdate';
+ protected $metricsDataType = 'array';
+
+
+ public function setMetricTime($metricTime)
+ {
+ $this->metricTime = $metricTime;
+ }
+ public function getMetricTime()
+ {
+ return $this->metricTime;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+}
+
+class Google_Service_Dataflow_KeyRangeLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataDisk;
+ public $deliveryEndpoint;
+ public $end;
+ public $persistentDirectory;
+ public $start;
+
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+ public function setDeliveryEndpoint($deliveryEndpoint)
+ {
+ $this->deliveryEndpoint = $deliveryEndpoint;
+ }
+ public function getDeliveryEndpoint()
+ {
+ return $this->deliveryEndpoint;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setPersistentDirectory($persistentDirectory)
+ {
+ $this->persistentDirectory = $persistentDirectory;
+ }
+ public function getPersistentDirectory()
+ {
+ return $this->persistentDirectory;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection
+{
+ protected $collection_key = 'workerCapabilities';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentWorkerTime;
+ public $requestedLeaseDuration;
+ public $workItemTypes;
+ public $workerCapabilities;
+ public $workerId;
+
+
+ public function setCurrentWorkerTime($currentWorkerTime)
+ {
+ $this->currentWorkerTime = $currentWorkerTime;
+ }
+ public function getCurrentWorkerTime()
+ {
+ return $this->currentWorkerTime;
+ }
+ public function setRequestedLeaseDuration($requestedLeaseDuration)
+ {
+ $this->requestedLeaseDuration = $requestedLeaseDuration;
+ }
+ public function getRequestedLeaseDuration()
+ {
+ return $this->requestedLeaseDuration;
+ }
+ public function setWorkItemTypes($workItemTypes)
+ {
+ $this->workItemTypes = $workItemTypes;
+ }
+ public function getWorkItemTypes()
+ {
+ return $this->workItemTypes;
+ }
+ public function setWorkerCapabilities($workerCapabilities)
+ {
+ $this->workerCapabilities = $workerCapabilities;
+ }
+ public function getWorkerCapabilities()
+ {
+ return $this->workerCapabilities;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
+
+class Google_Service_Dataflow_LeaseWorkItemResponse extends Google_Collection
+{
+ protected $collection_key = 'workItems';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $workItemsType = 'Google_Service_Dataflow_WorkItem';
+ protected $workItemsDataType = 'array';
+
+
+ public function setWorkItems($workItems)
+ {
+ $this->workItems = $workItems;
+ }
+ public function getWorkItems()
+ {
+ return $this->workItems;
+ }
+}
+
+class Google_Service_Dataflow_ListJobMessagesResponse extends Google_Collection
+{
+ protected $collection_key = 'jobMessages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $jobMessagesType = 'Google_Service_Dataflow_JobMessage';
+ protected $jobMessagesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setJobMessages($jobMessages)
+ {
+ $this->jobMessages = $jobMessages;
+ }
+ public function getJobMessages()
+ {
+ return $this->jobMessages;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dataflow_ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $jobsType = 'Google_Service_Dataflow_Job';
+ protected $jobsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setJobs($jobs)
+ {
+ $this->jobs = $jobs;
+ }
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dataflow_MapTask extends Google_Collection
+{
+ protected $collection_key = 'instructions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction';
+ protected $instructionsDataType = 'array';
+ public $stageName;
+ public $systemName;
+
+
+ public function setInstructions($instructions)
+ {
+ $this->instructions = $instructions;
+ }
+ public function getInstructions()
+ {
+ return $this->instructions;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+}
+
+class Google_Service_Dataflow_MetricStructuredName extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $context;
+ public $name;
+ public $origin;
+
+
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+}
+
+class Google_Service_Dataflow_MetricStructuredNameContext extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_MetricUpdate extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cumulative;
+ public $internal;
+ public $kind;
+ public $meanCount;
+ public $meanSum;
+ protected $nameType = 'Google_Service_Dataflow_MetricStructuredName';
+ protected $nameDataType = '';
+ public $scalar;
+ public $set;
+ public $updateTime;
+
+
+ public function setCumulative($cumulative)
+ {
+ $this->cumulative = $cumulative;
+ }
+ public function getCumulative()
+ {
+ return $this->cumulative;
+ }
+ public function setInternal($internal)
+ {
+ $this->internal = $internal;
+ }
+ public function getInternal()
+ {
+ return $this->internal;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMeanCount($meanCount)
+ {
+ $this->meanCount = $meanCount;
+ }
+ public function getMeanCount()
+ {
+ return $this->meanCount;
+ }
+ public function setMeanSum($meanSum)
+ {
+ $this->meanSum = $meanSum;
+ }
+ public function getMeanSum()
+ {
+ return $this->meanSum;
+ }
+ public function setName(Google_Service_Dataflow_MetricStructuredName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScalar($scalar)
+ {
+ $this->scalar = $scalar;
+ }
+ public function getScalar()
+ {
+ return $this->scalar;
+ }
+ public function setSet($set)
+ {
+ $this->set = $set;
+ }
+ public function getSet()
+ {
+ return $this->set;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
+
+class Google_Service_Dataflow_MultiOutputInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $tag;
+
+
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_Package extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $location;
+ public $name;
+
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dataflow_ParDoInstruction extends Google_Collection
+{
+ protected $collection_key = 'sideInputs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ protected $multiOutputInfosType = 'Google_Service_Dataflow_MultiOutputInfo';
+ protected $multiOutputInfosDataType = 'array';
+ public $numOutputs;
+ protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $sideInputsDataType = 'array';
+ public $userFn;
+
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setMultiOutputInfos($multiOutputInfos)
+ {
+ $this->multiOutputInfos = $multiOutputInfos;
+ }
+ public function getMultiOutputInfos()
+ {
+ return $this->multiOutputInfos;
+ }
+ public function setNumOutputs($numOutputs)
+ {
+ $this->numOutputs = $numOutputs;
+ }
+ public function getNumOutputs()
+ {
+ return $this->numOutputs;
+ }
+ public function setSideInputs($sideInputs)
+ {
+ $this->sideInputs = $sideInputs;
+ }
+ public function getSideInputs()
+ {
+ return $this->sideInputs;
+ }
+ public function setUserFn($userFn)
+ {
+ $this->userFn = $userFn;
+ }
+ public function getUserFn()
+ {
+ return $this->userFn;
+ }
+}
+
+class Google_Service_Dataflow_ParDoInstructionUserFn extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_ParallelInstruction extends Google_Collection
+{
+ protected $collection_key = 'outputs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction';
+ protected $flattenDataType = '';
+ public $name;
+ protected $outputsType = 'Google_Service_Dataflow_InstructionOutput';
+ protected $outputsDataType = 'array';
+ protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction';
+ protected $parDoDataType = '';
+ protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction';
+ protected $partialGroupByKeyDataType = '';
+ protected $readType = 'Google_Service_Dataflow_ReadInstruction';
+ protected $readDataType = '';
+ public $systemName;
+ protected $writeType = 'Google_Service_Dataflow_WriteInstruction';
+ protected $writeDataType = '';
+
+
+ public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten)
+ {
+ $this->flatten = $flatten;
+ }
+ public function getFlatten()
+ {
+ return $this->flatten;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+ public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo)
+ {
+ $this->parDo = $parDo;
+ }
+ public function getParDo()
+ {
+ return $this->parDo;
+ }
+ public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey)
+ {
+ $this->partialGroupByKey = $partialGroupByKey;
+ }
+ public function getPartialGroupByKey()
+ {
+ return $this->partialGroupByKey;
+ }
+ public function setRead(Google_Service_Dataflow_ReadInstruction $read)
+ {
+ $this->read = $read;
+ }
+ public function getRead()
+ {
+ return $this->read;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+ public function setWrite(Google_Service_Dataflow_WriteInstruction $write)
+ {
+ $this->write = $write;
+ }
+ public function getWrite()
+ {
+ return $this->write;
+ }
+}
+
+class Google_Service_Dataflow_PartialGroupByKeyInstruction extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ public $inputElementCodec;
+
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setInputElementCodec($inputElementCodec)
+ {
+ $this->inputElementCodec = $inputElementCodec;
+ }
+ public function getInputElementCodec()
+ {
+ return $this->inputElementCodec;
+ }
+}
+
+class Google_Service_Dataflow_PartialGroupByKeyInstructionInputElementCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Position extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $byteOffset;
+ public $end;
+ public $key;
+ public $recordIndex;
+ public $shufflePosition;
+
+
+ public function setByteOffset($byteOffset)
+ {
+ $this->byteOffset = $byteOffset;
+ }
+ public function getByteOffset()
+ {
+ return $this->byteOffset;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setRecordIndex($recordIndex)
+ {
+ $this->recordIndex = $recordIndex;
+ }
+ public function getRecordIndex()
+ {
+ return $this->recordIndex;
+ }
+ public function setShufflePosition($shufflePosition)
+ {
+ $this->shufflePosition = $shufflePosition;
+ }
+ public function getShufflePosition()
+ {
+ return $this->shufflePosition;
+ }
+}
+
+class Google_Service_Dataflow_PubsubLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $subscription;
+ public $topic;
+
+
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+
+class Google_Service_Dataflow_ReadInstruction extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_ReportWorkItemStatusRequest extends Google_Collection
+{
+ protected $collection_key = 'workItemStatuses';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentWorkerTime;
+ protected $workItemStatusesType = 'Google_Service_Dataflow_WorkItemStatus';
+ protected $workItemStatusesDataType = 'array';
+ public $workerId;
+
+
+ public function setCurrentWorkerTime($currentWorkerTime)
+ {
+ $this->currentWorkerTime = $currentWorkerTime;
+ }
+ public function getCurrentWorkerTime()
+ {
+ return $this->currentWorkerTime;
+ }
+ public function setWorkItemStatuses($workItemStatuses)
+ {
+ $this->workItemStatuses = $workItemStatuses;
+ }
+ public function getWorkItemStatuses()
+ {
+ return $this->workItemStatuses;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
+
+class Google_Service_Dataflow_ReportWorkItemStatusResponse extends Google_Collection
+{
+ protected $collection_key = 'workItemServiceStates';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $workItemServiceStatesType = 'Google_Service_Dataflow_WorkItemServiceState';
+ protected $workItemServiceStatesDataType = 'array';
+
+
+ public function setWorkItemServiceStates($workItemServiceStates)
+ {
+ $this->workItemServiceStates = $workItemServiceStates;
+ }
+ public function getWorkItemServiceStates()
+ {
+ return $this->workItemServiceStates;
+ }
+}
+
+class Google_Service_Dataflow_SeqMapTask extends Google_Collection
+{
+ protected $collection_key = 'outputInfos';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $inputsDataType = 'array';
+ public $name;
+ protected $outputInfosType = 'Google_Service_Dataflow_SeqMapTaskOutputInfo';
+ protected $outputInfosDataType = 'array';
+ public $stageName;
+ public $systemName;
+ public $userFn;
+
+
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOutputInfos($outputInfos)
+ {
+ $this->outputInfos = $outputInfos;
+ }
+ public function getOutputInfos()
+ {
+ return $this->outputInfos;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+ public function setUserFn($userFn)
+ {
+ $this->userFn = $userFn;
+ }
+ public function getUserFn()
+ {
+ return $this->userFn;
+ }
+}
+
+class Google_Service_Dataflow_SeqMapTaskOutputInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sinkType = 'Google_Service_Dataflow_Sink';
+ protected $sinkDataType = '';
+ public $tag;
+
+
+ public function setSink(Google_Service_Dataflow_Sink $sink)
+ {
+ $this->sink = $sink;
+ }
+ public function getSink()
+ {
+ return $this->sink;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_SeqMapTaskUserFn extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_ShellTask extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $command;
+ public $exitCode;
+
+
+ public function setCommand($command)
+ {
+ $this->command = $command;
+ }
+ public function getCommand()
+ {
+ return $this->command;
+ }
+ public function setExitCode($exitCode)
+ {
+ $this->exitCode = $exitCode;
+ }
+ public function getExitCode()
+ {
+ return $this->exitCode;
+ }
+}
+
+class Google_Service_Dataflow_SideInputInfo extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $sourcesType = 'Google_Service_Dataflow_Source';
+ protected $sourcesDataType = 'array';
+ public $tag;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_SideInputInfoKind extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Sink extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $codec;
+ public $spec;
+
+
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setSpec($spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
+
+class Google_Service_Dataflow_SinkCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SinkSpec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Source extends Google_Collection
+{
+ protected $collection_key = 'baseSpecs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $baseSpecs;
+ public $codec;
+ public $doesNotNeedSplitting;
+ protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
+ protected $metadataDataType = '';
+ public $spec;
+
+
+ public function setBaseSpecs($baseSpecs)
+ {
+ $this->baseSpecs = $baseSpecs;
+ }
+ public function getBaseSpecs()
+ {
+ return $this->baseSpecs;
+ }
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setDoesNotNeedSplitting($doesNotNeedSplitting)
+ {
+ $this->doesNotNeedSplitting = $doesNotNeedSplitting;
+ }
+ public function getDoesNotNeedSplitting()
+ {
+ return $this->doesNotNeedSplitting;
+ }
+ public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setSpec($spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
+
+class Google_Service_Dataflow_SourceBaseSpecs extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SourceCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SourceGetMetadataRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_SourceGetMetadataResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
+ protected $metadataDataType = '';
+
+
+ public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+}
+
+class Google_Service_Dataflow_SourceMetadata extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $estimatedSizeBytes;
+ public $infinite;
+ public $producesSortedKeys;
+
+
+ public function setEstimatedSizeBytes($estimatedSizeBytes)
+ {
+ $this->estimatedSizeBytes = $estimatedSizeBytes;
+ }
+ public function getEstimatedSizeBytes()
+ {
+ return $this->estimatedSizeBytes;
+ }
+ public function setInfinite($infinite)
+ {
+ $this->infinite = $infinite;
+ }
+ public function getInfinite()
+ {
+ return $this->infinite;
+ }
+ public function setProducesSortedKeys($producesSortedKeys)
+ {
+ $this->producesSortedKeys = $producesSortedKeys;
+ }
+ public function getProducesSortedKeys()
+ {
+ return $this->producesSortedKeys;
+ }
+}
+
+class Google_Service_Dataflow_SourceOperationRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataRequest';
+ protected $getMetadataDataType = '';
+ protected $splitType = 'Google_Service_Dataflow_SourceSplitRequest';
+ protected $splitDataType = '';
+
+
+ public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataRequest $getMetadata)
+ {
+ $this->getMetadata = $getMetadata;
+ }
+ public function getGetMetadata()
+ {
+ return $this->getMetadata;
+ }
+ public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
+
+class Google_Service_Dataflow_SourceOperationResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataResponse';
+ protected $getMetadataDataType = '';
+ protected $splitType = 'Google_Service_Dataflow_SourceSplitResponse';
+ protected $splitDataType = '';
+
+
+ public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataResponse $getMetadata)
+ {
+ $this->getMetadata = $getMetadata;
+ }
+ public function getGetMetadata()
+ {
+ return $this->getMetadata;
+ }
+ public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
+
+class Google_Service_Dataflow_SourceSpec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SourceSplitOptions extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $desiredShardSizeBytes;
+
+
+ public function setDesiredShardSizeBytes($desiredShardSizeBytes)
+ {
+ $this->desiredShardSizeBytes = $desiredShardSizeBytes;
+ }
+ public function getDesiredShardSizeBytes()
+ {
+ return $this->desiredShardSizeBytes;
+ }
+}
+
+class Google_Service_Dataflow_SourceSplitRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $optionsType = 'Google_Service_Dataflow_SourceSplitOptions';
+ protected $optionsDataType = '';
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setOptions(Google_Service_Dataflow_SourceSplitOptions $options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_SourceSplitResponse extends Google_Collection
+{
+ protected $collection_key = 'shards';
+ protected $internal_gapi_mappings = array(
+ );
+ public $outcome;
+ protected $shardsType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $shardsDataType = 'array';
+
+
+ public function setOutcome($outcome)
+ {
+ $this->outcome = $outcome;
+ }
+ public function getOutcome()
+ {
+ return $this->outcome;
+ }
+ public function setShards($shards)
+ {
+ $this->shards = $shards;
+ }
+ public function getShards()
+ {
+ return $this->shards;
+ }
+}
+
+class Google_Service_Dataflow_SourceSplitShard extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $derivationMode;
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setDerivationMode($derivationMode)
+ {
+ $this->derivationMode = $derivationMode;
+ }
+ public function getDerivationMode()
+ {
+ return $this->derivationMode;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $details;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Dataflow_StatusDetails extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Step extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+ public $properties;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
+
+class Google_Service_Dataflow_StepProperties extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_StreamLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pubsubLocationType = 'Google_Service_Dataflow_PubsubLocation';
+ protected $pubsubLocationDataType = '';
+ protected $streamingStageLocationType = 'Google_Service_Dataflow_StreamingStageLocation';
+ protected $streamingStageLocationDataType = '';
+
+
+ public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation)
+ {
+ $this->pubsubLocation = $pubsubLocation;
+ }
+ public function getPubsubLocation()
+ {
+ return $this->pubsubLocation;
+ }
+ public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation)
+ {
+ $this->streamingStageLocation = $streamingStageLocation;
+ }
+ public function getStreamingStageLocation()
+ {
+ return $this->streamingStageLocation;
+ }
+}
+
+class Google_Service_Dataflow_StreamingSetupTask extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $receiveWorkPort;
+ protected $streamingComputationTopologyType = 'Google_Service_Dataflow_TopologyConfig';
+ protected $streamingComputationTopologyDataType = '';
+ public $workerHarnessPort;
+
+
+ public function setReceiveWorkPort($receiveWorkPort)
+ {
+ $this->receiveWorkPort = $receiveWorkPort;
+ }
+ public function getReceiveWorkPort()
+ {
+ return $this->receiveWorkPort;
+ }
+ public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology)
+ {
+ $this->streamingComputationTopology = $streamingComputationTopology;
+ }
+ public function getStreamingComputationTopology()
+ {
+ return $this->streamingComputationTopology;
+ }
+ public function setWorkerHarnessPort($workerHarnessPort)
+ {
+ $this->workerHarnessPort = $workerHarnessPort;
+ }
+ public function getWorkerHarnessPort()
+ {
+ return $this->workerHarnessPort;
+ }
+}
+
+class Google_Service_Dataflow_StreamingStageLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $streamId;
+
+
+ public function setStreamId($streamId)
+ {
+ $this->streamId = $streamId;
+ }
+ public function getStreamId()
+ {
+ return $this->streamId;
+ }
+}
+
+class Google_Service_Dataflow_TaskRunnerSettings extends Google_Collection
+{
+ protected $collection_key = 'oauthScopes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alsologtostderr;
+ public $baseTaskDir;
+ public $baseUrl;
+ public $commandlinesFileName;
+ public $continueOnException;
+ public $dataflowApiVersion;
+ public $harnessCommand;
+ public $languageHint;
+ public $logDir;
+ public $logToSerialconsole;
+ public $logUploadLocation;
+ public $oauthScopes;
+ protected $parallelWorkerSettingsType = 'Google_Service_Dataflow_WorkerSettings';
+ protected $parallelWorkerSettingsDataType = '';
+ public $taskGroup;
+ public $taskUser;
+ public $tempStoragePrefix;
+ public $vmId;
+ public $workflowFileName;
+
+
+ public function setAlsologtostderr($alsologtostderr)
+ {
+ $this->alsologtostderr = $alsologtostderr;
+ }
+ public function getAlsologtostderr()
+ {
+ return $this->alsologtostderr;
+ }
+ public function setBaseTaskDir($baseTaskDir)
+ {
+ $this->baseTaskDir = $baseTaskDir;
+ }
+ public function getBaseTaskDir()
+ {
+ return $this->baseTaskDir;
+ }
+ public function setBaseUrl($baseUrl)
+ {
+ $this->baseUrl = $baseUrl;
+ }
+ public function getBaseUrl()
+ {
+ return $this->baseUrl;
+ }
+ public function setCommandlinesFileName($commandlinesFileName)
+ {
+ $this->commandlinesFileName = $commandlinesFileName;
+ }
+ public function getCommandlinesFileName()
+ {
+ return $this->commandlinesFileName;
+ }
+ public function setContinueOnException($continueOnException)
+ {
+ $this->continueOnException = $continueOnException;
+ }
+ public function getContinueOnException()
+ {
+ return $this->continueOnException;
+ }
+ public function setDataflowApiVersion($dataflowApiVersion)
+ {
+ $this->dataflowApiVersion = $dataflowApiVersion;
+ }
+ public function getDataflowApiVersion()
+ {
+ return $this->dataflowApiVersion;
+ }
+ public function setHarnessCommand($harnessCommand)
+ {
+ $this->harnessCommand = $harnessCommand;
+ }
+ public function getHarnessCommand()
+ {
+ return $this->harnessCommand;
+ }
+ public function setLanguageHint($languageHint)
+ {
+ $this->languageHint = $languageHint;
+ }
+ public function getLanguageHint()
+ {
+ return $this->languageHint;
+ }
+ public function setLogDir($logDir)
+ {
+ $this->logDir = $logDir;
+ }
+ public function getLogDir()
+ {
+ return $this->logDir;
+ }
+ public function setLogToSerialconsole($logToSerialconsole)
+ {
+ $this->logToSerialconsole = $logToSerialconsole;
+ }
+ public function getLogToSerialconsole()
+ {
+ return $this->logToSerialconsole;
+ }
+ public function setLogUploadLocation($logUploadLocation)
+ {
+ $this->logUploadLocation = $logUploadLocation;
+ }
+ public function getLogUploadLocation()
+ {
+ return $this->logUploadLocation;
+ }
+ public function setOauthScopes($oauthScopes)
+ {
+ $this->oauthScopes = $oauthScopes;
+ }
+ public function getOauthScopes()
+ {
+ return $this->oauthScopes;
+ }
+ public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings)
+ {
+ $this->parallelWorkerSettings = $parallelWorkerSettings;
+ }
+ public function getParallelWorkerSettings()
+ {
+ return $this->parallelWorkerSettings;
+ }
+ public function setTaskGroup($taskGroup)
+ {
+ $this->taskGroup = $taskGroup;
+ }
+ public function getTaskGroup()
+ {
+ return $this->taskGroup;
+ }
+ public function setTaskUser($taskUser)
+ {
+ $this->taskUser = $taskUser;
+ }
+ public function getTaskUser()
+ {
+ return $this->taskUser;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setVmId($vmId)
+ {
+ $this->vmId = $vmId;
+ }
+ public function getVmId()
+ {
+ return $this->vmId;
+ }
+ public function setWorkflowFileName($workflowFileName)
+ {
+ $this->workflowFileName = $workflowFileName;
+ }
+ public function getWorkflowFileName()
+ {
+ return $this->workflowFileName;
+ }
+}
+
+class Google_Service_Dataflow_TopologyConfig extends Google_Collection
+{
+ protected $collection_key = 'dataDiskAssignments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $computationsType = 'Google_Service_Dataflow_ComputationTopology';
+ protected $computationsDataType = 'array';
+ protected $dataDiskAssignmentsType = 'Google_Service_Dataflow_DataDiskAssignment';
+ protected $dataDiskAssignmentsDataType = 'array';
+
+
+ public function setComputations($computations)
+ {
+ $this->computations = $computations;
+ }
+ public function getComputations()
+ {
+ return $this->computations;
+ }
+ public function setDataDiskAssignments($dataDiskAssignments)
+ {
+ $this->dataDiskAssignments = $dataDiskAssignments;
+ }
+ public function getDataDiskAssignments()
+ {
+ return $this->dataDiskAssignments;
+ }
+}
+
+class Google_Service_Dataflow_WorkItem extends Google_Collection
+{
+ protected $collection_key = 'packages';
+ protected $internal_gapi_mappings = array(
+ );
+ public $configuration;
+ public $id;
+ public $jobId;
+ public $leaseExpireTime;
+ protected $mapTaskType = 'Google_Service_Dataflow_MapTask';
+ protected $mapTaskDataType = '';
+ protected $packagesType = 'Google_Service_Dataflow_Package';
+ protected $packagesDataType = 'array';
+ public $projectId;
+ public $reportStatusInterval;
+ protected $seqMapTaskType = 'Google_Service_Dataflow_SeqMapTask';
+ protected $seqMapTaskDataType = '';
+ protected $shellTaskType = 'Google_Service_Dataflow_ShellTask';
+ protected $shellTaskDataType = '';
+ protected $sourceOperationTaskType = 'Google_Service_Dataflow_SourceOperationRequest';
+ protected $sourceOperationTaskDataType = '';
+ protected $streamingSetupTaskType = 'Google_Service_Dataflow_StreamingSetupTask';
+ protected $streamingSetupTaskDataType = '';
+
+
+ public function setConfiguration($configuration)
+ {
+ $this->configuration = $configuration;
+ }
+ public function getConfiguration()
+ {
+ return $this->configuration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setLeaseExpireTime($leaseExpireTime)
+ {
+ $this->leaseExpireTime = $leaseExpireTime;
+ }
+ public function getLeaseExpireTime()
+ {
+ return $this->leaseExpireTime;
+ }
+ public function setMapTask(Google_Service_Dataflow_MapTask $mapTask)
+ {
+ $this->mapTask = $mapTask;
+ }
+ public function getMapTask()
+ {
+ return $this->mapTask;
+ }
+ public function setPackages($packages)
+ {
+ $this->packages = $packages;
+ }
+ public function getPackages()
+ {
+ return $this->packages;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setReportStatusInterval($reportStatusInterval)
+ {
+ $this->reportStatusInterval = $reportStatusInterval;
+ }
+ public function getReportStatusInterval()
+ {
+ return $this->reportStatusInterval;
+ }
+ public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask)
+ {
+ $this->seqMapTask = $seqMapTask;
+ }
+ public function getSeqMapTask()
+ {
+ return $this->seqMapTask;
+ }
+ public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask)
+ {
+ $this->shellTask = $shellTask;
+ }
+ public function getShellTask()
+ {
+ return $this->shellTask;
+ }
+ public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask)
+ {
+ $this->sourceOperationTask = $sourceOperationTask;
+ }
+ public function getSourceOperationTask()
+ {
+ return $this->sourceOperationTask;
+ }
+ public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask)
+ {
+ $this->streamingSetupTask = $streamingSetupTask;
+ }
+ public function getStreamingSetupTask()
+ {
+ return $this->streamingSetupTask;
+ }
+}
+
+class Google_Service_Dataflow_WorkItemServiceState extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $harnessData;
+ public $leaseExpireTime;
+ public $reportStatusInterval;
+ protected $suggestedStopPointType = 'Google_Service_Dataflow_ApproximateProgress';
+ protected $suggestedStopPointDataType = '';
+ protected $suggestedStopPositionType = 'Google_Service_Dataflow_Position';
+ protected $suggestedStopPositionDataType = '';
+
+
+ public function setHarnessData($harnessData)
+ {
+ $this->harnessData = $harnessData;
+ }
+ public function getHarnessData()
+ {
+ return $this->harnessData;
+ }
+ public function setLeaseExpireTime($leaseExpireTime)
+ {
+ $this->leaseExpireTime = $leaseExpireTime;
+ }
+ public function getLeaseExpireTime()
+ {
+ return $this->leaseExpireTime;
+ }
+ public function setReportStatusInterval($reportStatusInterval)
+ {
+ $this->reportStatusInterval = $reportStatusInterval;
+ }
+ public function getReportStatusInterval()
+ {
+ return $this->reportStatusInterval;
+ }
+ public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint)
+ {
+ $this->suggestedStopPoint = $suggestedStopPoint;
+ }
+ public function getSuggestedStopPoint()
+ {
+ return $this->suggestedStopPoint;
+ }
+ public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition)
+ {
+ $this->suggestedStopPosition = $suggestedStopPosition;
+ }
+ public function getSuggestedStopPosition()
+ {
+ return $this->suggestedStopPosition;
+ }
+}
+
+class Google_Service_Dataflow_WorkItemServiceStateHarnessData extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_WorkItemStatus extends Google_Collection
+{
+ protected $collection_key = 'metricUpdates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $completed;
+ protected $errorsType = 'Google_Service_Dataflow_Status';
+ protected $errorsDataType = 'array';
+ protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate';
+ protected $metricUpdatesDataType = 'array';
+ protected $progressType = 'Google_Service_Dataflow_ApproximateProgress';
+ protected $progressDataType = '';
+ public $reportIndex;
+ public $requestedLeaseDuration;
+ protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse';
+ protected $sourceOperationResponseDataType = '';
+ protected $stopPositionType = 'Google_Service_Dataflow_Position';
+ protected $stopPositionDataType = '';
+ public $workItemId;
+
+
+ public function setCompleted($completed)
+ {
+ $this->completed = $completed;
+ }
+ public function getCompleted()
+ {
+ return $this->completed;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setMetricUpdates($metricUpdates)
+ {
+ $this->metricUpdates = $metricUpdates;
+ }
+ public function getMetricUpdates()
+ {
+ return $this->metricUpdates;
+ }
+ public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setReportIndex($reportIndex)
+ {
+ $this->reportIndex = $reportIndex;
+ }
+ public function getReportIndex()
+ {
+ return $this->reportIndex;
+ }
+ public function setRequestedLeaseDuration($requestedLeaseDuration)
+ {
+ $this->requestedLeaseDuration = $requestedLeaseDuration;
+ }
+ public function getRequestedLeaseDuration()
+ {
+ return $this->requestedLeaseDuration;
+ }
+ public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse)
+ {
+ $this->sourceOperationResponse = $sourceOperationResponse;
+ }
+ public function getSourceOperationResponse()
+ {
+ return $this->sourceOperationResponse;
+ }
+ public function setStopPosition(Google_Service_Dataflow_Position $stopPosition)
+ {
+ $this->stopPosition = $stopPosition;
+ }
+ public function getStopPosition()
+ {
+ return $this->stopPosition;
+ }
+ public function setWorkItemId($workItemId)
+ {
+ $this->workItemId = $workItemId;
+ }
+ public function getWorkItemId()
+ {
+ return $this->workItemId;
+ }
+}
+
+class Google_Service_Dataflow_WorkerPool extends Google_Collection
+{
+ protected $collection_key = 'packages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoscalingSettingsType = 'Google_Service_Dataflow_AutoscalingSettings';
+ protected $autoscalingSettingsDataType = '';
+ protected $dataDisksType = 'Google_Service_Dataflow_Disk';
+ protected $dataDisksDataType = 'array';
+ public $defaultPackageSet;
+ public $diskSizeGb;
+ public $diskSourceImage;
+ public $kind;
+ public $machineType;
+ public $metadata;
+ public $numWorkers;
+ public $onHostMaintenance;
+ protected $packagesType = 'Google_Service_Dataflow_Package';
+ protected $packagesDataType = 'array';
+ protected $taskrunnerSettingsType = 'Google_Service_Dataflow_TaskRunnerSettings';
+ protected $taskrunnerSettingsDataType = '';
+ public $teardownPolicy;
+ public $zone;
+
+
+ public function setAutoscalingSettings(Google_Service_Dataflow_AutoscalingSettings $autoscalingSettings)
+ {
+ $this->autoscalingSettings = $autoscalingSettings;
+ }
+ public function getAutoscalingSettings()
+ {
+ return $this->autoscalingSettings;
+ }
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setDefaultPackageSet($defaultPackageSet)
+ {
+ $this->defaultPackageSet = $defaultPackageSet;
+ }
+ public function getDefaultPackageSet()
+ {
+ return $this->defaultPackageSet;
+ }
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setDiskSourceImage($diskSourceImage)
+ {
+ $this->diskSourceImage = $diskSourceImage;
+ }
+ public function getDiskSourceImage()
+ {
+ return $this->diskSourceImage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNumWorkers($numWorkers)
+ {
+ $this->numWorkers = $numWorkers;
+ }
+ public function getNumWorkers()
+ {
+ return $this->numWorkers;
+ }
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+ public function setPackages($packages)
+ {
+ $this->packages = $packages;
+ }
+ public function getPackages()
+ {
+ return $this->packages;
+ }
+ public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings)
+ {
+ $this->taskrunnerSettings = $taskrunnerSettings;
+ }
+ public function getTaskrunnerSettings()
+ {
+ return $this->taskrunnerSettings;
+ }
+ public function setTeardownPolicy($teardownPolicy)
+ {
+ $this->teardownPolicy = $teardownPolicy;
+ }
+ public function getTeardownPolicy()
+ {
+ return $this->teardownPolicy;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Dataflow_WorkerPoolMetadata extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_WorkerSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $baseUrl;
+ public $reportingEnabled;
+ public $servicePath;
+ public $shuffleServicePath;
+ public $tempStoragePrefix;
+ public $workerId;
+
+
+ public function setBaseUrl($baseUrl)
+ {
+ $this->baseUrl = $baseUrl;
+ }
+ public function getBaseUrl()
+ {
+ return $this->baseUrl;
+ }
+ public function setReportingEnabled($reportingEnabled)
+ {
+ $this->reportingEnabled = $reportingEnabled;
+ }
+ public function getReportingEnabled()
+ {
+ return $this->reportingEnabled;
+ }
+ public function setServicePath($servicePath)
+ {
+ $this->servicePath = $servicePath;
+ }
+ public function getServicePath()
+ {
+ return $this->servicePath;
+ }
+ public function setShuffleServicePath($shuffleServicePath)
+ {
+ $this->shuffleServicePath = $shuffleServicePath;
+ }
+ public function getShuffleServicePath()
+ {
+ return $this->shuffleServicePath;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
+
+class Google_Service_Dataflow_WriteInstruction extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ protected $sinkType = 'Google_Service_Dataflow_Sink';
+ protected $sinkDataType = '';
+
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setSink(Google_Service_Dataflow_Sink $sink)
+ {
+ $this->sink = $sink;
+ }
+ public function getSink()
+ {
+ return $this->sink;
+ }
+}
From 52987e328d4633ca8ddfd8c426f8ac505f702bf3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * Lets you create, run and download reports.
+ * Manage your DoubleClick Campaign Manager ad campaigns and reports. * *
* For more information about this service, see the API
@@ -33,13 +33,60 @@ class Google_Service_Dfareporting extends Google_Service
/** View and manage DoubleClick for Advertisers reports. */
const DFAREPORTING =
"https://www.googleapis.com/auth/dfareporting";
+ /** View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns. */
+ const DFATRAFFICKING =
+ "https://www.googleapis.com/auth/dfatrafficking";
+ public $accountActiveAdSummaries;
+ public $accountPermissionGroups;
+ public $accountPermissions;
+ public $accountUserProfiles;
+ public $accounts;
+ public $ads;
+ public $advertiserGroups;
+ public $advertisers;
+ public $browsers;
+ public $campaignCreativeAssociations;
+ public $campaigns;
+ public $changeLogs;
+ public $cities;
+ public $connectionTypes;
+ public $contentCategories;
+ public $countries;
+ public $creativeAssets;
+ public $creativeFieldValues;
+ public $creativeFields;
+ public $creativeGroups;
+ public $creatives;
public $dimensionValues;
+ public $directorySiteContacts;
+ public $directorySites;
+ public $eventTags;
public $files;
+ public $floodlightActivities;
+ public $floodlightActivityGroups;
+ public $floodlightConfigurations;
+ public $landingPages;
+ public $metros;
+ public $mobileCarriers;
+ public $operatingSystemVersions;
+ public $operatingSystems;
+ public $placementGroups;
+ public $placementStrategies;
+ public $placements;
+ public $platformTypes;
+ public $postalCodes;
+ public $regions;
public $reports;
public $reports_compatibleFields;
public $reports_files;
+ public $sites;
+ public $sizes;
+ public $subaccounts;
public $userProfiles;
+ public $userRolePermissionGroups;
+ public $userRolePermissions;
+ public $userRoles;
/**
@@ -50,61 +97,58 @@ class Google_Service_Dfareporting extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'dfareporting/v1.3/';
- $this->version = 'v1.3';
+ $this->servicePath = 'dfareporting/v2.0/';
+ $this->version = 'v2.0';
$this->serviceName = 'dfareporting';
- $this->dimensionValues = new Google_Service_Dfareporting_DimensionValues_Resource(
+ $this->accountActiveAdSummaries = new Google_Service_Dfareporting_AccountActiveAdSummaries_Resource(
$this,
$this->serviceName,
- 'dimensionValues',
+ 'accountActiveAdSummaries',
array(
'methods' => array(
- 'query' => array(
- 'path' => 'userprofiles/{profileId}/dimensionvalues/query',
- 'httpMethod' => 'POST',
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}',
+ 'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'pageToken' => array(
- 'location' => 'query',
+ 'summaryAccountId' => array(
+ 'location' => 'path',
'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
+ 'required' => true,
),
),
),
)
)
);
- $this->files = new Google_Service_Dfareporting_Files_Resource(
+ $this->accountPermissionGroups = new Google_Service_Dfareporting_AccountPermissionGroups_Resource(
$this,
$this->serviceName,
- 'files',
+ 'accountPermissionGroups',
array(
'methods' => array(
'get' => array(
- 'path' => 'reports/{reportId}/files/{fileId}',
+ 'path' => 'userprofiles/{profileId}/accountPermissionGroups/{id}',
'httpMethod' => 'GET',
'parameters' => array(
- 'reportId' => array(
+ 'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'fileId' => array(
+ 'id' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
- 'path' => 'userprofiles/{profileId}/files',
+ 'path' => 'userprofiles/{profileId}/accountPermissionGroups',
'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
@@ -112,54 +156,34 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'sortField' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'sortOrder' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'scope' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
),
),
)
)
);
- $this->reports = new Google_Service_Dfareporting_Reports_Resource(
+ $this->accountPermissions = new Google_Service_Dfareporting_AccountPermissions_Resource(
$this,
$this->serviceName,
- 'reports',
+ 'accountPermissions',
array(
'methods' => array(
- 'delete' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}',
- 'httpMethod' => 'DELETE',
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountPermissions/{id}',
+ 'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
+ 'id' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
- ),'get' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/accountPermissions',
'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
@@ -167,24 +191,34 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
+ ),
+ ),
+ )
+ )
+ );
+ $this->accountUserProfiles = new Google_Service_Dfareporting_AccountUserProfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'accountUserProfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- ),
- ),'insert' => array(
- 'path' => 'userprofiles/{profileId}/reports',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'profileId' => array(
+ 'id' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
- 'path' => 'userprofiles/{profileId}/reports',
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
@@ -192,10 +226,23 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'sortField' => array(
'location' => 'query',
'type' => 'string',
),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
@@ -204,17 +251,21 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- 'sortOrder' => array(
+ 'userRoleId' => array(
'location' => 'query',
'type' => 'string',
),
- 'scope' => array(
+ 'sortOrder' => array(
'location' => 'query',
'type' => 'string',
),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
),
),'patch' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
'httpMethod' => 'PATCH',
'parameters' => array(
'profileId' => array(
@@ -222,59 +273,104 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/accountUserProfiles',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
- ),'run' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}/run',
- 'httpMethod' => 'POST',
+ ),
+ )
+ )
+ );
+ $this->accounts = new Google_Service_Dfareporting_Accounts_Resource(
+ $this,
+ $this->serviceName,
+ 'accounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/accounts/{id}',
+ 'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
+ 'id' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'synchronous' => array(
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/accounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'active' => array(
'location' => 'query',
'type' => 'boolean',
),
),
- ),'update' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}',
- 'httpMethod' => 'PUT',
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/accounts',
+ 'httpMethod' => 'PATCH',
'parameters' => array(
'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
- 'location' => 'path',
+ 'id' => array(
+ 'location' => 'query',
'type' => 'string',
'required' => true,
),
),
- ),
- )
- )
- );
- $this->reports_compatibleFields = new Google_Service_Dfareporting_ReportsCompatibleFields_Resource(
- $this,
- $this->serviceName,
- 'compatibleFields',
- array(
- 'methods' => array(
- 'query' => array(
- 'path' => 'userprofiles/{profileId}/reports/compatiblefields/query',
- 'httpMethod' => 'POST',
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/accounts',
+ 'httpMethod' => 'PUT',
'parameters' => array(
'profileId' => array(
'location' => 'path',
@@ -286,14 +382,14 @@ public function __construct(Google_Client $client)
)
)
);
- $this->reports_files = new Google_Service_Dfareporting_ReportsFiles_Resource(
+ $this->ads = new Google_Service_Dfareporting_Ads_Resource(
$this,
$this->serviceName,
- 'files',
+ 'ads',
array(
'methods' => array(
'get' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}',
+ 'path' => 'userprofiles/{profileId}/ads/{id}',
'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
@@ -301,19 +397,24 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
+ 'id' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
- 'fileId' => array(
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
- 'path' => 'userprofiles/{profileId}/reports/{reportId}/files',
+ 'path' => 'userprofiles/{profileId}/ads',
'httpMethod' => 'GET',
'parameters' => array(
'profileId' => array(
@@ -321,18 +422,37 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'reportId' => array(
- 'location' => 'path',
+ 'landingPageIds' => array(
+ 'location' => 'query',
'type' => 'string',
- 'required' => true,
+ 'repeated' => true,
),
- 'sortField' => array(
+ 'overriddenEventTagId' => array(
'location' => 'query',
'type' => 'string',
),
- 'maxResults' => array(
+ 'campaignIds' => array(
'location' => 'query',
- 'type' => 'integer',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'creativeOptimizationConfigurationIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sslCompliant' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sizeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
),
'pageToken' => array(
'location' => 'query',
@@ -342,385 +462,15342 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'string',
),
- ),
- ),
- )
- )
- );
- $this->userProfiles = new Google_Service_Dfareporting_UserProfiles_Resource(
- $this,
- $this->serviceName,
- 'userProfiles',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'userprofiles/{profileId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'profileId' => array(
- 'location' => 'path',
+ 'type' => array(
+ 'location' => 'query',
'type' => 'string',
- 'required' => true,
+ 'repeated' => true,
),
- ),
- ),'list' => array(
- 'path' => 'userprofiles',
- 'httpMethod' => 'GET',
- 'parameters' => array(),
- ),
- )
- )
- );
- }
-}
-
-
-/**
- * The "dimensionValues" collection of methods.
- * Typical usage is:
- *
- * $dfareportingService = new Google_Service_Dfareporting(...);
- * $dimensionValues = $dfareportingService->dimensionValues;
- *
- */
-class Google_Service_Dfareporting_DimensionValues_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves list of report dimension values for a list of filters.
- * (dimensionValues.query)
- *
- * @param string $profileId The DFA user profile ID.
- * @param Google_DimensionValueRequest $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken The value of the nextToken from the previous
- * result page.
- * @opt_param int maxResults Maximum number of results to return.
- * @return Google_Service_Dfareporting_DimensionValueList
- */
+ 'sslRequired' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'creativeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'creativeType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'compatibility' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'audienceSegmentIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'remarketingListIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'dynamicClickTracker' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/ads',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->advertiserGroups = new Google_Service_Dfareporting_AdvertiserGroups_Resource(
+ $this,
+ $this->serviceName,
+ 'advertiserGroups',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/advertiserGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->advertisers = new Google_Service_Dfareporting_Advertisers_Resource(
+ $this,
+ $this->serviceName,
+ 'advertisers',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'status' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'includeAdvertisersWithoutGroupsOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'onlyParent' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightConfigurationIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'advertiserGroupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/advertisers',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->browsers = new Google_Service_Dfareporting_Browsers_Resource(
+ $this,
+ $this->serviceName,
+ 'browsers',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/browsers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->campaignCreativeAssociations = new Google_Service_Dfareporting_CampaignCreativeAssociations_Resource(
+ $this,
+ $this->serviceName,
+ 'campaignCreativeAssociations',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->campaigns = new Google_Service_Dfareporting_Campaigns_Resource(
+ $this,
+ $this->serviceName,
+ 'campaigns',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'defaultLandingPageName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'defaultLandingPageUrl' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'excludedIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserGroupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'overriddenEventTagId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'atLeastOneOptimizationActivity' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->changeLogs = new Google_Service_Dfareporting_ChangeLogs_Resource(
+ $this,
+ $this->serviceName,
+ 'changeLogs',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/changeLogs/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/changeLogs',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'minChangeTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxChangeTime' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'userProfileIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'objectIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'action' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'objectType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->cities = new Google_Service_Dfareporting_Cities_Resource(
+ $this,
+ $this->serviceName,
+ 'cities',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/cities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dartIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'namePrefix' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'regionDartIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'countryDartIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->connectionTypes = new Google_Service_Dfareporting_ConnectionTypes_Resource(
+ $this,
+ $this->serviceName,
+ 'connectionTypes',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/connectionTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->contentCategories = new Google_Service_Dfareporting_ContentCategories_Resource(
+ $this,
+ $this->serviceName,
+ 'contentCategories',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/contentCategories',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->countries = new Google_Service_Dfareporting_Countries_Resource(
+ $this,
+ $this->serviceName,
+ 'countries',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/countries/{dartId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'dartId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/countries',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeAssets = new Google_Service_Dfareporting_CreativeAssets_Resource(
+ $this,
+ $this->serviceName,
+ 'creativeAssets',
+ array(
+ 'methods' => array(
+ 'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeFieldValues = new Google_Service_Dfareporting_CreativeFieldValues_Resource(
+ $this,
+ $this->serviceName,
+ 'creativeFieldValues',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'creativeFieldId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeFields = new Google_Service_Dfareporting_CreativeFields_Resource(
+ $this,
+ $this->serviceName,
+ 'creativeFields',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creativeFields',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creativeGroups = new Google_Service_Dfareporting_CreativeGroups_Resource(
+ $this,
+ $this->serviceName,
+ 'creativeGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'groupNumber' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creativeGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->creatives = new Google_Service_Dfareporting_Creatives_Resource(
+ $this,
+ $this->serviceName,
+ 'creatives',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/creatives/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sizeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'renderingIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'studioCreativeId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'companionCreativeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'creativeFieldIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'types' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/creatives',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->dimensionValues = new Google_Service_Dfareporting_DimensionValues_Resource(
+ $this,
+ $this->serviceName,
+ 'dimensionValues',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'userprofiles/{profileId}/dimensionvalues/query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->directorySiteContacts = new Google_Service_Dfareporting_DirectorySiteContacts_Resource(
+ $this,
+ $this->serviceName,
+ 'directorySiteContacts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/directorySiteContacts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/directorySiteContacts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->directorySites = new Google_Service_Dfareporting_DirectorySites_Resource(
+ $this,
+ $this->serviceName,
+ 'directorySites',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/directorySites/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/directorySites',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acceptsInterstitialPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'countryId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'acceptsInStreamVideoPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'acceptsPublisherPaidPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'parentId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'active' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'dfp_network_code' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->eventTags = new Google_Service_Dfareporting_EventTags_Resource(
+ $this,
+ $this->serviceName,
+ 'eventTags',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'enabled' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'adId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'eventTagTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'definitionsOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/eventTags',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->files = new Google_Service_Dfareporting_Files_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'reports/{reportId}/files/{fileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/files',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scope' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->floodlightActivities = new Google_Service_Dfareporting_FloodlightActivities_Resource(
+ $this,
+ $this->serviceName,
+ 'floodlightActivities',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'generatetag' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities/generatetag',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'floodlightActivityId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'floodlightActivityGroupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightConfigurationId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'floodlightActivityGroupName' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'tagString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightActivityGroupTagString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightActivityGroupType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivities',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->floodlightActivityGroups = new Google_Service_Dfareporting_FloodlightActivityGroups_Resource(
+ $this,
+ $this->serviceName,
+ 'floodlightActivityGroups',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'floodlightConfigurationId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'advertiserId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'type' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightActivityGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->floodlightConfigurations = new Google_Service_Dfareporting_FloodlightConfigurations_Resource(
+ $this,
+ $this->serviceName,
+ 'floodlightConfigurations',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/floodlightConfigurations',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->landingPages = new Google_Service_Dfareporting_LandingPages_Resource(
+ $this,
+ $this->serviceName,
+ 'landingPages',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->metros = new Google_Service_Dfareporting_Metros_Resource(
+ $this,
+ $this->serviceName,
+ 'metros',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/metros',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->mobileCarriers = new Google_Service_Dfareporting_MobileCarriers_Resource(
+ $this,
+ $this->serviceName,
+ 'mobileCarriers',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/mobileCarriers',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operatingSystemVersions = new Google_Service_Dfareporting_OperatingSystemVersions_Resource(
+ $this,
+ $this->serviceName,
+ 'operatingSystemVersions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/operatingSystemVersions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->operatingSystems = new Google_Service_Dfareporting_OperatingSystems_Resource(
+ $this,
+ $this->serviceName,
+ 'operatingSystems',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/operatingSystems',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->placementGroups = new Google_Service_Dfareporting_PlacementGroups_Resource(
+ $this,
+ $this->serviceName,
+ 'placementGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'placementStrategyIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentCategoryIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'placementGroupType' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'pricingTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'siteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/placementGroups',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->placementStrategies = new Google_Service_Dfareporting_PlacementStrategies_Resource(
+ $this,
+ $this->serviceName,
+ 'placementStrategies',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/placementStrategies',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->placements = new Google_Service_Dfareporting_Placements_Resource(
+ $this,
+ $this->serviceName,
+ 'placements',
+ array(
+ 'methods' => array(
+ 'generatetags' => array(
+ 'path' => 'userprofiles/{profileId}/placements/generatetags',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'tagFormats' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'placementIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'campaignId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/placements/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'placementStrategyIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'archived' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'contentCategoryIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'advertiserIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'paymentSource' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'sizeIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'compatibilities' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'groupIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'pricingTypes' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'siteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/placements',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->platformTypes = new Google_Service_Dfareporting_PlatformTypes_Resource(
+ $this,
+ $this->serviceName,
+ 'platformTypes',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/platformTypes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->postalCodes = new Google_Service_Dfareporting_PostalCodes_Resource(
+ $this,
+ $this->serviceName,
+ 'postalCodes',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/postalCodes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->regions = new Google_Service_Dfareporting_Regions_Resource(
+ $this,
+ $this->serviceName,
+ 'regions',
+ array(
+ 'methods' => array(
+ 'list' => array(
+ 'path' => 'userprofiles/{profileId}/regions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports = new Google_Service_Dfareporting_Reports_Resource(
+ $this,
+ $this->serviceName,
+ 'reports',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/reports',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/reports',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'scope' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'run' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}/run',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'synchronous' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports_compatibleFields = new Google_Service_Dfareporting_ReportsCompatibleFields_Resource(
+ $this,
+ $this->serviceName,
+ 'compatibleFields',
+ array(
+ 'methods' => array(
+ 'query' => array(
+ 'path' => 'userprofiles/{profileId}/reports/compatiblefields/query',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->reports_files = new Google_Service_Dfareporting_ReportsFiles_Resource(
+ $this,
+ $this->serviceName,
+ 'files',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'fileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/reports/{reportId}/files',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'reportId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sites = new Google_Service_Dfareporting_Sites_Resource(
+ $this,
+ $this->serviceName,
+ 'sites',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/sites/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'acceptsInterstitialPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'directorySiteIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'acceptsInStreamVideoPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'acceptsPublisherPaidPlacements' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'adWordsSite' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'unmappedSite' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'approved' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'campaignIds' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/sites',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->sizes = new Google_Service_Dfareporting_Sizes_Resource(
+ $this,
+ $this->serviceName,
+ 'sizes',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/sizes/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/sizes',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/sizes',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'iabStandard' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ 'width' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'height' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->subaccounts = new Google_Service_Dfareporting_Subaccounts_Resource(
+ $this,
+ $this->serviceName,
+ 'subaccounts',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/subaccounts',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userProfiles = new Google_Service_Dfareporting_UserProfiles_Resource(
+ $this,
+ $this->serviceName,
+ 'userProfiles',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(),
+ ),
+ )
+ )
+ );
+ $this->userRolePermissionGroups = new Google_Service_Dfareporting_UserRolePermissionGroups_Resource(
+ $this,
+ $this->serviceName,
+ 'userRolePermissionGroups',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissionGroups/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissionGroups',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userRolePermissions = new Google_Service_Dfareporting_UserRolePermissions_Resource(
+ $this,
+ $this->serviceName,
+ 'userRolePermissions',
+ array(
+ 'methods' => array(
+ 'get' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissions/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/userRolePermissions',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ $this->userRoles = new Google_Service_Dfareporting_UserRoles_Resource(
+ $this,
+ $this->serviceName,
+ 'userRoles',
+ array(
+ 'methods' => array(
+ 'delete' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles/{id}',
+ 'httpMethod' => 'DELETE',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'get' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles/{id}',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'insert' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'POST',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'list' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'GET',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'searchString' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'subaccountId' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortField' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'ids' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'repeated' => true,
+ ),
+ 'maxResults' => array(
+ 'location' => 'query',
+ 'type' => 'integer',
+ ),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'sortOrder' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
+ 'accountUserRoleOnly' => array(
+ 'location' => 'query',
+ 'type' => 'boolean',
+ ),
+ ),
+ ),'patch' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'PATCH',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ 'id' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),'update' => array(
+ 'path' => 'userprofiles/{profileId}/userRoles',
+ 'httpMethod' => 'PUT',
+ 'parameters' => array(
+ 'profileId' => array(
+ 'location' => 'path',
+ 'type' => 'string',
+ 'required' => true,
+ ),
+ ),
+ ),
+ )
+ )
+ );
+ }
+}
+
+
+/**
+ * The "accountActiveAdSummaries" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountActiveAdSummaries = $dfareportingService->accountActiveAdSummaries;
+ *
+ */
+class Google_Service_Dfareporting_AccountActiveAdSummaries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets the account's active ad summary by account ID.
+ * (accountActiveAdSummaries.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $summaryAccountId Account ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountActiveAdSummary
+ */
+ public function get($profileId, $summaryAccountId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'summaryAccountId' => $summaryAccountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountActiveAdSummary");
+ }
+}
+
+/**
+ * The "accountPermissionGroups" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountPermissionGroups = $dfareportingService->accountPermissionGroups;
+ *
+ */
+class Google_Service_Dfareporting_AccountPermissionGroups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one account permission group by ID. (accountPermissionGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account permission group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermissionGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermissionGroup");
+ }
+
+ /**
+ * Retrieves the list of account permission groups.
+ * (accountPermissionGroups.listAccountPermissionGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermissionGroupsListResponse
+ */
+ public function listAccountPermissionGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionGroupsListResponse");
+ }
+}
+
+/**
+ * The "accountPermissions" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountPermissions = $dfareportingService->accountPermissions;
+ *
+ */
+class Google_Service_Dfareporting_AccountPermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one account permission by ID. (accountPermissions.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account permission ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermission
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountPermission");
+ }
+
+ /**
+ * Retrieves the list of account permissions.
+ * (accountPermissions.listAccountPermissions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountPermissionsListResponse
+ */
+ public function listAccountPermissions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountPermissionsListResponse");
+ }
+}
+
+/**
+ * The "accountUserProfiles" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accountUserProfiles = $dfareportingService->accountUserProfiles;
+ *
+ */
+class Google_Service_Dfareporting_AccountUserProfiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one account user profile by ID. (accountUserProfiles.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User profile ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+
+ /**
+ * Retrieves a list of account user profiles, possibly filtered.
+ * (accountUserProfiles.listAccountUserProfiles)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * email. Wildcards (*) are allowed. For example, "user profile*2010" will
+ * return objects with names like "user profile June 2010", "user profile April
+ * 2010" or simply "user profile 2010". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "user profile" will match objects with name "my user
+ * profile", "user profile 2010" or simply "user profile".
+ * @opt_param string subaccountId Select only user profiles with the specified
+ * subaccount ID.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Select only user profiles with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string userRoleId Select only user profiles with the specified
+ * user role ID.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool active Select only active user profiles.
+ * @return Google_Service_Dfareporting_AccountUserProfilesListResponse
+ */
+ public function listAccountUserProfiles($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountUserProfilesListResponse");
+ }
+
+ /**
+ * Updates an existing account user profile. This method supports patch
+ * semantics. (accountUserProfiles.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User profile ID.
+ * @param Google_AccountUserProfile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+
+ /**
+ * Updates an existing account user profile. (accountUserProfiles.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_AccountUserProfile $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AccountUserProfile
+ */
+ public function update($profileId, Google_Service_Dfareporting_AccountUserProfile $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_AccountUserProfile");
+ }
+}
+
+/**
+ * The "accounts" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $accounts = $dfareportingService->accounts;
+ *
+ */
+class Google_Service_Dfareporting_Accounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one account by ID. (accounts.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Account
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Account");
+ }
+
+ /**
+ * Retrieves the list of accounts, possibly filtered. (accounts.listAccounts)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "account*2010" will return objects
+ * with names like "account June 2010", "account April 2010" or simply "account
+ * 2010". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of "account" will
+ * match objects with name "my account", "account 2010" or simply "account".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Select only accounts with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool active Select only active accounts. Don't set this field to
+ * select both active and non-active accounts.
+ * @return Google_Service_Dfareporting_AccountsListResponse
+ */
+ public function listAccounts($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AccountsListResponse");
+ }
+
+ /**
+ * Updates an existing account. This method supports patch semantics.
+ * (accounts.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Account ID.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Account
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Account $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Account");
+ }
+
+ /**
+ * Updates an existing account. (accounts.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Account $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Account
+ */
+ public function update($profileId, Google_Service_Dfareporting_Account $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Account");
+ }
+}
+
+/**
+ * The "ads" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $ads = $dfareportingService->ads;
+ *
+ */
+class Google_Service_Dfareporting_Ads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one ad by ID. (ads.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Ad ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Ad");
+ }
+
+ /**
+ * Inserts a new ad. (ads.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Ad $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Ad");
+ }
+
+ /**
+ * Retrieves a list of ads, possibly filtered. (ads.listAds)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string landingPageIds Select only ads with these landing page IDs.
+ * @opt_param string overriddenEventTagId Select only ads with this event tag
+ * override ID.
+ * @opt_param string campaignIds Select only ads with these campaign IDs.
+ * @opt_param bool archived Select only archived ads.
+ * @opt_param string creativeOptimizationConfigurationIds Select only ads with
+ * these creative optimization configuration IDs.
+ * @opt_param bool sslCompliant Select only ads that are ssl compliant.
+ * @opt_param string sizeIds Select only ads with these size IDs.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string type Select only ads with these types.
+ * @opt_param bool sslRequired Select only ads that require ssl.
+ * @opt_param string creativeIds Select only ads with these creative IDs
+ * assigned.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string creativeType Select only ads with the specified
+ * CreativeType.
+ * @opt_param string placementIds Select only ads with these placement IDs
+ * assigned.
+ * @opt_param bool active Select only active ads.
+ * @opt_param string compatibility Applicable when type is
+ * AD_SERVING_DEFAULT_AD. Select default ads with the specified compatibility.
+ * WEB and WEB_INTERSTITIAL refer to rendering either on desktop or on mobile
+ * devices for regular or interstitial ads respectively. APP and
+ * APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to
+ * rendering in in-stream video ads developed with the VAST standard.
+ * @opt_param string advertiserId Select only ads with this advertiser ID.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "ad*2010" will return objects with
+ * names like "ad June 2010", "ad April 2010" or simply "ad 2010". Most of the
+ * searches also add wildcards implicitly at the start and the end of the search
+ * string. For example, a search string of "ad" will match objects with name "my
+ * ad", "ad 2010" or simply "ad".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string audienceSegmentIds Select only ads with these audience
+ * segment IDs.
+ * @opt_param string ids Select only ads with these IDs.
+ * @opt_param string remarketingListIds Select only ads whose list targeting
+ * expression use these remarketing list IDs.
+ * @opt_param bool dynamicClickTracker Applicable when type is
+ * AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false,
+ * select static click trackers. Leave unset to select both.
+ * @return Google_Service_Dfareporting_AdsListResponse
+ */
+ public function listAds($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AdsListResponse");
+ }
+
+ /**
+ * Updates an existing ad. This method supports patch semantics. (ads.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Ad ID.
+ * @param Google_Ad $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Ad $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Ad");
+ }
+
+ /**
+ * Updates an existing ad. (ads.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Ad $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Ad
+ */
+ public function update($profileId, Google_Service_Dfareporting_Ad $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Ad");
+ }
+}
+
+/**
+ * The "advertiserGroups" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $advertiserGroups = $dfareportingService->advertiserGroups;
+ *
+ */
+class Google_Service_Dfareporting_AdvertiserGroups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing advertiser group. (advertiserGroups.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser group ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one advertiser group by ID. (advertiserGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+
+ /**
+ * Inserts a new advertiser group. (advertiserGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_AdvertiserGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+
+ /**
+ * Retrieves a list of advertiser groups, possibly filtered.
+ * (advertiserGroups.listAdvertiserGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "advertiser*2010" will return objects
+ * with names like "advertiser group June 2010", "advertiser group April 2010"
+ * or simply "advertiser group 2010". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "advertisergroup" will match objects with name "my
+ * advertisergroup", "advertisergroup 2010" or simply "advertisergroup".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Set of IDs of specified advertiser groups to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_AdvertiserGroupsListResponse
+ */
+ public function listAdvertiserGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertiserGroupsListResponse");
+ }
+
+ /**
+ * Updates an existing advertiser group. This method supports patch semantics.
+ * (advertiserGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser group ID.
+ * @param Google_AdvertiserGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+
+ /**
+ * Updates an existing advertiser group. (advertiserGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_AdvertiserGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_AdvertiserGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_AdvertiserGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_AdvertiserGroup");
+ }
+}
+
+/**
+ * The "advertisers" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $advertisers = $dfareportingService->advertisers;
+ *
+ */
+class Google_Service_Dfareporting_Advertisers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one advertiser by ID. (advertisers.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+
+ /**
+ * Inserts a new advertiser. (advertisers.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Advertiser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+
+ /**
+ * Retrieves a list of advertisers, possibly filtered.
+ * (advertisers.listAdvertisers)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string status Specifies the status of retrieved advertisers.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "advertiser*2010" will return objects
+ * with names like "advertiser June 2010", "advertiser April 2010" or simply
+ * "advertiser 2010". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "advertiser" will match objects with name "my advertiser", "advertiser 2010"
+ * or simply "advertiser".
+ * @opt_param string subaccountId Subaccount ID of advertisers to retrieve.
+ * @opt_param bool includeAdvertisersWithoutGroupsOnly If true, will return only
+ * advertisers which do not belong to any advertiser group.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Set of IDs of specified advertisers to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param bool onlyParent If true, will return only advertisers which use
+ * another advertiser's floodlight configuration.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string floodlightConfigurationIds Set of floodlight configuration
+ * IDs of advertisers to retrieve.
+ * @opt_param string advertiserGroupIds Set of advertiser group IDs of
+ * advertisers to retrieve.
+ * @return Google_Service_Dfareporting_AdvertisersListResponse
+ */
+ public function listAdvertisers($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_AdvertisersListResponse");
+ }
+
+ /**
+ * Updates an existing advertiser. This method supports patch semantics.
+ * (advertisers.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Advertiser ID.
+ * @param Google_Advertiser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+
+ /**
+ * Updates an existing advertiser. (advertisers.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Advertiser $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Advertiser
+ */
+ public function update($profileId, Google_Service_Dfareporting_Advertiser $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Advertiser");
+ }
+}
+
+/**
+ * The "browsers" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $browsers = $dfareportingService->browsers;
+ *
+ */
+class Google_Service_Dfareporting_Browsers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of browsers. (browsers.listBrowsers)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_BrowsersListResponse
+ */
+ public function listBrowsers($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_BrowsersListResponse");
+ }
+}
+
+/**
+ * The "campaignCreativeAssociations" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $campaignCreativeAssociations = $dfareportingService->campaignCreativeAssociations;
+ *
+ */
+class Google_Service_Dfareporting_CampaignCreativeAssociations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Associates a creative with this campaign. This method creates a default ad
+ * with dimensions matching the creative in this campaign if such a default ad
+ * does not exist already. (campaignCreativeAssociations.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Campaign ID in this association.
+ * @param Google_CampaignCreativeAssociation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CampaignCreativeAssociation
+ */
+ public function insert($profileId, $campaignId, Google_Service_Dfareporting_CampaignCreativeAssociation $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociation");
+ }
+
+ /**
+ * Retrieves the list of creative IDs associated with this campaign.
+ * (campaignCreativeAssociations.listCampaignCreativeAssociations)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Campaign ID in this association.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @return Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse
+ */
+ public function listCampaignCreativeAssociations($profileId, $campaignId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse");
+ }
+}
+
+/**
+ * The "campaigns" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $campaigns = $dfareportingService->campaigns;
+ *
+ */
+class Google_Service_Dfareporting_Campaigns_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one campaign by ID. (campaigns.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Campaign ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+
+ /**
+ * Inserts a new campaign. (campaigns.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $defaultLandingPageName Default landing page name for this new
+ * campaign.
+ * @param string $defaultLandingPageUrl Default landing page URL for this new
+ * campaign.
+ * @param Google_Campaign $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function insert($profileId, $defaultLandingPageName, $defaultLandingPageUrl, Google_Service_Dfareporting_Campaign $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'defaultLandingPageName' => $defaultLandingPageName, 'defaultLandingPageUrl' => $defaultLandingPageUrl, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+
+ /**
+ * Retrieves a list of campaigns, possibly filtered. (campaigns.listCampaigns)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool archived Select only archived campaigns. Don't set this field
+ * to select both archived and non-archived campaigns.
+ * @opt_param string searchString Allows searching for campaigns by name or ID.
+ * Wildcards (*) are allowed. For example, "campaign*2010" will return campaigns
+ * with names like "campaign June 2010", "campaign April 2010" or simply
+ * "campaign 2010". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "campaign" will match campaigns with name "my campaign", "campaign 2010" or
+ * simply "campaign".
+ * @opt_param string subaccountId Select only campaigns that belong to this
+ * subaccount.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string advertiserIds Select only campaigns that belong to these
+ * advertisers.
+ * @opt_param string ids Select only campaigns with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string excludedIds Exclude campaigns with these IDs.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string advertiserGroupIds Select only campaigns whose advertisers
+ * belong to these advertiser groups.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string overriddenEventTagId Select only campaigns that have
+ * overridden this event tag ID.
+ * @opt_param bool atLeastOneOptimizationActivity Select only campaigns that
+ * have at least one optimization activity.
+ * @return Google_Service_Dfareporting_CampaignsListResponse
+ */
+ public function listCampaigns($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CampaignsListResponse");
+ }
+
+ /**
+ * Updates an existing campaign. This method supports patch semantics.
+ * (campaigns.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Campaign ID.
+ * @param Google_Campaign $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Campaign $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+
+ /**
+ * Updates an existing campaign. (campaigns.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Campaign $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Campaign
+ */
+ public function update($profileId, Google_Service_Dfareporting_Campaign $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Campaign");
+ }
+}
+
+/**
+ * The "changeLogs" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $changeLogs = $dfareportingService->changeLogs;
+ *
+ */
+class Google_Service_Dfareporting_ChangeLogs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one change log by ID. (changeLogs.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Change log ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ChangeLog
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_ChangeLog");
+ }
+
+ /**
+ * Retrieves a list of change logs. (changeLogs.listChangeLogs)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string minChangeTime Select only change logs whose change time is
+ * before the specified minChangeTime.The time should be formatted as an RFC3339
+ * date/time string. For example, for 10:54 PM on July 18th, 2014, in the
+ * America/New York time zone, the format is "2014-07-18T22:54:00-04:00". In
+ * other words, the year, month, day, the letter T, the hour (24-hour clock
+ * system), minute, second, and then the time zone offset.
+ * @opt_param string searchString Select only change logs whose object ID, user
+ * name, old or new values match the search string.
+ * @opt_param string maxChangeTime Select only change logs whose change time is
+ * before the specified maxChangeTime.The time should be formatted as an RFC3339
+ * date/time string. For example, for 10:54 PM on July 18th, 2014, in the
+ * America/New York time zone, the format is "2014-07-18T22:54:00-04:00". In
+ * other words, the year, month, day, the letter T, the hour (24-hour clock
+ * system), minute, second, and then the time zone offset.
+ * @opt_param string userProfileIds Select only change logs with these user
+ * profile IDs.
+ * @opt_param string ids Select only change logs with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string objectIds Select only change logs with these object IDs.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string action Select only change logs with the specified action.
+ * @opt_param string objectType Select only change logs with the specified
+ * object type.
+ * @return Google_Service_Dfareporting_ChangeLogsListResponse
+ */
+ public function listChangeLogs($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ChangeLogsListResponse");
+ }
+}
+
+/**
+ * The "cities" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $cities = $dfareportingService->cities;
+ *
+ */
+class Google_Service_Dfareporting_Cities_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of cities, possibly filtered. (cities.listCities)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string dartIds Return cities with these IDs.
+ * @opt_param string namePrefix Select cities with names starting with this
+ * prefix.
+ * @opt_param string regionDartIds Select cities from these regions.
+ * @opt_param string countryDartIds Select cities from these countries.
+ * @return Google_Service_Dfareporting_CitiesListResponse
+ */
+ public function listCities($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CitiesListResponse");
+ }
+}
+
+/**
+ * The "connectionTypes" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $connectionTypes = $dfareportingService->connectionTypes;
+ *
+ */
+class Google_Service_Dfareporting_ConnectionTypes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of connection types. (connectionTypes.listConnectionTypes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ConnectionTypesListResponse
+ */
+ public function listConnectionTypes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ConnectionTypesListResponse");
+ }
+}
+
+/**
+ * The "contentCategories" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $contentCategories = $dfareportingService->contentCategories;
+ *
+ */
+class Google_Service_Dfareporting_ContentCategories_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing content category. (contentCategories.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Content category ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one content category by ID. (contentCategories.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Content category ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+
+ /**
+ * Inserts a new content category. (contentCategories.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_ContentCategory $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function insert($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+
+ /**
+ * Retrieves a list of content categories, possibly filtered.
+ * (contentCategories.listContentCategories)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "contentcategory*2010" will return
+ * objects with names like "contentcategory June 2010", "contentcategory April
+ * 2010" or simply "contentcategory 2010". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "contentcategory" will match objects with name
+ * "my contentcategory", "contentcategory 2010" or simply "contentcategory".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Set of IDs of specified content categories to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_ContentCategoriesListResponse
+ */
+ public function listContentCategories($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ContentCategoriesListResponse");
+ }
+
+ /**
+ * Updates an existing content category. This method supports patch semantics.
+ * (contentCategories.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Content category ID.
+ * @param Google_ContentCategory $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+
+ /**
+ * Updates an existing content category. (contentCategories.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_ContentCategory $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_ContentCategory
+ */
+ public function update($profileId, Google_Service_Dfareporting_ContentCategory $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_ContentCategory");
+ }
+}
+
+/**
+ * The "countries" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $countries = $dfareportingService->countries;
+ *
+ */
+class Google_Service_Dfareporting_Countries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one country by ID. (countries.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $dartId Country DART ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Country
+ */
+ public function get($profileId, $dartId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'dartId' => $dartId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Country");
+ }
+
+ /**
+ * Retrieves a list of countries. (countries.listCountries)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CountriesListResponse
+ */
+ public function listCountries($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CountriesListResponse");
+ }
+}
+
+/**
+ * The "creativeAssets" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeAssets = $dfareportingService->creativeAssets;
+ *
+ */
+class Google_Service_Dfareporting_CreativeAssets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Inserts a new creative asset. (creativeAssets.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $advertiserId Advertiser ID of this creative. This is a
+ * required field.
+ * @param Google_CreativeAssetMetadata $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeAssetMetadata
+ */
+ public function insert($profileId, $advertiserId, Google_Service_Dfareporting_CreativeAssetMetadata $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeAssetMetadata");
+ }
+}
+
+/**
+ * The "creativeFieldValues" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeFieldValues = $dfareportingService->creativeFieldValues;
+ *
+ */
+class Google_Service_Dfareporting_CreativeFieldValues_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing creative field value. (creativeFieldValues.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param string $id Creative Field Value ID
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $creativeFieldId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one creative field value by ID. (creativeFieldValues.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param string $id Creative Field Value ID
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function get($profileId, $creativeFieldId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+
+ /**
+ * Inserts a new creative field value. (creativeFieldValues.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param Google_CreativeFieldValue $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function insert($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+
+ /**
+ * Retrieves a list of creative field values, possibly filtered.
+ * (creativeFieldValues.listCreativeFieldValues)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for creative field values by
+ * their values. Wildcards (e.g. *) are not allowed.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Select only creative field values with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CreativeFieldValuesListResponse
+ */
+ public function listCreativeFieldValues($profileId, $creativeFieldId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldValuesListResponse");
+ }
+
+ /**
+ * Updates an existing creative field value. This method supports patch
+ * semantics. (creativeFieldValues.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param string $id Creative Field Value ID
+ * @param Google_CreativeFieldValue $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function patch($profileId, $creativeFieldId, $id, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+
+ /**
+ * Updates an existing creative field value. (creativeFieldValues.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $creativeFieldId Creative field ID for this creative field
+ * value.
+ * @param Google_CreativeFieldValue $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeFieldValue
+ */
+ public function update($profileId, $creativeFieldId, Google_Service_Dfareporting_CreativeFieldValue $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'creativeFieldId' => $creativeFieldId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeFieldValue");
+ }
+}
+
+/**
+ * The "creativeFields" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeFields = $dfareportingService->creativeFields;
+ *
+ */
+class Google_Service_Dfareporting_CreativeFields_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing creative field. (creativeFields.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative Field ID
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one creative field by ID. (creativeFields.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative Field ID
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+
+ /**
+ * Inserts a new creative field. (creativeFields.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_CreativeField $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function insert($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+
+ /**
+ * Retrieves a list of creative fields, possibly filtered.
+ * (creativeFields.listCreativeFields)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for creative fields by name
+ * or ID. Wildcards (*) are allowed. For example, "creativefield*2010" will
+ * return creative fields with names like "creativefield June 2010",
+ * "creativefield April 2010" or simply "creativefield 2010". Most of the
+ * searches also add wild-cards implicitly at the start and the end of the
+ * search string. For example, a search string of "creativefield" will match
+ * creative fields with the name "my creativefield", "creativefield 2010" or
+ * simply "creativefield".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string advertiserIds Select only creative fields that belong to
+ * these advertisers.
+ * @opt_param string ids Select only creative fields with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CreativeFieldsListResponse
+ */
+ public function listCreativeFields($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeFieldsListResponse");
+ }
+
+ /**
+ * Updates an existing creative field. This method supports patch semantics.
+ * (creativeFields.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative Field ID
+ * @param Google_CreativeField $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+
+ /**
+ * Updates an existing creative field. (creativeFields.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_CreativeField $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeField
+ */
+ public function update($profileId, Google_Service_Dfareporting_CreativeField $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeField");
+ }
+}
+
+/**
+ * The "creativeGroups" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creativeGroups = $dfareportingService->creativeGroups;
+ *
+ */
+class Google_Service_Dfareporting_CreativeGroups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one creative group by ID. (creativeGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+
+ /**
+ * Inserts a new creative group. (creativeGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_CreativeGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+
+ /**
+ * Retrieves a list of creative groups, possibly filtered.
+ * (creativeGroups.listCreativeGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for creative groups by name
+ * or ID. Wildcards (*) are allowed. For example, "creativegroup*2010" will
+ * return creative groups with names like "creativegroup June 2010",
+ * "creativegroup April 2010" or simply "creativegroup 2010". Most of the
+ * searches also add wild-cards implicitly at the start and the end of the
+ * search string. For example, a search string of "creativegroup" will match
+ * creative groups with the name "my creativegroup", "creativegroup 2010" or
+ * simply "creativegroup".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string advertiserIds Select only creative groups that belong to
+ * these advertisers.
+ * @opt_param int groupNumber Select only creative groups that belong to this
+ * subgroup.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string ids Select only creative groups with these IDs.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_CreativeGroupsListResponse
+ */
+ public function listCreativeGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativeGroupsListResponse");
+ }
+
+ /**
+ * Updates an existing creative group. This method supports patch semantics.
+ * (creativeGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative group ID.
+ * @param Google_CreativeGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+
+ /**
+ * Updates an existing creative group. (creativeGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_CreativeGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CreativeGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_CreativeGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_CreativeGroup");
+ }
+}
+
+/**
+ * The "creatives" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $creatives = $dfareportingService->creatives;
+ *
+ */
+class Google_Service_Dfareporting_Creatives_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one creative by ID. (creatives.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Creative");
+ }
+
+ /**
+ * Inserts a new creative. (creatives.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Creative");
+ }
+
+ /**
+ * Retrieves a list of creatives, possibly filtered. (creatives.listCreatives)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sizeIds Select only creatives with specified size.
+ * @opt_param bool archived Select only archived creatives. Leave blank to
+ * select archived and unarchived creatives.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "creative*2010" will return objects
+ * with names like "creative June 2010", "creative April 2010" or simply
+ * "creative 2010". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "creative" will match objects with name "my creative", "creative 2010" or
+ * simply "creative".
+ * @opt_param string campaignId Campaign ID of creatives to retrieve.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string renderingIds Select only creatives with specified rendering
+ * IDs.
+ * @opt_param string ids List of creative IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string advertiserId Advertiser ID.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string studioCreativeId Studio creative ID associated with DCM
+ * creatives.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string companionCreativeIds Select only in-stream video creatives
+ * with specified companion IDs.
+ * @opt_param bool active Select only active creatives. Leave blank to select
+ * active and inactive creatives.
+ * @opt_param string creativeFieldIds Select only creatives with specified
+ * creative field IDs.
+ * @opt_param string types Select only creatives with specified type of
+ * creative.
+ * @return Google_Service_Dfareporting_CreativesListResponse
+ */
+ public function listCreatives($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_CreativesListResponse");
+ }
+
+ /**
+ * Updates an existing creative. This method supports patch semantics.
+ * (creatives.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Creative ID.
+ * @param Google_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Creative $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Creative");
+ }
+
+ /**
+ * Updates an existing creative. (creatives.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Creative $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Creative
+ */
+ public function update($profileId, Google_Service_Dfareporting_Creative $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Creative");
+ }
+}
+
+/**
+ * The "dimensionValues" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $dimensionValues = $dfareportingService->dimensionValues;
+ *
+ */
+class Google_Service_Dfareporting_DimensionValues_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves list of report dimension values for a list of filters.
+ * (dimensionValues.query)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Google_DimensionValueRequest $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @return Google_Service_Dfareporting_DimensionValueList
+ */
public function query($profileId, Google_Service_Dfareporting_DimensionValueRequest $postBody, $optParams = array())
{
- $params = array('profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('query', array($params), "Google_Service_Dfareporting_DimensionValueList");
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Dfareporting_DimensionValueList");
+ }
+}
+
+/**
+ * The "directorySiteContacts" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $directorySiteContacts = $dfareportingService->directorySiteContacts;
+ *
+ */
+class Google_Service_Dfareporting_DirectorySiteContacts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one directory site contact by ID. (directorySiteContacts.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Directory site contact ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DirectorySiteContact
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySiteContact");
+ }
+
+ /**
+ * Retrieves a list of directory site contacts, possibly filtered.
+ * (directorySiteContacts.listDirectorySiteContacts)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * email. Wildcards (*) are allowed. For example, "directory site contact*2010"
+ * will return objects with names like "directory site contact June 2010",
+ * "directory site contact April 2010" or simply "directory site contact 2010".
+ * Most of the searches also add wildcards implicitly at the start and the end
+ * of the search string. For example, a search string of "directory site
+ * contact" will match objects with name "my directory site contact", "directory
+ * site contact 2010" or simply "directory site contact".
+ * @opt_param string directorySiteIds Retrieve contacts of directory sites with
+ * this set of IDs. This is a required field.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Set of IDs of specified directory site contacts to
+ * retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_DirectorySiteContactsListResponse
+ */
+ public function listDirectorySiteContacts($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySiteContactsListResponse");
+ }
+}
+
+/**
+ * The "directorySites" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $directorySites = $dfareportingService->directorySites;
+ *
+ */
+class Google_Service_Dfareporting_DirectorySites_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one directory site by ID. (directorySites.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Directory site ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DirectorySite
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_DirectorySite");
+ }
+
+ /**
+ * Retrieves a list of directory sites, possibly filtered.
+ * (directorySites.listDirectorySites)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acceptsInterstitialPlacements Select only sites that accept
+ * interstitial placements. This field be left blank.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * URL. Wildcards (*) are allowed. For example, "directory site*2010" will
+ * return objects with names like "directory site June 2010", "directory site
+ * April 2010" or simply "directory site 2010". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "directory site" will match objects with name "my
+ * directory site", "directory site 2010" or simply "directory site".
+ * @opt_param string countryId Country ID of directory sites to retrieve.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param bool acceptsInStreamVideoPlacements Select only sites that accept
+ * in-stream video placements. This field can be left blank.
+ * @opt_param string ids Set of IDs of specified directory sites to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param bool acceptsPublisherPaidPlacements Select only directory sites
+ * that accept publisher paid placements. This field can be left blank.
+ * @opt_param string parentId Parent ID of directory sites to retrieve.
+ * @opt_param bool active Whether to retrieve active directory sites. Leave
+ * blank to retrieve both active and inactive directory sites.
+ * @opt_param string dfp_network_code DFP network code of directory sites to
+ * retrieve.
+ * @return Google_Service_Dfareporting_DirectorySitesListResponse
+ */
+ public function listDirectorySites($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_DirectorySitesListResponse");
+ }
+}
+
+/**
+ * The "eventTags" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $eventTags = $dfareportingService->eventTags;
+ *
+ */
+class Google_Service_Dfareporting_EventTags_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing event tag. (eventTags.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Event tag ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one event tag by ID. (eventTags.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Event tag ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+
+ /**
+ * Inserts a new event tag. (eventTags.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_EventTag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function insert($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+
+ /**
+ * Retrieves a list of event tags, possibly filtered. (eventTags.listEventTags)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "eventtag*2010" will return objects
+ * with names like "eventtag June 2010", "eventtag April 2010" or simply
+ * "eventtag 2010". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "eventtag" will match objects with name "my eventtag", "eventtag 2010" or
+ * simply "eventtag".
+ * @opt_param string campaignId Select only event tags that belong to this
+ * campaign.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param bool enabled Select only enabled event tags. When definitionsOnly
+ * is set to true, only the specified advertiser or campaign's event tags'
+ * enabledByDefault field is examined. When definitionsOnly is set to false, the
+ * specified ad or specified campaign's parent advertiser's or parent campaign's
+ * event tags' enabledByDefault and status fields are examined as well.
+ * @opt_param string ids Set of IDs of specified event tags to retrieve.
+ * @opt_param string advertiserId Select only event tags that belong to this
+ * advertiser.
+ * @opt_param string adId Select only event tags that belong to this ad.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string eventTagTypes Select only event tags with the specified
+ * event tag types. Event tag types can be used to specify whether to use a
+ * third-party pixel, a third-party JavaScript URL, or a third-party click-
+ * through URL for either impression or click tracking.
+ * @opt_param bool definitionsOnly Examine only the specified ad or campaign or
+ * advertiser's event tags for matching selector criteria. When set to false,
+ * the parent advertiser and parent campaign is examined as well. In addition,
+ * when set to false, the status field is examined as well along with the
+ * enabledByDefault field.
+ * @return Google_Service_Dfareporting_EventTagsListResponse
+ */
+ public function listEventTags($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_EventTagsListResponse");
+ }
+
+ /**
+ * Updates an existing event tag. This method supports patch semantics.
+ * (eventTags.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Event tag ID.
+ * @param Google_EventTag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_EventTag $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+
+ /**
+ * Updates an existing event tag. (eventTags.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_EventTag $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_EventTag
+ */
+ public function update($profileId, Google_Service_Dfareporting_EventTag $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_EventTag");
+ }
+}
+
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $files = $dfareportingService->files;
+ *
+ */
+class Google_Service_Dfareporting_Files_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a report file by its report ID and file ID. (files.get)
+ *
+ * @param string $reportId The ID of the report.
+ * @param string $fileId The ID of the report file.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DfareportingFile
+ */
+ public function get($reportId, $fileId, $optParams = array())
+ {
+ $params = array('reportId' => $reportId, 'fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile");
+ }
+
+ /**
+ * Lists files for a user profile. (files.listFiles)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @opt_param string scope The scope that defines which results are returned,
+ * default is 'MINE'.
+ * @return Google_Service_Dfareporting_FileList
+ */
+ public function listFiles($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FileList");
+ }
+}
+
+/**
+ * The "floodlightActivities" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $floodlightActivities = $dfareportingService->floodlightActivities;
+ *
+ */
+class Google_Service_Dfareporting_FloodlightActivities_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing floodlight activity. (floodlightActivities.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Generates a tag for a floodlight activity. (floodlightActivities.generatetag)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string floodlightActivityId Floodlight activity ID for which we
+ * want to generate a tag.
+ * @return Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse
+ */
+ public function generatetag($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generatetag', array($params), "Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse");
+ }
+
+ /**
+ * Gets one floodlight activity by ID. (floodlightActivities.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+
+ /**
+ * Inserts a new floodlight activity. (floodlightActivities.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_FloodlightActivity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function insert($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+
+ /**
+ * Retrieves a list of floodlight activities, possibly filtered.
+ * (floodlightActivities.listFloodlightActivities)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string floodlightActivityGroupIds Retrieve Floodlight activities
+ * with the specified Floodlight activity group IDs.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "floodlightactivity*2010" will return
+ * objects with names like "floodlightactivity June 2010", "floodlightactivity
+ * April 2010" or simply "floodlightactivity 2010". Most of the searches also
+ * add wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "floodlightactivity" will match objects with name
+ * "my floodlightactivity activity", "floodlightactivity 2010" or simply
+ * "floodlightactivity".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string floodlightConfigurationId Retrieve Floodlight activities
+ * for the specified Floodlight configuration ID. Must specify either ids,
+ * advertiserId, or floodlightConfigurationId for a non-empty result.
+ * @opt_param string ids Retrieve Floodlight activities with the specified IDs.
+ * Must specify either ids, advertiserId, or floodlightConfigurationId for a
+ * non-empty result.
+ * @opt_param string floodlightActivityGroupName Retrieve Floodlight activities
+ * with the specified Floodlight activity group name.
+ * @opt_param string advertiserId Retrieve Floodlight activities for the
+ * specified advertiser ID. Must specify either ids, advertiserId, or
+ * floodlightConfigurationId for a non-empty result.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string tagString Retrieve Floodlight activities with the specified
+ * tag string.
+ * @opt_param string floodlightActivityGroupTagString Retrieve Floodlight
+ * activities with the specified Floodlight activity group tag string.
+ * @opt_param string floodlightActivityGroupType Retrieve Floodlight activities
+ * with the specified Floodlight activity group type.
+ * @return Google_Service_Dfareporting_FloodlightActivitiesListResponse
+ */
+ public function listFloodlightActivities($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivitiesListResponse");
+ }
+
+ /**
+ * Updates an existing floodlight activity. This method supports patch
+ * semantics. (floodlightActivities.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity ID.
+ * @param Google_FloodlightActivity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+
+ /**
+ * Updates an existing floodlight activity. (floodlightActivities.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_FloodlightActivity $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivity
+ */
+ public function update($profileId, Google_Service_Dfareporting_FloodlightActivity $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivity");
+ }
+}
+
+/**
+ * The "floodlightActivityGroups" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $floodlightActivityGroups = $dfareportingService->floodlightActivityGroups;
+ *
+ */
+class Google_Service_Dfareporting_FloodlightActivityGroups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing floodlight activity group.
+ * (floodlightActivityGroups.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity Group ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one floodlight activity group by ID. (floodlightActivityGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity Group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+
+ /**
+ * Inserts a new floodlight activity group. (floodlightActivityGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_FloodlightActivityGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+
+ /**
+ * Retrieves a list of floodlight activity groups, possibly filtered.
+ * (floodlightActivityGroups.listFloodlightActivityGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "floodlightactivitygroup*2010" will
+ * return objects with names like "floodlightactivitygroup June 2010",
+ * "floodlightactivitygroup April 2010" or simply "floodlightactivitygroup
+ * 2010". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of
+ * "floodlightactivitygroup" will match objects with name "my
+ * floodlightactivitygroup activity", "floodlightactivitygroup 2010" or simply
+ * "floodlightactivitygroup".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string floodlightConfigurationId Retrieve Floodlight activity
+ * groups with the specified Floodlight configuration ID. Must specify either
+ * ids, advertiserId, or floodlightConfigurationId for a non-empty result.
+ * @opt_param string ids Retrieve Floodlight activity groups with the specified
+ * IDs. Must specify either ids, advertiserId, or floodlightConfigurationId for
+ * a non-empty result.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string advertiserId Retrieve Floodlight activity groups with the
+ * specified advertiser ID. Must specify either ids, advertiserId, or
+ * floodlightConfigurationId for a non-empty result.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string type Retrieve Floodlight activity groups with the specified
+ * Floodlight activity group type.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroupsListResponse
+ */
+ public function listFloodlightActivityGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightActivityGroupsListResponse");
+ }
+
+ /**
+ * Updates an existing floodlight activity group. This method supports patch
+ * semantics. (floodlightActivityGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight activity Group ID.
+ * @param Google_FloodlightActivityGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+
+ /**
+ * Updates an existing floodlight activity group.
+ * (floodlightActivityGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_FloodlightActivityGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightActivityGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_FloodlightActivityGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightActivityGroup");
+ }
+}
+
+/**
+ * The "floodlightConfigurations" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $floodlightConfigurations = $dfareportingService->floodlightConfigurations;
+ *
+ */
+class Google_Service_Dfareporting_FloodlightConfigurations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one floodlight configuration by ID. (floodlightConfigurations.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight configuration ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightConfiguration
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_FloodlightConfiguration");
+ }
+
+ /**
+ * Retrieves a list of floodlight configurations, possibly filtered.
+ * (floodlightConfigurations.listFloodlightConfigurations)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Set of IDs of floodlight configurations to retrieve.
+ * Required field; otherwise an empty list will be returned.
+ * @return Google_Service_Dfareporting_FloodlightConfigurationsListResponse
+ */
+ public function listFloodlightConfigurations($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FloodlightConfigurationsListResponse");
+ }
+
+ /**
+ * Updates an existing floodlight configuration. This method supports patch
+ * semantics. (floodlightConfigurations.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Floodlight configuration ID.
+ * @param Google_FloodlightConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightConfiguration
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_FloodlightConfiguration");
+ }
+
+ /**
+ * Updates an existing floodlight configuration.
+ * (floodlightConfigurations.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_FloodlightConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_FloodlightConfiguration
+ */
+ public function update($profileId, Google_Service_Dfareporting_FloodlightConfiguration $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_FloodlightConfiguration");
+ }
+}
+
+/**
+ * The "landingPages" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $landingPages = $dfareportingService->landingPages;
+ *
+ */
+class Google_Service_Dfareporting_LandingPages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing campaign landing page. (landingPages.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param string $id Landing page ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $campaignId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one campaign landing page by ID. (landingPages.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param string $id Landing page ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function get($profileId, $campaignId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+
+ /**
+ * Inserts a new landing page for this campaign. (landingPages.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param Google_LandingPage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function insert($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+
+ /**
+ * Retrieves the list of landing pages for this campaign.
+ * (landingPages.listLandingPages)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPagesListResponse
+ */
+ public function listLandingPages($profileId, $campaignId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_LandingPagesListResponse");
+ }
+
+ /**
+ * Updates an existing campaign landing page. This method supports patch
+ * semantics. (landingPages.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param string $id Landing page ID.
+ * @param Google_LandingPage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function patch($profileId, $campaignId, $id, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+
+ /**
+ * Updates an existing campaign landing page. (landingPages.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $campaignId Landing page campaign ID.
+ * @param Google_LandingPage $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_LandingPage
+ */
+ public function update($profileId, $campaignId, Google_Service_Dfareporting_LandingPage $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'campaignId' => $campaignId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_LandingPage");
+ }
+}
+
+/**
+ * The "metros" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $metros = $dfareportingService->metros;
+ *
+ */
+class Google_Service_Dfareporting_Metros_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of metros. (metros.listMetros)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_MetrosListResponse
+ */
+ public function listMetros($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_MetrosListResponse");
+ }
+}
+
+/**
+ * The "mobileCarriers" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $mobileCarriers = $dfareportingService->mobileCarriers;
+ *
+ */
+class Google_Service_Dfareporting_MobileCarriers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of mobile carriers. (mobileCarriers.listMobileCarriers)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_MobileCarriersListResponse
+ */
+ public function listMobileCarriers($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_MobileCarriersListResponse");
+ }
+}
+
+/**
+ * The "operatingSystemVersions" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $operatingSystemVersions = $dfareportingService->operatingSystemVersions;
+ *
+ */
+class Google_Service_Dfareporting_OperatingSystemVersions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of operating system versions.
+ * (operatingSystemVersions.listOperatingSystemVersions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystemVersionsListResponse
+ */
+ public function listOperatingSystemVersions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemVersionsListResponse");
+ }
+}
+
+/**
+ * The "operatingSystems" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $operatingSystems = $dfareportingService->operatingSystems;
+ *
+ */
+class Google_Service_Dfareporting_OperatingSystems_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of operating systems.
+ * (operatingSystems.listOperatingSystems)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystemsListResponse
+ */
+ public function listOperatingSystems($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OperatingSystemsListResponse");
+ }
+}
+
+/**
+ * The "placementGroups" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $placementGroups = $dfareportingService->placementGroups;
+ *
+ */
+class Google_Service_Dfareporting_PlacementGroups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one placement group by ID. (placementGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+
+ /**
+ * Inserts a new placement group. (placementGroups.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_PlacementGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function insert($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+
+ /**
+ * Retrieves a list of placement groups, possibly filtered.
+ * (placementGroups.listPlacementGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string placementStrategyIds Select only placement groups that are
+ * associated with these placement strategies.
+ * @opt_param bool archived Select only archived placements. Don't set this
+ * field to select both archived and non-archived placements.
+ * @opt_param string searchString Allows searching for placement groups by name
+ * or ID. Wildcards (*) are allowed. For example, "placement*2010" will return
+ * placement groups with names like "placement group June 2010", "placement
+ * group May 2010" or simply "placements 2010". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "placementgroup" will match placement groups with
+ * name "my placementgroup", "placementgroup 2010" or simply "placementgroup".
+ * @opt_param string contentCategoryIds Select only placement groups that are
+ * associated with these content categories.
+ * @opt_param string directorySiteIds Select only placement groups that are
+ * associated with these directory sites.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string advertiserIds Select only placement groups that belong to
+ * these advertisers.
+ * @opt_param string ids Select only placement groups with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string placementGroupType Select only placement groups belonging
+ * with this group type. A package is a simple group of placements that acts as
+ * a single pricing point for a group of tags. A roadblock is a group of
+ * placements that not only acts as a single pricing point but also assumes that
+ * all the tags in it will be served at the same time. A roadblock requires one
+ * of its assigned placements to be marked as primary for reporting.
+ * @opt_param string pricingTypes Select only placement groups with these
+ * pricing types.
+ * @opt_param string siteIds Select only placement groups that are associated
+ * with these sites.
+ * @opt_param string campaignIds Select only placement groups that belong to
+ * these campaigns.
+ * @return Google_Service_Dfareporting_PlacementGroupsListResponse
+ */
+ public function listPlacementGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementGroupsListResponse");
+ }
+
+ /**
+ * Updates an existing placement group. This method supports patch semantics.
+ * (placementGroups.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement group ID.
+ * @param Google_PlacementGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+
+ /**
+ * Updates an existing placement group. (placementGroups.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_PlacementGroup $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementGroup
+ */
+ public function update($profileId, Google_Service_Dfareporting_PlacementGroup $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementGroup");
+ }
+}
+
+/**
+ * The "placementStrategies" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $placementStrategies = $dfareportingService->placementStrategies;
+ *
+ */
+class Google_Service_Dfareporting_PlacementStrategies_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing placement strategy. (placementStrategies.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement strategy ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one placement strategy by ID. (placementStrategies.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement strategy ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+
+ /**
+ * Inserts a new placement strategy. (placementStrategies.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_PlacementStrategy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function insert($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+
+ /**
+ * Retrieves a list of placement strategies, possibly filtered.
+ * (placementStrategies.listPlacementStrategies)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "placementstrategy*2010" will return
+ * objects with names like "placementstrategy June 2010", "placementstrategy
+ * April 2010" or simply "placementstrategy 2010". Most of the searches also add
+ * wildcards implicitly at the start and the end of the search string. For
+ * example, a search string of "placementstrategy" will match objects with name
+ * "my placementstrategy", "placementstrategy 2010" or simply
+ * "placementstrategy".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Set of IDs of specified placement strategies to
+ * retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_PlacementStrategiesListResponse
+ */
+ public function listPlacementStrategies($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementStrategiesListResponse");
+ }
+
+ /**
+ * Updates an existing placement strategy. This method supports patch semantics.
+ * (placementStrategies.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement strategy ID.
+ * @param Google_PlacementStrategy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+
+ /**
+ * Updates an existing placement strategy. (placementStrategies.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_PlacementStrategy $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlacementStrategy
+ */
+ public function update($profileId, Google_Service_Dfareporting_PlacementStrategy $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_PlacementStrategy");
+ }
+}
+
+/**
+ * The "placements" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $placements = $dfareportingService->placements;
+ *
+ */
+class Google_Service_Dfareporting_Placements_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Generates tags for a placement. (placements.generatetags)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string tagFormats Tag formats to generate for these placements.
+ * @opt_param string placementIds Generate tags for these placements.
+ * @opt_param string campaignId Generate placements belonging to this campaign.
+ * This is a required field.
+ * @return Google_Service_Dfareporting_PlacementsGenerateTagsResponse
+ */
+ public function generatetags($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generatetags', array($params), "Google_Service_Dfareporting_PlacementsGenerateTagsResponse");
+ }
+
+ /**
+ * Gets one placement by ID. (placements.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Placement");
+ }
+
+ /**
+ * Inserts a new placement. (placements.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Placement $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Placement");
+ }
+
+ /**
+ * Retrieves a list of placements, possibly filtered.
+ * (placements.listPlacements)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string placementStrategyIds Select only placements that are
+ * associated with these placement strategies.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool archived Select only archived placements. Don't set this
+ * field to select both archived and non-archived placements.
+ * @opt_param string searchString Allows searching for placements by name or ID.
+ * Wildcards (*) are allowed. For example, "placement*2010" will return
+ * placements with names like "placement June 2010", "placement May 2010" or
+ * simply "placements 2010". Most of the searches also add wildcards implicitly
+ * at the start and the end of the search string. For example, a search string
+ * of "placement" will match placements with name "my placement", "placement
+ * 2010" or simply "placement".
+ * @opt_param string contentCategoryIds Select only placements that are
+ * associated with these content categories.
+ * @opt_param string directorySiteIds Select only placements that are associated
+ * with these directory sites.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string advertiserIds Select only placements that belong to these
+ * advertisers.
+ * @opt_param string paymentSource Select only placements with this payment
+ * source.
+ * @opt_param string ids Select only placements with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string sizeIds Select only placements that are associated with
+ * these sizes.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string compatibilities Select only placements that are associated
+ * with these compatibilities. WEB and WEB_INTERSTITIAL refer to rendering
+ * either on desktop or on mobile devices for regular or interstitial ads
+ * respectively. APP and APP_INTERSTITIAL are for rendering in mobile
+ * apps.IN_STREAM_VIDEO refers to rendering in in-stream video ads developed
+ * with the VAST standard.
+ * @opt_param string groupIds Select only placements that belong to these
+ * placement groups.
+ * @opt_param string pricingTypes Select only placements with these pricing
+ * types.
+ * @opt_param string siteIds Select only placements that are associated with
+ * these sites.
+ * @opt_param string campaignIds Select only placements that belong to these
+ * campaigns.
+ * @return Google_Service_Dfareporting_PlacementsListResponse
+ */
+ public function listPlacements($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlacementsListResponse");
+ }
+
+ /**
+ * Updates an existing placement. This method supports patch semantics.
+ * (placements.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Placement ID.
+ * @param Google_Placement $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Placement $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Placement");
+ }
+
+ /**
+ * Updates an existing placement. (placements.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Placement $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Placement
+ */
+ public function update($profileId, Google_Service_Dfareporting_Placement $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Placement");
+ }
+}
+
+/**
+ * The "platformTypes" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $platformTypes = $dfareportingService->platformTypes;
+ *
+ */
+class Google_Service_Dfareporting_PlatformTypes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of platform types. (platformTypes.listPlatformTypes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlatformTypesListResponse
+ */
+ public function listPlatformTypes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PlatformTypesListResponse");
+ }
+}
+
+/**
+ * The "postalCodes" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $postalCodes = $dfareportingService->postalCodes;
+ *
+ */
+class Google_Service_Dfareporting_PostalCodes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of postal codes. (postalCodes.listPostalCodes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PostalCodesListResponse
+ */
+ public function listPostalCodes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_PostalCodesListResponse");
+ }
+}
+
+/**
+ * The "regions" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $regions = $dfareportingService->regions;
+ *
+ */
+class Google_Service_Dfareporting_Regions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of regions. (regions.listRegions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RegionsListResponse
+ */
+ public function listRegions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_RegionsListResponse");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $reports = $dfareportingService->reports;
+ *
+ */
+class Google_Service_Dfareporting_Reports_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a report by its ID. (reports.delete)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a report by its ID. (reports.get)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function get($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Creates a report. (reports.insert)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Retrieves list of reports. (reports.listReports)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @opt_param string scope The scope that defines which results are returned,
+ * default is 'MINE'.
+ * @return Google_Service_Dfareporting_ReportList
+ */
+ public function listReports($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ReportList");
+ }
+
+ /**
+ * Updates a report. This method supports patch semantics. (reports.patch)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function patch($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Runs a report. (reports.run)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool synchronous If set and true, tries to run the report
+ * synchronously.
+ * @return Google_Service_Dfareporting_DfareportingFile
+ */
+ public function run($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('run', array($params), "Google_Service_Dfareporting_DfareportingFile");
+ }
+
+ /**
+ * Updates a report. (reports.update)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function update($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Report");
+ }
+}
+
+/**
+ * The "compatibleFields" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $compatibleFields = $dfareportingService->compatibleFields;
+ *
+ */
+class Google_Service_Dfareporting_ReportsCompatibleFields_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the fields that are compatible to be selected in the respective
+ * sections of a report criteria, given the fields already selected in the input
+ * report and user permissions. (compatibleFields.query)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_CompatibleFields
+ */
+ public function query($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('query', array($params), "Google_Service_Dfareporting_CompatibleFields");
+ }
+}
+/**
+ * The "files" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $files = $dfareportingService->files;
+ *
+ */
+class Google_Service_Dfareporting_ReportsFiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a report file. (files.get)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param string $reportId The ID of the report.
+ * @param string $fileId The ID of the report file.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_DfareportingFile
+ */
+ public function get($profileId, $reportId, $fileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId, 'fileId' => $fileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile");
+ }
+
+ /**
+ * Lists files for a report. (files.listReportsFiles)
+ *
+ * @param string $profileId The DFA profile ID.
+ * @param string $reportId The ID of the parent report.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
+ * @return Google_Service_Dfareporting_FileList
+ */
+ public function listReportsFiles($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_FileList");
+ }
+}
+
+/**
+ * The "sites" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $sites = $dfareportingService->sites;
+ *
+ */
+class Google_Service_Dfareporting_Sites_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one site by ID. (sites.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Site ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Site");
+ }
+
+ /**
+ * Inserts a new site. (sites.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Site $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Site");
+ }
+
+ /**
+ * Retrieves a list of sites, possibly filtered. (sites.listSites)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool acceptsInterstitialPlacements Select only sites that accept
+ * interstitial placements.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string searchString Allows searching for objects by name, ID or
+ * keyName. Wildcards (*) are allowed. For example, "site*2010" will return
+ * objects with names like "site June 2010", "site April 2010" or simply "site
+ * 2010". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of "site" will
+ * match objects with name "my site", "site 2010" or simply "site".
+ * @opt_param string subaccountId Subaccount ID of sites to retrieve.
+ * @opt_param string directorySiteIds Directory site IDs of sites to retrieve.
+ * @opt_param bool acceptsInStreamVideoPlacements Select only sites that accept
+ * in-stream video placements.
+ * @opt_param string ids Set of IDs of specified sites to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param bool acceptsPublisherPaidPlacements Select only sites that accept
+ * publisher paid placements.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param bool adWordsSite Select only AdWords sites.
+ * @opt_param bool unmappedSite Select only sites that have not been mapped to a
+ * directory site.
+ * @opt_param bool approved Select only approved sites.
+ * @opt_param string campaignIds Campaign IDs of sites to retrieve.
+ * @return Google_Service_Dfareporting_SitesListResponse
+ */
+ public function listSites($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_SitesListResponse");
+ }
+
+ /**
+ * Updates an existing site. This method supports patch semantics. (sites.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Site ID.
+ * @param Google_Site $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Site $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Site");
+ }
+
+ /**
+ * Updates an existing site. (sites.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Site $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Site
+ */
+ public function update($profileId, Google_Service_Dfareporting_Site $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Site");
+ }
+}
+
+/**
+ * The "sizes" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $sizes = $dfareportingService->sizes;
+ *
+ */
+class Google_Service_Dfareporting_Sizes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one size by ID. (sizes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Size ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Size
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Size");
+ }
+
+ /**
+ * Inserts a new size. (sizes.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Size $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Size
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Size $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Size");
+ }
+
+ /**
+ * Retrieves a list of sizes, possibly filtered. (sizes.listSizes)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool iabStandard Whether only IAB standard sizes should be
+ * retrieved.
+ * @opt_param int width Width of sizes to retrieve.
+ * @opt_param string ids Set of IDs of specified sizes to retrieve.
+ * @opt_param int height Height of sizes to retrieve.
+ * @return Google_Service_Dfareporting_SizesListResponse
+ */
+ public function listSizes($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_SizesListResponse");
+ }
+}
+
+/**
+ * The "subaccounts" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $subaccounts = $dfareportingService->subaccounts;
+ *
+ */
+class Google_Service_Dfareporting_Subaccounts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one subaccount by ID. (subaccounts.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Subaccount ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+
+ /**
+ * Inserts a new subaccount. (subaccounts.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Subaccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+
+ /**
+ * Gets a list of subaccounts, possibly filtered. (subaccounts.listSubaccounts)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "subaccount*2010" will return objects
+ * with names like "subaccount June 2010", "subaccount April 2010" or simply
+ * "subaccount 2010". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "subaccount" will match objects with name "my subaccount", "subaccount 2010"
+ * or simply "subaccount".
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids The set of IDs of the subaccounts to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_SubaccountsListResponse
+ */
+ public function listSubaccounts($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_SubaccountsListResponse");
+ }
+
+ /**
+ * Updates an existing subaccount. This method supports patch semantics.
+ * (subaccounts.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Subaccount ID.
+ * @param Google_Subaccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+
+ /**
+ * Updates an existing subaccount. (subaccounts.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_Subaccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Subaccount
+ */
+ public function update($profileId, Google_Service_Dfareporting_Subaccount $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_Subaccount");
+ }
+}
+
+/**
+ * The "userProfiles" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userProfiles = $dfareportingService->userProfiles;
+ *
+ */
+class Google_Service_Dfareporting_UserProfiles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one user profile by ID. (userProfiles.get)
+ *
+ * @param string $profileId The user profile ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserProfile
+ */
+ public function get($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserProfile");
+ }
+
+ /**
+ * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserProfileList
+ */
+ public function listUserProfiles($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserProfileList");
+ }
+}
+
+/**
+ * The "userRolePermissionGroups" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userRolePermissionGroups = $dfareportingService->userRolePermissionGroups;
+ *
+ */
+class Google_Service_Dfareporting_UserRolePermissionGroups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one user role permission group by ID. (userRolePermissionGroups.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role permission group ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRolePermissionGroup
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermissionGroup");
+ }
+
+ /**
+ * Gets a list of all supported user role permission groups.
+ * (userRolePermissionGroups.listUserRolePermissionGroups)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRolePermissionGroupsListResponse
+ */
+ public function listUserRolePermissionGroups($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionGroupsListResponse");
+ }
+}
+
+/**
+ * The "userRolePermissions" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userRolePermissions = $dfareportingService->userRolePermissions;
+ *
+ */
+class Google_Service_Dfareporting_UserRolePermissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one user role permission by ID. (userRolePermissions.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role permission ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRolePermission
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserRolePermission");
+ }
+
+ /**
+ * Gets a list of user role permissions, possibly filtered.
+ * (userRolePermissions.listUserRolePermissions)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string ids Set of IDs of specified user role permissions to
+ * retrieve.
+ * @return Google_Service_Dfareporting_UserRolePermissionsListResponse
+ */
+ public function listUserRolePermissions($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolePermissionsListResponse");
+ }
+}
+
+/**
+ * The "userRoles" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $userRoles = $dfareportingService->userRoles;
+ *
+ */
+class Google_Service_Dfareporting_UserRoles_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes an existing user role. (userRoles.delete)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role ID.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets one user role by ID. (userRoles.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+
+ /**
+ * Inserts a new user role. (userRoles.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_UserRole $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function insert($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+
+ /**
+ * Retrieves a list of user roles, possibly filtered. (userRoles.listUserRoles)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for objects by name or ID.
+ * Wildcards (*) are allowed. For example, "userrole*2010" will return objects
+ * with names like "userrole June 2010", "userrole April 2010" or simply
+ * "userrole 2010". Most of the searches also add wildcards implicitly at the
+ * start and the end of the search string. For example, a search string of
+ * "userrole" will match objects with name "my userrole", "userrole 2010" or
+ * simply "userrole".
+ * @opt_param string subaccountId Select only user roles that belong to this
+ * subaccount.
+ * @opt_param string sortField The field by which to sort the list.
+ * @opt_param string ids Set of IDs of specified user roles to retrieve.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken The value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool accountUserRoleOnly If true, select only account level user
+ * roles not associated with any specific subaccount.
+ * @return Google_Service_Dfareporting_UserRolesListResponse
+ */
+ public function listUserRoles($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_UserRolesListResponse");
+ }
+
+ /**
+ * Updates an existing user role. This method supports patch semantics.
+ * (userRoles.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id User role ID.
+ * @param Google_UserRole $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_UserRole $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+
+ /**
+ * Updates an existing user role. (userRoles.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_UserRole $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_UserRole
+ */
+ public function update($profileId, Google_Service_Dfareporting_UserRole $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_UserRole");
+ }
+}
+
+
+
+
+class Google_Service_Dfareporting_Account extends Google_Collection
+{
+ protected $collection_key = 'availablePermissionIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountPermissionIds;
+ public $accountProfile;
+ public $active;
+ public $activeAdsLimitTier;
+ public $activeViewOptOut;
+ public $availablePermissionIds;
+ public $comscoreVceEnabled;
+ public $countryId;
+ public $currencyId;
+ public $defaultCreativeSizeId;
+ public $description;
+ public $id;
+ public $kind;
+ public $locale;
+ public $maximumImageSize;
+ public $name;
+ public $nielsenOcrEnabled;
+ protected $reportsConfigurationType = 'Google_Service_Dfareporting_ReportsConfiguration';
+ protected $reportsConfigurationDataType = '';
+ public $teaserSizeLimit;
+
+
+ public function setAccountPermissionIds($accountPermissionIds)
+ {
+ $this->accountPermissionIds = $accountPermissionIds;
+ }
+ public function getAccountPermissionIds()
+ {
+ return $this->accountPermissionIds;
+ }
+ public function setAccountProfile($accountProfile)
+ {
+ $this->accountProfile = $accountProfile;
+ }
+ public function getAccountProfile()
+ {
+ return $this->accountProfile;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setActiveAdsLimitTier($activeAdsLimitTier)
+ {
+ $this->activeAdsLimitTier = $activeAdsLimitTier;
+ }
+ public function getActiveAdsLimitTier()
+ {
+ return $this->activeAdsLimitTier;
+ }
+ public function setActiveViewOptOut($activeViewOptOut)
+ {
+ $this->activeViewOptOut = $activeViewOptOut;
+ }
+ public function getActiveViewOptOut()
+ {
+ return $this->activeViewOptOut;
+ }
+ public function setAvailablePermissionIds($availablePermissionIds)
+ {
+ $this->availablePermissionIds = $availablePermissionIds;
+ }
+ public function getAvailablePermissionIds()
+ {
+ return $this->availablePermissionIds;
+ }
+ public function setComscoreVceEnabled($comscoreVceEnabled)
+ {
+ $this->comscoreVceEnabled = $comscoreVceEnabled;
+ }
+ public function getComscoreVceEnabled()
+ {
+ return $this->comscoreVceEnabled;
+ }
+ public function setCountryId($countryId)
+ {
+ $this->countryId = $countryId;
+ }
+ public function getCountryId()
+ {
+ return $this->countryId;
+ }
+ public function setCurrencyId($currencyId)
+ {
+ $this->currencyId = $currencyId;
+ }
+ public function getCurrencyId()
+ {
+ return $this->currencyId;
+ }
+ public function setDefaultCreativeSizeId($defaultCreativeSizeId)
+ {
+ $this->defaultCreativeSizeId = $defaultCreativeSizeId;
+ }
+ public function getDefaultCreativeSizeId()
+ {
+ return $this->defaultCreativeSizeId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setMaximumImageSize($maximumImageSize)
+ {
+ $this->maximumImageSize = $maximumImageSize;
+ }
+ public function getMaximumImageSize()
+ {
+ return $this->maximumImageSize;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNielsenOcrEnabled($nielsenOcrEnabled)
+ {
+ $this->nielsenOcrEnabled = $nielsenOcrEnabled;
+ }
+ public function getNielsenOcrEnabled()
+ {
+ return $this->nielsenOcrEnabled;
+ }
+ public function setReportsConfiguration(Google_Service_Dfareporting_ReportsConfiguration $reportsConfiguration)
+ {
+ $this->reportsConfiguration = $reportsConfiguration;
+ }
+ public function getReportsConfiguration()
+ {
+ return $this->reportsConfiguration;
+ }
+ public function setTeaserSizeLimit($teaserSizeLimit)
+ {
+ $this->teaserSizeLimit = $teaserSizeLimit;
+ }
+ public function getTeaserSizeLimit()
+ {
+ return $this->teaserSizeLimit;
+ }
+}
+
+class Google_Service_Dfareporting_AccountActiveAdSummary extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $activeAds;
+ public $activeAdsLimitTier;
+ public $availableAds;
+ public $kind;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActiveAds($activeAds)
+ {
+ $this->activeAds = $activeAds;
+ }
+ public function getActiveAds()
+ {
+ return $this->activeAds;
+ }
+ public function setActiveAdsLimitTier($activeAdsLimitTier)
+ {
+ $this->activeAdsLimitTier = $activeAdsLimitTier;
+ }
+ public function getActiveAdsLimitTier()
+ {
+ return $this->activeAdsLimitTier;
+ }
+ public function setAvailableAds($availableAds)
+ {
+ $this->availableAds = $availableAds;
+ }
+ public function getAvailableAds()
+ {
+ return $this->availableAds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_AccountPermission extends Google_Collection
+{
+ protected $collection_key = 'accountProfiles';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountProfiles;
+ public $id;
+ public $kind;
+ public $level;
+ public $name;
+ public $permissionGroupId;
+
+
+ public function setAccountProfiles($accountProfiles)
+ {
+ $this->accountProfiles = $accountProfiles;
+ }
+ public function getAccountProfiles()
+ {
+ return $this->accountProfiles;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLevel($level)
+ {
+ $this->level = $level;
+ }
+ public function getLevel()
+ {
+ return $this->level;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissionGroupId($permissionGroupId)
+ {
+ $this->permissionGroupId = $permissionGroupId;
+ }
+ public function getPermissionGroupId()
+ {
+ return $this->permissionGroupId;
+ }
+}
+
+class Google_Service_Dfareporting_AccountPermissionGroup extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_AccountPermissionGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'accountPermissionGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountPermissionGroupsType = 'Google_Service_Dfareporting_AccountPermissionGroup';
+ protected $accountPermissionGroupsDataType = 'array';
+ public $kind;
+
+
+ public function setAccountPermissionGroups($accountPermissionGroups)
+ {
+ $this->accountPermissionGroups = $accountPermissionGroups;
+ }
+ public function getAccountPermissionGroups()
+ {
+ return $this->accountPermissionGroups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_AccountPermissionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'accountPermissions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountPermissionsType = 'Google_Service_Dfareporting_AccountPermission';
+ protected $accountPermissionsDataType = 'array';
+ public $kind;
+
+
+ public function setAccountPermissions($accountPermissions)
+ {
+ $this->accountPermissions = $accountPermissions;
+ }
+ public function getAccountPermissions()
+ {
+ return $this->accountPermissions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_AccountUserProfile extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $active;
+ protected $advertiserFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $advertiserFilterDataType = '';
+ protected $campaignFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $campaignFilterDataType = '';
+ public $comments;
+ public $email;
+ public $id;
+ public $kind;
+ public $locale;
+ public $name;
+ protected $siteFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $siteFilterDataType = '';
+ public $subaccountId;
+ public $traffickerType;
+ public $userAccessType;
+ protected $userRoleFilterType = 'Google_Service_Dfareporting_ObjectFilter';
+ protected $userRoleFilterDataType = '';
+ public $userRoleId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAdvertiserFilter(Google_Service_Dfareporting_ObjectFilter $advertiserFilter)
+ {
+ $this->advertiserFilter = $advertiserFilter;
+ }
+ public function getAdvertiserFilter()
+ {
+ return $this->advertiserFilter;
+ }
+ public function setCampaignFilter(Google_Service_Dfareporting_ObjectFilter $campaignFilter)
+ {
+ $this->campaignFilter = $campaignFilter;
+ }
+ public function getCampaignFilter()
+ {
+ return $this->campaignFilter;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSiteFilter(Google_Service_Dfareporting_ObjectFilter $siteFilter)
+ {
+ $this->siteFilter = $siteFilter;
+ }
+ public function getSiteFilter()
+ {
+ return $this->siteFilter;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTraffickerType($traffickerType)
+ {
+ $this->traffickerType = $traffickerType;
+ }
+ public function getTraffickerType()
+ {
+ return $this->traffickerType;
+ }
+ public function setUserAccessType($userAccessType)
+ {
+ $this->userAccessType = $userAccessType;
+ }
+ public function getUserAccessType()
+ {
+ return $this->userAccessType;
+ }
+ public function setUserRoleFilter(Google_Service_Dfareporting_ObjectFilter $userRoleFilter)
+ {
+ $this->userRoleFilter = $userRoleFilter;
+ }
+ public function getUserRoleFilter()
+ {
+ return $this->userRoleFilter;
+ }
+ public function setUserRoleId($userRoleId)
+ {
+ $this->userRoleId = $userRoleId;
+ }
+ public function getUserRoleId()
+ {
+ return $this->userRoleId;
+ }
+}
+
+class Google_Service_Dfareporting_AccountUserProfilesListResponse extends Google_Collection
+{
+ protected $collection_key = 'accountUserProfiles';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountUserProfilesType = 'Google_Service_Dfareporting_AccountUserProfile';
+ protected $accountUserProfilesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setAccountUserProfiles($accountUserProfiles)
+ {
+ $this->accountUserProfiles = $accountUserProfiles;
+ }
+ public function getAccountUserProfiles()
+ {
+ return $this->accountUserProfiles;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_AccountsListResponse extends Google_Collection
+{
+ protected $collection_key = 'accounts';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountsType = 'Google_Service_Dfareporting_Account';
+ protected $accountsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setAccounts($accounts)
+ {
+ $this->accounts = $accounts;
+ }
+ public function getAccounts()
+ {
+ return $this->accounts;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_Activities extends Google_Collection
+{
+ protected $collection_key = 'metricNames';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filtersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $filtersDataType = 'array';
+ public $kind;
+ public $metricNames;
+
+
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
+ }
+}
+
+class Google_Service_Dfareporting_Ad extends Google_Collection
+{
+ protected $collection_key = 'placementAssignments';
+ protected $internal_gapi_mappings = array(
+ "remarketingListExpression" => "remarketing_list_expression",
+ );
+ public $accountId;
+ public $active;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $audienceSegmentId;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ protected $clickThroughUrlSuffixPropertiesType = 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties';
+ protected $clickThroughUrlSuffixPropertiesDataType = '';
+ public $comments;
+ public $compatibility;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ protected $creativeGroupAssignmentsType = 'Google_Service_Dfareporting_CreativeGroupAssignment';
+ protected $creativeGroupAssignmentsDataType = 'array';
+ protected $creativeRotationType = 'Google_Service_Dfareporting_CreativeRotation';
+ protected $creativeRotationDataType = '';
+ protected $dayPartTargetingType = 'Google_Service_Dfareporting_DayPartTargeting';
+ protected $dayPartTargetingDataType = '';
+ protected $defaultClickThroughEventTagPropertiesType = 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties';
+ protected $defaultClickThroughEventTagPropertiesDataType = '';
+ protected $deliveryScheduleType = 'Google_Service_Dfareporting_DeliverySchedule';
+ protected $deliveryScheduleDataType = '';
+ public $dynamicClickTracker;
+ public $endTime;
+ protected $eventTagOverridesType = 'Google_Service_Dfareporting_EventTagOverride';
+ protected $eventTagOverridesDataType = 'array';
+ protected $geoTargetingType = 'Google_Service_Dfareporting_GeoTargeting';
+ protected $geoTargetingDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ protected $keyValueTargetingExpressionType = 'Google_Service_Dfareporting_KeyValueTargetingExpression';
+ protected $keyValueTargetingExpressionDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ protected $placementAssignmentsType = 'Google_Service_Dfareporting_PlacementAssignment';
+ protected $placementAssignmentsDataType = 'array';
+ protected $remarketingListExpressionType = 'Google_Service_Dfareporting_ListTargetingExpression';
+ protected $remarketingListExpressionDataType = '';
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslCompliant;
+ public $sslRequired;
+ public $startTime;
+ public $subaccountId;
+ protected $technologyTargetingType = 'Google_Service_Dfareporting_TechnologyTargeting';
+ protected $technologyTargetingDataType = '';
+ public $type;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setAudienceSegmentId($audienceSegmentId)
+ {
+ $this->audienceSegmentId = $audienceSegmentId;
+ }
+ public function getAudienceSegmentId()
+ {
+ return $this->audienceSegmentId;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
+ {
+ $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
+ }
+ public function getClickThroughUrlSuffixProperties()
+ {
+ return $this->clickThroughUrlSuffixProperties;
+ }
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setCreativeGroupAssignments($creativeGroupAssignments)
+ {
+ $this->creativeGroupAssignments = $creativeGroupAssignments;
+ }
+ public function getCreativeGroupAssignments()
+ {
+ return $this->creativeGroupAssignments;
+ }
+ public function setCreativeRotation(Google_Service_Dfareporting_CreativeRotation $creativeRotation)
+ {
+ $this->creativeRotation = $creativeRotation;
+ }
+ public function getCreativeRotation()
+ {
+ return $this->creativeRotation;
+ }
+ public function setDayPartTargeting(Google_Service_Dfareporting_DayPartTargeting $dayPartTargeting)
+ {
+ $this->dayPartTargeting = $dayPartTargeting;
+ }
+ public function getDayPartTargeting()
+ {
+ return $this->dayPartTargeting;
+ }
+ public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
+ {
+ $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
+ }
+ public function getDefaultClickThroughEventTagProperties()
+ {
+ return $this->defaultClickThroughEventTagProperties;
+ }
+ public function setDeliverySchedule(Google_Service_Dfareporting_DeliverySchedule $deliverySchedule)
+ {
+ $this->deliverySchedule = $deliverySchedule;
+ }
+ public function getDeliverySchedule()
+ {
+ return $this->deliverySchedule;
+ }
+ public function setDynamicClickTracker($dynamicClickTracker)
+ {
+ $this->dynamicClickTracker = $dynamicClickTracker;
+ }
+ public function getDynamicClickTracker()
+ {
+ return $this->dynamicClickTracker;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEventTagOverrides($eventTagOverrides)
+ {
+ $this->eventTagOverrides = $eventTagOverrides;
+ }
+ public function getEventTagOverrides()
+ {
+ return $this->eventTagOverrides;
+ }
+ public function setGeoTargeting(Google_Service_Dfareporting_GeoTargeting $geoTargeting)
+ {
+ $this->geoTargeting = $geoTargeting;
+ }
+ public function getGeoTargeting()
+ {
+ return $this->geoTargeting;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKeyValueTargetingExpression(Google_Service_Dfareporting_KeyValueTargetingExpression $keyValueTargetingExpression)
+ {
+ $this->keyValueTargetingExpression = $keyValueTargetingExpression;
+ }
+ public function getKeyValueTargetingExpression()
+ {
+ return $this->keyValueTargetingExpression;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlacementAssignments($placementAssignments)
+ {
+ $this->placementAssignments = $placementAssignments;
+ }
+ public function getPlacementAssignments()
+ {
+ return $this->placementAssignments;
+ }
+ public function setRemarketingListExpression(Google_Service_Dfareporting_ListTargetingExpression $remarketingListExpression)
+ {
+ $this->remarketingListExpression = $remarketingListExpression;
+ }
+ public function getRemarketingListExpression()
+ {
+ return $this->remarketingListExpression;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTechnologyTargeting(Google_Service_Dfareporting_TechnologyTargeting $technologyTargeting)
+ {
+ $this->technologyTargeting = $technologyTargeting;
+ }
+ public function getTechnologyTargeting()
+ {
+ return $this->technologyTargeting;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dfareporting_AdsListResponse extends Google_Collection
+{
+ protected $collection_key = 'ads';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $adsType = 'Google_Service_Dfareporting_Ad';
+ protected $adsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setAds($ads)
+ {
+ $this->ads = $ads;
+ }
+ public function getAds()
+ {
+ return $this->ads;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_Advertiser extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserGroupId;
+ public $clickThroughUrlSuffix;
+ public $defaultClickThroughEventTagId;
+ public $defaultEmail;
+ public $floodlightConfigurationId;
+ protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigurationIdDimensionValueDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ public $name;
+ public $status;
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserGroupId($advertiserGroupId)
+ {
+ $this->advertiserGroupId = $advertiserGroupId;
+ }
+ public function getAdvertiserGroupId()
+ {
+ return $this->advertiserGroupId;
+ }
+ public function setClickThroughUrlSuffix($clickThroughUrlSuffix)
+ {
+ $this->clickThroughUrlSuffix = $clickThroughUrlSuffix;
+ }
+ public function getClickThroughUrlSuffix()
+ {
+ return $this->clickThroughUrlSuffix;
+ }
+ public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId)
+ {
+ $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId;
+ }
+ public function getDefaultClickThroughEventTagId()
+ {
+ return $this->defaultClickThroughEventTagId;
+ }
+ public function setDefaultEmail($defaultEmail)
+ {
+ $this->defaultEmail = $defaultEmail;
+ }
+ public function getDefaultEmail()
+ {
+ return $this->defaultEmail;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue)
+ {
+ $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
+ }
+ public function getFloodlightConfigurationIdDimensionValue()
+ {
+ return $this->floodlightConfigurationIdDimensionValue;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_AdvertiserGroup extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_AdvertiserGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'advertiserGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $advertiserGroupsType = 'Google_Service_Dfareporting_AdvertiserGroup';
+ protected $advertiserGroupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setAdvertiserGroups($advertiserGroups)
+ {
+ $this->advertiserGroups = $advertiserGroups;
+ }
+ public function getAdvertiserGroups()
+ {
+ return $this->advertiserGroups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_AdvertisersListResponse extends Google_Collection
+{
+ protected $collection_key = 'advertisers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $advertisersType = 'Google_Service_Dfareporting_Advertiser';
+ protected $advertisersDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setAdvertisers($advertisers)
+ {
+ $this->advertisers = $advertisers;
+ }
+ public function getAdvertisers()
+ {
+ return $this->advertisers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_AudienceSegment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $allocation;
+ public $id;
+ public $name;
+
+
+ public function setAllocation($allocation)
+ {
+ $this->allocation = $allocation;
+ }
+ public function getAllocation()
+ {
+ return $this->allocation;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_AudienceSegmentGroup extends Google_Collection
+{
+ protected $collection_key = 'audienceSegments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $audienceSegmentsType = 'Google_Service_Dfareporting_AudienceSegment';
+ protected $audienceSegmentsDataType = 'array';
+ public $id;
+ public $name;
+
+
+ public function setAudienceSegments($audienceSegments)
+ {
+ $this->audienceSegments = $audienceSegments;
+ }
+ public function getAudienceSegments()
+ {
+ return $this->audienceSegments;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_Browser extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $browserVersionId;
+ public $dartId;
+ public $kind;
+ public $majorVersion;
+ public $minorVersion;
+ public $name;
+
+
+ public function setBrowserVersionId($browserVersionId)
+ {
+ $this->browserVersionId = $browserVersionId;
+ }
+ public function getBrowserVersionId()
+ {
+ return $this->browserVersionId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMajorVersion($majorVersion)
+ {
+ $this->majorVersion = $majorVersion;
+ }
+ public function getMajorVersion()
+ {
+ return $this->majorVersion;
+ }
+ public function setMinorVersion($minorVersion)
+ {
+ $this->minorVersion = $minorVersion;
+ }
+ public function getMinorVersion()
+ {
+ return $this->minorVersion;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_BrowsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'browsers';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $browsersType = 'Google_Service_Dfareporting_Browser';
+ protected $browsersDataType = 'array';
+ public $kind;
+
+
+ public function setBrowsers($browsers)
+ {
+ $this->browsers = $browsers;
+ }
+ public function getBrowsers()
+ {
+ return $this->browsers;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_Campaign extends Google_Collection
+{
+ protected $collection_key = 'traffickerEmails';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $additionalCreativeOptimizationConfigurationsType = 'Google_Service_Dfareporting_CreativeOptimizationConfiguration';
+ protected $additionalCreativeOptimizationConfigurationsDataType = 'array';
+ public $advertiserGroupId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ protected $audienceSegmentGroupsType = 'Google_Service_Dfareporting_AudienceSegmentGroup';
+ protected $audienceSegmentGroupsDataType = 'array';
+ public $billingInvoiceCode;
+ protected $clickThroughUrlSuffixPropertiesType = 'Google_Service_Dfareporting_ClickThroughUrlSuffixProperties';
+ protected $clickThroughUrlSuffixPropertiesDataType = '';
+ public $comment;
+ public $comscoreVceEnabled;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $creativeGroupIds;
+ protected $creativeOptimizationConfigurationType = 'Google_Service_Dfareporting_CreativeOptimizationConfiguration';
+ protected $creativeOptimizationConfigurationDataType = '';
+ protected $defaultClickThroughEventTagPropertiesType = 'Google_Service_Dfareporting_DefaultClickThroughEventTagProperties';
+ protected $defaultClickThroughEventTagPropertiesDataType = '';
+ public $endDate;
+ protected $eventTagOverridesType = 'Google_Service_Dfareporting_EventTagOverride';
+ protected $eventTagOverridesDataType = 'array';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $name;
+ public $nielsenOcrEnabled;
+ public $startDate;
+ public $subaccountId;
+ public $traffickerEmails;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdditionalCreativeOptimizationConfigurations($additionalCreativeOptimizationConfigurations)
+ {
+ $this->additionalCreativeOptimizationConfigurations = $additionalCreativeOptimizationConfigurations;
+ }
+ public function getAdditionalCreativeOptimizationConfigurations()
+ {
+ return $this->additionalCreativeOptimizationConfigurations;
+ }
+ public function setAdvertiserGroupId($advertiserGroupId)
+ {
+ $this->advertiserGroupId = $advertiserGroupId;
+ }
+ public function getAdvertiserGroupId()
+ {
+ return $this->advertiserGroupId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setAudienceSegmentGroups($audienceSegmentGroups)
+ {
+ $this->audienceSegmentGroups = $audienceSegmentGroups;
+ }
+ public function getAudienceSegmentGroups()
+ {
+ return $this->audienceSegmentGroups;
+ }
+ public function setBillingInvoiceCode($billingInvoiceCode)
+ {
+ $this->billingInvoiceCode = $billingInvoiceCode;
+ }
+ public function getBillingInvoiceCode()
+ {
+ return $this->billingInvoiceCode;
+ }
+ public function setClickThroughUrlSuffixProperties(Google_Service_Dfareporting_ClickThroughUrlSuffixProperties $clickThroughUrlSuffixProperties)
+ {
+ $this->clickThroughUrlSuffixProperties = $clickThroughUrlSuffixProperties;
+ }
+ public function getClickThroughUrlSuffixProperties()
+ {
+ return $this->clickThroughUrlSuffixProperties;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setComscoreVceEnabled($comscoreVceEnabled)
+ {
+ $this->comscoreVceEnabled = $comscoreVceEnabled;
+ }
+ public function getComscoreVceEnabled()
+ {
+ return $this->comscoreVceEnabled;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setCreativeGroupIds($creativeGroupIds)
+ {
+ $this->creativeGroupIds = $creativeGroupIds;
+ }
+ public function getCreativeGroupIds()
+ {
+ return $this->creativeGroupIds;
+ }
+ public function setCreativeOptimizationConfiguration(Google_Service_Dfareporting_CreativeOptimizationConfiguration $creativeOptimizationConfiguration)
+ {
+ $this->creativeOptimizationConfiguration = $creativeOptimizationConfiguration;
+ }
+ public function getCreativeOptimizationConfiguration()
+ {
+ return $this->creativeOptimizationConfiguration;
+ }
+ public function setDefaultClickThroughEventTagProperties(Google_Service_Dfareporting_DefaultClickThroughEventTagProperties $defaultClickThroughEventTagProperties)
+ {
+ $this->defaultClickThroughEventTagProperties = $defaultClickThroughEventTagProperties;
+ }
+ public function getDefaultClickThroughEventTagProperties()
+ {
+ return $this->defaultClickThroughEventTagProperties;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setEventTagOverrides($eventTagOverrides)
+ {
+ $this->eventTagOverrides = $eventTagOverrides;
+ }
+ public function getEventTagOverrides()
+ {
+ return $this->eventTagOverrides;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNielsenOcrEnabled($nielsenOcrEnabled)
+ {
+ $this->nielsenOcrEnabled = $nielsenOcrEnabled;
+ }
+ public function getNielsenOcrEnabled()
+ {
+ return $this->nielsenOcrEnabled;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTraffickerEmails($traffickerEmails)
+ {
+ $this->traffickerEmails = $traffickerEmails;
+ }
+ public function getTraffickerEmails()
+ {
+ return $this->traffickerEmails;
+ }
+}
+
+class Google_Service_Dfareporting_CampaignCreativeAssociation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creativeId;
+ public $kind;
+
+
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_CampaignCreativeAssociationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'campaignCreativeAssociations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $campaignCreativeAssociationsType = 'Google_Service_Dfareporting_CampaignCreativeAssociation';
+ protected $campaignCreativeAssociationsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setCampaignCreativeAssociations($campaignCreativeAssociations)
+ {
+ $this->campaignCreativeAssociations = $campaignCreativeAssociations;
+ }
+ public function getCampaignCreativeAssociations()
+ {
+ return $this->campaignCreativeAssociations;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_CampaignsListResponse extends Google_Collection
+{
+ protected $collection_key = 'campaigns';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $campaignsType = 'Google_Service_Dfareporting_Campaign';
+ protected $campaignsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setCampaigns($campaigns)
+ {
+ $this->campaigns = $campaigns;
+ }
+ public function getCampaigns()
+ {
+ return $this->campaigns;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_ChangeLog extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $action;
+ public $changeTime;
+ public $fieldName;
+ public $id;
+ public $kind;
+ public $newValue;
+ public $objectId;
+ public $objectType;
+ public $oldValue;
+ public $subaccountId;
+ public $transactionId;
+ public $userProfileId;
+ public $userProfileName;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAction($action)
+ {
+ $this->action = $action;
+ }
+ public function getAction()
+ {
+ return $this->action;
+ }
+ public function setChangeTime($changeTime)
+ {
+ $this->changeTime = $changeTime;
+ }
+ public function getChangeTime()
+ {
+ return $this->changeTime;
+ }
+ public function setFieldName($fieldName)
+ {
+ $this->fieldName = $fieldName;
+ }
+ public function getFieldName()
+ {
+ return $this->fieldName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNewValue($newValue)
+ {
+ $this->newValue = $newValue;
+ }
+ public function getNewValue()
+ {
+ return $this->newValue;
+ }
+ public function setObjectId($objectId)
+ {
+ $this->objectId = $objectId;
+ }
+ public function getObjectId()
+ {
+ return $this->objectId;
+ }
+ public function setObjectType($objectType)
+ {
+ $this->objectType = $objectType;
+ }
+ public function getObjectType()
+ {
+ return $this->objectType;
+ }
+ public function setOldValue($oldValue)
+ {
+ $this->oldValue = $oldValue;
+ }
+ public function getOldValue()
+ {
+ return $this->oldValue;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTransactionId($transactionId)
+ {
+ $this->transactionId = $transactionId;
+ }
+ public function getTransactionId()
+ {
+ return $this->transactionId;
+ }
+ public function setUserProfileId($userProfileId)
+ {
+ $this->userProfileId = $userProfileId;
+ }
+ public function getUserProfileId()
+ {
+ return $this->userProfileId;
+ }
+ public function setUserProfileName($userProfileName)
+ {
+ $this->userProfileName = $userProfileName;
+ }
+ public function getUserProfileName()
+ {
+ return $this->userProfileName;
+ }
+}
+
+class Google_Service_Dfareporting_ChangeLogsListResponse extends Google_Collection
+{
+ protected $collection_key = 'changeLogs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $changeLogsType = 'Google_Service_Dfareporting_ChangeLog';
+ protected $changeLogsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setChangeLogs($changeLogs)
+ {
+ $this->changeLogs = $changeLogs;
+ }
+ public function getChangeLogs()
+ {
+ return $this->changeLogs;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_CitiesListResponse extends Google_Collection
+{
+ protected $collection_key = 'cities';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $citiesType = 'Google_Service_Dfareporting_City';
+ protected $citiesDataType = 'array';
+ public $kind;
+
+
+ public function setCities($cities)
+ {
+ $this->cities = $cities;
+ }
+ public function getCities()
+ {
+ return $this->cities;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_City extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
+ public $kind;
+ public $metroCode;
+ public $metroDmaId;
+ public $name;
+ public $regionCode;
+ public $regionDartId;
+
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetroCode($metroCode)
+ {
+ $this->metroCode = $metroCode;
+ }
+ public function getMetroCode()
+ {
+ return $this->metroCode;
+ }
+ public function setMetroDmaId($metroDmaId)
+ {
+ $this->metroDmaId = $metroDmaId;
+ }
+ public function getMetroDmaId()
+ {
+ return $this->metroDmaId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
+ }
+ public function setRegionDartId($regionDartId)
+ {
+ $this->regionDartId = $regionDartId;
+ }
+ public function getRegionDartId()
+ {
+ return $this->regionDartId;
+ }
+}
+
+class Google_Service_Dfareporting_ClickTag extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $eventName;
+ public $name;
+ public $value;
+
+
+ public function setEventName($eventName)
+ {
+ $this->eventName = $eventName;
+ }
+ public function getEventName()
+ {
+ return $this->eventName;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Dfareporting_ClickThroughUrl extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customClickThroughUrl;
+ public $defaultLandingPage;
+ public $landingPageId;
+
+
+ public function setCustomClickThroughUrl($customClickThroughUrl)
+ {
+ $this->customClickThroughUrl = $customClickThroughUrl;
+ }
+ public function getCustomClickThroughUrl()
+ {
+ return $this->customClickThroughUrl;
+ }
+ public function setDefaultLandingPage($defaultLandingPage)
+ {
+ $this->defaultLandingPage = $defaultLandingPage;
+ }
+ public function getDefaultLandingPage()
+ {
+ return $this->defaultLandingPage;
+ }
+ public function setLandingPageId($landingPageId)
+ {
+ $this->landingPageId = $landingPageId;
+ }
+ public function getLandingPageId()
+ {
+ return $this->landingPageId;
+ }
+}
+
+class Google_Service_Dfareporting_ClickThroughUrlSuffixProperties extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clickThroughUrlSuffix;
+ public $overrideInheritedSuffix;
+
+
+ public function setClickThroughUrlSuffix($clickThroughUrlSuffix)
+ {
+ $this->clickThroughUrlSuffix = $clickThroughUrlSuffix;
+ }
+ public function getClickThroughUrlSuffix()
+ {
+ return $this->clickThroughUrlSuffix;
+ }
+ public function setOverrideInheritedSuffix($overrideInheritedSuffix)
+ {
+ $this->overrideInheritedSuffix = $overrideInheritedSuffix;
+ }
+ public function getOverrideInheritedSuffix()
+ {
+ return $this->overrideInheritedSuffix;
+ }
+}
+
+class Google_Service_Dfareporting_CompanionClickThroughOverride extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ public $creativeId;
+
+
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+}
+
+class Google_Service_Dfareporting_CompatibleFields extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $crossDimensionReachReportCompatibleFieldsType = 'Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields';
+ protected $crossDimensionReachReportCompatibleFieldsDataType = '';
+ protected $floodlightReportCompatibleFieldsType = 'Google_Service_Dfareporting_FloodlightReportCompatibleFields';
+ protected $floodlightReportCompatibleFieldsDataType = '';
+ public $kind;
+ protected $pathToConversionReportCompatibleFieldsType = 'Google_Service_Dfareporting_PathToConversionReportCompatibleFields';
+ protected $pathToConversionReportCompatibleFieldsDataType = '';
+ protected $reachReportCompatibleFieldsType = 'Google_Service_Dfareporting_ReachReportCompatibleFields';
+ protected $reachReportCompatibleFieldsDataType = '';
+ protected $reportCompatibleFieldsType = 'Google_Service_Dfareporting_ReportCompatibleFields';
+ protected $reportCompatibleFieldsDataType = '';
+
+
+ public function setCrossDimensionReachReportCompatibleFields(Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields)
+ {
+ $this->crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields;
+ }
+ public function getCrossDimensionReachReportCompatibleFields()
+ {
+ return $this->crossDimensionReachReportCompatibleFields;
+ }
+ public function setFloodlightReportCompatibleFields(Google_Service_Dfareporting_FloodlightReportCompatibleFields $floodlightReportCompatibleFields)
+ {
+ $this->floodlightReportCompatibleFields = $floodlightReportCompatibleFields;
+ }
+ public function getFloodlightReportCompatibleFields()
+ {
+ return $this->floodlightReportCompatibleFields;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPathToConversionReportCompatibleFields(Google_Service_Dfareporting_PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields)
+ {
+ $this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields;
+ }
+ public function getPathToConversionReportCompatibleFields()
+ {
+ return $this->pathToConversionReportCompatibleFields;
+ }
+ public function setReachReportCompatibleFields(Google_Service_Dfareporting_ReachReportCompatibleFields $reachReportCompatibleFields)
+ {
+ $this->reachReportCompatibleFields = $reachReportCompatibleFields;
+ }
+ public function getReachReportCompatibleFields()
+ {
+ return $this->reachReportCompatibleFields;
+ }
+ public function setReportCompatibleFields(Google_Service_Dfareporting_ReportCompatibleFields $reportCompatibleFields)
+ {
+ $this->reportCompatibleFields = $reportCompatibleFields;
+ }
+ public function getReportCompatibleFields()
+ {
+ return $this->reportCompatibleFields;
+ }
+}
+
+class Google_Service_Dfareporting_ConnectionType extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_ConnectionTypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'connectionTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionType';
+ protected $connectionTypesDataType = 'array';
+ public $kind;
+
+
+ public function setConnectionTypes($connectionTypes)
+ {
+ $this->connectionTypes = $connectionTypes;
+ }
+ public function getConnectionTypes()
+ {
+ return $this->connectionTypes;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_ContentCategoriesListResponse extends Google_Collection
+{
+ protected $collection_key = 'contentCategories';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentCategoriesType = 'Google_Service_Dfareporting_ContentCategory';
+ protected $contentCategoriesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setContentCategories($contentCategories)
+ {
+ $this->contentCategories = $contentCategories;
+ }
+ public function getContentCategories()
+ {
+ return $this->contentCategories;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_ContentCategory extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $description;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_CountriesListResponse extends Google_Collection
+{
+ protected $collection_key = 'countries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $countriesType = 'Google_Service_Dfareporting_Country';
+ protected $countriesDataType = 'array';
+ public $kind;
+
+
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_Country extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $countryCode;
+ public $dartId;
+ public $kind;
+ public $name;
+ public $sslEnabled;
+
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSslEnabled($sslEnabled)
+ {
+ $this->sslEnabled = $sslEnabled;
+ }
+ public function getSslEnabled()
+ {
+ return $this->sslEnabled;
+ }
+}
+
+class Google_Service_Dfareporting_Creative extends Google_Collection
+{
+ protected $collection_key = 'timerCustomEvents';
+ protected $internal_gapi_mappings = array(
+ "autoAdvanceImages" => "auto_advance_images",
+ );
+ public $accountId;
+ public $active;
+ public $adParameters;
+ public $adTagKeys;
+ public $advertiserId;
+ public $allowScriptAccess;
+ public $archived;
+ public $artworkType;
+ public $authoringTool;
+ public $autoAdvanceImages;
+ public $backgroundColor;
+ public $backupImageClickThroughUrl;
+ public $backupImageFeatures;
+ public $backupImageReportingLabel;
+ protected $backupImageTargetWindowType = 'Google_Service_Dfareporting_TargetWindow';
+ protected $backupImageTargetWindowDataType = '';
+ protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag';
+ protected $clickTagsDataType = 'array';
+ public $commercialId;
+ public $companionCreatives;
+ public $compatibility;
+ protected $counterCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $counterCustomEventsDataType = 'array';
+ protected $creativeAssetsType = 'Google_Service_Dfareporting_CreativeAsset';
+ protected $creativeAssetsDataType = 'array';
+ protected $creativeFieldAssignmentsType = 'Google_Service_Dfareporting_CreativeFieldAssignment';
+ protected $creativeFieldAssignmentsDataType = 'array';
+ public $customKeyValues;
+ protected $exitCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $exitCustomEventsDataType = 'array';
+ protected $fsCommandType = 'Google_Service_Dfareporting_FsCommand';
+ protected $fsCommandDataType = '';
+ public $htmlCode;
+ public $htmlCodeLocked;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $latestTraffickedCreativeId;
+ public $name;
+ public $overrideCss;
+ public $redirectUrl;
+ public $renderingId;
+ protected $renderingIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $renderingIdDimensionValueDataType = '';
+ public $requiredFlashPluginVersion;
+ public $requiredFlashVersion;
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $skippable;
+ public $sslCompliant;
+ public $studioAdvertiserId;
+ public $studioCreativeId;
+ public $studioTraffickedCreativeId;
+ public $subaccountId;
+ public $thirdPartyBackupImageImpressionsUrl;
+ public $thirdPartyRichMediaImpressionsUrl;
+ protected $thirdPartyUrlsType = 'Google_Service_Dfareporting_ThirdPartyTrackingUrl';
+ protected $thirdPartyUrlsDataType = 'array';
+ protected $timerCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $timerCustomEventsDataType = 'array';
+ public $totalFileSize;
+ public $type;
+ public $version;
+ public $videoDescription;
+ public $videoDuration;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAdParameters($adParameters)
+ {
+ $this->adParameters = $adParameters;
+ }
+ public function getAdParameters()
+ {
+ return $this->adParameters;
+ }
+ public function setAdTagKeys($adTagKeys)
+ {
+ $this->adTagKeys = $adTagKeys;
+ }
+ public function getAdTagKeys()
+ {
+ return $this->adTagKeys;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAllowScriptAccess($allowScriptAccess)
+ {
+ $this->allowScriptAccess = $allowScriptAccess;
+ }
+ public function getAllowScriptAccess()
+ {
+ return $this->allowScriptAccess;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setArtworkType($artworkType)
+ {
+ $this->artworkType = $artworkType;
+ }
+ public function getArtworkType()
+ {
+ return $this->artworkType;
+ }
+ public function setAuthoringTool($authoringTool)
+ {
+ $this->authoringTool = $authoringTool;
+ }
+ public function getAuthoringTool()
+ {
+ return $this->authoringTool;
+ }
+ public function setAutoAdvanceImages($autoAdvanceImages)
+ {
+ $this->autoAdvanceImages = $autoAdvanceImages;
+ }
+ public function getAutoAdvanceImages()
+ {
+ return $this->autoAdvanceImages;
+ }
+ public function setBackgroundColor($backgroundColor)
+ {
+ $this->backgroundColor = $backgroundColor;
+ }
+ public function getBackgroundColor()
+ {
+ return $this->backgroundColor;
+ }
+ public function setBackupImageClickThroughUrl($backupImageClickThroughUrl)
+ {
+ $this->backupImageClickThroughUrl = $backupImageClickThroughUrl;
+ }
+ public function getBackupImageClickThroughUrl()
+ {
+ return $this->backupImageClickThroughUrl;
+ }
+ public function setBackupImageFeatures($backupImageFeatures)
+ {
+ $this->backupImageFeatures = $backupImageFeatures;
+ }
+ public function getBackupImageFeatures()
+ {
+ return $this->backupImageFeatures;
+ }
+ public function setBackupImageReportingLabel($backupImageReportingLabel)
+ {
+ $this->backupImageReportingLabel = $backupImageReportingLabel;
+ }
+ public function getBackupImageReportingLabel()
+ {
+ return $this->backupImageReportingLabel;
+ }
+ public function setBackupImageTargetWindow(Google_Service_Dfareporting_TargetWindow $backupImageTargetWindow)
+ {
+ $this->backupImageTargetWindow = $backupImageTargetWindow;
+ }
+ public function getBackupImageTargetWindow()
+ {
+ return $this->backupImageTargetWindow;
+ }
+ public function setClickTags($clickTags)
+ {
+ $this->clickTags = $clickTags;
+ }
+ public function getClickTags()
+ {
+ return $this->clickTags;
+ }
+ public function setCommercialId($commercialId)
+ {
+ $this->commercialId = $commercialId;
+ }
+ public function getCommercialId()
+ {
+ return $this->commercialId;
+ }
+ public function setCompanionCreatives($companionCreatives)
+ {
+ $this->companionCreatives = $companionCreatives;
+ }
+ public function getCompanionCreatives()
+ {
+ return $this->companionCreatives;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setCounterCustomEvents($counterCustomEvents)
+ {
+ $this->counterCustomEvents = $counterCustomEvents;
+ }
+ public function getCounterCustomEvents()
+ {
+ return $this->counterCustomEvents;
+ }
+ public function setCreativeAssets($creativeAssets)
+ {
+ $this->creativeAssets = $creativeAssets;
+ }
+ public function getCreativeAssets()
+ {
+ return $this->creativeAssets;
+ }
+ public function setCreativeFieldAssignments($creativeFieldAssignments)
+ {
+ $this->creativeFieldAssignments = $creativeFieldAssignments;
+ }
+ public function getCreativeFieldAssignments()
+ {
+ return $this->creativeFieldAssignments;
+ }
+ public function setCustomKeyValues($customKeyValues)
+ {
+ $this->customKeyValues = $customKeyValues;
+ }
+ public function getCustomKeyValues()
+ {
+ return $this->customKeyValues;
+ }
+ public function setExitCustomEvents($exitCustomEvents)
+ {
+ $this->exitCustomEvents = $exitCustomEvents;
+ }
+ public function getExitCustomEvents()
+ {
+ return $this->exitCustomEvents;
+ }
+ public function setFsCommand(Google_Service_Dfareporting_FsCommand $fsCommand)
+ {
+ $this->fsCommand = $fsCommand;
+ }
+ public function getFsCommand()
+ {
+ return $this->fsCommand;
+ }
+ public function setHtmlCode($htmlCode)
+ {
+ $this->htmlCode = $htmlCode;
+ }
+ public function getHtmlCode()
+ {
+ return $this->htmlCode;
+ }
+ public function setHtmlCodeLocked($htmlCodeLocked)
+ {
+ $this->htmlCodeLocked = $htmlCodeLocked;
+ }
+ public function getHtmlCodeLocked()
+ {
+ return $this->htmlCodeLocked;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setLatestTraffickedCreativeId($latestTraffickedCreativeId)
+ {
+ $this->latestTraffickedCreativeId = $latestTraffickedCreativeId;
+ }
+ public function getLatestTraffickedCreativeId()
+ {
+ return $this->latestTraffickedCreativeId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOverrideCss($overrideCss)
+ {
+ $this->overrideCss = $overrideCss;
+ }
+ public function getOverrideCss()
+ {
+ return $this->overrideCss;
+ }
+ public function setRedirectUrl($redirectUrl)
+ {
+ $this->redirectUrl = $redirectUrl;
+ }
+ public function getRedirectUrl()
+ {
+ return $this->redirectUrl;
+ }
+ public function setRenderingId($renderingId)
+ {
+ $this->renderingId = $renderingId;
+ }
+ public function getRenderingId()
+ {
+ return $this->renderingId;
+ }
+ public function setRenderingIdDimensionValue(Google_Service_Dfareporting_DimensionValue $renderingIdDimensionValue)
+ {
+ $this->renderingIdDimensionValue = $renderingIdDimensionValue;
+ }
+ public function getRenderingIdDimensionValue()
+ {
+ return $this->renderingIdDimensionValue;
+ }
+ public function setRequiredFlashPluginVersion($requiredFlashPluginVersion)
+ {
+ $this->requiredFlashPluginVersion = $requiredFlashPluginVersion;
+ }
+ public function getRequiredFlashPluginVersion()
+ {
+ return $this->requiredFlashPluginVersion;
+ }
+ public function setRequiredFlashVersion($requiredFlashVersion)
+ {
+ $this->requiredFlashVersion = $requiredFlashVersion;
+ }
+ public function getRequiredFlashVersion()
+ {
+ return $this->requiredFlashVersion;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSkippable($skippable)
+ {
+ $this->skippable = $skippable;
+ }
+ public function getSkippable()
+ {
+ return $this->skippable;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStudioAdvertiserId($studioAdvertiserId)
+ {
+ $this->studioAdvertiserId = $studioAdvertiserId;
+ }
+ public function getStudioAdvertiserId()
+ {
+ return $this->studioAdvertiserId;
+ }
+ public function setStudioCreativeId($studioCreativeId)
+ {
+ $this->studioCreativeId = $studioCreativeId;
+ }
+ public function getStudioCreativeId()
+ {
+ return $this->studioCreativeId;
+ }
+ public function setStudioTraffickedCreativeId($studioTraffickedCreativeId)
+ {
+ $this->studioTraffickedCreativeId = $studioTraffickedCreativeId;
+ }
+ public function getStudioTraffickedCreativeId()
+ {
+ return $this->studioTraffickedCreativeId;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setThirdPartyBackupImageImpressionsUrl($thirdPartyBackupImageImpressionsUrl)
+ {
+ $this->thirdPartyBackupImageImpressionsUrl = $thirdPartyBackupImageImpressionsUrl;
+ }
+ public function getThirdPartyBackupImageImpressionsUrl()
+ {
+ return $this->thirdPartyBackupImageImpressionsUrl;
+ }
+ public function setThirdPartyRichMediaImpressionsUrl($thirdPartyRichMediaImpressionsUrl)
+ {
+ $this->thirdPartyRichMediaImpressionsUrl = $thirdPartyRichMediaImpressionsUrl;
+ }
+ public function getThirdPartyRichMediaImpressionsUrl()
+ {
+ return $this->thirdPartyRichMediaImpressionsUrl;
+ }
+ public function setThirdPartyUrls($thirdPartyUrls)
+ {
+ $this->thirdPartyUrls = $thirdPartyUrls;
+ }
+ public function getThirdPartyUrls()
+ {
+ return $this->thirdPartyUrls;
+ }
+ public function setTimerCustomEvents($timerCustomEvents)
+ {
+ $this->timerCustomEvents = $timerCustomEvents;
+ }
+ public function getTimerCustomEvents()
+ {
+ return $this->timerCustomEvents;
+ }
+ public function setTotalFileSize($totalFileSize)
+ {
+ $this->totalFileSize = $totalFileSize;
+ }
+ public function getTotalFileSize()
+ {
+ return $this->totalFileSize;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setVideoDescription($videoDescription)
+ {
+ $this->videoDescription = $videoDescription;
+ }
+ public function getVideoDescription()
+ {
+ return $this->videoDescription;
+ }
+ public function setVideoDuration($videoDuration)
+ {
+ $this->videoDuration = $videoDuration;
+ }
+ public function getVideoDuration()
+ {
+ return $this->videoDuration;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeAsset extends Google_Collection
+{
+ protected $collection_key = 'detectedFeatures';
+ protected $internal_gapi_mappings = array(
+ );
+ public $actionScript3;
+ public $active;
+ public $alignment;
+ public $artworkType;
+ protected $assetIdentifierType = 'Google_Service_Dfareporting_CreativeAssetId';
+ protected $assetIdentifierDataType = '';
+ protected $backupImageExitType = 'Google_Service_Dfareporting_CreativeCustomEvent';
+ protected $backupImageExitDataType = '';
+ public $bitRate;
+ public $childAssetType;
+ protected $collapsedSizeType = 'Google_Service_Dfareporting_Size';
+ protected $collapsedSizeDataType = '';
+ public $customStartTimeValue;
+ public $detectedFeatures;
+ public $displayType;
+ public $duration;
+ public $durationType;
+ protected $expandedDimensionType = 'Google_Service_Dfareporting_Size';
+ protected $expandedDimensionDataType = '';
+ public $fileSize;
+ public $flashVersion;
+ public $hideFlashObjects;
+ public $hideSelectionBoxes;
+ public $horizontallyLocked;
+ public $id;
+ public $mimeType;
+ protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $offsetDataType = '';
+ public $originalBackup;
+ protected $positionType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $positionDataType = '';
+ public $positionLeftUnit;
+ public $positionTopUnit;
+ public $progressiveServingUrl;
+ public $pushdown;
+ public $pushdownDuration;
+ public $role;
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslCompliant;
+ public $startTimeType;
+ public $streamingServingUrl;
+ public $transparency;
+ public $verticallyLocked;
+ public $videoDuration;
+ public $windowMode;
+ public $zIndex;
+ public $zipFilename;
+ public $zipFilesize;
+
+
+ public function setActionScript3($actionScript3)
+ {
+ $this->actionScript3 = $actionScript3;
+ }
+ public function getActionScript3()
+ {
+ return $this->actionScript3;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAlignment($alignment)
+ {
+ $this->alignment = $alignment;
+ }
+ public function getAlignment()
+ {
+ return $this->alignment;
+ }
+ public function setArtworkType($artworkType)
+ {
+ $this->artworkType = $artworkType;
+ }
+ public function getArtworkType()
+ {
+ return $this->artworkType;
+ }
+ public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier)
+ {
+ $this->assetIdentifier = $assetIdentifier;
+ }
+ public function getAssetIdentifier()
+ {
+ return $this->assetIdentifier;
+ }
+ public function setBackupImageExit(Google_Service_Dfareporting_CreativeCustomEvent $backupImageExit)
+ {
+ $this->backupImageExit = $backupImageExit;
+ }
+ public function getBackupImageExit()
+ {
+ return $this->backupImageExit;
+ }
+ public function setBitRate($bitRate)
+ {
+ $this->bitRate = $bitRate;
+ }
+ public function getBitRate()
+ {
+ return $this->bitRate;
+ }
+ public function setChildAssetType($childAssetType)
+ {
+ $this->childAssetType = $childAssetType;
+ }
+ public function getChildAssetType()
+ {
+ return $this->childAssetType;
+ }
+ public function setCollapsedSize(Google_Service_Dfareporting_Size $collapsedSize)
+ {
+ $this->collapsedSize = $collapsedSize;
+ }
+ public function getCollapsedSize()
+ {
+ return $this->collapsedSize;
+ }
+ public function setCustomStartTimeValue($customStartTimeValue)
+ {
+ $this->customStartTimeValue = $customStartTimeValue;
+ }
+ public function getCustomStartTimeValue()
+ {
+ return $this->customStartTimeValue;
+ }
+ public function setDetectedFeatures($detectedFeatures)
+ {
+ $this->detectedFeatures = $detectedFeatures;
+ }
+ public function getDetectedFeatures()
+ {
+ return $this->detectedFeatures;
+ }
+ public function setDisplayType($displayType)
+ {
+ $this->displayType = $displayType;
+ }
+ public function getDisplayType()
+ {
+ return $this->displayType;
+ }
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setDurationType($durationType)
+ {
+ $this->durationType = $durationType;
+ }
+ public function getDurationType()
+ {
+ return $this->durationType;
+ }
+ public function setExpandedDimension(Google_Service_Dfareporting_Size $expandedDimension)
+ {
+ $this->expandedDimension = $expandedDimension;
+ }
+ public function getExpandedDimension()
+ {
+ return $this->expandedDimension;
+ }
+ public function setFileSize($fileSize)
+ {
+ $this->fileSize = $fileSize;
+ }
+ public function getFileSize()
+ {
+ return $this->fileSize;
+ }
+ public function setFlashVersion($flashVersion)
+ {
+ $this->flashVersion = $flashVersion;
+ }
+ public function getFlashVersion()
+ {
+ return $this->flashVersion;
+ }
+ public function setHideFlashObjects($hideFlashObjects)
+ {
+ $this->hideFlashObjects = $hideFlashObjects;
+ }
+ public function getHideFlashObjects()
+ {
+ return $this->hideFlashObjects;
+ }
+ public function setHideSelectionBoxes($hideSelectionBoxes)
+ {
+ $this->hideSelectionBoxes = $hideSelectionBoxes;
+ }
+ public function getHideSelectionBoxes()
+ {
+ return $this->hideSelectionBoxes;
+ }
+ public function setHorizontallyLocked($horizontallyLocked)
+ {
+ $this->horizontallyLocked = $horizontallyLocked;
+ }
+ public function getHorizontallyLocked()
+ {
+ return $this->horizontallyLocked;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setOriginalBackup($originalBackup)
+ {
+ $this->originalBackup = $originalBackup;
+ }
+ public function getOriginalBackup()
+ {
+ return $this->originalBackup;
+ }
+ public function setPosition(Google_Service_Dfareporting_OffsetPosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setPositionLeftUnit($positionLeftUnit)
+ {
+ $this->positionLeftUnit = $positionLeftUnit;
+ }
+ public function getPositionLeftUnit()
+ {
+ return $this->positionLeftUnit;
+ }
+ public function setPositionTopUnit($positionTopUnit)
+ {
+ $this->positionTopUnit = $positionTopUnit;
+ }
+ public function getPositionTopUnit()
+ {
+ return $this->positionTopUnit;
+ }
+ public function setProgressiveServingUrl($progressiveServingUrl)
+ {
+ $this->progressiveServingUrl = $progressiveServingUrl;
+ }
+ public function getProgressiveServingUrl()
+ {
+ return $this->progressiveServingUrl;
+ }
+ public function setPushdown($pushdown)
+ {
+ $this->pushdown = $pushdown;
+ }
+ public function getPushdown()
+ {
+ return $this->pushdown;
+ }
+ public function setPushdownDuration($pushdownDuration)
+ {
+ $this->pushdownDuration = $pushdownDuration;
+ }
+ public function getPushdownDuration()
+ {
+ return $this->pushdownDuration;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStartTimeType($startTimeType)
+ {
+ $this->startTimeType = $startTimeType;
+ }
+ public function getStartTimeType()
+ {
+ return $this->startTimeType;
+ }
+ public function setStreamingServingUrl($streamingServingUrl)
+ {
+ $this->streamingServingUrl = $streamingServingUrl;
+ }
+ public function getStreamingServingUrl()
+ {
+ return $this->streamingServingUrl;
+ }
+ public function setTransparency($transparency)
+ {
+ $this->transparency = $transparency;
+ }
+ public function getTransparency()
+ {
+ return $this->transparency;
+ }
+ public function setVerticallyLocked($verticallyLocked)
+ {
+ $this->verticallyLocked = $verticallyLocked;
+ }
+ public function getVerticallyLocked()
+ {
+ return $this->verticallyLocked;
+ }
+ public function setVideoDuration($videoDuration)
+ {
+ $this->videoDuration = $videoDuration;
+ }
+ public function getVideoDuration()
+ {
+ return $this->videoDuration;
+ }
+ public function setWindowMode($windowMode)
+ {
+ $this->windowMode = $windowMode;
+ }
+ public function getWindowMode()
+ {
+ return $this->windowMode;
+ }
+ public function setZIndex($zIndex)
+ {
+ $this->zIndex = $zIndex;
+ }
+ public function getZIndex()
+ {
+ return $this->zIndex;
+ }
+ public function setZipFilename($zipFilename)
+ {
+ $this->zipFilename = $zipFilename;
+ }
+ public function getZipFilename()
+ {
+ return $this->zipFilename;
+ }
+ public function setZipFilesize($zipFilesize)
+ {
+ $this->zipFilesize = $zipFilesize;
+ }
+ public function getZipFilesize()
+ {
+ return $this->zipFilesize;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeAssetId extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $type;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeAssetMetadata extends Google_Collection
+{
+ protected $collection_key = 'warnedValidationRules';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $assetIdentifierType = 'Google_Service_Dfareporting_CreativeAssetId';
+ protected $assetIdentifierDataType = '';
+ protected $clickTagsType = 'Google_Service_Dfareporting_ClickTag';
+ protected $clickTagsDataType = 'array';
+ public $detectedFeatures;
+ public $kind;
+ public $warnedValidationRules;
+
+
+ public function setAssetIdentifier(Google_Service_Dfareporting_CreativeAssetId $assetIdentifier)
+ {
+ $this->assetIdentifier = $assetIdentifier;
+ }
+ public function getAssetIdentifier()
+ {
+ return $this->assetIdentifier;
+ }
+ public function setClickTags($clickTags)
+ {
+ $this->clickTags = $clickTags;
+ }
+ public function getClickTags()
+ {
+ return $this->clickTags;
+ }
+ public function setDetectedFeatures($detectedFeatures)
+ {
+ $this->detectedFeatures = $detectedFeatures;
+ }
+ public function getDetectedFeatures()
+ {
+ return $this->detectedFeatures;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setWarnedValidationRules($warnedValidationRules)
+ {
+ $this->warnedValidationRules = $warnedValidationRules;
+ }
+ public function getWarnedValidationRules()
+ {
+ return $this->warnedValidationRules;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeAssignment extends Google_Collection
+{
+ protected $collection_key = 'richMediaExitOverrides';
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ public $applyEventTags;
+ protected $clickThroughUrlType = 'Google_Service_Dfareporting_ClickThroughUrl';
+ protected $clickThroughUrlDataType = '';
+ protected $companionCreativeOverridesType = 'Google_Service_Dfareporting_CompanionClickThroughOverride';
+ protected $companionCreativeOverridesDataType = 'array';
+ protected $creativeGroupAssignmentsType = 'Google_Service_Dfareporting_CreativeGroupAssignment';
+ protected $creativeGroupAssignmentsDataType = 'array';
+ public $creativeId;
+ protected $creativeIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $creativeIdDimensionValueDataType = '';
+ public $endTime;
+ protected $richMediaExitOverridesType = 'Google_Service_Dfareporting_RichMediaExitOverride';
+ protected $richMediaExitOverridesDataType = 'array';
+ public $sequence;
+ public $sslCompliant;
+ public $startTime;
+ public $weight;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setApplyEventTags($applyEventTags)
+ {
+ $this->applyEventTags = $applyEventTags;
+ }
+ public function getApplyEventTags()
+ {
+ return $this->applyEventTags;
+ }
+ public function setClickThroughUrl(Google_Service_Dfareporting_ClickThroughUrl $clickThroughUrl)
+ {
+ $this->clickThroughUrl = $clickThroughUrl;
+ }
+ public function getClickThroughUrl()
+ {
+ return $this->clickThroughUrl;
+ }
+ public function setCompanionCreativeOverrides($companionCreativeOverrides)
+ {
+ $this->companionCreativeOverrides = $companionCreativeOverrides;
+ }
+ public function getCompanionCreativeOverrides()
+ {
+ return $this->companionCreativeOverrides;
+ }
+ public function setCreativeGroupAssignments($creativeGroupAssignments)
+ {
+ $this->creativeGroupAssignments = $creativeGroupAssignments;
+ }
+ public function getCreativeGroupAssignments()
+ {
+ return $this->creativeGroupAssignments;
+ }
+ public function setCreativeId($creativeId)
+ {
+ $this->creativeId = $creativeId;
+ }
+ public function getCreativeId()
+ {
+ return $this->creativeId;
+ }
+ public function setCreativeIdDimensionValue(Google_Service_Dfareporting_DimensionValue $creativeIdDimensionValue)
+ {
+ $this->creativeIdDimensionValue = $creativeIdDimensionValue;
+ }
+ public function getCreativeIdDimensionValue()
+ {
+ return $this->creativeIdDimensionValue;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setRichMediaExitOverrides($richMediaExitOverrides)
+ {
+ $this->richMediaExitOverrides = $richMediaExitOverrides;
+ }
+ public function getRichMediaExitOverrides()
+ {
+ return $this->richMediaExitOverrides;
+ }
+ public function setSequence($sequence)
+ {
+ $this->sequence = $sequence;
+ }
+ public function getSequence()
+ {
+ return $this->sequence;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeCustomEvent extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ public $advertiserCustomEventName;
+ public $advertiserCustomEventType;
+ public $artworkLabel;
+ public $artworkType;
+ public $exitUrl;
+ public $id;
+ protected $popupWindowPropertiesType = 'Google_Service_Dfareporting_PopupWindowProperties';
+ protected $popupWindowPropertiesDataType = '';
+ public $targetType;
+ public $videoReportingId;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAdvertiserCustomEventName($advertiserCustomEventName)
+ {
+ $this->advertiserCustomEventName = $advertiserCustomEventName;
+ }
+ public function getAdvertiserCustomEventName()
+ {
+ return $this->advertiserCustomEventName;
+ }
+ public function setAdvertiserCustomEventType($advertiserCustomEventType)
+ {
+ $this->advertiserCustomEventType = $advertiserCustomEventType;
+ }
+ public function getAdvertiserCustomEventType()
+ {
+ return $this->advertiserCustomEventType;
+ }
+ public function setArtworkLabel($artworkLabel)
+ {
+ $this->artworkLabel = $artworkLabel;
+ }
+ public function getArtworkLabel()
+ {
+ return $this->artworkLabel;
+ }
+ public function setArtworkType($artworkType)
+ {
+ $this->artworkType = $artworkType;
+ }
+ public function getArtworkType()
+ {
+ return $this->artworkType;
+ }
+ public function setExitUrl($exitUrl)
+ {
+ $this->exitUrl = $exitUrl;
+ }
+ public function getExitUrl()
+ {
+ return $this->exitUrl;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setPopupWindowProperties(Google_Service_Dfareporting_PopupWindowProperties $popupWindowProperties)
+ {
+ $this->popupWindowProperties = $popupWindowProperties;
+ }
+ public function getPopupWindowProperties()
+ {
+ return $this->popupWindowProperties;
+ }
+ public function setTargetType($targetType)
+ {
+ $this->targetType = $targetType;
+ }
+ public function getTargetType()
+ {
+ return $this->targetType;
+ }
+ public function setVideoReportingId($videoReportingId)
+ {
+ $this->videoReportingId = $videoReportingId;
+ }
+ public function getVideoReportingId()
+ {
+ return $this->videoReportingId;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeField extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $id;
+ public $kind;
+ public $name;
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeFieldAssignment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creativeFieldId;
+ public $creativeFieldValueId;
+
+
+ public function setCreativeFieldId($creativeFieldId)
+ {
+ $this->creativeFieldId = $creativeFieldId;
+ }
+ public function getCreativeFieldId()
+ {
+ return $this->creativeFieldId;
+ }
+ public function setCreativeFieldValueId($creativeFieldValueId)
+ {
+ $this->creativeFieldValueId = $creativeFieldValueId;
+ }
+ public function getCreativeFieldValueId()
+ {
+ return $this->creativeFieldValueId;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeFieldValue extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $value;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeFieldValuesListResponse extends Google_Collection
+{
+ protected $collection_key = 'creativeFieldValues';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $creativeFieldValuesType = 'Google_Service_Dfareporting_CreativeFieldValue';
+ protected $creativeFieldValuesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setCreativeFieldValues($creativeFieldValues)
+ {
+ $this->creativeFieldValues = $creativeFieldValues;
+ }
+ public function getCreativeFieldValues()
+ {
+ return $this->creativeFieldValues;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeFieldsListResponse extends Google_Collection
+{
+ protected $collection_key = 'creativeFields';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $creativeFieldsType = 'Google_Service_Dfareporting_CreativeField';
+ protected $creativeFieldsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setCreativeFields($creativeFields)
+ {
+ $this->creativeFields = $creativeFields;
+ }
+ public function getCreativeFields()
+ {
+ return $this->creativeFields;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeGroup extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $groupNumber;
+ public $id;
+ public $kind;
+ public $name;
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setGroupNumber($groupNumber)
+ {
+ $this->groupNumber = $groupNumber;
+ }
+ public function getGroupNumber()
+ {
+ return $this->groupNumber;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeGroupAssignment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creativeGroupId;
+ public $creativeGroupNumber;
+
+
+ public function setCreativeGroupId($creativeGroupId)
+ {
+ $this->creativeGroupId = $creativeGroupId;
+ }
+ public function getCreativeGroupId()
+ {
+ return $this->creativeGroupId;
+ }
+ public function setCreativeGroupNumber($creativeGroupNumber)
+ {
+ $this->creativeGroupNumber = $creativeGroupNumber;
+ }
+ public function getCreativeGroupNumber()
+ {
+ return $this->creativeGroupNumber;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'creativeGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $creativeGroupsType = 'Google_Service_Dfareporting_CreativeGroup';
+ protected $creativeGroupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setCreativeGroups($creativeGroups)
+ {
+ $this->creativeGroups = $creativeGroups;
+ }
+ public function getCreativeGroups()
+ {
+ return $this->creativeGroups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeOptimizationConfiguration extends Google_Collection
+{
+ protected $collection_key = 'optimizationActivitys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $name;
+ protected $optimizationActivitysType = 'Google_Service_Dfareporting_OptimizationActivity';
+ protected $optimizationActivitysDataType = 'array';
+ public $optimizationModel;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOptimizationActivitys($optimizationActivitys)
+ {
+ $this->optimizationActivitys = $optimizationActivitys;
+ }
+ public function getOptimizationActivitys()
+ {
+ return $this->optimizationActivitys;
+ }
+ public function setOptimizationModel($optimizationModel)
+ {
+ $this->optimizationModel = $optimizationModel;
+ }
+ public function getOptimizationModel()
+ {
+ return $this->optimizationModel;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeRotation extends Google_Collection
+{
+ protected $collection_key = 'creativeAssignments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $creativeAssignmentsType = 'Google_Service_Dfareporting_CreativeAssignment';
+ protected $creativeAssignmentsDataType = 'array';
+ public $creativeOptimizationConfigurationId;
+ public $type;
+ public $weightCalculationStrategy;
+
+
+ public function setCreativeAssignments($creativeAssignments)
+ {
+ $this->creativeAssignments = $creativeAssignments;
+ }
+ public function getCreativeAssignments()
+ {
+ return $this->creativeAssignments;
+ }
+ public function setCreativeOptimizationConfigurationId($creativeOptimizationConfigurationId)
+ {
+ $this->creativeOptimizationConfigurationId = $creativeOptimizationConfigurationId;
+ }
+ public function getCreativeOptimizationConfigurationId()
+ {
+ return $this->creativeOptimizationConfigurationId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setWeightCalculationStrategy($weightCalculationStrategy)
+ {
+ $this->weightCalculationStrategy = $weightCalculationStrategy;
+ }
+ public function getWeightCalculationStrategy()
+ {
+ return $this->weightCalculationStrategy;
+ }
+}
+
+class Google_Service_Dfareporting_CreativeSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $iFrameFooter;
+ public $iFrameHeader;
+
+
+ public function setIFrameFooter($iFrameFooter)
+ {
+ $this->iFrameFooter = $iFrameFooter;
+ }
+ public function getIFrameFooter()
+ {
+ return $this->iFrameFooter;
+ }
+ public function setIFrameHeader($iFrameHeader)
+ {
+ $this->iFrameHeader = $iFrameHeader;
+ }
+ public function getIFrameHeader()
+ {
+ return $this->iFrameHeader;
+ }
+}
+
+class Google_Service_Dfareporting_CreativesListResponse extends Google_Collection
+{
+ protected $collection_key = 'creatives';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $creativesType = 'Google_Service_Dfareporting_Creative';
+ protected $creativesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setCreatives($creatives)
+ {
+ $this->creatives = $creatives;
+ }
+ public function getCreatives()
+ {
+ return $this->creatives;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'overlapMetrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $breakdownType = 'Google_Service_Dfareporting_Dimension';
+ protected $breakdownDataType = 'array';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $overlapMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $overlapMetricsDataType = 'array';
+
+
+ public function setBreakdown($breakdown)
+ {
+ $this->breakdown = $breakdown;
+ }
+ public function getBreakdown()
+ {
+ return $this->breakdown;
+ }
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setOverlapMetrics($overlapMetrics)
+ {
+ $this->overlapMetrics = $overlapMetrics;
+ }
+ public function getOverlapMetrics()
+ {
+ return $this->overlapMetrics;
+ }
+}
+
+class Google_Service_Dfareporting_CustomRichMediaEvents extends Google_Collection
+{
+ protected $collection_key = 'filteredEventIds';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $filteredEventIdsType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $filteredEventIdsDataType = 'array';
+ public $kind;
+
+
+ public function setFilteredEventIds($filteredEventIds)
+ {
+ $this->filteredEventIds = $filteredEventIds;
+ }
+ public function getFilteredEventIds()
+ {
+ return $this->filteredEventIds;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_DateRange extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endDate;
+ public $kind;
+ public $relativeDateRange;
+ public $startDate;
+
+
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRelativeDateRange($relativeDateRange)
+ {
+ $this->relativeDateRange = $relativeDateRange;
+ }
+ public function getRelativeDateRange()
+ {
+ return $this->relativeDateRange;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Google_Service_Dfareporting_DayPartTargeting extends Google_Collection
+{
+ protected $collection_key = 'hoursOfDay';
+ protected $internal_gapi_mappings = array(
+ );
+ public $daysOfWeek;
+ public $hoursOfDay;
+ public $userLocalTime;
+
+
+ public function setDaysOfWeek($daysOfWeek)
+ {
+ $this->daysOfWeek = $daysOfWeek;
+ }
+ public function getDaysOfWeek()
+ {
+ return $this->daysOfWeek;
+ }
+ public function setHoursOfDay($hoursOfDay)
+ {
+ $this->hoursOfDay = $hoursOfDay;
+ }
+ public function getHoursOfDay()
+ {
+ return $this->hoursOfDay;
+ }
+ public function setUserLocalTime($userLocalTime)
+ {
+ $this->userLocalTime = $userLocalTime;
+ }
+ public function getUserLocalTime()
+ {
+ return $this->userLocalTime;
+ }
+}
+
+class Google_Service_Dfareporting_DefaultClickThroughEventTagProperties extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $defaultClickThroughEventTagId;
+ public $overrideInheritedEventTag;
+
+
+ public function setDefaultClickThroughEventTagId($defaultClickThroughEventTagId)
+ {
+ $this->defaultClickThroughEventTagId = $defaultClickThroughEventTagId;
+ }
+ public function getDefaultClickThroughEventTagId()
+ {
+ return $this->defaultClickThroughEventTagId;
+ }
+ public function setOverrideInheritedEventTag($overrideInheritedEventTag)
+ {
+ $this->overrideInheritedEventTag = $overrideInheritedEventTag;
+ }
+ public function getOverrideInheritedEventTag()
+ {
+ return $this->overrideInheritedEventTag;
+ }
+}
+
+class Google_Service_Dfareporting_DeliverySchedule extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $frequencyCapType = 'Google_Service_Dfareporting_FrequencyCap';
+ protected $frequencyCapDataType = '';
+ public $hardCutoff;
+ public $impressionRatio;
+ public $priority;
+
+
+ public function setFrequencyCap(Google_Service_Dfareporting_FrequencyCap $frequencyCap)
+ {
+ $this->frequencyCap = $frequencyCap;
+ }
+ public function getFrequencyCap()
+ {
+ return $this->frequencyCap;
+ }
+ public function setHardCutoff($hardCutoff)
+ {
+ $this->hardCutoff = $hardCutoff;
+ }
+ public function getHardCutoff()
+ {
+ return $this->hardCutoff;
+ }
+ public function setImpressionRatio($impressionRatio)
+ {
+ $this->impressionRatio = $impressionRatio;
+ }
+ public function getImpressionRatio()
+ {
+ return $this->impressionRatio;
+ }
+ public function setPriority($priority)
+ {
+ $this->priority = $priority;
+ }
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+}
+
+class Google_Service_Dfareporting_DfareportingFile extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $etag;
+ public $fileName;
+ public $format;
+ public $id;
+ public $kind;
+ public $lastModifiedTime;
+ public $reportId;
+ public $status;
+ protected $urlsType = 'Google_Service_Dfareporting_DfareportingFileUrls';
+ protected $urlsDataType = '';
+
+
+ public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedTime($lastModifiedTime)
+ {
+ $this->lastModifiedTime = $lastModifiedTime;
+ }
+ public function getLastModifiedTime()
+ {
+ return $this->lastModifiedTime;
+ }
+ public function setReportId($reportId)
+ {
+ $this->reportId = $reportId;
+ }
+ public function getReportId()
+ {
+ return $this->reportId;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setUrls(Google_Service_Dfareporting_DfareportingFileUrls $urls)
+ {
+ $this->urls = $urls;
+ }
+ public function getUrls()
+ {
+ return $this->urls;
+ }
+}
+
+class Google_Service_Dfareporting_DfareportingFileUrls extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $apiUrl;
+ public $browserUrl;
+
+
+ public function setApiUrl($apiUrl)
+ {
+ $this->apiUrl = $apiUrl;
+ }
+ public function getApiUrl()
+ {
+ return $this->apiUrl;
+ }
+ public function setBrowserUrl($browserUrl)
+ {
+ $this->browserUrl = $browserUrl;
+ }
+ public function getBrowserUrl()
+ {
+ return $this->browserUrl;
+ }
+}
+
+class Google_Service_Dfareporting_DfpSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "dfpNetworkCode" => "dfp_network_code",
+ "dfpNetworkName" => "dfp_network_name",
+ );
+ public $dfpNetworkCode;
+ public $dfpNetworkName;
+ public $programmaticPlacementAccepted;
+ public $pubPaidPlacementAccepted;
+ public $publisherPortalOnly;
+
+
+ public function setDfpNetworkCode($dfpNetworkCode)
+ {
+ $this->dfpNetworkCode = $dfpNetworkCode;
+ }
+ public function getDfpNetworkCode()
+ {
+ return $this->dfpNetworkCode;
+ }
+ public function setDfpNetworkName($dfpNetworkName)
+ {
+ $this->dfpNetworkName = $dfpNetworkName;
+ }
+ public function getDfpNetworkName()
+ {
+ return $this->dfpNetworkName;
+ }
+ public function setProgrammaticPlacementAccepted($programmaticPlacementAccepted)
+ {
+ $this->programmaticPlacementAccepted = $programmaticPlacementAccepted;
+ }
+ public function getProgrammaticPlacementAccepted()
+ {
+ return $this->programmaticPlacementAccepted;
+ }
+ public function setPubPaidPlacementAccepted($pubPaidPlacementAccepted)
+ {
+ $this->pubPaidPlacementAccepted = $pubPaidPlacementAccepted;
+ }
+ public function getPubPaidPlacementAccepted()
+ {
+ return $this->pubPaidPlacementAccepted;
+ }
+ public function setPublisherPortalOnly($publisherPortalOnly)
+ {
+ $this->publisherPortalOnly = $publisherPortalOnly;
+ }
+ public function getPublisherPortalOnly()
+ {
+ return $this->publisherPortalOnly;
+ }
+}
+
+class Google_Service_Dfareporting_Dimension extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_DimensionFilter extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dimensionName;
+ public $kind;
+ public $value;
+
+
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Dfareporting_DimensionValue extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dimensionName;
+ public $etag;
+ public $id;
+ public $kind;
+ public $matchType;
+ public $value;
+
+
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMatchType($matchType)
+ {
+ $this->matchType = $matchType;
+ }
+ public function getMatchType()
+ {
+ return $this->matchType;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Dfareporting_DimensionValueList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_DimensionValueRequest extends Google_Collection
+{
+ protected $collection_key = 'filters';
+ protected $internal_gapi_mappings = array(
+ );
+ public $dimensionName;
+ public $endDate;
+ protected $filtersType = 'Google_Service_Dfareporting_DimensionFilter';
+ protected $filtersDataType = 'array';
+ public $kind;
+ public $startDate;
+
+
+ public function setDimensionName($dimensionName)
+ {
+ $this->dimensionName = $dimensionName;
+ }
+ public function getDimensionName()
+ {
+ return $this->dimensionName;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFilters($filters)
+ {
+ $this->filters = $filters;
+ }
+ public function getFilters()
+ {
+ return $this->filters;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+}
+
+class Google_Service_Dfareporting_DirectorySite extends Google_Collection
+{
+ protected $collection_key = 'interstitialTagFormats';
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ protected $contactAssignmentsType = 'Google_Service_Dfareporting_DirectorySiteContactAssignment';
+ protected $contactAssignmentsDataType = 'array';
+ public $countryId;
+ public $currencyId;
+ public $description;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $inpageTagFormats;
+ public $interstitialTagFormats;
+ public $kind;
+ public $name;
+ public $parentId;
+ protected $settingsType = 'Google_Service_Dfareporting_DirectorySiteSettings';
+ protected $settingsDataType = '';
+ public $url;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setContactAssignments($contactAssignments)
+ {
+ $this->contactAssignments = $contactAssignments;
+ }
+ public function getContactAssignments()
+ {
+ return $this->contactAssignments;
+ }
+ public function setCountryId($countryId)
+ {
+ $this->countryId = $countryId;
+ }
+ public function getCountryId()
+ {
+ return $this->countryId;
+ }
+ public function setCurrencyId($currencyId)
+ {
+ $this->currencyId = $currencyId;
+ }
+ public function getCurrencyId()
+ {
+ return $this->currencyId;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setInpageTagFormats($inpageTagFormats)
+ {
+ $this->inpageTagFormats = $inpageTagFormats;
+ }
+ public function getInpageTagFormats()
+ {
+ return $this->inpageTagFormats;
+ }
+ public function setInterstitialTagFormats($interstitialTagFormats)
+ {
+ $this->interstitialTagFormats = $interstitialTagFormats;
+ }
+ public function getInterstitialTagFormats()
+ {
+ return $this->interstitialTagFormats;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentId($parentId)
+ {
+ $this->parentId = $parentId;
+ }
+ public function getParentId()
+ {
+ return $this->parentId;
+ }
+ public function setSettings(Google_Service_Dfareporting_DirectorySiteSettings $settings)
+ {
+ $this->settings = $settings;
+ }
+ public function getSettings()
+ {
+ return $this->settings;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Dfareporting_DirectorySiteContact extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $email;
+ public $firstName;
+ public $id;
+ public $kind;
+ public $lastName;
+ public $role;
+ public $type;
+
+
+ public function setEmail($email)
+ {
+ $this->email = $email;
+ }
+ public function getEmail()
+ {
+ return $this->email;
+ }
+ public function setFirstName($firstName)
+ {
+ $this->firstName = $firstName;
+ }
+ public function getFirstName()
+ {
+ return $this->firstName;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastName($lastName)
+ {
+ $this->lastName = $lastName;
+ }
+ public function getLastName()
+ {
+ return $this->lastName;
+ }
+ public function setRole($role)
+ {
+ $this->role = $role;
+ }
+ public function getRole()
+ {
+ return $this->role;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dfareporting_DirectorySiteContactAssignment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $contactId;
+ public $visibility;
+
+
+ public function setContactId($contactId)
+ {
+ $this->contactId = $contactId;
+ }
+ public function getContactId()
+ {
+ return $this->contactId;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_Dfareporting_DirectorySiteContactsListResponse extends Google_Collection
+{
+ protected $collection_key = 'directorySiteContacts';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $directorySiteContactsType = 'Google_Service_Dfareporting_DirectorySiteContact';
+ protected $directorySiteContactsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setDirectorySiteContacts($directorySiteContacts)
+ {
+ $this->directorySiteContacts = $directorySiteContacts;
+ }
+ public function getDirectorySiteContacts()
+ {
+ return $this->directorySiteContacts;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_DirectorySiteSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "dfpSettings" => "dfp_settings",
+ "instreamVideoPlacementAccepted" => "instream_video_placement_accepted",
+ );
+ public $activeViewOptOut;
+ protected $dfpSettingsType = 'Google_Service_Dfareporting_DfpSettings';
+ protected $dfpSettingsDataType = '';
+ public $instreamVideoPlacementAccepted;
+ public $interstitialPlacementAccepted;
+ public $nielsenOcrOptOut;
+ public $verificationTagOptOut;
+ public $videoActiveViewOptOut;
+
+
+ public function setActiveViewOptOut($activeViewOptOut)
+ {
+ $this->activeViewOptOut = $activeViewOptOut;
+ }
+ public function getActiveViewOptOut()
+ {
+ return $this->activeViewOptOut;
+ }
+ public function setDfpSettings(Google_Service_Dfareporting_DfpSettings $dfpSettings)
+ {
+ $this->dfpSettings = $dfpSettings;
+ }
+ public function getDfpSettings()
+ {
+ return $this->dfpSettings;
+ }
+ public function setInstreamVideoPlacementAccepted($instreamVideoPlacementAccepted)
+ {
+ $this->instreamVideoPlacementAccepted = $instreamVideoPlacementAccepted;
+ }
+ public function getInstreamVideoPlacementAccepted()
+ {
+ return $this->instreamVideoPlacementAccepted;
+ }
+ public function setInterstitialPlacementAccepted($interstitialPlacementAccepted)
+ {
+ $this->interstitialPlacementAccepted = $interstitialPlacementAccepted;
+ }
+ public function getInterstitialPlacementAccepted()
+ {
+ return $this->interstitialPlacementAccepted;
+ }
+ public function setNielsenOcrOptOut($nielsenOcrOptOut)
+ {
+ $this->nielsenOcrOptOut = $nielsenOcrOptOut;
+ }
+ public function getNielsenOcrOptOut()
+ {
+ return $this->nielsenOcrOptOut;
+ }
+ public function setVerificationTagOptOut($verificationTagOptOut)
+ {
+ $this->verificationTagOptOut = $verificationTagOptOut;
+ }
+ public function getVerificationTagOptOut()
+ {
+ return $this->verificationTagOptOut;
+ }
+ public function setVideoActiveViewOptOut($videoActiveViewOptOut)
+ {
+ $this->videoActiveViewOptOut = $videoActiveViewOptOut;
+ }
+ public function getVideoActiveViewOptOut()
+ {
+ return $this->videoActiveViewOptOut;
+ }
+}
+
+class Google_Service_Dfareporting_DirectorySitesListResponse extends Google_Collection
+{
+ protected $collection_key = 'directorySites';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $directorySitesType = 'Google_Service_Dfareporting_DirectorySite';
+ protected $directorySitesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setDirectorySites($directorySites)
+ {
+ $this->directorySites = $directorySites;
+ }
+ public function getDirectorySites()
+ {
+ return $this->directorySites;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_EventTag extends Google_Collection
+{
+ protected $collection_key = 'siteIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $enabledByDefault;
+ public $id;
+ public $kind;
+ public $name;
+ public $siteFilterType;
+ public $siteIds;
+ public $sslCompliant;
+ public $status;
+ public $subaccountId;
+ public $type;
+ public $url;
+ public $urlEscapeLevels;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setEnabledByDefault($enabledByDefault)
+ {
+ $this->enabledByDefault = $enabledByDefault;
+ }
+ public function getEnabledByDefault()
+ {
+ return $this->enabledByDefault;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSiteFilterType($siteFilterType)
+ {
+ $this->siteFilterType = $siteFilterType;
+ }
+ public function getSiteFilterType()
+ {
+ return $this->siteFilterType;
+ }
+ public function setSiteIds($siteIds)
+ {
+ $this->siteIds = $siteIds;
+ }
+ public function getSiteIds()
+ {
+ return $this->siteIds;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+ public function setUrlEscapeLevels($urlEscapeLevels)
+ {
+ $this->urlEscapeLevels = $urlEscapeLevels;
+ }
+ public function getUrlEscapeLevels()
+ {
+ return $this->urlEscapeLevels;
+ }
+}
+
+class Google_Service_Dfareporting_EventTagOverride extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $enabled;
+ public $id;
+
+
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+}
+
+class Google_Service_Dfareporting_EventTagsListResponse extends Google_Collection
+{
+ protected $collection_key = 'eventTags';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $eventTagsType = 'Google_Service_Dfareporting_EventTag';
+ protected $eventTagsDataType = 'array';
+ public $kind;
+
+
+ public function setEventTags($eventTags)
+ {
+ $this->eventTags = $eventTags;
+ }
+ public function getEventTags()
+ {
+ return $this->eventTags;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_FileList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Google_Service_Dfareporting_DfareportingFile';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $floodlightActivityTag;
+ public $kind;
+
+
+ public function setFloodlightActivityTag($floodlightActivityTag)
+ {
+ $this->floodlightActivityTag = $floodlightActivityTag;
+ }
+ public function getFloodlightActivityTag()
+ {
+ return $this->floodlightActivityTag;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivitiesListResponse extends Google_Collection
+{
+ protected $collection_key = 'floodlightActivities';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $floodlightActivitiesType = 'Google_Service_Dfareporting_FloodlightActivity';
+ protected $floodlightActivitiesDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setFloodlightActivities($floodlightActivities)
+ {
+ $this->floodlightActivities = $floodlightActivities;
+ }
+ public function getFloodlightActivities()
+ {
+ return $this->floodlightActivities;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivity extends Google_Collection
+{
+ protected $collection_key = 'userDefinedVariableTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $cacheBustingType;
+ public $countingMethod;
+ protected $defaultTagsType = 'Google_Service_Dfareporting_FloodlightActivityDynamicTag';
+ protected $defaultTagsDataType = 'array';
+ public $expectedUrl;
+ public $floodlightActivityGroupId;
+ public $floodlightActivityGroupName;
+ public $floodlightActivityGroupTagString;
+ public $floodlightActivityGroupType;
+ public $floodlightConfigurationId;
+ protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigurationIdDimensionValueDataType = '';
+ public $hidden;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $imageTagEnabled;
+ public $kind;
+ public $name;
+ public $notes;
+ protected $publisherTagsType = 'Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag';
+ protected $publisherTagsDataType = 'array';
+ public $secure;
+ public $sslCompliant;
+ public $sslRequired;
+ public $subaccountId;
+ public $tagFormat;
+ public $tagString;
+ public $userDefinedVariableTypes;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setCacheBustingType($cacheBustingType)
+ {
+ $this->cacheBustingType = $cacheBustingType;
+ }
+ public function getCacheBustingType()
+ {
+ return $this->cacheBustingType;
+ }
+ public function setCountingMethod($countingMethod)
+ {
+ $this->countingMethod = $countingMethod;
+ }
+ public function getCountingMethod()
+ {
+ return $this->countingMethod;
+ }
+ public function setDefaultTags($defaultTags)
+ {
+ $this->defaultTags = $defaultTags;
+ }
+ public function getDefaultTags()
+ {
+ return $this->defaultTags;
+ }
+ public function setExpectedUrl($expectedUrl)
+ {
+ $this->expectedUrl = $expectedUrl;
+ }
+ public function getExpectedUrl()
+ {
+ return $this->expectedUrl;
+ }
+ public function setFloodlightActivityGroupId($floodlightActivityGroupId)
+ {
+ $this->floodlightActivityGroupId = $floodlightActivityGroupId;
+ }
+ public function getFloodlightActivityGroupId()
+ {
+ return $this->floodlightActivityGroupId;
+ }
+ public function setFloodlightActivityGroupName($floodlightActivityGroupName)
+ {
+ $this->floodlightActivityGroupName = $floodlightActivityGroupName;
+ }
+ public function getFloodlightActivityGroupName()
+ {
+ return $this->floodlightActivityGroupName;
+ }
+ public function setFloodlightActivityGroupTagString($floodlightActivityGroupTagString)
+ {
+ $this->floodlightActivityGroupTagString = $floodlightActivityGroupTagString;
+ }
+ public function getFloodlightActivityGroupTagString()
+ {
+ return $this->floodlightActivityGroupTagString;
+ }
+ public function setFloodlightActivityGroupType($floodlightActivityGroupType)
+ {
+ $this->floodlightActivityGroupType = $floodlightActivityGroupType;
+ }
+ public function getFloodlightActivityGroupType()
+ {
+ return $this->floodlightActivityGroupType;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue)
+ {
+ $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
+ }
+ public function getFloodlightConfigurationIdDimensionValue()
+ {
+ return $this->floodlightConfigurationIdDimensionValue;
+ }
+ public function setHidden($hidden)
+ {
+ $this->hidden = $hidden;
+ }
+ public function getHidden()
+ {
+ return $this->hidden;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setImageTagEnabled($imageTagEnabled)
+ {
+ $this->imageTagEnabled = $imageTagEnabled;
+ }
+ public function getImageTagEnabled()
+ {
+ return $this->imageTagEnabled;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNotes($notes)
+ {
+ $this->notes = $notes;
+ }
+ public function getNotes()
+ {
+ return $this->notes;
+ }
+ public function setPublisherTags($publisherTags)
+ {
+ $this->publisherTags = $publisherTags;
+ }
+ public function getPublisherTags()
+ {
+ return $this->publisherTags;
+ }
+ public function setSecure($secure)
+ {
+ $this->secure = $secure;
+ }
+ public function getSecure()
+ {
+ return $this->secure;
+ }
+ public function setSslCompliant($sslCompliant)
+ {
+ $this->sslCompliant = $sslCompliant;
+ }
+ public function getSslCompliant()
+ {
+ return $this->sslCompliant;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagFormat($tagFormat)
+ {
+ $this->tagFormat = $tagFormat;
+ }
+ public function getTagFormat()
+ {
+ return $this->tagFormat;
+ }
+ public function setTagString($tagString)
+ {
+ $this->tagString = $tagString;
+ }
+ public function getTagString()
+ {
+ return $this->tagString;
+ }
+ public function setUserDefinedVariableTypes($userDefinedVariableTypes)
+ {
+ $this->userDefinedVariableTypes = $userDefinedVariableTypes;
+ }
+ public function getUserDefinedVariableTypes()
+ {
+ return $this->userDefinedVariableTypes;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivityDynamicTag extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $name;
+ public $tag;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivityGroup extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $floodlightConfigurationId;
+ protected $floodlightConfigurationIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigurationIdDimensionValueDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ public $name;
+ public $subaccountId;
+ public $tagString;
+ public $type;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setFloodlightConfigurationId($floodlightConfigurationId)
+ {
+ $this->floodlightConfigurationId = $floodlightConfigurationId;
+ }
+ public function getFloodlightConfigurationId()
+ {
+ return $this->floodlightConfigurationId;
+ }
+ public function setFloodlightConfigurationIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightConfigurationIdDimensionValue)
+ {
+ $this->floodlightConfigurationIdDimensionValue = $floodlightConfigurationIdDimensionValue;
+ }
+ public function getFloodlightConfigurationIdDimensionValue()
+ {
+ return $this->floodlightConfigurationIdDimensionValue;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagString($tagString)
+ {
+ $this->tagString = $tagString;
+ }
+ public function getTagString()
+ {
+ return $this->tagString;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivityGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'floodlightActivityGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $floodlightActivityGroupsType = 'Google_Service_Dfareporting_FloodlightActivityGroup';
+ protected $floodlightActivityGroupsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setFloodlightActivityGroups($floodlightActivityGroups)
+ {
+ $this->floodlightActivityGroups = $floodlightActivityGroups;
+ }
+ public function getFloodlightActivityGroups()
+ {
+ return $this->floodlightActivityGroups;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightActivityPublisherDynamicTag extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clickThrough;
+ public $directorySiteId;
+ protected $dynamicTagType = 'Google_Service_Dfareporting_FloodlightActivityDynamicTag';
+ protected $dynamicTagDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ public $viewThrough;
+
+
+ public function setClickThrough($clickThrough)
+ {
+ $this->clickThrough = $clickThrough;
+ }
+ public function getClickThrough()
+ {
+ return $this->clickThrough;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDynamicTag(Google_Service_Dfareporting_FloodlightActivityDynamicTag $dynamicTag)
+ {
+ $this->dynamicTag = $dynamicTag;
+ }
+ public function getDynamicTag()
+ {
+ return $this->dynamicTag;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setViewThrough($viewThrough)
+ {
+ $this->viewThrough = $viewThrough;
+ }
+ public function getViewThrough()
+ {
+ return $this->viewThrough;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightConfiguration extends Google_Collection
+{
+ protected $collection_key = 'userDefinedVariableConfigurations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $analyticsDataSharingEnabled;
+ public $exposureToConversionEnabled;
+ public $firstDayOfWeek;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $naturalSearchConversionAttributionOption;
+ protected $omnitureSettingsType = 'Google_Service_Dfareporting_OmnitureSettings';
+ protected $omnitureSettingsDataType = '';
+ public $sslRequired;
+ public $standardVariableTypes;
+ public $subaccountId;
+ protected $tagSettingsType = 'Google_Service_Dfareporting_TagSettings';
+ protected $tagSettingsDataType = '';
+ protected $userDefinedVariableConfigurationsType = 'Google_Service_Dfareporting_UserDefinedVariableConfiguration';
+ protected $userDefinedVariableConfigurationsDataType = 'array';
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setAnalyticsDataSharingEnabled($analyticsDataSharingEnabled)
+ {
+ $this->analyticsDataSharingEnabled = $analyticsDataSharingEnabled;
+ }
+ public function getAnalyticsDataSharingEnabled()
+ {
+ return $this->analyticsDataSharingEnabled;
+ }
+ public function setExposureToConversionEnabled($exposureToConversionEnabled)
+ {
+ $this->exposureToConversionEnabled = $exposureToConversionEnabled;
+ }
+ public function getExposureToConversionEnabled()
+ {
+ return $this->exposureToConversionEnabled;
+ }
+ public function setFirstDayOfWeek($firstDayOfWeek)
+ {
+ $this->firstDayOfWeek = $firstDayOfWeek;
+ }
+ public function getFirstDayOfWeek()
+ {
+ return $this->firstDayOfWeek;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setNaturalSearchConversionAttributionOption($naturalSearchConversionAttributionOption)
+ {
+ $this->naturalSearchConversionAttributionOption = $naturalSearchConversionAttributionOption;
+ }
+ public function getNaturalSearchConversionAttributionOption()
+ {
+ return $this->naturalSearchConversionAttributionOption;
+ }
+ public function setOmnitureSettings(Google_Service_Dfareporting_OmnitureSettings $omnitureSettings)
+ {
+ $this->omnitureSettings = $omnitureSettings;
+ }
+ public function getOmnitureSettings()
+ {
+ return $this->omnitureSettings;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setStandardVariableTypes($standardVariableTypes)
+ {
+ $this->standardVariableTypes = $standardVariableTypes;
+ }
+ public function getStandardVariableTypes()
+ {
+ return $this->standardVariableTypes;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagSettings(Google_Service_Dfareporting_TagSettings $tagSettings)
+ {
+ $this->tagSettings = $tagSettings;
+ }
+ public function getTagSettings()
+ {
+ return $this->tagSettings;
+ }
+ public function setUserDefinedVariableConfigurations($userDefinedVariableConfigurations)
+ {
+ $this->userDefinedVariableConfigurations = $userDefinedVariableConfigurations;
+ }
+ public function getUserDefinedVariableConfigurations()
+ {
+ return $this->userDefinedVariableConfigurations;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightConfigurationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'floodlightConfigurations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $floodlightConfigurationsType = 'Google_Service_Dfareporting_FloodlightConfiguration';
+ protected $floodlightConfigurationsDataType = 'array';
+ public $kind;
+
+
+ public function setFloodlightConfigurations($floodlightConfigurations)
+ {
+ $this->floodlightConfigurations = $floodlightConfigurations;
+ }
+ public function getFloodlightConfigurations()
+ {
+ return $this->floodlightConfigurations;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_Dfareporting_FloodlightReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+
+
+ public function setDimensionFilters($dimensionFilters)
+ {
+ $this->dimensionFilters = $dimensionFilters;
+ }
+ public function getDimensionFilters()
+ {
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+}
+
+class Google_Service_Dfareporting_FrequencyCap extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $duration;
+ public $impressions;
+
+
+ public function setDuration($duration)
+ {
+ $this->duration = $duration;
+ }
+ public function getDuration()
+ {
+ return $this->duration;
+ }
+ public function setImpressions($impressions)
+ {
+ $this->impressions = $impressions;
+ }
+ public function getImpressions()
+ {
+ return $this->impressions;
+ }
+}
+
+class Google_Service_Dfareporting_FsCommand extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $left;
+ public $positionOption;
+ public $top;
+ public $windowHeight;
+ public $windowWidth;
+
+
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setPositionOption($positionOption)
+ {
+ $this->positionOption = $positionOption;
+ }
+ public function getPositionOption()
+ {
+ return $this->positionOption;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWindowHeight($windowHeight)
+ {
+ $this->windowHeight = $windowHeight;
+ }
+ public function getWindowHeight()
+ {
+ return $this->windowHeight;
+ }
+ public function setWindowWidth($windowWidth)
+ {
+ $this->windowWidth = $windowWidth;
+ }
+ public function getWindowWidth()
+ {
+ return $this->windowWidth;
+ }
+}
+
+class Google_Service_Dfareporting_GeoTargeting extends Google_Collection
+{
+ protected $collection_key = 'regions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $citiesType = 'Google_Service_Dfareporting_City';
+ protected $citiesDataType = 'array';
+ protected $countriesType = 'Google_Service_Dfareporting_Country';
+ protected $countriesDataType = 'array';
+ public $excludeCountries;
+ protected $metrosType = 'Google_Service_Dfareporting_Metro';
+ protected $metrosDataType = 'array';
+ protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
+ protected $postalCodesDataType = 'array';
+ protected $regionsType = 'Google_Service_Dfareporting_Region';
+ protected $regionsDataType = 'array';
+
+
+ public function setCities($cities)
+ {
+ $this->cities = $cities;
+ }
+ public function getCities()
+ {
+ return $this->cities;
+ }
+ public function setCountries($countries)
+ {
+ $this->countries = $countries;
+ }
+ public function getCountries()
+ {
+ return $this->countries;
+ }
+ public function setExcludeCountries($excludeCountries)
+ {
+ $this->excludeCountries = $excludeCountries;
+ }
+ public function getExcludeCountries()
+ {
+ return $this->excludeCountries;
+ }
+ public function setMetros($metros)
+ {
+ $this->metros = $metros;
+ }
+ public function getMetros()
+ {
+ return $this->metros;
+ }
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+ public function setRegions($regions)
+ {
+ $this->regions = $regions;
+ }
+ public function getRegions()
+ {
+ return $this->regions;
+ }
+}
+
+class Google_Service_Dfareporting_KeyValueTargetingExpression extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $expression;
+
+
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+}
+
+class Google_Service_Dfareporting_LandingPage extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $default;
+ public $id;
+ public $kind;
+ public $name;
+ public $url;
+
+
+ public function setDefault($default)
+ {
+ $this->default = $default;
+ }
+ public function getDefault()
+ {
+ return $this->default;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Dfareporting_LandingPagesListResponse extends Google_Collection
+{
+ protected $collection_key = 'landingPages';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $landingPagesType = 'Google_Service_Dfareporting_LandingPage';
+ protected $landingPagesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLandingPages($landingPages)
+ {
+ $this->landingPages = $landingPages;
+ }
+ public function getLandingPages()
+ {
+ return $this->landingPages;
+ }
+}
+
+class Google_Service_Dfareporting_LastModifiedInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $time;
+
+
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Google_Service_Dfareporting_ListTargetingExpression extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $expression;
+
+
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+}
+
+class Google_Service_Dfareporting_LookbackConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clickDuration;
+ public $postImpressionActivitiesDuration;
+
+
+ public function setClickDuration($clickDuration)
+ {
+ $this->clickDuration = $clickDuration;
+ }
+ public function getClickDuration()
+ {
+ return $this->clickDuration;
+ }
+ public function setPostImpressionActivitiesDuration($postImpressionActivitiesDuration)
+ {
+ $this->postImpressionActivitiesDuration = $postImpressionActivitiesDuration;
+ }
+ public function getPostImpressionActivitiesDuration()
+ {
+ return $this->postImpressionActivitiesDuration;
+ }
+}
+
+class Google_Service_Dfareporting_Metric extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_Metro extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
+ public $dmaId;
+ public $kind;
+ public $metroCode;
+ public $name;
+
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setDmaId($dmaId)
+ {
+ $this->dmaId = $dmaId;
+ }
+ public function getDmaId()
+ {
+ return $this->dmaId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetroCode($metroCode)
+ {
+ $this->metroCode = $metroCode;
+ }
+ public function getMetroCode()
+ {
+ return $this->metroCode;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_MetrosListResponse extends Google_Collection
+{
+ protected $collection_key = 'metros';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $metrosType = 'Google_Service_Dfareporting_Metro';
+ protected $metrosDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetros($metros)
+ {
+ $this->metros = $metros;
+ }
+ public function getMetros()
+ {
+ return $this->metros;
+ }
+}
+
+class Google_Service_Dfareporting_MobileCarrier extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $countryCode;
+ public $countryDartId;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_MobileCarriersListResponse extends Google_Collection
+{
+ protected $collection_key = 'mobileCarriers';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $mobileCarriersType = 'Google_Service_Dfareporting_MobileCarrier';
+ protected $mobileCarriersDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobileCarriers($mobileCarriers)
+ {
+ $this->mobileCarriers = $mobileCarriers;
+ }
+ public function getMobileCarriers()
+ {
+ return $this->mobileCarriers;
+ }
+}
+
+class Google_Service_Dfareporting_ObjectFilter extends Google_Collection
+{
+ protected $collection_key = 'objectIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $objectIds;
+ public $status;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setObjectIds($objectIds)
+ {
+ $this->objectIds = $objectIds;
+ }
+ public function getObjectIds()
+ {
+ return $this->objectIds;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+}
+
+class Google_Service_Dfareporting_OffsetPosition extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $left;
+ public $top;
+
+
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+}
+
+class Google_Service_Dfareporting_OmnitureSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $omnitureCostDataEnabled;
+ public $omnitureIntegrationEnabled;
+
+
+ public function setOmnitureCostDataEnabled($omnitureCostDataEnabled)
+ {
+ $this->omnitureCostDataEnabled = $omnitureCostDataEnabled;
+ }
+ public function getOmnitureCostDataEnabled()
+ {
+ return $this->omnitureCostDataEnabled;
+ }
+ public function setOmnitureIntegrationEnabled($omnitureIntegrationEnabled)
+ {
+ $this->omnitureIntegrationEnabled = $omnitureIntegrationEnabled;
+ }
+ public function getOmnitureIntegrationEnabled()
+ {
+ return $this->omnitureIntegrationEnabled;
+ }
+}
+
+class Google_Service_Dfareporting_OperatingSystem extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dartId;
+ public $desktop;
+ public $kind;
+ public $mobile;
+ public $name;
+
+
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
+ public function setDesktop($desktop)
+ {
+ $this->desktop = $desktop;
+ }
+ public function getDesktop()
+ {
+ return $this->desktop;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMobile($mobile)
+ {
+ $this->mobile = $mobile;
+ }
+ public function getMobile()
+ {
+ return $this->mobile;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_OperatingSystemVersion extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $majorVersion;
+ public $minorVersion;
+ public $name;
+ protected $operatingSystemType = 'Google_Service_Dfareporting_OperatingSystem';
+ protected $operatingSystemDataType = '';
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMajorVersion($majorVersion)
+ {
+ $this->majorVersion = $majorVersion;
+ }
+ public function getMajorVersion()
+ {
+ return $this->majorVersion;
+ }
+ public function setMinorVersion($minorVersion)
+ {
+ $this->minorVersion = $minorVersion;
+ }
+ public function getMinorVersion()
+ {
+ return $this->minorVersion;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperatingSystem(Google_Service_Dfareporting_OperatingSystem $operatingSystem)
+ {
+ $this->operatingSystem = $operatingSystem;
+ }
+ public function getOperatingSystem()
+ {
+ return $this->operatingSystem;
+ }
+}
+
+class Google_Service_Dfareporting_OperatingSystemVersionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operatingSystemVersions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $operatingSystemVersionsType = 'Google_Service_Dfareporting_OperatingSystemVersion';
+ protected $operatingSystemVersionsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperatingSystemVersions($operatingSystemVersions)
+ {
+ $this->operatingSystemVersions = $operatingSystemVersions;
+ }
+ public function getOperatingSystemVersions()
+ {
+ return $this->operatingSystemVersions;
+ }
+}
+
+class Google_Service_Dfareporting_OperatingSystemsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operatingSystems';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $operatingSystemsType = 'Google_Service_Dfareporting_OperatingSystem';
+ protected $operatingSystemsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOperatingSystems($operatingSystems)
+ {
+ $this->operatingSystems = $operatingSystems;
+ }
+ public function getOperatingSystems()
+ {
+ return $this->operatingSystems;
+ }
+}
+
+class Google_Service_Dfareporting_OptimizationActivity extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $floodlightActivityId;
+ protected $floodlightActivityIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightActivityIdDimensionValueDataType = '';
+ public $weight;
+
+
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setFloodlightActivityIdDimensionValue(Google_Service_Dfareporting_DimensionValue $floodlightActivityIdDimensionValue)
+ {
+ $this->floodlightActivityIdDimensionValue = $floodlightActivityIdDimensionValue;
+ }
+ public function getFloodlightActivityIdDimensionValue()
+ {
+ return $this->floodlightActivityIdDimensionValue;
+ }
+ public function setWeight($weight)
+ {
+ $this->weight = $weight;
+ }
+ public function getWeight()
+ {
+ return $this->weight;
+ }
+}
+
+class Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'perInteractionDimensions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $perInteractionDimensionsDataType = 'array';
+
+
+ public function setConversionDimensions($conversionDimensions)
+ {
+ $this->conversionDimensions = $conversionDimensions;
+ }
+ public function getConversionDimensions()
+ {
+ return $this->conversionDimensions;
+ }
+ public function setCustomFloodlightVariables($customFloodlightVariables)
+ {
+ $this->customFloodlightVariables = $customFloodlightVariables;
+ }
+ public function getCustomFloodlightVariables()
+ {
+ return $this->customFloodlightVariables;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setPerInteractionDimensions($perInteractionDimensions)
+ {
+ $this->perInteractionDimensions = $perInteractionDimensions;
+ }
+ public function getPerInteractionDimensions()
+ {
+ return $this->perInteractionDimensions;
+ }
+}
+
+class Google_Service_Dfareporting_Placement extends Google_Collection
+{
+ protected $collection_key = 'tagFormats';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $comment;
+ public $compatibility;
+ public $contentCategoryId;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $keyName;
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $name;
+ public $paymentApproved;
+ public $paymentSource;
+ public $placementGroupId;
+ protected $placementGroupIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $placementGroupIdDimensionValueDataType = '';
+ public $placementStrategyId;
+ protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
+ protected $pricingScheduleDataType = '';
+ public $primary;
+ protected $publisherUpdateInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $publisherUpdateInfoDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslRequired;
+ public $status;
+ public $subaccountId;
+ public $tagFormats;
+ protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting';
+ protected $tagSettingDataType = '';
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ {
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ }
+ public function getDirectorySiteIdDimensionValue()
+ {
+ return $this->directorySiteIdDimensionValue;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKeyName($keyName)
+ {
+ $this->keyName = $keyName;
+ }
+ public function getKeyName()
+ {
+ return $this->keyName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPaymentApproved($paymentApproved)
+ {
+ $this->paymentApproved = $paymentApproved;
+ }
+ public function getPaymentApproved()
+ {
+ return $this->paymentApproved;
+ }
+ public function setPaymentSource($paymentSource)
+ {
+ $this->paymentSource = $paymentSource;
+ }
+ public function getPaymentSource()
+ {
+ return $this->paymentSource;
+ }
+ public function setPlacementGroupId($placementGroupId)
+ {
+ $this->placementGroupId = $placementGroupId;
+ }
+ public function getPlacementGroupId()
+ {
+ return $this->placementGroupId;
+ }
+ public function setPlacementGroupIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementGroupIdDimensionValue)
+ {
+ $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue;
+ }
+ public function getPlacementGroupIdDimensionValue()
+ {
+ return $this->placementGroupIdDimensionValue;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule)
+ {
+ $this->pricingSchedule = $pricingSchedule;
+ }
+ public function getPricingSchedule()
+ {
+ return $this->pricingSchedule;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setPublisherUpdateInfo(Google_Service_Dfareporting_LastModifiedInfo $publisherUpdateInfo)
+ {
+ $this->publisherUpdateInfo = $publisherUpdateInfo;
+ }
+ public function getPublisherUpdateInfo()
+ {
+ return $this->publisherUpdateInfo;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+ public function setTagFormats($tagFormats)
+ {
+ $this->tagFormats = $tagFormats;
+ }
+ public function getTagFormats()
+ {
+ return $this->tagFormats;
+ }
+ public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting)
+ {
+ $this->tagSetting = $tagSetting;
+ }
+ public function getTagSetting()
+ {
+ return $this->tagSetting;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementAssignment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ public $placementId;
+ protected $placementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $placementIdDimensionValueDataType = '';
+ public $sslRequired;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setPlacementId($placementId)
+ {
+ $this->placementId = $placementId;
+ }
+ public function getPlacementId()
+ {
+ return $this->placementId;
+ }
+ public function setPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementIdDimensionValue)
+ {
+ $this->placementIdDimensionValue = $placementIdDimensionValue;
+ }
+ public function getPlacementIdDimensionValue()
+ {
+ return $this->placementIdDimensionValue;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
}
}
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $dfareportingService = new Google_Service_Dfareporting(...);
- * $files = $dfareportingService->files;
- *
- */
-class Google_Service_Dfareporting_Files_Resource extends Google_Service_Resource
+class Google_Service_Dfareporting_PlacementGroup extends Google_Collection
{
+ protected $collection_key = 'childPlacementIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $childPlacementIds;
+ public $comment;
+ public $contentCategoryId;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $placementGroupType;
+ public $placementStrategyId;
+ protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
+ protected $pricingScheduleDataType = '';
+ public $primaryPlacementId;
+ protected $primaryPlacementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $primaryPlacementIdDimensionValueDataType = '';
+ protected $programmaticSettingType = 'Google_Service_Dfareporting_ProgrammaticSetting';
+ protected $programmaticSettingDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ public $subaccountId;
- /**
- * Retrieves a report file by its report ID and file ID. (files.get)
- *
- * @param string $reportId The ID of the report.
- * @param string $fileId The ID of the report file.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_DfareportingFile
- */
- public function get($reportId, $fileId, $optParams = array())
+
+ public function setAccountId($accountId)
{
- $params = array('reportId' => $reportId, 'fileId' => $fileId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile");
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setChildPlacementIds($childPlacementIds)
+ {
+ $this->childPlacementIds = $childPlacementIds;
+ }
+ public function getChildPlacementIds()
+ {
+ return $this->childPlacementIds;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ {
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ }
+ public function getDirectorySiteIdDimensionValue()
+ {
+ return $this->directorySiteIdDimensionValue;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlacementGroupType($placementGroupType)
+ {
+ $this->placementGroupType = $placementGroupType;
+ }
+ public function getPlacementGroupType()
+ {
+ return $this->placementGroupType;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule)
+ {
+ $this->pricingSchedule = $pricingSchedule;
+ }
+ public function getPricingSchedule()
+ {
+ return $this->pricingSchedule;
+ }
+ public function setPrimaryPlacementId($primaryPlacementId)
+ {
+ $this->primaryPlacementId = $primaryPlacementId;
+ }
+ public function getPrimaryPlacementId()
+ {
+ return $this->primaryPlacementId;
+ }
+ public function setPrimaryPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $primaryPlacementIdDimensionValue)
+ {
+ $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue;
+ }
+ public function getPrimaryPlacementIdDimensionValue()
+ {
+ return $this->primaryPlacementIdDimensionValue;
+ }
+ public function setProgrammaticSetting(Google_Service_Dfareporting_ProgrammaticSetting $programmaticSetting)
+ {
+ $this->programmaticSetting = $programmaticSetting;
+ }
+ public function getProgrammaticSetting()
+ {
+ return $this->programmaticSetting;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
}
+}
- /**
- * Lists files for a user profile. (files.listFiles)
- *
- * @param string $profileId The DFA profile ID.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string sortField The field by which to sort the list.
- * @opt_param int maxResults Maximum number of results to return.
- * @opt_param string pageToken The value of the nextToken from the previous
- * result page.
- * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
- * @opt_param string scope The scope that defines which results are returned,
- * default is 'MINE'.
- * @return Google_Service_Dfareporting_FileList
- */
- public function listFiles($profileId, $optParams = array())
+class Google_Service_Dfareporting_PlacementGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'placementGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $placementGroupsType = 'Google_Service_Dfareporting_PlacementGroup';
+ protected $placementGroupsDataType = 'array';
+
+
+ public function setKind($kind)
{
- $params = array('profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Dfareporting_FileList");
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlacementGroups($placementGroups)
+ {
+ $this->placementGroups = $placementGroups;
+ }
+ public function getPlacementGroups()
+ {
+ return $this->placementGroups;
}
}
-/**
- * The "reports" collection of methods.
- * Typical usage is:
- *
- * $dfareportingService = new Google_Service_Dfareporting(...);
- * $reports = $dfareportingService->reports;
- *
- */
-class Google_Service_Dfareporting_Reports_Resource extends Google_Service_Resource
+class Google_Service_Dfareporting_PlacementStrategiesListResponse extends Google_Collection
{
+ protected $collection_key = 'placementStrategies';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $placementStrategiesType = 'Google_Service_Dfareporting_PlacementStrategy';
+ protected $placementStrategiesDataType = 'array';
- /**
- * Deletes a report by its ID. (reports.delete)
- *
- * @param string $profileId The DFA user profile ID.
- * @param string $reportId The ID of the report.
- * @param array $optParams Optional parameters.
- */
- public function delete($profileId, $reportId, $optParams = array())
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlacementStrategies($placementStrategies)
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ $this->placementStrategies = $placementStrategies;
}
-
- /**
- * Retrieves a report by its ID. (reports.get)
- *
- * @param string $profileId The DFA user profile ID.
- * @param string $reportId The ID of the report.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_Report
- */
- public function get($profileId, $reportId, $optParams = array())
+ public function getPlacementStrategies()
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Dfareporting_Report");
+ return $this->placementStrategies;
}
+}
- /**
- * Creates a report. (reports.insert)
- *
- * @param string $profileId The DFA user profile ID.
- * @param Google_Report $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_Report
- */
- public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+class Google_Service_Dfareporting_PlacementStrategy extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
{
- $params = array('profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Dfareporting_Report");
+ $this->accountId = $accountId;
}
-
- /**
- * Retrieves list of reports. (reports.listReports)
- *
- * @param string $profileId The DFA user profile ID.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string sortField The field by which to sort the list.
- * @opt_param int maxResults Maximum number of results to return.
- * @opt_param string pageToken The value of the nextToken from the previous
- * result page.
- * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
- * @opt_param string scope The scope that defines which results are returned,
- * default is 'MINE'.
- * @return Google_Service_Dfareporting_ReportList
- */
- public function listReports($profileId, $optParams = array())
+ public function getAccountId()
{
- $params = array('profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Dfareporting_ReportList");
+ return $this->accountId;
}
-
- /**
- * Updates a report. This method supports patch semantics. (reports.patch)
- *
- * @param string $profileId The DFA user profile ID.
- * @param string $reportId The ID of the report.
- * @param Google_Report $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_Report
- */
- public function patch($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ public function setId($id)
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Dfareporting_Report");
+ $this->id = $id;
}
-
- /**
- * Runs a report. (reports.run)
- *
- * @param string $profileId The DFA profile ID.
- * @param string $reportId The ID of the report.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool synchronous If set and true, tries to run the report
- * synchronously.
- * @return Google_Service_Dfareporting_DfareportingFile
- */
- public function run($profileId, $reportId, $optParams = array())
+ public function getId()
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId);
- $params = array_merge($params, $optParams);
- return $this->call('run', array($params), "Google_Service_Dfareporting_DfareportingFile");
+ return $this->id;
}
-
- /**
- * Updates a report. (reports.update)
- *
- * @param string $profileId The DFA user profile ID.
- * @param string $reportId The ID of the report.
- * @param Google_Report $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_Report
- */
- public function update($profileId, $reportId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ public function setKind($kind)
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Dfareporting_Report");
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
}
}
-/**
- * The "compatibleFields" collection of methods.
- * Typical usage is:
- *
- * $dfareportingService = new Google_Service_Dfareporting(...);
- * $compatibleFields = $dfareportingService->compatibleFields;
- *
- */
-class Google_Service_Dfareporting_ReportsCompatibleFields_Resource extends Google_Service_Resource
+class Google_Service_Dfareporting_PlacementTag extends Google_Collection
{
+ protected $collection_key = 'tagDatas';
+ protected $internal_gapi_mappings = array(
+ );
+ public $placementId;
+ protected $tagDatasType = 'Google_Service_Dfareporting_TagData';
+ protected $tagDatasDataType = 'array';
- /**
- * Returns the fields that are compatible to be selected in the respective
- * sections of a report criteria, given the fields already selected in the input
- * report and user permissions. (compatibleFields.query)
- *
- * @param string $profileId The DFA user profile ID.
- * @param Google_Report $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_CompatibleFields
- */
- public function query($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+
+ public function setPlacementId($placementId)
{
- $params = array('profileId' => $profileId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('query', array($params), "Google_Service_Dfareporting_CompatibleFields");
+ $this->placementId = $placementId;
+ }
+ public function getPlacementId()
+ {
+ return $this->placementId;
+ }
+ public function setTagDatas($tagDatas)
+ {
+ $this->tagDatas = $tagDatas;
+ }
+ public function getTagDatas()
+ {
+ return $this->tagDatas;
}
}
-/**
- * The "files" collection of methods.
- * Typical usage is:
- *
- * $dfareportingService = new Google_Service_Dfareporting(...);
- * $files = $dfareportingService->files;
- *
- */
-class Google_Service_Dfareporting_ReportsFiles_Resource extends Google_Service_Resource
+
+class Google_Service_Dfareporting_PlacementsGenerateTagsResponse extends Google_Collection
{
+ protected $collection_key = 'placementTags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $placementTagsType = 'Google_Service_Dfareporting_PlacementTag';
+ protected $placementTagsDataType = 'array';
- /**
- * Retrieves a report file. (files.get)
- *
- * @param string $profileId The DFA profile ID.
- * @param string $reportId The ID of the report.
- * @param string $fileId The ID of the report file.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_DfareportingFile
- */
- public function get($profileId, $reportId, $fileId, $optParams = array())
+
+ public function setKind($kind)
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId, 'fileId' => $fileId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Dfareporting_DfareportingFile");
+ $this->kind = $kind;
}
-
- /**
- * Lists files for a report. (files.listReportsFiles)
- *
- * @param string $profileId The DFA profile ID.
- * @param string $reportId The ID of the parent report.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string sortField The field by which to sort the list.
- * @opt_param int maxResults Maximum number of results to return.
- * @opt_param string pageToken The value of the nextToken from the previous
- * result page.
- * @opt_param string sortOrder Order of sorted results, default is 'DESCENDING'.
- * @return Google_Service_Dfareporting_FileList
- */
- public function listReportsFiles($profileId, $reportId, $optParams = array())
+ public function getKind()
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Dfareporting_FileList");
+ return $this->kind;
+ }
+ public function setPlacementTags($placementTags)
+ {
+ $this->placementTags = $placementTags;
+ }
+ public function getPlacementTags()
+ {
+ return $this->placementTags;
}
}
-/**
- * The "userProfiles" collection of methods.
- * Typical usage is:
- *
- * $dfareportingService = new Google_Service_Dfareporting(...);
- * $userProfiles = $dfareportingService->userProfiles;
- *
- */
-class Google_Service_Dfareporting_UserProfiles_Resource extends Google_Service_Resource
+class Google_Service_Dfareporting_PlacementsListResponse extends Google_Collection
{
+ protected $collection_key = 'placements';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $placementsType = 'Google_Service_Dfareporting_Placement';
+ protected $placementsDataType = 'array';
- /**
- * Gets one user profile by ID. (userProfiles.get)
- *
- * @param string $profileId The user profile ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_UserProfile
- */
- public function get($profileId, $optParams = array())
+
+ public function setKind($kind)
{
- $params = array('profileId' => $profileId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Dfareporting_UserProfile");
+ $this->kind = $kind;
}
-
- /**
- * Retrieves list of user profiles for a user. (userProfiles.listUserProfiles)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_UserProfileList
- */
- public function listUserProfiles($optParams = array())
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlacements($placements)
{
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Dfareporting_UserProfileList");
+ $this->placements = $placements;
+ }
+ public function getPlacements()
+ {
+ return $this->placements;
}
}
-
-
-
-class Google_Service_Dfareporting_Activities extends Google_Collection
+class Google_Service_Dfareporting_PlatformType extends Google_Model
{
- protected $collection_key = 'metricNames';
protected $internal_gapi_mappings = array(
);
- protected $filtersType = 'Google_Service_Dfareporting_DimensionValue';
- protected $filtersDataType = 'array';
+ public $id;
public $kind;
- public $metricNames;
+ public $name;
- public function setFilters($filters)
+ public function setId($id)
{
- $this->filters = $filters;
+ $this->id = $id;
}
- public function getFilters()
+ public function getId()
{
- return $this->filters;
+ return $this->id;
}
public function setKind($kind)
{
@@ -730,114 +15807,168 @@ public function getKind()
{
return $this->kind;
}
- public function setMetricNames($metricNames)
+ public function setName($name)
{
- $this->metricNames = $metricNames;
+ $this->name = $name;
}
- public function getMetricNames()
+ public function getName()
{
- return $this->metricNames;
+ return $this->name;
}
}
-class Google_Service_Dfareporting_CompatibleFields extends Google_Model
+class Google_Service_Dfareporting_PlatformTypesListResponse extends Google_Collection
{
+ protected $collection_key = 'platformTypes';
protected $internal_gapi_mappings = array(
);
- protected $crossDimensionReachReportCompatibleFieldsType = 'Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields';
- protected $crossDimensionReachReportCompatibleFieldsDataType = '';
- protected $floodlightReportCompatibleFieldsType = 'Google_Service_Dfareporting_FloodlightReportCompatibleFields';
- protected $floodlightReportCompatibleFieldsDataType = '';
public $kind;
- protected $pathToConversionReportCompatibleFieldsType = 'Google_Service_Dfareporting_PathToConversionReportCompatibleFields';
- protected $pathToConversionReportCompatibleFieldsDataType = '';
- protected $reachReportCompatibleFieldsType = 'Google_Service_Dfareporting_ReachReportCompatibleFields';
- protected $reachReportCompatibleFieldsDataType = '';
- protected $reportCompatibleFieldsType = 'Google_Service_Dfareporting_ReportCompatibleFields';
- protected $reportCompatibleFieldsDataType = '';
+ protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType';
+ protected $platformTypesDataType = 'array';
- public function setCrossDimensionReachReportCompatibleFields(Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields $crossDimensionReachReportCompatibleFields)
+ public function setKind($kind)
{
- $this->crossDimensionReachReportCompatibleFields = $crossDimensionReachReportCompatibleFields;
+ $this->kind = $kind;
}
- public function getCrossDimensionReachReportCompatibleFields()
+ public function getKind()
{
- return $this->crossDimensionReachReportCompatibleFields;
+ return $this->kind;
}
- public function setFloodlightReportCompatibleFields(Google_Service_Dfareporting_FloodlightReportCompatibleFields $floodlightReportCompatibleFields)
+ public function setPlatformTypes($platformTypes)
{
- $this->floodlightReportCompatibleFields = $floodlightReportCompatibleFields;
+ $this->platformTypes = $platformTypes;
}
- public function getFloodlightReportCompatibleFields()
+ public function getPlatformTypes()
{
- return $this->floodlightReportCompatibleFields;
+ return $this->platformTypes;
}
- public function setKind($kind)
+}
+
+class Google_Service_Dfareporting_PopupWindowProperties extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionType = 'Google_Service_Dfareporting_Size';
+ protected $dimensionDataType = '';
+ protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $offsetDataType = '';
+ public $positionType;
+ public $showAddressBar;
+ public $showMenuBar;
+ public $showScrollBar;
+ public $showStatusBar;
+ public $showToolBar;
+ public $title;
+
+
+ public function setDimension(Google_Service_Dfareporting_Size $dimension)
{
- $this->kind = $kind;
+ $this->dimension = $dimension;
}
- public function getKind()
+ public function getDimension()
{
- return $this->kind;
+ return $this->dimension;
}
- public function setPathToConversionReportCompatibleFields(Google_Service_Dfareporting_PathToConversionReportCompatibleFields $pathToConversionReportCompatibleFields)
+ public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset)
{
- $this->pathToConversionReportCompatibleFields = $pathToConversionReportCompatibleFields;
+ $this->offset = $offset;
}
- public function getPathToConversionReportCompatibleFields()
+ public function getOffset()
{
- return $this->pathToConversionReportCompatibleFields;
+ return $this->offset;
}
- public function setReachReportCompatibleFields(Google_Service_Dfareporting_ReachReportCompatibleFields $reachReportCompatibleFields)
+ public function setPositionType($positionType)
{
- $this->reachReportCompatibleFields = $reachReportCompatibleFields;
+ $this->positionType = $positionType;
}
- public function getReachReportCompatibleFields()
+ public function getPositionType()
{
- return $this->reachReportCompatibleFields;
+ return $this->positionType;
}
- public function setReportCompatibleFields(Google_Service_Dfareporting_ReportCompatibleFields $reportCompatibleFields)
+ public function setShowAddressBar($showAddressBar)
{
- $this->reportCompatibleFields = $reportCompatibleFields;
+ $this->showAddressBar = $showAddressBar;
}
- public function getReportCompatibleFields()
+ public function getShowAddressBar()
{
- return $this->reportCompatibleFields;
+ return $this->showAddressBar;
+ }
+ public function setShowMenuBar($showMenuBar)
+ {
+ $this->showMenuBar = $showMenuBar;
+ }
+ public function getShowMenuBar()
+ {
+ return $this->showMenuBar;
+ }
+ public function setShowScrollBar($showScrollBar)
+ {
+ $this->showScrollBar = $showScrollBar;
+ }
+ public function getShowScrollBar()
+ {
+ return $this->showScrollBar;
+ }
+ public function setShowStatusBar($showStatusBar)
+ {
+ $this->showStatusBar = $showStatusBar;
+ }
+ public function getShowStatusBar()
+ {
+ return $this->showStatusBar;
+ }
+ public function setShowToolBar($showToolBar)
+ {
+ $this->showToolBar = $showToolBar;
+ }
+ public function getShowToolBar()
+ {
+ return $this->showToolBar;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
}
}
-class Google_Service_Dfareporting_CrossDimensionReachReportCompatibleFields extends Google_Collection
+class Google_Service_Dfareporting_PostalCode extends Google_Model
{
- protected $collection_key = 'overlapMetrics';
protected $internal_gapi_mappings = array(
);
- protected $breakdownType = 'Google_Service_Dfareporting_Dimension';
- protected $breakdownDataType = 'array';
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
- protected $dimensionFiltersDataType = 'array';
+ public $countryCode;
+ public $countryDartId;
+ public $id;
public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
- protected $overlapMetricsType = 'Google_Service_Dfareporting_Metric';
- protected $overlapMetricsDataType = 'array';
- public function setBreakdown($breakdown)
+ public function setCountryCode($countryCode)
{
- $this->breakdown = $breakdown;
+ $this->countryCode = $countryCode;
}
- public function getBreakdown()
+ public function getCountryCode()
{
- return $this->breakdown;
+ return $this->countryCode;
}
- public function setDimensionFilters($dimensionFilters)
+ public function setCountryDartId($countryDartId)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->countryDartId = $countryDartId;
}
- public function getDimensionFilters()
+ public function getCountryDartId()
{
- return $this->dimensionFilters;
+ return $this->countryDartId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
}
public function setKind($kind)
{
@@ -847,60 +15978,136 @@ public function getKind()
{
return $this->kind;
}
- public function setMetrics($metrics)
+}
+
+class Google_Service_Dfareporting_PostalCodesListResponse extends Google_Collection
+{
+ protected $collection_key = 'postalCodes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
+ protected $postalCodesDataType = 'array';
+
+
+ public function setKind($kind)
{
- $this->metrics = $metrics;
+ $this->kind = $kind;
}
- public function getMetrics()
+ public function getKind()
{
- return $this->metrics;
+ return $this->kind;
}
- public function setOverlapMetrics($overlapMetrics)
+ public function setPostalCodes($postalCodes)
{
- $this->overlapMetrics = $overlapMetrics;
+ $this->postalCodes = $postalCodes;
}
- public function getOverlapMetrics()
+ public function getPostalCodes()
{
- return $this->overlapMetrics;
+ return $this->postalCodes;
}
}
-class Google_Service_Dfareporting_CustomRichMediaEvents extends Google_Collection
+class Google_Service_Dfareporting_PricingSchedule extends Google_Collection
{
- protected $collection_key = 'filteredEventIds';
+ protected $collection_key = 'pricingPeriods';
protected $internal_gapi_mappings = array(
);
- protected $filteredEventIdsType = 'Google_Service_Dfareporting_DimensionValue';
- protected $filteredEventIdsDataType = 'array';
- public $kind;
+ public $capCostOption;
+ public $disregardOverdelivery;
+ public $endDate;
+ public $flighted;
+ public $floodlightActivityId;
+ protected $pricingPeriodsType = 'Google_Service_Dfareporting_PricingSchedulePricingPeriod';
+ protected $pricingPeriodsDataType = 'array';
+ public $pricingType;
+ public $startDate;
+ public $testingStartDate;
- public function setFilteredEventIds($filteredEventIds)
+ public function setCapCostOption($capCostOption)
{
- $this->filteredEventIds = $filteredEventIds;
+ $this->capCostOption = $capCostOption;
}
- public function getFilteredEventIds()
+ public function getCapCostOption()
{
- return $this->filteredEventIds;
+ return $this->capCostOption;
}
- public function setKind($kind)
+ public function setDisregardOverdelivery($disregardOverdelivery)
{
- $this->kind = $kind;
+ $this->disregardOverdelivery = $disregardOverdelivery;
}
- public function getKind()
+ public function getDisregardOverdelivery()
{
- return $this->kind;
+ return $this->disregardOverdelivery;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFlighted($flighted)
+ {
+ $this->flighted = $flighted;
+ }
+ public function getFlighted()
+ {
+ return $this->flighted;
+ }
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setPricingPeriods($pricingPeriods)
+ {
+ $this->pricingPeriods = $pricingPeriods;
+ }
+ public function getPricingPeriods()
+ {
+ return $this->pricingPeriods;
+ }
+ public function setPricingType($pricingType)
+ {
+ $this->pricingType = $pricingType;
+ }
+ public function getPricingType()
+ {
+ return $this->pricingType;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTestingStartDate($testingStartDate)
+ {
+ $this->testingStartDate = $testingStartDate;
+ }
+ public function getTestingStartDate()
+ {
+ return $this->testingStartDate;
}
}
-class Google_Service_Dfareporting_DateRange extends Google_Model
+class Google_Service_Dfareporting_PricingSchedulePricingPeriod extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $endDate;
- public $kind;
- public $relativeDateRange;
+ public $pricingComment;
+ public $rateOrCostNanos;
public $startDate;
+ public $units;
public function setEndDate($endDate)
@@ -911,21 +16118,21 @@ public function getEndDate()
{
return $this->endDate;
}
- public function setKind($kind)
+ public function setPricingComment($pricingComment)
{
- $this->kind = $kind;
+ $this->pricingComment = $pricingComment;
}
- public function getKind()
+ public function getPricingComment()
{
- return $this->kind;
+ return $this->pricingComment;
}
- public function setRelativeDateRange($relativeDateRange)
+ public function setRateOrCostNanos($rateOrCostNanos)
{
- $this->relativeDateRange = $relativeDateRange;
+ $this->rateOrCostNanos = $rateOrCostNanos;
}
- public function getRelativeDateRange()
+ public function getRateOrCostNanos()
{
- return $this->relativeDateRange;
+ return $this->rateOrCostNanos;
}
public function setStartDate($startDate)
{
@@ -935,65 +16142,112 @@ public function getStartDate()
{
return $this->startDate;
}
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
}
-class Google_Service_Dfareporting_DfareportingFile extends Google_Model
+class Google_Service_Dfareporting_ProgrammaticSetting extends Google_Collection
{
+ protected $collection_key = 'traffickerEmails';
protected $internal_gapi_mappings = array(
);
- protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
- protected $dateRangeDataType = '';
- public $etag;
- public $fileName;
- public $format;
- public $id;
- public $kind;
- public $lastModifiedTime;
- public $reportId;
- public $status;
- protected $urlsType = 'Google_Service_Dfareporting_DfareportingFileUrls';
- protected $urlsDataType = '';
+ public $adxDealIds;
+ public $insertionOrderId;
+ public $insertionOrderIdStatus;
+ public $mediaCostNanos;
+ public $programmatic;
+ public $traffickerEmails;
- public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ public function setAdxDealIds($adxDealIds)
{
- $this->dateRange = $dateRange;
+ $this->adxDealIds = $adxDealIds;
}
- public function getDateRange()
+ public function getAdxDealIds()
{
- return $this->dateRange;
+ return $this->adxDealIds;
}
- public function setEtag($etag)
+ public function setInsertionOrderId($insertionOrderId)
{
- $this->etag = $etag;
+ $this->insertionOrderId = $insertionOrderId;
}
- public function getEtag()
+ public function getInsertionOrderId()
{
- return $this->etag;
+ return $this->insertionOrderId;
}
- public function setFileName($fileName)
+ public function setInsertionOrderIdStatus($insertionOrderIdStatus)
{
- $this->fileName = $fileName;
+ $this->insertionOrderIdStatus = $insertionOrderIdStatus;
}
- public function getFileName()
+ public function getInsertionOrderIdStatus()
{
- return $this->fileName;
+ return $this->insertionOrderIdStatus;
}
- public function setFormat($format)
+ public function setMediaCostNanos($mediaCostNanos)
+ {
+ $this->mediaCostNanos = $mediaCostNanos;
+ }
+ public function getMediaCostNanos()
+ {
+ return $this->mediaCostNanos;
+ }
+ public function setProgrammatic($programmatic)
+ {
+ $this->programmatic = $programmatic;
+ }
+ public function getProgrammatic()
+ {
+ return $this->programmatic;
+ }
+ public function setTraffickerEmails($traffickerEmails)
+ {
+ $this->traffickerEmails = $traffickerEmails;
+ }
+ public function getTraffickerEmails()
+ {
+ return $this->traffickerEmails;
+ }
+}
+
+class Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection
+{
+ protected $collection_key = 'reachByFrequencyMetrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $pivotedActivityMetricsDataType = 'array';
+ protected $reachByFrequencyMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $reachByFrequencyMetricsDataType = 'array';
+
+
+ public function setDimensionFilters($dimensionFilters)
{
- $this->format = $format;
+ $this->dimensionFilters = $dimensionFilters;
}
- public function getFormat()
+ public function getDimensionFilters()
{
- return $this->format;
+ return $this->dimensionFilters;
}
- public function setId($id)
+ public function setDimensions($dimensions)
{
- $this->id = $id;
+ $this->dimensions = $dimensions;
}
- public function getId()
+ public function getDimensions()
{
- return $this->id;
+ return $this->dimensions;
}
public function setKind($kind)
{
@@ -1003,74 +16257,103 @@ public function getKind()
{
return $this->kind;
}
- public function setLastModifiedTime($lastModifiedTime)
- {
- $this->lastModifiedTime = $lastModifiedTime;
- }
- public function getLastModifiedTime()
- {
- return $this->lastModifiedTime;
- }
- public function setReportId($reportId)
+ public function setMetrics($metrics)
{
- $this->reportId = $reportId;
+ $this->metrics = $metrics;
}
- public function getReportId()
+ public function getMetrics()
{
- return $this->reportId;
+ return $this->metrics;
}
- public function setStatus($status)
+ public function setPivotedActivityMetrics($pivotedActivityMetrics)
{
- $this->status = $status;
+ $this->pivotedActivityMetrics = $pivotedActivityMetrics;
}
- public function getStatus()
+ public function getPivotedActivityMetrics()
{
- return $this->status;
+ return $this->pivotedActivityMetrics;
}
- public function setUrls(Google_Service_Dfareporting_DfareportingFileUrls $urls)
+ public function setReachByFrequencyMetrics($reachByFrequencyMetrics)
{
- $this->urls = $urls;
+ $this->reachByFrequencyMetrics = $reachByFrequencyMetrics;
}
- public function getUrls()
+ public function getReachByFrequencyMetrics()
{
- return $this->urls;
+ return $this->reachByFrequencyMetrics;
}
}
-class Google_Service_Dfareporting_DfareportingFileUrls extends Google_Model
+class Google_Service_Dfareporting_Recipient extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $apiUrl;
- public $browserUrl;
+ public $deliveryType;
+ public $email;
+ public $kind;
- public function setApiUrl($apiUrl)
+ public function setDeliveryType($deliveryType)
{
- $this->apiUrl = $apiUrl;
+ $this->deliveryType = $deliveryType;
}
- public function getApiUrl()
+ public function getDeliveryType()
{
- return $this->apiUrl;
+ return $this->deliveryType;
}
- public function setBrowserUrl($browserUrl)
+ public function setEmail($email)
{
- $this->browserUrl = $browserUrl;
+ $this->email = $email;
}
- public function getBrowserUrl()
+ public function getEmail()
{
- return $this->browserUrl;
+ return $this->email;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
}
}
-class Google_Service_Dfareporting_Dimension extends Google_Model
+class Google_Service_Dfareporting_Region extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
public $kind;
public $name;
+ public $regionCode;
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setDartId($dartId)
+ {
+ $this->dartId = $dartId;
+ }
+ public function getDartId()
+ {
+ return $this->dartId;
+ }
public function setKind($kind)
{
$this->kind = $kind;
@@ -1087,25 +16370,26 @@ public function getName()
{
return $this->name;
}
+ public function setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
+ }
}
-class Google_Service_Dfareporting_DimensionFilter extends Google_Model
+class Google_Service_Dfareporting_RegionsListResponse extends Google_Collection
{
+ protected $collection_key = 'regions';
protected $internal_gapi_mappings = array(
);
- public $dimensionName;
public $kind;
- public $value;
+ protected $regionsType = 'Google_Service_Dfareporting_Region';
+ protected $regionsDataType = 'array';
- public function setDimensionName($dimensionName)
- {
- $this->dimensionName = $dimensionName;
- }
- public function getDimensionName()
- {
- return $this->dimensionName;
- }
public function setKind($kind)
{
$this->kind = $kind;
@@ -1114,35 +16398,78 @@ public function getKind()
{
return $this->kind;
}
- public function setValue($value)
+ public function setRegions($regions)
{
- $this->value = $value;
+ $this->regions = $regions;
}
- public function getValue()
+ public function getRegions()
{
- return $this->value;
+ return $this->regions;
}
}
-class Google_Service_Dfareporting_DimensionValue extends Google_Model
+class Google_Service_Dfareporting_Report extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $dimensionName;
+ public $accountId;
+ protected $criteriaType = 'Google_Service_Dfareporting_ReportCriteria';
+ protected $criteriaDataType = '';
+ protected $crossDimensionReachCriteriaType = 'Google_Service_Dfareporting_ReportCrossDimensionReachCriteria';
+ protected $crossDimensionReachCriteriaDataType = '';
+ protected $deliveryType = 'Google_Service_Dfareporting_ReportDelivery';
+ protected $deliveryDataType = '';
public $etag;
+ public $fileName;
+ protected $floodlightCriteriaType = 'Google_Service_Dfareporting_ReportFloodlightCriteria';
+ protected $floodlightCriteriaDataType = '';
+ public $format;
public $id;
public $kind;
- public $matchType;
- public $value;
+ public $lastModifiedTime;
+ public $name;
+ public $ownerProfileId;
+ protected $pathToConversionCriteriaType = 'Google_Service_Dfareporting_ReportPathToConversionCriteria';
+ protected $pathToConversionCriteriaDataType = '';
+ protected $reachCriteriaType = 'Google_Service_Dfareporting_ReportReachCriteria';
+ protected $reachCriteriaDataType = '';
+ protected $scheduleType = 'Google_Service_Dfareporting_ReportSchedule';
+ protected $scheduleDataType = '';
+ public $subAccountId;
+ public $type;
- public function setDimensionName($dimensionName)
+ public function setAccountId($accountId)
{
- $this->dimensionName = $dimensionName;
+ $this->accountId = $accountId;
}
- public function getDimensionName()
+ public function getAccountId()
{
- return $this->dimensionName;
+ return $this->accountId;
+ }
+ public function setCriteria(Google_Service_Dfareporting_ReportCriteria $criteria)
+ {
+ $this->criteria = $criteria;
+ }
+ public function getCriteria()
+ {
+ return $this->criteria;
+ }
+ public function setCrossDimensionReachCriteria(Google_Service_Dfareporting_ReportCrossDimensionReachCriteria $crossDimensionReachCriteria)
+ {
+ $this->crossDimensionReachCriteria = $crossDimensionReachCriteria;
+ }
+ public function getCrossDimensionReachCriteria()
+ {
+ return $this->crossDimensionReachCriteria;
+ }
+ public function setDelivery(Google_Service_Dfareporting_ReportDelivery $delivery)
+ {
+ $this->delivery = $delivery;
+ }
+ public function getDelivery()
+ {
+ return $this->delivery;
}
public function setEtag($etag)
{
@@ -1152,6 +16479,30 @@ public function getEtag()
{
return $this->etag;
}
+ public function setFileName($fileName)
+ {
+ $this->fileName = $fileName;
+ }
+ public function getFileName()
+ {
+ return $this->fileName;
+ }
+ public function setFloodlightCriteria(Google_Service_Dfareporting_ReportFloodlightCriteria $floodlightCriteria)
+ {
+ $this->floodlightCriteria = $floodlightCriteria;
+ }
+ public function getFloodlightCriteria()
+ {
+ return $this->floodlightCriteria;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
public function setId($id)
{
$this->id = $id;
@@ -1168,106 +16519,103 @@ public function getKind()
{
return $this->kind;
}
- public function setMatchType($matchType)
+ public function setLastModifiedTime($lastModifiedTime)
{
- $this->matchType = $matchType;
+ $this->lastModifiedTime = $lastModifiedTime;
}
- public function getMatchType()
+ public function getLastModifiedTime()
{
- return $this->matchType;
+ return $this->lastModifiedTime;
}
- public function setValue($value)
+ public function setName($name)
{
- $this->value = $value;
+ $this->name = $name;
}
- public function getValue()
+ public function getName()
{
- return $this->value;
+ return $this->name;
}
-}
-
-class Google_Service_Dfareporting_DimensionValueList extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- public $etag;
- protected $itemsType = 'Google_Service_Dfareporting_DimensionValue';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setEtag($etag)
+ public function setOwnerProfileId($ownerProfileId)
+ {
+ $this->ownerProfileId = $ownerProfileId;
+ }
+ public function getOwnerProfileId()
+ {
+ return $this->ownerProfileId;
+ }
+ public function setPathToConversionCriteria(Google_Service_Dfareporting_ReportPathToConversionCriteria $pathToConversionCriteria)
+ {
+ $this->pathToConversionCriteria = $pathToConversionCriteria;
+ }
+ public function getPathToConversionCriteria()
+ {
+ return $this->pathToConversionCriteria;
+ }
+ public function setReachCriteria(Google_Service_Dfareporting_ReportReachCriteria $reachCriteria)
{
- $this->etag = $etag;
+ $this->reachCriteria = $reachCriteria;
}
- public function getEtag()
+ public function getReachCriteria()
{
- return $this->etag;
+ return $this->reachCriteria;
}
- public function setItems($items)
+ public function setSchedule(Google_Service_Dfareporting_ReportSchedule $schedule)
{
- $this->items = $items;
+ $this->schedule = $schedule;
}
- public function getItems()
+ public function getSchedule()
{
- return $this->items;
+ return $this->schedule;
}
- public function setKind($kind)
+ public function setSubAccountId($subAccountId)
{
- $this->kind = $kind;
+ $this->subAccountId = $subAccountId;
}
- public function getKind()
+ public function getSubAccountId()
{
- return $this->kind;
+ return $this->subAccountId;
}
- public function setNextPageToken($nextPageToken)
+ public function setType($type)
{
- $this->nextPageToken = $nextPageToken;
+ $this->type = $type;
}
- public function getNextPageToken()
+ public function getType()
{
- return $this->nextPageToken;
+ return $this->type;
}
}
-class Google_Service_Dfareporting_DimensionValueRequest extends Google_Collection
+class Google_Service_Dfareporting_ReportCompatibleFields extends Google_Collection
{
- protected $collection_key = 'filters';
+ protected $collection_key = 'pivotedActivityMetrics';
protected $internal_gapi_mappings = array(
);
- public $dimensionName;
- public $endDate;
- protected $filtersType = 'Google_Service_Dfareporting_DimensionFilter';
- protected $filtersDataType = 'array';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
public $kind;
- public $startDate;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $pivotedActivityMetricsDataType = 'array';
- public function setDimensionName($dimensionName)
- {
- $this->dimensionName = $dimensionName;
- }
- public function getDimensionName()
- {
- return $this->dimensionName;
- }
- public function setEndDate($endDate)
+ public function setDimensionFilters($dimensionFilters)
{
- $this->endDate = $endDate;
+ $this->dimensionFilters = $dimensionFilters;
}
- public function getEndDate()
+ public function getDimensionFilters()
{
- return $this->endDate;
+ return $this->dimensionFilters;
}
- public function setFilters($filters)
+ public function setDimensions($dimensions)
{
- $this->filters = $filters;
+ $this->dimensions = $dimensions;
}
- public function getFilters()
+ public function getDimensions()
{
- return $this->filters;
+ return $this->dimensions;
}
public function setKind($kind)
{
@@ -1277,212 +16625,249 @@ public function getKind()
{
return $this->kind;
}
- public function setStartDate($startDate)
+ public function setMetrics($metrics)
{
- $this->startDate = $startDate;
+ $this->metrics = $metrics;
}
- public function getStartDate()
+ public function getMetrics()
{
- return $this->startDate;
+ return $this->metrics;
+ }
+ public function setPivotedActivityMetrics($pivotedActivityMetrics)
+ {
+ $this->pivotedActivityMetrics = $pivotedActivityMetrics;
+ }
+ public function getPivotedActivityMetrics()
+ {
+ return $this->pivotedActivityMetrics;
}
}
-class Google_Service_Dfareporting_FileList extends Google_Collection
+class Google_Service_Dfareporting_ReportCriteria extends Google_Collection
{
- protected $collection_key = 'items';
+ protected $collection_key = 'metricNames';
protected $internal_gapi_mappings = array(
);
- public $etag;
- protected $itemsType = 'Google_Service_Dfareporting_DfareportingFile';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
+ protected $activitiesType = 'Google_Service_Dfareporting_Activities';
+ protected $activitiesDataType = '';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
+ protected $customRichMediaEventsDataType = '';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $dimensionsDataType = 'array';
+ public $metricNames;
- public function setEtag($etag)
+ public function setActivities(Google_Service_Dfareporting_Activities $activities)
{
- $this->etag = $etag;
+ $this->activities = $activities;
}
- public function getEtag()
+ public function getActivities()
{
- return $this->etag;
+ return $this->activities;
}
- public function setItems($items)
+ public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
{
- $this->items = $items;
+ $this->customRichMediaEvents = $customRichMediaEvents;
}
- public function getItems()
+ public function getCustomRichMediaEvents()
{
- return $this->items;
+ return $this->customRichMediaEvents;
}
- public function setKind($kind)
+ public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
{
- $this->kind = $kind;
+ $this->dateRange = $dateRange;
}
- public function getKind()
+ public function getDateRange()
{
- return $this->kind;
+ return $this->dateRange;
}
- public function setNextPageToken($nextPageToken)
+ public function setDimensionFilters($dimensionFilters)
{
- $this->nextPageToken = $nextPageToken;
+ $this->dimensionFilters = $dimensionFilters;
}
- public function getNextPageToken()
+ public function getDimensionFilters()
{
- return $this->nextPageToken;
+ return $this->dimensionFilters;
+ }
+ public function setDimensions($dimensions)
+ {
+ $this->dimensions = $dimensions;
+ }
+ public function getDimensions()
+ {
+ return $this->dimensions;
+ }
+ public function setMetricNames($metricNames)
+ {
+ $this->metricNames = $metricNames;
+ }
+ public function getMetricNames()
+ {
+ return $this->metricNames;
}
}
-class Google_Service_Dfareporting_FloodlightReportCompatibleFields extends Google_Collection
+class Google_Service_Dfareporting_ReportCrossDimensionReachCriteria extends Google_Collection
{
- protected $collection_key = 'metrics';
+ protected $collection_key = 'overlapMetricNames';
protected $internal_gapi_mappings = array(
);
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $breakdownType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $breakdownDataType = 'array';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ public $dimension;
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $dimensionsDataType = 'array';
- public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
+ public $metricNames;
+ public $overlapMetricNames;
+ public $pivoted;
- public function setDimensionFilters($dimensionFilters)
+ public function setBreakdown($breakdown)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->breakdown = $breakdown;
}
- public function getDimensionFilters()
+ public function getBreakdown()
{
- return $this->dimensionFilters;
+ return $this->breakdown;
}
- public function setDimensions($dimensions)
+ public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
{
- $this->dimensions = $dimensions;
+ $this->dateRange = $dateRange;
}
- public function getDimensions()
+ public function getDateRange()
{
- return $this->dimensions;
+ return $this->dateRange;
}
- public function setKind($kind)
+ public function setDimension($dimension)
{
- $this->kind = $kind;
+ $this->dimension = $dimension;
}
- public function getKind()
+ public function getDimension()
{
- return $this->kind;
+ return $this->dimension;
}
- public function setMetrics($metrics)
+ public function setDimensionFilters($dimensionFilters)
{
- $this->metrics = $metrics;
+ $this->dimensionFilters = $dimensionFilters;
}
- public function getMetrics()
+ public function getDimensionFilters()
{
- return $this->metrics;
+ return $this->dimensionFilters;
}
-}
-
-class Google_Service_Dfareporting_Metric extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $name;
-
-
- public function setKind($kind)
+ public function setMetricNames($metricNames)
{
- $this->kind = $kind;
+ $this->metricNames = $metricNames;
}
- public function getKind()
+ public function getMetricNames()
{
- return $this->kind;
+ return $this->metricNames;
}
- public function setName($name)
+ public function setOverlapMetricNames($overlapMetricNames)
{
- $this->name = $name;
+ $this->overlapMetricNames = $overlapMetricNames;
}
- public function getName()
+ public function getOverlapMetricNames()
{
- return $this->name;
+ return $this->overlapMetricNames;
+ }
+ public function setPivoted($pivoted)
+ {
+ $this->pivoted = $pivoted;
+ }
+ public function getPivoted()
+ {
+ return $this->pivoted;
}
}
-class Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection
+class Google_Service_Dfareporting_ReportDelivery extends Google_Collection
{
- protected $collection_key = 'perInteractionDimensions';
+ protected $collection_key = 'recipients';
protected $internal_gapi_mappings = array(
);
- protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $conversionDimensionsDataType = 'array';
- protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension';
- protected $customFloodlightVariablesDataType = 'array';
- public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
- protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $perInteractionDimensionsDataType = 'array';
+ public $emailOwner;
+ public $emailOwnerDeliveryType;
+ public $message;
+ protected $recipientsType = 'Google_Service_Dfareporting_Recipient';
+ protected $recipientsDataType = 'array';
- public function setConversionDimensions($conversionDimensions)
- {
- $this->conversionDimensions = $conversionDimensions;
- }
- public function getConversionDimensions()
- {
- return $this->conversionDimensions;
- }
- public function setCustomFloodlightVariables($customFloodlightVariables)
+ public function setEmailOwner($emailOwner)
{
- $this->customFloodlightVariables = $customFloodlightVariables;
+ $this->emailOwner = $emailOwner;
}
- public function getCustomFloodlightVariables()
+ public function getEmailOwner()
{
- return $this->customFloodlightVariables;
+ return $this->emailOwner;
}
- public function setKind($kind)
+ public function setEmailOwnerDeliveryType($emailOwnerDeliveryType)
{
- $this->kind = $kind;
+ $this->emailOwnerDeliveryType = $emailOwnerDeliveryType;
}
- public function getKind()
+ public function getEmailOwnerDeliveryType()
{
- return $this->kind;
+ return $this->emailOwnerDeliveryType;
}
- public function setMetrics($metrics)
+ public function setMessage($message)
{
- $this->metrics = $metrics;
+ $this->message = $message;
}
- public function getMetrics()
+ public function getMessage()
{
- return $this->metrics;
+ return $this->message;
}
- public function setPerInteractionDimensions($perInteractionDimensions)
+ public function setRecipients($recipients)
{
- $this->perInteractionDimensions = $perInteractionDimensions;
+ $this->recipients = $recipients;
}
- public function getPerInteractionDimensions()
+ public function getRecipients()
{
- return $this->perInteractionDimensions;
+ return $this->recipients;
}
}
-class Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection
+class Google_Service_Dfareporting_ReportFloodlightCriteria extends Google_Collection
{
- protected $collection_key = 'reachByFrequencyMetrics';
+ protected $collection_key = 'metricNames';
protected $internal_gapi_mappings = array(
);
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $customRichMediaEventsDataType = 'array';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
protected $dimensionsDataType = 'array';
- public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
- protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
- protected $pivotedActivityMetricsDataType = 'array';
- protected $reachByFrequencyMetricsType = 'Google_Service_Dfareporting_Metric';
- protected $reachByFrequencyMetricsDataType = 'array';
+ protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigIdDataType = '';
+ public $metricNames;
+ protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties';
+ protected $reportPropertiesDataType = '';
+ public function setCustomRichMediaEvents($customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
+ public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ {
+ $this->dateRange = $dateRange;
+ }
+ public function getDateRange()
+ {
+ return $this->dateRange;
+ }
public function setDimensionFilters($dimensionFilters)
{
$this->dimensionFilters = $dimensionFilters;
@@ -1499,64 +16884,94 @@ public function getDimensions()
{
return $this->dimensions;
}
- public function setKind($kind)
+ public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId)
{
- $this->kind = $kind;
+ $this->floodlightConfigId = $floodlightConfigId;
}
- public function getKind()
+ public function getFloodlightConfigId()
{
- return $this->kind;
+ return $this->floodlightConfigId;
}
- public function setMetrics($metrics)
+ public function setMetricNames($metricNames)
{
- $this->metrics = $metrics;
+ $this->metricNames = $metricNames;
}
- public function getMetrics()
+ public function getMetricNames()
{
- return $this->metrics;
+ return $this->metricNames;
}
- public function setPivotedActivityMetrics($pivotedActivityMetrics)
+ public function setReportProperties(Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties $reportProperties)
{
- $this->pivotedActivityMetrics = $pivotedActivityMetrics;
+ $this->reportProperties = $reportProperties;
}
- public function getPivotedActivityMetrics()
+ public function getReportProperties()
{
- return $this->pivotedActivityMetrics;
+ return $this->reportProperties;
}
- public function setReachByFrequencyMetrics($reachByFrequencyMetrics)
+}
+
+class Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $includeAttributedIPConversions;
+ public $includeUnattributedCookieConversions;
+ public $includeUnattributedIPConversions;
+
+
+ public function setIncludeAttributedIPConversions($includeAttributedIPConversions)
{
- $this->reachByFrequencyMetrics = $reachByFrequencyMetrics;
+ $this->includeAttributedIPConversions = $includeAttributedIPConversions;
}
- public function getReachByFrequencyMetrics()
+ public function getIncludeAttributedIPConversions()
{
- return $this->reachByFrequencyMetrics;
+ return $this->includeAttributedIPConversions;
+ }
+ public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions)
+ {
+ $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions;
+ }
+ public function getIncludeUnattributedCookieConversions()
+ {
+ return $this->includeUnattributedCookieConversions;
+ }
+ public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions)
+ {
+ $this->includeUnattributedIPConversions = $includeUnattributedIPConversions;
+ }
+ public function getIncludeUnattributedIPConversions()
+ {
+ return $this->includeUnattributedIPConversions;
}
}
-class Google_Service_Dfareporting_Recipient extends Google_Model
+class Google_Service_Dfareporting_ReportList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
- public $deliveryType;
- public $email;
+ public $etag;
+ protected $itemsType = 'Google_Service_Dfareporting_Report';
+ protected $itemsDataType = 'array';
public $kind;
+ public $nextPageToken;
- public function setDeliveryType($deliveryType)
+ public function setEtag($etag)
{
- $this->deliveryType = $deliveryType;
+ $this->etag = $etag;
}
- public function getDeliveryType()
+ public function getEtag()
{
- return $this->deliveryType;
+ return $this->etag;
}
- public function setEmail($email)
+ public function setItems($items)
{
- $this->email = $email;
+ $this->items = $items;
}
- public function getEmail()
+ public function getItems()
{
- return $this->email;
+ return $this->items;
}
public function setKind($kind)
{
@@ -1566,209 +16981,239 @@ public function getKind()
{
return $this->kind;
}
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
}
-class Google_Service_Dfareporting_Report extends Google_Model
+class Google_Service_Dfareporting_ReportPathToConversionCriteria extends Google_Collection
{
+ protected $collection_key = 'perInteractionDimensions';
protected $internal_gapi_mappings = array(
);
- public $accountId;
- protected $activeGrpCriteriaType = 'Google_Service_Dfareporting_ReportActiveGrpCriteria';
- protected $activeGrpCriteriaDataType = '';
- protected $criteriaType = 'Google_Service_Dfareporting_ReportCriteria';
- protected $criteriaDataType = '';
- protected $crossDimensionReachCriteriaType = 'Google_Service_Dfareporting_ReportCrossDimensionReachCriteria';
- protected $crossDimensionReachCriteriaDataType = '';
- protected $deliveryType = 'Google_Service_Dfareporting_ReportDelivery';
- protected $deliveryDataType = '';
- public $etag;
- public $fileName;
- protected $floodlightCriteriaType = 'Google_Service_Dfareporting_ReportFloodlightCriteria';
- protected $floodlightCriteriaDataType = '';
- public $format;
- public $id;
- public $kind;
- public $lastModifiedTime;
- public $name;
- public $ownerProfileId;
- protected $pathToConversionCriteriaType = 'Google_Service_Dfareporting_ReportPathToConversionCriteria';
- protected $pathToConversionCriteriaDataType = '';
- protected $reachCriteriaType = 'Google_Service_Dfareporting_ReportReachCriteria';
- protected $reachCriteriaDataType = '';
- protected $scheduleType = 'Google_Service_Dfareporting_ReportSchedule';
- protected $scheduleDataType = '';
- public $subAccountId;
- public $type;
+ protected $activityFiltersType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $activityFiltersDataType = 'array';
+ protected $conversionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $customRichMediaEventsDataType = 'array';
+ protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
+ protected $dateRangeDataType = '';
+ protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $floodlightConfigIdDataType = '';
+ public $metricNames;
+ protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
+ protected $perInteractionDimensionsDataType = 'array';
+ protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties';
+ protected $reportPropertiesDataType = '';
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
- public function getAccountId()
- {
- return $this->accountId;
- }
- public function setActiveGrpCriteria(Google_Service_Dfareporting_ReportActiveGrpCriteria $activeGrpCriteria)
+ public function setActivityFilters($activityFilters)
{
- $this->activeGrpCriteria = $activeGrpCriteria;
+ $this->activityFilters = $activityFilters;
}
- public function getActiveGrpCriteria()
+ public function getActivityFilters()
{
- return $this->activeGrpCriteria;
+ return $this->activityFilters;
}
- public function setCriteria(Google_Service_Dfareporting_ReportCriteria $criteria)
+ public function setConversionDimensions($conversionDimensions)
{
- $this->criteria = $criteria;
+ $this->conversionDimensions = $conversionDimensions;
}
- public function getCriteria()
+ public function getConversionDimensions()
{
- return $this->criteria;
+ return $this->conversionDimensions;
}
- public function setCrossDimensionReachCriteria(Google_Service_Dfareporting_ReportCrossDimensionReachCriteria $crossDimensionReachCriteria)
+ public function setCustomFloodlightVariables($customFloodlightVariables)
{
- $this->crossDimensionReachCriteria = $crossDimensionReachCriteria;
+ $this->customFloodlightVariables = $customFloodlightVariables;
}
- public function getCrossDimensionReachCriteria()
+ public function getCustomFloodlightVariables()
{
- return $this->crossDimensionReachCriteria;
+ return $this->customFloodlightVariables;
}
- public function setDelivery(Google_Service_Dfareporting_ReportDelivery $delivery)
+ public function setCustomRichMediaEvents($customRichMediaEvents)
{
- $this->delivery = $delivery;
+ $this->customRichMediaEvents = $customRichMediaEvents;
}
- public function getDelivery()
+ public function getCustomRichMediaEvents()
{
- return $this->delivery;
+ return $this->customRichMediaEvents;
}
- public function setEtag($etag)
+ public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
{
- $this->etag = $etag;
+ $this->dateRange = $dateRange;
}
- public function getEtag()
+ public function getDateRange()
{
- return $this->etag;
+ return $this->dateRange;
}
- public function setFileName($fileName)
+ public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId)
{
- $this->fileName = $fileName;
+ $this->floodlightConfigId = $floodlightConfigId;
}
- public function getFileName()
+ public function getFloodlightConfigId()
{
- return $this->fileName;
+ return $this->floodlightConfigId;
}
- public function setFloodlightCriteria(Google_Service_Dfareporting_ReportFloodlightCriteria $floodlightCriteria)
+ public function setMetricNames($metricNames)
{
- $this->floodlightCriteria = $floodlightCriteria;
+ $this->metricNames = $metricNames;
}
- public function getFloodlightCriteria()
+ public function getMetricNames()
{
- return $this->floodlightCriteria;
+ return $this->metricNames;
}
- public function setFormat($format)
+ public function setPerInteractionDimensions($perInteractionDimensions)
{
- $this->format = $format;
+ $this->perInteractionDimensions = $perInteractionDimensions;
}
- public function getFormat()
+ public function getPerInteractionDimensions()
{
- return $this->format;
+ return $this->perInteractionDimensions;
}
- public function setId($id)
+ public function setReportProperties(Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties $reportProperties)
{
- $this->id = $id;
+ $this->reportProperties = $reportProperties;
}
- public function getId()
+ public function getReportProperties()
{
- return $this->id;
+ return $this->reportProperties;
}
- public function setKind($kind)
+}
+
+class Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clicksLookbackWindow;
+ public $impressionsLookbackWindow;
+ public $includeAttributedIPConversions;
+ public $includeUnattributedCookieConversions;
+ public $includeUnattributedIPConversions;
+ public $maximumClickInteractions;
+ public $maximumImpressionInteractions;
+ public $maximumInteractionGap;
+ public $pivotOnInteractionPath;
+
+
+ public function setClicksLookbackWindow($clicksLookbackWindow)
{
- $this->kind = $kind;
+ $this->clicksLookbackWindow = $clicksLookbackWindow;
}
- public function getKind()
+ public function getClicksLookbackWindow()
{
- return $this->kind;
+ return $this->clicksLookbackWindow;
}
- public function setLastModifiedTime($lastModifiedTime)
+ public function setImpressionsLookbackWindow($impressionsLookbackWindow)
{
- $this->lastModifiedTime = $lastModifiedTime;
+ $this->impressionsLookbackWindow = $impressionsLookbackWindow;
}
- public function getLastModifiedTime()
+ public function getImpressionsLookbackWindow()
{
- return $this->lastModifiedTime;
+ return $this->impressionsLookbackWindow;
}
- public function setName($name)
+ public function setIncludeAttributedIPConversions($includeAttributedIPConversions)
{
- $this->name = $name;
+ $this->includeAttributedIPConversions = $includeAttributedIPConversions;
}
- public function getName()
+ public function getIncludeAttributedIPConversions()
{
- return $this->name;
+ return $this->includeAttributedIPConversions;
}
- public function setOwnerProfileId($ownerProfileId)
+ public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions)
{
- $this->ownerProfileId = $ownerProfileId;
+ $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions;
}
- public function getOwnerProfileId()
+ public function getIncludeUnattributedCookieConversions()
{
- return $this->ownerProfileId;
+ return $this->includeUnattributedCookieConversions;
}
- public function setPathToConversionCriteria(Google_Service_Dfareporting_ReportPathToConversionCriteria $pathToConversionCriteria)
+ public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions)
{
- $this->pathToConversionCriteria = $pathToConversionCriteria;
+ $this->includeUnattributedIPConversions = $includeUnattributedIPConversions;
}
- public function getPathToConversionCriteria()
+ public function getIncludeUnattributedIPConversions()
{
- return $this->pathToConversionCriteria;
+ return $this->includeUnattributedIPConversions;
}
- public function setReachCriteria(Google_Service_Dfareporting_ReportReachCriteria $reachCriteria)
+ public function setMaximumClickInteractions($maximumClickInteractions)
{
- $this->reachCriteria = $reachCriteria;
+ $this->maximumClickInteractions = $maximumClickInteractions;
}
- public function getReachCriteria()
+ public function getMaximumClickInteractions()
{
- return $this->reachCriteria;
+ return $this->maximumClickInteractions;
}
- public function setSchedule(Google_Service_Dfareporting_ReportSchedule $schedule)
+ public function setMaximumImpressionInteractions($maximumImpressionInteractions)
{
- $this->schedule = $schedule;
+ $this->maximumImpressionInteractions = $maximumImpressionInteractions;
}
- public function getSchedule()
+ public function getMaximumImpressionInteractions()
{
- return $this->schedule;
+ return $this->maximumImpressionInteractions;
}
- public function setSubAccountId($subAccountId)
+ public function setMaximumInteractionGap($maximumInteractionGap)
{
- $this->subAccountId = $subAccountId;
+ $this->maximumInteractionGap = $maximumInteractionGap;
}
- public function getSubAccountId()
+ public function getMaximumInteractionGap()
{
- return $this->subAccountId;
+ return $this->maximumInteractionGap;
}
- public function setType($type)
+ public function setPivotOnInteractionPath($pivotOnInteractionPath)
{
- $this->type = $type;
+ $this->pivotOnInteractionPath = $pivotOnInteractionPath;
}
- public function getType()
+ public function getPivotOnInteractionPath()
{
- return $this->type;
+ return $this->pivotOnInteractionPath;
}
}
-class Google_Service_Dfareporting_ReportActiveGrpCriteria extends Google_Collection
+class Google_Service_Dfareporting_ReportReachCriteria extends Google_Collection
{
- protected $collection_key = 'metricNames';
+ protected $collection_key = 'reachByFrequencyMetricNames';
protected $internal_gapi_mappings = array(
);
+ protected $activitiesType = 'Google_Service_Dfareporting_Activities';
+ protected $activitiesDataType = '';
+ protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
+ protected $customRichMediaEventsDataType = '';
protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
protected $dateRangeDataType = '';
protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
protected $dimensionFiltersDataType = 'array';
protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
protected $dimensionsDataType = 'array';
+ public $enableAllDimensionCombinations;
public $metricNames;
+ public $reachByFrequencyMetricNames;
+ public function setActivities(Google_Service_Dfareporting_Activities $activities)
+ {
+ $this->activities = $activities;
+ }
+ public function getActivities()
+ {
+ return $this->activities;
+ }
+ public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ {
+ $this->customRichMediaEvents = $customRichMediaEvents;
+ }
+ public function getCustomRichMediaEvents()
+ {
+ return $this->customRichMediaEvents;
+ }
public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
{
$this->dateRange = $dateRange;
@@ -1793,6 +17238,14 @@ public function getDimensions()
{
return $this->dimensions;
}
+ public function setEnableAllDimensionCombinations($enableAllDimensionCombinations)
+ {
+ $this->enableAllDimensionCombinations = $enableAllDimensionCombinations;
+ }
+ public function getEnableAllDimensionCombinations()
+ {
+ return $this->enableAllDimensionCombinations;
+ }
public function setMetricNames($metricNames)
{
$this->metricNames = $metricNames;
@@ -1801,396 +17254,498 @@ public function getMetricNames()
{
return $this->metricNames;
}
+ public function setReachByFrequencyMetricNames($reachByFrequencyMetricNames)
+ {
+ $this->reachByFrequencyMetricNames = $reachByFrequencyMetricNames;
+ }
+ public function getReachByFrequencyMetricNames()
+ {
+ return $this->reachByFrequencyMetricNames;
+ }
}
-class Google_Service_Dfareporting_ReportCompatibleFields extends Google_Collection
+class Google_Service_Dfareporting_ReportSchedule extends Google_Collection
{
- protected $collection_key = 'pivotedActivityMetrics';
+ protected $collection_key = 'repeatsOnWeekDays';
protected $internal_gapi_mappings = array(
);
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
- protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $dimensionsDataType = 'array';
- public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
- protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
- protected $pivotedActivityMetricsDataType = 'array';
+ public $active;
+ public $every;
+ public $expirationDate;
+ public $repeats;
+ public $repeatsOnWeekDays;
+ public $runsOnDayOfMonth;
+ public $startDate;
- public function setDimensionFilters($dimensionFilters)
+ public function setActive($active)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->active = $active;
}
- public function getDimensionFilters()
+ public function getActive()
{
- return $this->dimensionFilters;
+ return $this->active;
}
- public function setDimensions($dimensions)
+ public function setEvery($every)
{
- $this->dimensions = $dimensions;
+ $this->every = $every;
}
- public function getDimensions()
+ public function getEvery()
{
- return $this->dimensions;
+ return $this->every;
}
- public function setKind($kind)
+ public function setExpirationDate($expirationDate)
{
- $this->kind = $kind;
+ $this->expirationDate = $expirationDate;
}
- public function getKind()
+ public function getExpirationDate()
{
- return $this->kind;
+ return $this->expirationDate;
}
- public function setMetrics($metrics)
+ public function setRepeats($repeats)
{
- $this->metrics = $metrics;
+ $this->repeats = $repeats;
}
- public function getMetrics()
+ public function getRepeats()
{
- return $this->metrics;
+ return $this->repeats;
}
- public function setPivotedActivityMetrics($pivotedActivityMetrics)
+ public function setRepeatsOnWeekDays($repeatsOnWeekDays)
{
- $this->pivotedActivityMetrics = $pivotedActivityMetrics;
+ $this->repeatsOnWeekDays = $repeatsOnWeekDays;
}
- public function getPivotedActivityMetrics()
+ public function getRepeatsOnWeekDays()
{
- return $this->pivotedActivityMetrics;
+ return $this->repeatsOnWeekDays;
+ }
+ public function setRunsOnDayOfMonth($runsOnDayOfMonth)
+ {
+ $this->runsOnDayOfMonth = $runsOnDayOfMonth;
+ }
+ public function getRunsOnDayOfMonth()
+ {
+ return $this->runsOnDayOfMonth;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
}
}
-class Google_Service_Dfareporting_ReportCriteria extends Google_Collection
+class Google_Service_Dfareporting_ReportsConfiguration extends Google_Model
{
- protected $collection_key = 'metricNames';
protected $internal_gapi_mappings = array(
);
- protected $activitiesType = 'Google_Service_Dfareporting_Activities';
- protected $activitiesDataType = '';
- protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
- protected $customRichMediaEventsDataType = '';
- protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
- protected $dateRangeDataType = '';
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
- protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
- protected $dimensionsDataType = 'array';
- public $metricNames;
+ public $exposureToConversionEnabled;
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ public $reportGenerationTimeZoneId;
- public function setActivities(Google_Service_Dfareporting_Activities $activities)
+ public function setExposureToConversionEnabled($exposureToConversionEnabled)
{
- $this->activities = $activities;
+ $this->exposureToConversionEnabled = $exposureToConversionEnabled;
}
- public function getActivities()
+ public function getExposureToConversionEnabled()
{
- return $this->activities;
+ return $this->exposureToConversionEnabled;
}
- public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
{
- $this->customRichMediaEvents = $customRichMediaEvents;
+ $this->lookbackConfiguration = $lookbackConfiguration;
}
- public function getCustomRichMediaEvents()
+ public function getLookbackConfiguration()
{
- return $this->customRichMediaEvents;
+ return $this->lookbackConfiguration;
}
- public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ public function setReportGenerationTimeZoneId($reportGenerationTimeZoneId)
{
- $this->dateRange = $dateRange;
+ $this->reportGenerationTimeZoneId = $reportGenerationTimeZoneId;
}
- public function getDateRange()
+ public function getReportGenerationTimeZoneId()
{
- return $this->dateRange;
+ return $this->reportGenerationTimeZoneId;
}
- public function setDimensionFilters($dimensionFilters)
+}
+
+class Google_Service_Dfareporting_RichMediaExitOverride extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customExitUrl;
+ public $exitId;
+ public $useCustomExitUrl;
+
+
+ public function setCustomExitUrl($customExitUrl)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->customExitUrl = $customExitUrl;
}
- public function getDimensionFilters()
+ public function getCustomExitUrl()
{
- return $this->dimensionFilters;
+ return $this->customExitUrl;
}
- public function setDimensions($dimensions)
+ public function setExitId($exitId)
{
- $this->dimensions = $dimensions;
+ $this->exitId = $exitId;
}
- public function getDimensions()
+ public function getExitId()
{
- return $this->dimensions;
+ return $this->exitId;
}
- public function setMetricNames($metricNames)
+ public function setUseCustomExitUrl($useCustomExitUrl)
{
- $this->metricNames = $metricNames;
+ $this->useCustomExitUrl = $useCustomExitUrl;
}
- public function getMetricNames()
+ public function getUseCustomExitUrl()
{
- return $this->metricNames;
+ return $this->useCustomExitUrl;
}
}
-class Google_Service_Dfareporting_ReportCrossDimensionReachCriteria extends Google_Collection
+class Google_Service_Dfareporting_Site extends Google_Collection
{
- protected $collection_key = 'overlapMetricNames';
+ protected $collection_key = 'siteContacts';
protected $internal_gapi_mappings = array(
);
- protected $breakdownType = 'Google_Service_Dfareporting_SortedDimension';
- protected $breakdownDataType = 'array';
- protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
- protected $dateRangeDataType = '';
- public $dimension;
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
- protected $dimensionFiltersDataType = 'array';
- public $metricNames;
- public $overlapMetricNames;
- public $pivoted;
+ public $accountId;
+ public $approved;
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $keyName;
+ public $kind;
+ public $name;
+ protected $siteContactsType = 'Google_Service_Dfareporting_SiteContact';
+ protected $siteContactsDataType = 'array';
+ protected $siteSettingsType = 'Google_Service_Dfareporting_SiteSettings';
+ protected $siteSettingsDataType = '';
+ public $subaccountId;
- public function setBreakdown($breakdown)
+ public function setAccountId($accountId)
{
- $this->breakdown = $breakdown;
+ $this->accountId = $accountId;
}
- public function getBreakdown()
+ public function getAccountId()
{
- return $this->breakdown;
+ return $this->accountId;
}
- public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ public function setApproved($approved)
{
- $this->dateRange = $dateRange;
+ $this->approved = $approved;
}
- public function getDateRange()
+ public function getApproved()
{
- return $this->dateRange;
+ return $this->approved;
}
- public function setDimension($dimension)
+ public function setDirectorySiteId($directorySiteId)
{
- $this->dimension = $dimension;
+ $this->directorySiteId = $directorySiteId;
}
- public function getDimension()
+ public function getDirectorySiteId()
{
- return $this->dimension;
+ return $this->directorySiteId;
}
- public function setDimensionFilters($dimensionFilters)
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
}
- public function getDimensionFilters()
+ public function getDirectorySiteIdDimensionValue()
{
- return $this->dimensionFilters;
+ return $this->directorySiteIdDimensionValue;
}
- public function setMetricNames($metricNames)
+ public function setId($id)
{
- $this->metricNames = $metricNames;
+ $this->id = $id;
}
- public function getMetricNames()
+ public function getId()
{
- return $this->metricNames;
+ return $this->id;
}
- public function setOverlapMetricNames($overlapMetricNames)
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
{
- $this->overlapMetricNames = $overlapMetricNames;
+ $this->idDimensionValue = $idDimensionValue;
}
- public function getOverlapMetricNames()
+ public function getIdDimensionValue()
{
- return $this->overlapMetricNames;
+ return $this->idDimensionValue;
}
- public function setPivoted($pivoted)
+ public function setKeyName($keyName)
{
- $this->pivoted = $pivoted;
+ $this->keyName = $keyName;
}
- public function getPivoted()
+ public function getKeyName()
{
- return $this->pivoted;
+ return $this->keyName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSiteContacts($siteContacts)
+ {
+ $this->siteContacts = $siteContacts;
+ }
+ public function getSiteContacts()
+ {
+ return $this->siteContacts;
+ }
+ public function setSiteSettings(Google_Service_Dfareporting_SiteSettings $siteSettings)
+ {
+ $this->siteSettings = $siteSettings;
+ }
+ public function getSiteSettings()
+ {
+ return $this->siteSettings;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
}
}
-class Google_Service_Dfareporting_ReportDelivery extends Google_Collection
+class Google_Service_Dfareporting_SiteContact extends Google_Model
{
- protected $collection_key = 'recipients';
protected $internal_gapi_mappings = array(
);
- public $emailOwner;
- public $emailOwnerDeliveryType;
- public $message;
- protected $recipientsType = 'Google_Service_Dfareporting_Recipient';
- protected $recipientsDataType = 'array';
+ public $contactType;
+ public $email;
+ public $firstName;
+ public $id;
+ public $lastName;
- public function setEmailOwner($emailOwner)
+ public function setContactType($contactType)
{
- $this->emailOwner = $emailOwner;
+ $this->contactType = $contactType;
}
- public function getEmailOwner()
+ public function getContactType()
{
- return $this->emailOwner;
+ return $this->contactType;
}
- public function setEmailOwnerDeliveryType($emailOwnerDeliveryType)
+ public function setEmail($email)
{
- $this->emailOwnerDeliveryType = $emailOwnerDeliveryType;
+ $this->email = $email;
}
- public function getEmailOwnerDeliveryType()
+ public function getEmail()
{
- return $this->emailOwnerDeliveryType;
+ return $this->email;
}
- public function setMessage($message)
+ public function setFirstName($firstName)
{
- $this->message = $message;
+ $this->firstName = $firstName;
}
- public function getMessage()
+ public function getFirstName()
{
- return $this->message;
+ return $this->firstName;
}
- public function setRecipients($recipients)
+ public function setId($id)
{
- $this->recipients = $recipients;
+ $this->id = $id;
}
- public function getRecipients()
+ public function getId()
{
- return $this->recipients;
+ return $this->id;
+ }
+ public function setLastName($lastName)
+ {
+ $this->lastName = $lastName;
+ }
+ public function getLastName()
+ {
+ return $this->lastName;
}
}
-class Google_Service_Dfareporting_ReportFloodlightCriteria extends Google_Collection
+class Google_Service_Dfareporting_SiteSettings extends Google_Model
{
- protected $collection_key = 'metricNames';
protected $internal_gapi_mappings = array(
);
- protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
- protected $customRichMediaEventsDataType = 'array';
- protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
- protected $dateRangeDataType = '';
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
- protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
- protected $dimensionsDataType = 'array';
- protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue';
- protected $floodlightConfigIdDataType = '';
- public $metricNames;
- protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties';
- protected $reportPropertiesDataType = '';
+ public $activeViewOptOut;
+ protected $creativeSettingsType = 'Google_Service_Dfareporting_CreativeSettings';
+ protected $creativeSettingsDataType = '';
+ public $disableBrandSafeAds;
+ public $disableNewCookie;
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
+ protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting';
+ protected $tagSettingDataType = '';
- public function setCustomRichMediaEvents($customRichMediaEvents)
- {
- $this->customRichMediaEvents = $customRichMediaEvents;
- }
- public function getCustomRichMediaEvents()
- {
- return $this->customRichMediaEvents;
- }
- public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ public function setActiveViewOptOut($activeViewOptOut)
{
- $this->dateRange = $dateRange;
+ $this->activeViewOptOut = $activeViewOptOut;
}
- public function getDateRange()
+ public function getActiveViewOptOut()
{
- return $this->dateRange;
+ return $this->activeViewOptOut;
}
- public function setDimensionFilters($dimensionFilters)
+ public function setCreativeSettings(Google_Service_Dfareporting_CreativeSettings $creativeSettings)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->creativeSettings = $creativeSettings;
}
- public function getDimensionFilters()
+ public function getCreativeSettings()
{
- return $this->dimensionFilters;
+ return $this->creativeSettings;
}
- public function setDimensions($dimensions)
+ public function setDisableBrandSafeAds($disableBrandSafeAds)
{
- $this->dimensions = $dimensions;
+ $this->disableBrandSafeAds = $disableBrandSafeAds;
}
- public function getDimensions()
+ public function getDisableBrandSafeAds()
{
- return $this->dimensions;
+ return $this->disableBrandSafeAds;
}
- public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId)
+ public function setDisableNewCookie($disableNewCookie)
{
- $this->floodlightConfigId = $floodlightConfigId;
+ $this->disableNewCookie = $disableNewCookie;
}
- public function getFloodlightConfigId()
+ public function getDisableNewCookie()
{
- return $this->floodlightConfigId;
+ return $this->disableNewCookie;
}
- public function setMetricNames($metricNames)
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
{
- $this->metricNames = $metricNames;
+ $this->lookbackConfiguration = $lookbackConfiguration;
}
- public function getMetricNames()
+ public function getLookbackConfiguration()
{
- return $this->metricNames;
+ return $this->lookbackConfiguration;
}
- public function setReportProperties(Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties $reportProperties)
+ public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting)
{
- $this->reportProperties = $reportProperties;
+ $this->tagSetting = $tagSetting;
}
- public function getReportProperties()
+ public function getTagSetting()
{
- return $this->reportProperties;
+ return $this->tagSetting;
}
}
-class Google_Service_Dfareporting_ReportFloodlightCriteriaReportProperties extends Google_Model
+class Google_Service_Dfareporting_SitesListResponse extends Google_Collection
{
+ protected $collection_key = 'sites';
protected $internal_gapi_mappings = array(
);
- public $includeAttributedIPConversions;
- public $includeUnattributedCookieConversions;
- public $includeUnattributedIPConversions;
+ public $kind;
+ public $nextPageToken;
+ protected $sitesType = 'Google_Service_Dfareporting_Site';
+ protected $sitesDataType = 'array';
- public function setIncludeAttributedIPConversions($includeAttributedIPConversions)
+ public function setKind($kind)
{
- $this->includeAttributedIPConversions = $includeAttributedIPConversions;
+ $this->kind = $kind;
}
- public function getIncludeAttributedIPConversions()
+ public function getKind()
{
- return $this->includeAttributedIPConversions;
+ return $this->kind;
}
- public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions)
+ public function setNextPageToken($nextPageToken)
{
- $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions;
+ $this->nextPageToken = $nextPageToken;
}
- public function getIncludeUnattributedCookieConversions()
+ public function getNextPageToken()
{
- return $this->includeUnattributedCookieConversions;
+ return $this->nextPageToken;
}
- public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions)
+ public function setSites($sites)
{
- $this->includeUnattributedIPConversions = $includeUnattributedIPConversions;
+ $this->sites = $sites;
}
- public function getIncludeUnattributedIPConversions()
+ public function getSites()
{
- return $this->includeUnattributedIPConversions;
+ return $this->sites;
}
}
-class Google_Service_Dfareporting_ReportList extends Google_Collection
+class Google_Service_Dfareporting_Size extends Google_Model
{
- protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
- public $etag;
- protected $itemsType = 'Google_Service_Dfareporting_Report';
- protected $itemsDataType = 'array';
+ public $height;
+ public $iab;
+ public $id;
public $kind;
- public $nextPageToken;
+ public $width;
- public function setEtag($etag)
+ public function setHeight($height)
{
- $this->etag = $etag;
+ $this->height = $height;
}
- public function getEtag()
+ public function getHeight()
{
- return $this->etag;
+ return $this->height;
}
- public function setItems($items)
+ public function setIab($iab)
{
- $this->items = $items;
+ $this->iab = $iab;
}
- public function getItems()
+ public function getIab()
{
- return $this->items;
+ return $this->iab;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
}
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Dfareporting_SizesListResponse extends Google_Collection
+{
+ protected $collection_key = 'sizes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $sizesType = 'Google_Service_Dfareporting_Size';
+ protected $sizesDataType = 'array';
+
+
public function setKind($kind)
{
$this->kind = $kind;
@@ -2199,384 +17754,418 @@ public function getKind()
{
return $this->kind;
}
- public function setNextPageToken($nextPageToken)
+ public function setSizes($sizes)
{
- $this->nextPageToken = $nextPageToken;
+ $this->sizes = $sizes;
}
- public function getNextPageToken()
+ public function getSizes()
{
- return $this->nextPageToken;
+ return $this->sizes;
}
}
-class Google_Service_Dfareporting_ReportPathToConversionCriteria extends Google_Collection
+class Google_Service_Dfareporting_SortedDimension extends Google_Model
{
- protected $collection_key = 'perInteractionDimensions';
protected $internal_gapi_mappings = array(
);
- protected $activityFiltersType = 'Google_Service_Dfareporting_DimensionValue';
- protected $activityFiltersDataType = 'array';
- protected $conversionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
- protected $conversionDimensionsDataType = 'array';
- protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_SortedDimension';
- protected $customFloodlightVariablesDataType = 'array';
- protected $customRichMediaEventsType = 'Google_Service_Dfareporting_DimensionValue';
- protected $customRichMediaEventsDataType = 'array';
- protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
- protected $dateRangeDataType = '';
- protected $floodlightConfigIdType = 'Google_Service_Dfareporting_DimensionValue';
- protected $floodlightConfigIdDataType = '';
- public $metricNames;
- protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_SortedDimension';
- protected $perInteractionDimensionsDataType = 'array';
- protected $reportPropertiesType = 'Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties';
- protected $reportPropertiesDataType = '';
+ public $kind;
+ public $name;
+ public $sortOrder;
- public function setActivityFilters($activityFilters)
- {
- $this->activityFilters = $activityFilters;
- }
- public function getActivityFilters()
- {
- return $this->activityFilters;
- }
- public function setConversionDimensions($conversionDimensions)
+ public function setKind($kind)
{
- $this->conversionDimensions = $conversionDimensions;
+ $this->kind = $kind;
}
- public function getConversionDimensions()
+ public function getKind()
{
- return $this->conversionDimensions;
+ return $this->kind;
}
- public function setCustomFloodlightVariables($customFloodlightVariables)
+ public function setName($name)
{
- $this->customFloodlightVariables = $customFloodlightVariables;
+ $this->name = $name;
}
- public function getCustomFloodlightVariables()
+ public function getName()
{
- return $this->customFloodlightVariables;
+ return $this->name;
}
- public function setCustomRichMediaEvents($customRichMediaEvents)
+ public function setSortOrder($sortOrder)
{
- $this->customRichMediaEvents = $customRichMediaEvents;
+ $this->sortOrder = $sortOrder;
}
- public function getCustomRichMediaEvents()
+ public function getSortOrder()
{
- return $this->customRichMediaEvents;
+ return $this->sortOrder;
}
- public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+}
+
+class Google_Service_Dfareporting_Subaccount extends Google_Collection
+{
+ protected $collection_key = 'availablePermissionIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $availablePermissionIds;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
{
- $this->dateRange = $dateRange;
+ $this->accountId = $accountId;
}
- public function getDateRange()
+ public function getAccountId()
{
- return $this->dateRange;
+ return $this->accountId;
}
- public function setFloodlightConfigId(Google_Service_Dfareporting_DimensionValue $floodlightConfigId)
+ public function setAvailablePermissionIds($availablePermissionIds)
{
- $this->floodlightConfigId = $floodlightConfigId;
+ $this->availablePermissionIds = $availablePermissionIds;
}
- public function getFloodlightConfigId()
+ public function getAvailablePermissionIds()
{
- return $this->floodlightConfigId;
+ return $this->availablePermissionIds;
}
- public function setMetricNames($metricNames)
+ public function setId($id)
{
- $this->metricNames = $metricNames;
+ $this->id = $id;
}
- public function getMetricNames()
+ public function getId()
{
- return $this->metricNames;
+ return $this->id;
}
- public function setPerInteractionDimensions($perInteractionDimensions)
+ public function setKind($kind)
{
- $this->perInteractionDimensions = $perInteractionDimensions;
+ $this->kind = $kind;
}
- public function getPerInteractionDimensions()
+ public function getKind()
{
- return $this->perInteractionDimensions;
+ return $this->kind;
}
- public function setReportProperties(Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties $reportProperties)
+ public function setName($name)
{
- $this->reportProperties = $reportProperties;
+ $this->name = $name;
}
- public function getReportProperties()
+ public function getName()
{
- return $this->reportProperties;
+ return $this->name;
}
}
-class Google_Service_Dfareporting_ReportPathToConversionCriteriaReportProperties extends Google_Model
+class Google_Service_Dfareporting_SubaccountsListResponse extends Google_Collection
{
+ protected $collection_key = 'subaccounts';
protected $internal_gapi_mappings = array(
);
- public $clicksLookbackWindow;
- public $impressionsLookbackWindow;
- public $includeAttributedIPConversions;
- public $includeUnattributedCookieConversions;
- public $includeUnattributedIPConversions;
- public $maximumClickInteractions;
- public $maximumImpressionInteractions;
- public $maximumInteractionGap;
- public $pivotOnInteractionPath;
+ public $kind;
+ public $nextPageToken;
+ protected $subaccountsType = 'Google_Service_Dfareporting_Subaccount';
+ protected $subaccountsDataType = 'array';
- public function setClicksLookbackWindow($clicksLookbackWindow)
- {
- $this->clicksLookbackWindow = $clicksLookbackWindow;
- }
- public function getClicksLookbackWindow()
- {
- return $this->clicksLookbackWindow;
- }
- public function setImpressionsLookbackWindow($impressionsLookbackWindow)
+ public function setKind($kind)
{
- $this->impressionsLookbackWindow = $impressionsLookbackWindow;
+ $this->kind = $kind;
}
- public function getImpressionsLookbackWindow()
+ public function getKind()
{
- return $this->impressionsLookbackWindow;
+ return $this->kind;
}
- public function setIncludeAttributedIPConversions($includeAttributedIPConversions)
+ public function setNextPageToken($nextPageToken)
{
- $this->includeAttributedIPConversions = $includeAttributedIPConversions;
+ $this->nextPageToken = $nextPageToken;
}
- public function getIncludeAttributedIPConversions()
+ public function getNextPageToken()
{
- return $this->includeAttributedIPConversions;
+ return $this->nextPageToken;
}
- public function setIncludeUnattributedCookieConversions($includeUnattributedCookieConversions)
+ public function setSubaccounts($subaccounts)
{
- $this->includeUnattributedCookieConversions = $includeUnattributedCookieConversions;
+ $this->subaccounts = $subaccounts;
}
- public function getIncludeUnattributedCookieConversions()
+ public function getSubaccounts()
{
- return $this->includeUnattributedCookieConversions;
+ return $this->subaccounts;
}
- public function setIncludeUnattributedIPConversions($includeUnattributedIPConversions)
+}
+
+class Google_Service_Dfareporting_TagData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $adId;
+ public $clickTag;
+ public $creativeId;
+ public $format;
+ public $impressionTag;
+
+
+ public function setAdId($adId)
{
- $this->includeUnattributedIPConversions = $includeUnattributedIPConversions;
+ $this->adId = $adId;
}
- public function getIncludeUnattributedIPConversions()
+ public function getAdId()
{
- return $this->includeUnattributedIPConversions;
+ return $this->adId;
}
- public function setMaximumClickInteractions($maximumClickInteractions)
+ public function setClickTag($clickTag)
{
- $this->maximumClickInteractions = $maximumClickInteractions;
+ $this->clickTag = $clickTag;
}
- public function getMaximumClickInteractions()
+ public function getClickTag()
{
- return $this->maximumClickInteractions;
+ return $this->clickTag;
}
- public function setMaximumImpressionInteractions($maximumImpressionInteractions)
+ public function setCreativeId($creativeId)
{
- $this->maximumImpressionInteractions = $maximumImpressionInteractions;
+ $this->creativeId = $creativeId;
}
- public function getMaximumImpressionInteractions()
+ public function getCreativeId()
{
- return $this->maximumImpressionInteractions;
+ return $this->creativeId;
}
- public function setMaximumInteractionGap($maximumInteractionGap)
+ public function setFormat($format)
{
- $this->maximumInteractionGap = $maximumInteractionGap;
+ $this->format = $format;
}
- public function getMaximumInteractionGap()
+ public function getFormat()
{
- return $this->maximumInteractionGap;
+ return $this->format;
}
- public function setPivotOnInteractionPath($pivotOnInteractionPath)
+ public function setImpressionTag($impressionTag)
{
- $this->pivotOnInteractionPath = $pivotOnInteractionPath;
+ $this->impressionTag = $impressionTag;
}
- public function getPivotOnInteractionPath()
+ public function getImpressionTag()
{
- return $this->pivotOnInteractionPath;
+ return $this->impressionTag;
}
}
-class Google_Service_Dfareporting_ReportReachCriteria extends Google_Collection
+class Google_Service_Dfareporting_TagSetting extends Google_Model
{
- protected $collection_key = 'reachByFrequencyMetricNames';
protected $internal_gapi_mappings = array(
);
- protected $activitiesType = 'Google_Service_Dfareporting_Activities';
- protected $activitiesDataType = '';
- protected $customRichMediaEventsType = 'Google_Service_Dfareporting_CustomRichMediaEvents';
- protected $customRichMediaEventsDataType = '';
- protected $dateRangeType = 'Google_Service_Dfareporting_DateRange';
- protected $dateRangeDataType = '';
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_DimensionValue';
- protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_SortedDimension';
- protected $dimensionsDataType = 'array';
- public $metricNames;
- public $reachByFrequencyMetricNames;
+ public $additionalKeyValues;
+ public $includeClickThroughUrls;
+ public $includeClickTracking;
+ public $keywordOption;
- public function setActivities(Google_Service_Dfareporting_Activities $activities)
+ public function setAdditionalKeyValues($additionalKeyValues)
{
- $this->activities = $activities;
+ $this->additionalKeyValues = $additionalKeyValues;
}
- public function getActivities()
+ public function getAdditionalKeyValues()
{
- return $this->activities;
+ return $this->additionalKeyValues;
}
- public function setCustomRichMediaEvents(Google_Service_Dfareporting_CustomRichMediaEvents $customRichMediaEvents)
+ public function setIncludeClickThroughUrls($includeClickThroughUrls)
{
- $this->customRichMediaEvents = $customRichMediaEvents;
+ $this->includeClickThroughUrls = $includeClickThroughUrls;
}
- public function getCustomRichMediaEvents()
+ public function getIncludeClickThroughUrls()
{
- return $this->customRichMediaEvents;
+ return $this->includeClickThroughUrls;
}
- public function setDateRange(Google_Service_Dfareporting_DateRange $dateRange)
+ public function setIncludeClickTracking($includeClickTracking)
{
- $this->dateRange = $dateRange;
+ $this->includeClickTracking = $includeClickTracking;
}
- public function getDateRange()
+ public function getIncludeClickTracking()
{
- return $this->dateRange;
+ return $this->includeClickTracking;
}
- public function setDimensionFilters($dimensionFilters)
+ public function setKeywordOption($keywordOption)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->keywordOption = $keywordOption;
}
- public function getDimensionFilters()
+ public function getKeywordOption()
{
- return $this->dimensionFilters;
+ return $this->keywordOption;
}
- public function setDimensions($dimensions)
+}
+
+class Google_Service_Dfareporting_TagSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dynamicTagEnabled;
+ public $imageTagEnabled;
+
+
+ public function setDynamicTagEnabled($dynamicTagEnabled)
{
- $this->dimensions = $dimensions;
+ $this->dynamicTagEnabled = $dynamicTagEnabled;
}
- public function getDimensions()
+ public function getDynamicTagEnabled()
{
- return $this->dimensions;
+ return $this->dynamicTagEnabled;
}
- public function setMetricNames($metricNames)
+ public function setImageTagEnabled($imageTagEnabled)
{
- $this->metricNames = $metricNames;
+ $this->imageTagEnabled = $imageTagEnabled;
}
- public function getMetricNames()
+ public function getImageTagEnabled()
{
- return $this->metricNames;
+ return $this->imageTagEnabled;
}
- public function setReachByFrequencyMetricNames($reachByFrequencyMetricNames)
+}
+
+class Google_Service_Dfareporting_TargetWindow extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $customHtml;
+ public $targetWindowOption;
+
+
+ public function setCustomHtml($customHtml)
{
- $this->reachByFrequencyMetricNames = $reachByFrequencyMetricNames;
+ $this->customHtml = $customHtml;
}
- public function getReachByFrequencyMetricNames()
+ public function getCustomHtml()
{
- return $this->reachByFrequencyMetricNames;
+ return $this->customHtml;
+ }
+ public function setTargetWindowOption($targetWindowOption)
+ {
+ $this->targetWindowOption = $targetWindowOption;
+ }
+ public function getTargetWindowOption()
+ {
+ return $this->targetWindowOption;
}
}
-class Google_Service_Dfareporting_ReportSchedule extends Google_Collection
+class Google_Service_Dfareporting_TechnologyTargeting extends Google_Collection
{
- protected $collection_key = 'repeatsOnWeekDays';
+ protected $collection_key = 'platformTypes';
protected $internal_gapi_mappings = array(
);
- public $active;
- public $every;
- public $expirationDate;
- public $repeats;
- public $repeatsOnWeekDays;
- public $runsOnDayOfMonth;
- public $startDate;
+ protected $browsersType = 'Google_Service_Dfareporting_Browser';
+ protected $browsersDataType = 'array';
+ protected $connectionTypesType = 'Google_Service_Dfareporting_ConnectionType';
+ protected $connectionTypesDataType = 'array';
+ protected $mobileCarriersType = 'Google_Service_Dfareporting_MobileCarrier';
+ protected $mobileCarriersDataType = 'array';
+ protected $operatingSystemVersionsType = 'Google_Service_Dfareporting_OperatingSystemVersion';
+ protected $operatingSystemVersionsDataType = 'array';
+ protected $operatingSystemsType = 'Google_Service_Dfareporting_OperatingSystem';
+ protected $operatingSystemsDataType = 'array';
+ protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType';
+ protected $platformTypesDataType = 'array';
- public function setActive($active)
+ public function setBrowsers($browsers)
+ {
+ $this->browsers = $browsers;
+ }
+ public function getBrowsers()
{
- $this->active = $active;
+ return $this->browsers;
}
- public function getActive()
+ public function setConnectionTypes($connectionTypes)
{
- return $this->active;
+ $this->connectionTypes = $connectionTypes;
}
- public function setEvery($every)
+ public function getConnectionTypes()
{
- $this->every = $every;
+ return $this->connectionTypes;
}
- public function getEvery()
+ public function setMobileCarriers($mobileCarriers)
{
- return $this->every;
+ $this->mobileCarriers = $mobileCarriers;
}
- public function setExpirationDate($expirationDate)
+ public function getMobileCarriers()
{
- $this->expirationDate = $expirationDate;
+ return $this->mobileCarriers;
}
- public function getExpirationDate()
+ public function setOperatingSystemVersions($operatingSystemVersions)
{
- return $this->expirationDate;
+ $this->operatingSystemVersions = $operatingSystemVersions;
}
- public function setRepeats($repeats)
+ public function getOperatingSystemVersions()
{
- $this->repeats = $repeats;
+ return $this->operatingSystemVersions;
}
- public function getRepeats()
+ public function setOperatingSystems($operatingSystems)
{
- return $this->repeats;
+ $this->operatingSystems = $operatingSystems;
}
- public function setRepeatsOnWeekDays($repeatsOnWeekDays)
+ public function getOperatingSystems()
{
- $this->repeatsOnWeekDays = $repeatsOnWeekDays;
+ return $this->operatingSystems;
}
- public function getRepeatsOnWeekDays()
+ public function setPlatformTypes($platformTypes)
{
- return $this->repeatsOnWeekDays;
+ $this->platformTypes = $platformTypes;
}
- public function setRunsOnDayOfMonth($runsOnDayOfMonth)
+ public function getPlatformTypes()
{
- $this->runsOnDayOfMonth = $runsOnDayOfMonth;
+ return $this->platformTypes;
}
- public function getRunsOnDayOfMonth()
+}
+
+class Google_Service_Dfareporting_ThirdPartyTrackingUrl extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $thirdPartyUrlType;
+ public $url;
+
+
+ public function setThirdPartyUrlType($thirdPartyUrlType)
{
- return $this->runsOnDayOfMonth;
+ $this->thirdPartyUrlType = $thirdPartyUrlType;
}
- public function setStartDate($startDate)
+ public function getThirdPartyUrlType()
{
- $this->startDate = $startDate;
+ return $this->thirdPartyUrlType;
}
- public function getStartDate()
+ public function setUrl($url)
{
- return $this->startDate;
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
}
}
-class Google_Service_Dfareporting_SortedDimension extends Google_Model
+class Google_Service_Dfareporting_UserDefinedVariableConfiguration extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $kind;
- public $name;
- public $sortOrder;
+ public $dataType;
+ public $reportName;
+ public $variableType;
- public function setKind($kind)
+ public function setDataType($dataType)
{
- $this->kind = $kind;
+ $this->dataType = $dataType;
}
- public function getKind()
+ public function getDataType()
{
- return $this->kind;
+ return $this->dataType;
}
- public function setName($name)
+ public function setReportName($reportName)
{
- $this->name = $name;
+ $this->reportName = $reportName;
}
- public function getName()
+ public function getReportName()
{
- return $this->name;
+ return $this->reportName;
}
- public function setSortOrder($sortOrder)
+ public function setVariableType($variableType)
{
- $this->sortOrder = $sortOrder;
+ $this->variableType = $variableType;
}
- public function getSortOrder()
+ public function getVariableType()
{
- return $this->sortOrder;
+ return $this->variableType;
}
}
@@ -2696,3 +18285,266 @@ public function getKind()
return $this->kind;
}
}
+
+class Google_Service_Dfareporting_UserRole extends Google_Collection
+{
+ protected $collection_key = 'permissions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $defaultUserRole;
+ public $id;
+ public $kind;
+ public $name;
+ public $parentUserRoleId;
+ protected $permissionsType = 'Google_Service_Dfareporting_UserRolePermission';
+ protected $permissionsDataType = 'array';
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setDefaultUserRole($defaultUserRole)
+ {
+ $this->defaultUserRole = $defaultUserRole;
+ }
+ public function getDefaultUserRole()
+ {
+ return $this->defaultUserRole;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentUserRoleId($parentUserRoleId)
+ {
+ $this->parentUserRoleId = $parentUserRoleId;
+ }
+ public function getParentUserRoleId()
+ {
+ return $this->parentUserRoleId;
+ }
+ public function setPermissions($permissions)
+ {
+ $this->permissions = $permissions;
+ }
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_UserRolePermission extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $availability;
+ public $id;
+ public $kind;
+ public $name;
+ public $permissionGroupId;
+
+
+ public function setAvailability($availability)
+ {
+ $this->availability = $availability;
+ }
+ public function getAvailability()
+ {
+ return $this->availability;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissionGroupId($permissionGroupId)
+ {
+ $this->permissionGroupId = $permissionGroupId;
+ }
+ public function getPermissionGroupId()
+ {
+ return $this->permissionGroupId;
+ }
+}
+
+class Google_Service_Dfareporting_UserRolePermissionGroup extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_UserRolePermissionGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'userRolePermissionGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $userRolePermissionGroupsType = 'Google_Service_Dfareporting_UserRolePermissionGroup';
+ protected $userRolePermissionGroupsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserRolePermissionGroups($userRolePermissionGroups)
+ {
+ $this->userRolePermissionGroups = $userRolePermissionGroups;
+ }
+ public function getUserRolePermissionGroups()
+ {
+ return $this->userRolePermissionGroups;
+ }
+}
+
+class Google_Service_Dfareporting_UserRolePermissionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'userRolePermissions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $userRolePermissionsType = 'Google_Service_Dfareporting_UserRolePermission';
+ protected $userRolePermissionsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserRolePermissions($userRolePermissions)
+ {
+ $this->userRolePermissions = $userRolePermissions;
+ }
+ public function getUserRolePermissions()
+ {
+ return $this->userRolePermissions;
+ }
+}
+
+class Google_Service_Dfareporting_UserRolesListResponse extends Google_Collection
+{
+ protected $collection_key = 'userRoles';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $userRolesType = 'Google_Service_Dfareporting_UserRole';
+ protected $userRolesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setUserRoles($userRoles)
+ {
+ $this->userRoles = $userRoles;
+ }
+ public function getUserRoles()
+ {
+ return $this->userRoles;
+ }
+}
From 3d71d93dc7bf86117932fc6426871054dda479e1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Deploymentmanager extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** View and manage your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN = + "https://www.googleapis.com/auth/ndev.cloudman"; + /** View your Google Cloud Platform management resources and deployment status information. */ + const NDEV_CLOUDMAN_READONLY = + "https://www.googleapis.com/auth/ndev.cloudman.readonly"; + + public $deployments; + public $manifests; + public $operations; + public $resources; + public $types; + + + /** + * Constructs the internal representation of the Deploymentmanager service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'deploymentmanager/v2beta1/projects/'; + $this->version = 'v2beta1'; + $this->serviceName = 'deploymentmanager'; + + $this->deployments = new Google_Service_Deploymentmanager_Deployments_Resource( + $this, + $this->serviceName, + 'deployments', + array( + 'methods' => array( + 'delete' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => '{project}/global/deployments/{deployment}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => '{project}/global/deployments', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->manifests = new Google_Service_Deploymentmanager_Manifests_Resource( + $this, + $this->serviceName, + 'manifests', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/deployments/{deployment}/manifests/{manifest}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'manifest' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments/{deployment}/manifests', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_Deploymentmanager_Operations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->resources = new Google_Service_Deploymentmanager_Resources_Resource( + $this, + $this->serviceName, + 'resources', + array( + 'methods' => array( + 'get' => array( + 'path' => '{project}/global/deployments/{deployment}/resources/{resource}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'resource' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => '{project}/global/deployments/{deployment}/resources', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deployment' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + $this->types = new Google_Service_Deploymentmanager_Types_Resource( + $this, + $this->serviceName, + 'types', + array( + 'methods' => array( + 'list' => array( + 'path' => '{project}/global/types', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "deployments" collection of methods. + * Typical usage is: + *
+ * $deploymentmanagerService = new Google_Service_Deploymentmanager(...);
+ * $deployments = $deploymentmanagerService->deployments;
+ *
+ */
+class Google_Service_Deploymentmanager_Deployments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a deployment and all of the resources in the deployment.
+ * (deployments.delete)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deploymentmanager_Operation
+ */
+ public function delete($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Deploymentmanager_Operation");
+ }
+
+ /**
+ * Gets information about a specific deployment. (deployments.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deploymentmanager_Deployment
+ */
+ public function get($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Deploymentmanager_Deployment");
+ }
+
+ /**
+ * Creates a deployment and all of the resources described by the deployment
+ * manifest. (deployments.insert)
+ *
+ * @param string $project The project ID for this request.
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deploymentmanager_Operation
+ */
+ public function insert($project, Google_Service_Deploymentmanager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Deploymentmanager_Operation");
+ }
+
+ /**
+ * Lists all deployments for a given project. (deployments.listDeployments)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Google_Service_Deploymentmanager_DeploymentsListResponse
+ */
+ public function listDeployments($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Deploymentmanager_DeploymentsListResponse");
+ }
+}
+
+/**
+ * The "manifests" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_Deploymentmanager(...);
+ * $manifests = $deploymentmanagerService->manifests;
+ *
+ */
+class Google_Service_Deploymentmanager_Manifests_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a specific manifest. (manifests.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param string $manifest The name of the manifest for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deploymentmanager_Manifest
+ */
+ public function get($project, $deployment, $manifest, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Deploymentmanager_Manifest");
+ }
+
+ /**
+ * Lists all manifests for a given deployment. (manifests.listManifests)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Google_Service_Deploymentmanager_ManifestsListResponse
+ */
+ public function listManifests($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Deploymentmanager_ManifestsListResponse");
+ }
+}
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_Deploymentmanager(...);
+ * $operations = $deploymentmanagerService->operations;
+ *
+ */
+class Google_Service_Deploymentmanager_Operations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a specific Operation. (operations.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $operation The name of the operation for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deploymentmanager_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Deploymentmanager_Operation");
+ }
+
+ /**
+ * Lists all Operations for a project. (operations.listOperations)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Google_Service_Deploymentmanager_OperationsListResponse
+ */
+ public function listOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Deploymentmanager_OperationsListResponse");
+ }
+}
+
+/**
+ * The "resources" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_Deploymentmanager(...);
+ * $resources = $deploymentmanagerService->resources;
+ *
+ */
+class Google_Service_Deploymentmanager_Resources_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a single resource. (resources.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param string $resource The name of the resource for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Deploymentmanager_DeploymentmanagerResource
+ */
+ public function get($project, $deployment, $resource, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Deploymentmanager_DeploymentmanagerResource");
+ }
+
+ /**
+ * Lists all resources in a given deployment. (resources.listResources)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Google_Service_Deploymentmanager_ResourcesListResponse
+ */
+ public function listResources($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Deploymentmanager_ResourcesListResponse");
+ }
+}
+
+/**
+ * The "types" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_Deploymentmanager(...);
+ * $types = $deploymentmanagerService->types;
+ *
+ */
+class Google_Service_Deploymentmanager_Types_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all Types for Deployment Manager. (types.listTypes)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Specifies a nextPageToken returned by a previous
+ * list request. This token can be used to request the next page of results from
+ * a previous list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 0 to 100, inclusive. (Default: 50)
+ * @return Google_Service_Deploymentmanager_TypesListResponse
+ */
+ public function listTypes($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Deploymentmanager_TypesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_Deploymentmanager_Deployment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $id;
+ public $manifest;
+ public $name;
+ public $targetConfig;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setTargetConfig($targetConfig)
+ {
+ $this->targetConfig = $targetConfig;
+ }
+ public function getTargetConfig()
+ {
+ return $this->targetConfig;
+ }
+}
+
+class Google_Service_Deploymentmanager_DeploymentmanagerResource extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $errors;
+ public $id;
+ public $intent;
+ public $manifest;
+ public $name;
+ public $state;
+ public $type;
+ public $url;
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIntent($intent)
+ {
+ $this->intent = $intent;
+ }
+ public function getIntent()
+ {
+ return $this->intent;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_Deploymentmanager_DeploymentsListResponse extends Google_Collection
+{
+ protected $collection_key = 'deployments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deploymentsType = 'Google_Service_Deploymentmanager_Deployment';
+ protected $deploymentsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setDeployments($deployments)
+ {
+ $this->deployments = $deployments;
+ }
+ public function getDeployments()
+ {
+ return $this->deployments;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Deploymentmanager_Manifest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $config;
+ public $evaluatedConfig;
+ public $id;
+ public $name;
+ public $selfLink;
+
+
+ public function setConfig($config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setEvaluatedConfig($evaluatedConfig)
+ {
+ $this->evaluatedConfig = $evaluatedConfig;
+ }
+ public function getEvaluatedConfig()
+ {
+ return $this->evaluatedConfig;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Deploymentmanager_ManifestsListResponse extends Google_Collection
+{
+ protected $collection_key = 'manifests';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $manifestsType = 'Google_Service_Deploymentmanager_Manifest';
+ protected $manifestsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setManifests($manifests)
+ {
+ $this->manifests = $manifests;
+ }
+ public function getManifests()
+ {
+ return $this->manifests;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Deploymentmanager_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Deploymentmanager_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Deploymentmanager_OperationWarnings';
+ protected $warningsDataType = 'array';
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_Deploymentmanager_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+}
+
+class Google_Service_Deploymentmanager_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_Deploymentmanager_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Deploymentmanager_OperationErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Deploymentmanager_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_Deploymentmanager_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Deploymentmanager_OperationWarningsData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Deploymentmanager_OperationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_Deploymentmanager_Operation';
+ protected $operationsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
+
+class Google_Service_Deploymentmanager_ResourcesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_Deploymentmanager_DeploymentmanagerResource';
+ protected $resourcesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_Deploymentmanager_Type extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Deploymentmanager_TypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $typesType = 'Google_Service_Deploymentmanager_Type';
+ protected $typesDataType = 'array';
+
+
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
From cea3e8db54ee19676c32547ecff76ec1ba734f23 Mon Sep 17 00:00:00 2001
From: Silvano Luciani * For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From 8f16edf37728ecf49e6ad6242cc47ce7bf5cc6c3 Mon Sep 17 00:00:00 2001 From: Silvano Luciani
+ * $coordinateService = new Google_Service_Coordinate(...);
+ * $team = $coordinateService->team;
+ *
+ */
+class Google_Service_Coordinate_Team_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a list of teams for a user. (team.listTeam)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool admin Whether to include teams for which the user has the
+ * Admin role.
+ * @opt_param bool worker Whether to include teams for which the user has the
+ * Worker role.
+ * @opt_param bool dispatcher Whether to include teams for which the user has
+ * the Dispatcher role.
+ * @return Google_Service_Coordinate_TeamListResponse
+ */
+ public function listTeam($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Coordinate_TeamListResponse");
+ }
+}
+
/**
* The "worker" collection of methods.
* Typical usage is:
@@ -764,11 +836,14 @@ public function getValue()
}
}
-class Google_Service_Coordinate_CustomFieldDef extends Google_Model
+class Google_Service_Coordinate_CustomFieldDef extends Google_Collection
{
+ protected $collection_key = 'enumitems';
protected $internal_gapi_mappings = array(
);
public $enabled;
+ protected $enumitemsType = 'Google_Service_Coordinate_EnumItemDef';
+ protected $enumitemsDataType = 'array';
public $id;
public $kind;
public $name;
@@ -784,6 +859,14 @@ public function getEnabled()
{
return $this->enabled;
}
+ public function setEnumitems($enumitems)
+ {
+ $this->enumitems = $enumitems;
+ }
+ public function getEnumitems()
+ {
+ return $this->enumitems;
+ }
public function setId($id)
{
$this->id = $id;
@@ -882,6 +965,41 @@ public function getKind()
}
}
+class Google_Service_Coordinate_EnumItemDef extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ public $kind;
+ public $value;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Coordinate_Job extends Google_Collection
{
protected $collection_key = 'jobChange';
@@ -1292,6 +1410,69 @@ public function getStartTime()
}
}
+class Google_Service_Coordinate_Team extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Coordinate_TeamListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_Coordinate_Team';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_Coordinate_TokenPagination extends Google_Model
{
protected $internal_gapi_mappings = array(
From 0d4a67029c159e784f7cc62a066beb31095e533f Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_GamesConfiguration extends Google_Service +{ + /** View and manage your Google Play Android Developer account. */ + const ANDROIDPUBLISHER = + "https://www.googleapis.com/auth/androidpublisher"; + + public $achievementConfigurations; + public $imageConfigurations; + public $leaderboardConfigurations; + + + /** + * Constructs the internal representation of the GamesConfiguration service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'games/v1configuration/'; + $this->version = 'v1configuration'; + $this->serviceName = 'gamesConfiguration'; + + $this->achievementConfigurations = new Google_Service_GamesConfiguration_AchievementConfigurations_Resource( + $this, + $this->serviceName, + 'achievementConfigurations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'applications/{applicationId}/achievements', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications/{applicationId}/achievements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'achievements/{achievementId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'achievementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->imageConfigurations = new Google_Service_GamesConfiguration_ImageConfigurations_Resource( + $this, + $this->serviceName, + 'imageConfigurations', + array( + 'methods' => array( + 'upload' => array( + 'path' => 'images/{resourceId}/imageType/{imageType}', + 'httpMethod' => 'POST', + 'parameters' => array( + 'resourceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'imageType' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->leaderboardConfigurations = new Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource( + $this, + $this->serviceName, + 'leaderboardConfigurations', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'applications/{applicationId}/leaderboards', + 'httpMethod' => 'POST', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'applications/{applicationId}/leaderboards', + 'httpMethod' => 'GET', + 'parameters' => array( + 'applicationId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'leaderboards/{leaderboardId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'leaderboardId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "achievementConfigurations" collection of methods. + * Typical usage is: + *
+ * $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
+ * $achievementConfigurations = $gamesConfigurationService->achievementConfigurations;
+ *
+ */
+class Google_Service_GamesConfiguration_AchievementConfigurations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete the achievement configuration with the given ID.
+ * (achievementConfigurations.delete)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the metadata of the achievement configuration with the given ID.
+ * (achievementConfigurations.get)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function get($achievementId, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+
+ /**
+ * Insert a new achievement configuration in this application.
+ * (achievementConfigurations.insert)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param Google_AchievementConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+
+ /**
+ * Returns a list of the achievement configurations in this application.
+ * (achievementConfigurations.listAchievementConfigurations)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of resource configurations to
+ * return in the response, used for paging. For any response, the actual number
+ * of resources returned may be less than the specified maxResults.
+ * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse
+ */
+ public function listAchievementConfigurations($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse");
+ }
+
+ /**
+ * Update the metadata of the achievement configuration with the given ID. This
+ * method supports patch semantics. (achievementConfigurations.patch)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param Google_AchievementConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+
+ /**
+ * Update the metadata of the achievement configuration with the given ID.
+ * (achievementConfigurations.update)
+ *
+ * @param string $achievementId The ID of the achievement used by this method.
+ * @param Google_AchievementConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_AchievementConfiguration
+ */
+ public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
+ {
+ $params = array('achievementId' => $achievementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
+ }
+}
+
+/**
+ * The "imageConfigurations" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
+ * $imageConfigurations = $gamesConfigurationService->imageConfigurations;
+ *
+ */
+class Google_Service_GamesConfiguration_ImageConfigurations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Uploads an image for a resource with the given ID and image type.
+ * (imageConfigurations.upload)
+ *
+ * @param string $resourceId The ID of the resource used by this method.
+ * @param string $imageType Selects which image in a resource for this method.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_ImageConfiguration
+ */
+ public function upload($resourceId, $imageType, $optParams = array())
+ {
+ $params = array('resourceId' => $resourceId, 'imageType' => $imageType);
+ $params = array_merge($params, $optParams);
+ return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration");
+ }
+}
+
+/**
+ * The "leaderboardConfigurations" collection of methods.
+ * Typical usage is:
+ *
+ * $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
+ * $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations;
+ *
+ */
+class Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete the leaderboard configuration with the given ID.
+ * (leaderboardConfigurations.delete)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the metadata of the leaderboard configuration with the given ID.
+ * (leaderboardConfigurations.get)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function get($leaderboardId, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+
+ /**
+ * Insert a new leaderboard configuration in this application.
+ * (leaderboardConfigurations.insert)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param Google_LeaderboardConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+
+ /**
+ * Returns a list of the leaderboard configurations in this application.
+ * (leaderboardConfigurations.listLeaderboardConfigurations)
+ *
+ * @param string $applicationId The application ID from the Google Play
+ * developer console.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param int maxResults The maximum number of resource configurations to
+ * return in the response, used for paging. For any response, the actual number
+ * of resources returned may be less than the specified maxResults.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse
+ */
+ public function listLeaderboardConfigurations($applicationId, $optParams = array())
+ {
+ $params = array('applicationId' => $applicationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse");
+ }
+
+ /**
+ * Update the metadata of the leaderboard configuration with the given ID. This
+ * method supports patch semantics. (leaderboardConfigurations.patch)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param Google_LeaderboardConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+
+ /**
+ * Update the metadata of the leaderboard configuration with the given ID.
+ * (leaderboardConfigurations.update)
+ *
+ * @param string $leaderboardId The ID of the leaderboard.
+ * @param Google_LeaderboardConfiguration $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
+ */
+ public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
+ {
+ $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
+ }
+}
+
+
+
+
+class Google_Service_GamesConfiguration_AchievementConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $achievementType;
+ protected $draftType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
+ protected $draftDataType = '';
+ public $id;
+ public $initialState;
+ public $kind;
+ protected $publishedType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
+ protected $publishedDataType = '';
+ public $stepsToUnlock;
+ public $token;
+
+
+ public function setAchievementType($achievementType)
+ {
+ $this->achievementType = $achievementType;
+ }
+ public function getAchievementType()
+ {
+ return $this->achievementType;
+ }
+ public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft)
+ {
+ $this->draft = $draft;
+ }
+ public function getDraft()
+ {
+ return $this->draft;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInitialState($initialState)
+ {
+ $this->initialState = $initialState;
+ }
+ public function getInitialState()
+ {
+ return $this->initialState;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setStepsToUnlock($stepsToUnlock)
+ {
+ $this->stepsToUnlock = $stepsToUnlock;
+ }
+ public function getStepsToUnlock()
+ {
+ return $this->stepsToUnlock;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
+
+class Google_Service_GamesConfiguration_AchievementConfigurationDetail extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $descriptionType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $descriptionDataType = '';
+ public $iconUrl;
+ public $kind;
+ protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $nameDataType = '';
+ public $pointValue;
+ public $sortRank;
+
+
+ public function setDescription(Google_Service_GamesConfiguration_LocalizedStringBundle $description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPointValue($pointValue)
+ {
+ $this->pointValue = $pointValue;
+ }
+ public function getPointValue()
+ {
+ return $this->pointValue;
+ }
+ public function setSortRank($sortRank)
+ {
+ $this->sortRank = $sortRank;
+ }
+ public function getSortRank()
+ {
+ return $this->sortRank;
+ }
+}
+
+class Google_Service_GamesConfiguration_AchievementConfigurationListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_GamesConfiguration_AchievementConfiguration';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_GamesConfiguration_GamesNumberAffixConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $fewType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $fewDataType = '';
+ protected $manyType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $manyDataType = '';
+ protected $oneType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $oneDataType = '';
+ protected $otherType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $otherDataType = '';
+ protected $twoType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $twoDataType = '';
+ protected $zeroType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $zeroDataType = '';
+
+
+ public function setFew(Google_Service_GamesConfiguration_LocalizedStringBundle $few)
+ {
+ $this->few = $few;
+ }
+ public function getFew()
+ {
+ return $this->few;
+ }
+ public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many)
+ {
+ $this->many = $many;
+ }
+ public function getMany()
+ {
+ return $this->many;
+ }
+ public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one)
+ {
+ $this->one = $one;
+ }
+ public function getOne()
+ {
+ return $this->one;
+ }
+ public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other)
+ {
+ $this->other = $other;
+ }
+ public function getOther()
+ {
+ return $this->other;
+ }
+ public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two)
+ {
+ $this->two = $two;
+ }
+ public function getTwo()
+ {
+ return $this->two;
+ }
+ public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero)
+ {
+ $this->zero = $zero;
+ }
+ public function getZero()
+ {
+ return $this->zero;
+ }
+}
+
+class Google_Service_GamesConfiguration_GamesNumberFormatConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $currencyCode;
+ public $numDecimalPlaces;
+ public $numberFormatType;
+ protected $suffixType = 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration';
+ protected $suffixDataType = '';
+
+
+ public function setCurrencyCode($currencyCode)
+ {
+ $this->currencyCode = $currencyCode;
+ }
+ public function getCurrencyCode()
+ {
+ return $this->currencyCode;
+ }
+ public function setNumDecimalPlaces($numDecimalPlaces)
+ {
+ $this->numDecimalPlaces = $numDecimalPlaces;
+ }
+ public function getNumDecimalPlaces()
+ {
+ return $this->numDecimalPlaces;
+ }
+ public function setNumberFormatType($numberFormatType)
+ {
+ $this->numberFormatType = $numberFormatType;
+ }
+ public function getNumberFormatType()
+ {
+ return $this->numberFormatType;
+ }
+ public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix)
+ {
+ $this->suffix = $suffix;
+ }
+ public function getSuffix()
+ {
+ return $this->suffix;
+ }
+}
+
+class Google_Service_GamesConfiguration_ImageConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $imageType;
+ public $kind;
+ public $resourceId;
+ public $url;
+
+
+ public function setImageType($imageType)
+ {
+ $this->imageType = $imageType;
+ }
+ public function getImageType()
+ {
+ return $this->imageType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResourceId($resourceId)
+ {
+ $this->resourceId = $resourceId;
+ }
+ public function getResourceId()
+ {
+ return $this->resourceId;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_GamesConfiguration_LeaderboardConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $draftType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
+ protected $draftDataType = '';
+ public $id;
+ public $kind;
+ protected $publishedType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
+ protected $publishedDataType = '';
+ public $scoreMax;
+ public $scoreMin;
+ public $scoreOrder;
+ public $token;
+
+
+ public function setDraft(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $draft)
+ {
+ $this->draft = $draft;
+ }
+ public function getDraft()
+ {
+ return $this->draft;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPublished(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published)
+ {
+ $this->published = $published;
+ }
+ public function getPublished()
+ {
+ return $this->published;
+ }
+ public function setScoreMax($scoreMax)
+ {
+ $this->scoreMax = $scoreMax;
+ }
+ public function getScoreMax()
+ {
+ return $this->scoreMax;
+ }
+ public function setScoreMin($scoreMin)
+ {
+ $this->scoreMin = $scoreMin;
+ }
+ public function getScoreMin()
+ {
+ return $this->scoreMin;
+ }
+ public function setScoreOrder($scoreOrder)
+ {
+ $this->scoreOrder = $scoreOrder;
+ }
+ public function getScoreOrder()
+ {
+ return $this->scoreOrder;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
+
+class Google_Service_GamesConfiguration_LeaderboardConfigurationDetail extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $iconUrl;
+ public $kind;
+ protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
+ protected $nameDataType = '';
+ protected $scoreFormatType = 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration';
+ protected $scoreFormatDataType = '';
+ public $sortRank;
+
+
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat)
+ {
+ $this->scoreFormat = $scoreFormat;
+ }
+ public function getScoreFormat()
+ {
+ return $this->scoreFormat;
+ }
+ public function setSortRank($sortRank)
+ {
+ $this->sortRank = $sortRank;
+ }
+ public function getSortRank()
+ {
+ return $this->sortRank;
+ }
+}
+
+class Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_GamesConfiguration_LeaderboardConfiguration';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_GamesConfiguration_LocalizedString extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $locale;
+ public $value;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocale($locale)
+ {
+ $this->locale = $locale;
+ }
+ public function getLocale()
+ {
+ return $this->locale;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_GamesConfiguration_LocalizedStringBundle extends Google_Collection
+{
+ protected $collection_key = 'translations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $translationsType = 'Google_Service_GamesConfiguration_LocalizedString';
+ protected $translationsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setTranslations($translations)
+ {
+ $this->translations = $translations;
+ }
+ public function getTranslations()
+ {
+ return $this->translations;
+ }
+}
From 9c0cedd51cd780c2a6c235655f981abc041e02c3 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* Lets you analyze the performance of a web page and get tailored suggestions
@@ -44,8 +44,8 @@ class Google_Service_Pagespeedonline extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'pagespeedonline/v1/';
- $this->version = 'v1';
+ $this->servicePath = 'pagespeedonline/v2/';
+ $this->version = 'v2';
$this->serviceName = 'pagespeedonline';
$this->pagespeedapi = new Google_Service_Pagespeedonline_Pagespeedapi_Resource(
@@ -105,8 +105,8 @@ class Google_Service_Pagespeedonline_Pagespeedapi_Resource extends Google_Servic
{
/**
- * Runs Page Speed analysis on the page at the specified URL, and returns a Page
- * Speed score, a list of suggestions to make that page faster, and other
+ * Runs PageSpeed analysis on the page at the specified URL, and returns
+ * PageSpeed scores, a list of suggestions to make that page faster, and other
* information. (pagespeedapi.runpagespeed)
*
* @param string $url The URL to fetch and analyze
@@ -115,7 +115,7 @@ class Google_Service_Pagespeedonline_Pagespeedapi_Resource extends Google_Servic
* @opt_param bool screenshot Indicates if binary data containing a screenshot
* should be included
* @opt_param string locale The locale used to localize formatted results
- * @opt_param string rule A Page Speed rule to run; if none are given, all rules
+ * @opt_param string rule A PageSpeed rule to run; if none are given, all rules
* are run
* @opt_param string strategy The analysis strategy to use
* @opt_param bool filter_third_party_resources Indicates if third party
@@ -133,6 +133,288 @@ public function runpagespeed($url, $optParams = array())
+class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 extends Google_Collection
+{
+ protected $collection_key = 'args';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $argsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args';
+ protected $argsDataType = 'array';
+ public $format;
+
+
+ public function setArgs($args)
+ {
+ $this->args = $args;
+ }
+ public function getArgs()
+ {
+ return $this->args;
+ }
+ public function setFormat($format)
+ {
+ $this->format = $format;
+ }
+ public function getFormat()
+ {
+ return $this->format;
+ }
+}
+
+class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2Args extends Google_Collection
+{
+ protected $collection_key = 'secondary_rects';
+ protected $internal_gapi_mappings = array(
+ "secondaryRects" => "secondary_rects",
+ );
+ public $key;
+ protected $rectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects';
+ protected $rectsDataType = 'array';
+ protected $secondaryRectsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects';
+ protected $secondaryRectsDataType = 'array';
+ public $type;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setRects($rects)
+ {
+ $this->rects = $rects;
+ }
+ public function getRects()
+ {
+ return $this->rects;
+ }
+ public function setSecondaryRects($secondaryRects)
+ {
+ $this->secondaryRects = $secondaryRects;
+ }
+ public function getSecondaryRects()
+ {
+ return $this->secondaryRects;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsRects extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $left;
+ public $top;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Pagespeedonline_PagespeedApiFormatStringV2ArgsSecondaryRects extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $left;
+ public $top;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Pagespeedonline_PagespeedApiImageV2 extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "mimeType" => "mime_type",
+ "pageRect" => "page_rect",
+ );
+ public $data;
+ public $height;
+ public $key;
+ public $mimeType;
+ protected $pageRectType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect';
+ protected $pageRectDataType = '';
+ public $width;
+
+
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setMimeType($mimeType)
+ {
+ $this->mimeType = $mimeType;
+ }
+ public function getMimeType()
+ {
+ return $this->mimeType;
+ }
+ public function setPageRect(Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect $pageRect)
+ {
+ $this->pageRect = $pageRect;
+ }
+ public function getPageRect()
+ {
+ return $this->pageRect;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
+class Google_Service_Pagespeedonline_PagespeedApiImageV2PageRect extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $height;
+ public $left;
+ public $top;
+ public $width;
+
+
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLeft($left)
+ {
+ $this->left = $left;
+ }
+ public function getLeft()
+ {
+ return $this->left;
+ }
+ public function setTop($top)
+ {
+ $this->top = $top;
+ }
+ public function getTop()
+ {
+ return $this->top;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
class Google_Service_Pagespeedonline_Result extends Google_Collection
{
protected $collection_key = 'invalidRules';
@@ -146,8 +428,9 @@ class Google_Service_Pagespeedonline_Result extends Google_Collection
protected $pageStatsType = 'Google_Service_Pagespeedonline_ResultPageStats';
protected $pageStatsDataType = '';
public $responseCode;
- public $score;
- protected $screenshotType = 'Google_Service_Pagespeedonline_ResultScreenshot';
+ protected $ruleGroupsType = 'Google_Service_Pagespeedonline_ResultRuleGroupsElement';
+ protected $ruleGroupsDataType = 'map';
+ protected $screenshotType = 'Google_Service_Pagespeedonline_PagespeedApiImageV2';
protected $screenshotDataType = '';
public $title;
protected $versionType = 'Google_Service_Pagespeedonline_ResultVersion';
@@ -202,15 +485,15 @@ public function getResponseCode()
{
return $this->responseCode;
}
- public function setScore($score)
+ public function setRuleGroups($ruleGroups)
{
- $this->score = $score;
+ $this->ruleGroups = $ruleGroups;
}
- public function getScore()
+ public function getRuleGroups()
{
- return $this->score;
+ return $this->ruleGroups;
}
- public function setScreenshot(Google_Service_Pagespeedonline_ResultScreenshot $screenshot)
+ public function setScreenshot(Google_Service_Pagespeedonline_PagespeedApiImageV2 $screenshot)
{
$this->screenshot = $screenshot;
}
@@ -272,12 +555,23 @@ class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElement ex
protected $collection_key = 'urlBlocks';
protected $internal_gapi_mappings = array(
);
+ public $groups;
public $localizedRuleName;
public $ruleImpact;
+ protected $summaryType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
+ protected $summaryDataType = '';
protected $urlBlocksType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocks';
protected $urlBlocksDataType = 'array';
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
public function setLocalizedRuleName($localizedRuleName)
{
$this->localizedRuleName = $localizedRuleName;
@@ -294,6 +588,14 @@ public function getRuleImpact()
{
return $this->ruleImpact;
}
+ public function setSummary(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $summary)
+ {
+ $this->summary = $summary;
+ }
+ public function getSummary()
+ {
+ return $this->summary;
+ }
public function setUrlBlocks($urlBlocks)
{
$this->urlBlocks = $urlBlocks;
@@ -309,13 +611,13 @@ class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrl
protected $collection_key = 'urls';
protected $internal_gapi_mappings = array(
);
- protected $headerType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader';
+ protected $headerType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
protected $headerDataType = '';
protected $urlsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls';
protected $urlsDataType = 'array';
- public function setHeader(Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader $header)
+ public function setHeader(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $header)
{
$this->header = $header;
}
@@ -333,68 +635,14 @@ public function getUrls()
}
}
-class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeader extends Google_Collection
-{
- protected $collection_key = 'args';
- protected $internal_gapi_mappings = array(
- );
- protected $argsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs';
- protected $argsDataType = 'array';
- public $format;
-
-
- public function setArgs($args)
- {
- $this->args = $args;
- }
- public function getArgs()
- {
- return $this->args;
- }
- public function setFormat($format)
- {
- $this->format = $format;
- }
- public function getFormat()
- {
- return $this->format;
- }
-}
-
-class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksHeaderArgs extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $type;
- public $value;
-
-
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrls extends Google_Collection
{
protected $collection_key = 'details';
protected $internal_gapi_mappings = array(
);
- protected $detailsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails';
+ protected $detailsType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
protected $detailsDataType = 'array';
- protected $resultType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult';
+ protected $resultType = 'Google_Service_Pagespeedonline_PagespeedApiFormatStringV2';
protected $resultDataType = '';
@@ -406,7 +654,7 @@ public function getDetails()
{
return $this->details;
}
- public function setResult(Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult $result)
+ public function setResult(Google_Service_Pagespeedonline_PagespeedApiFormatStringV2 $result)
{
$this->result = $result;
}
@@ -416,114 +664,6 @@ public function getResult()
}
}
-class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetails extends Google_Collection
-{
- protected $collection_key = 'args';
- protected $internal_gapi_mappings = array(
- );
- protected $argsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs';
- protected $argsDataType = 'array';
- public $format;
-
-
- public function setArgs($args)
- {
- $this->args = $args;
- }
- public function getArgs()
- {
- return $this->args;
- }
- public function setFormat($format)
- {
- $this->format = $format;
- }
- public function getFormat()
- {
- return $this->format;
- }
-}
-
-class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsDetailsArgs extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $type;
- public $value;
-
-
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResult extends Google_Collection
-{
- protected $collection_key = 'args';
- protected $internal_gapi_mappings = array(
- );
- protected $argsType = 'Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs';
- protected $argsDataType = 'array';
- public $format;
-
-
- public function setArgs($args)
- {
- $this->args = $args;
- }
- public function getArgs()
- {
- return $this->args;
- }
- public function setFormat($format)
- {
- $this->format = $format;
- }
- public function getFormat()
- {
- return $this->format;
- }
-}
-
-class Google_Service_Pagespeedonline_ResultFormattedResultsRuleResultsElementUrlBlocksUrlsResultArgs extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $type;
- public $value;
-
-
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
class Google_Service_Pagespeedonline_ResultPageStats extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -649,48 +789,24 @@ public function getTotalRequestBytes()
}
}
-class Google_Service_Pagespeedonline_ResultScreenshot extends Google_Model
+class Google_Service_Pagespeedonline_ResultRuleGroups extends Google_Model
+{
+}
+
+class Google_Service_Pagespeedonline_ResultRuleGroupsElement extends Google_Model
{
protected $internal_gapi_mappings = array(
- "mimeType" => "mime_type",
);
- public $data;
- public $height;
- public $mimeType;
- public $width;
+ public $score;
- public function setData($data)
- {
- $this->data = $data;
- }
- public function getData()
- {
- return $this->data;
- }
- public function setHeight($height)
- {
- $this->height = $height;
- }
- public function getHeight()
- {
- return $this->height;
- }
- public function setMimeType($mimeType)
- {
- $this->mimeType = $mimeType;
- }
- public function getMimeType()
- {
- return $this->mimeType;
- }
- public function setWidth($width)
+ public function setScore($score)
{
- $this->width = $width;
+ $this->score = $score;
}
- public function getWidth()
+ public function getScore()
{
- return $this->width;
+ return $this->score;
}
}
From c631d8679bc0acbdb3a333a216073c304cb94a76 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Cloudlatencytest extends Google_Service +{ + /** View monitoring data for all of your Google Cloud and API projects. */ + const MONITORING_READONLY = + "https://www.googleapis.com/auth/monitoring.readonly"; + + public $statscollection; + + + /** + * Constructs the internal representation of the Cloudlatencytest service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'v2/statscollection/'; + $this->version = 'v2'; + $this->serviceName = 'cloudlatencytest'; + + $this->statscollection = new Google_Service_Cloudlatencytest_Statscollection_Resource( + $this, + $this->serviceName, + 'statscollection', + array( + 'methods' => array( + 'updateaggregatedstats' => array( + 'path' => 'updateaggregatedstats', + 'httpMethod' => 'POST', + 'parameters' => array(), + ),'updatestats' => array( + 'path' => 'updatestats', + 'httpMethod' => 'POST', + 'parameters' => array(), + ), + ) + ) + ); + } +} + + +/** + * The "statscollection" collection of methods. + * Typical usage is: + *
+ * $cloudlatencytestService = new Google_Service_Cloudlatencytest(...);
+ * $statscollection = $cloudlatencytestService->statscollection;
+ *
+ */
+class Google_Service_Cloudlatencytest_Statscollection_Resource extends Google_Service_Resource
+{
+
+ /**
+ * RPC to update the new TCP stats. (statscollection.updateaggregatedstats)
+ *
+ * @param Google_AggregatedStats $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudlatencytest_AggregatedStatsReply
+ */
+ public function updateaggregatedstats(Google_Service_Cloudlatencytest_AggregatedStats $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updateaggregatedstats', array($params), "Google_Service_Cloudlatencytest_AggregatedStatsReply");
+ }
+
+ /**
+ * RPC to update the new TCP stats. (statscollection.updatestats)
+ *
+ * @param Google_Stats $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudlatencytest_StatsReply
+ */
+ public function updatestats(Google_Service_Cloudlatencytest_Stats $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatestats', array($params), "Google_Service_Cloudlatencytest_StatsReply");
+ }
+}
+
+
+
+
+class Google_Service_Cloudlatencytest_AggregatedStats extends Google_Collection
+{
+ protected $collection_key = 'stats';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $statsType = 'Google_Service_Cloudlatencytest_Stats';
+ protected $statsDataType = 'array';
+
+
+ public function setStats($stats)
+ {
+ $this->stats = $stats;
+ }
+ public function getStats()
+ {
+ return $this->stats;
+ }
+}
+
+class Google_Service_Cloudlatencytest_AggregatedStatsReply extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $testValue;
+
+
+ public function setTestValue($testValue)
+ {
+ $this->testValue = $testValue;
+ }
+ public function getTestValue()
+ {
+ return $this->testValue;
+ }
+}
+
+class Google_Service_Cloudlatencytest_DoubleValue extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ public $value;
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Cloudlatencytest_IntValue extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ public $value;
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Cloudlatencytest_Stats extends Google_Collection
+{
+ protected $collection_key = 'stringValues';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $doubleValuesType = 'Google_Service_Cloudlatencytest_DoubleValue';
+ protected $doubleValuesDataType = 'array';
+ protected $intValuesType = 'Google_Service_Cloudlatencytest_IntValue';
+ protected $intValuesDataType = 'array';
+ protected $stringValuesType = 'Google_Service_Cloudlatencytest_StringValue';
+ protected $stringValuesDataType = 'array';
+ public $time;
+
+
+ public function setDoubleValues($doubleValues)
+ {
+ $this->doubleValues = $doubleValues;
+ }
+ public function getDoubleValues()
+ {
+ return $this->doubleValues;
+ }
+ public function setIntValues($intValues)
+ {
+ $this->intValues = $intValues;
+ }
+ public function getIntValues()
+ {
+ return $this->intValues;
+ }
+ public function setStringValues($stringValues)
+ {
+ $this->stringValues = $stringValues;
+ }
+ public function getStringValues()
+ {
+ return $this->stringValues;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Google_Service_Cloudlatencytest_StatsReply extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $testValue;
+
+
+ public function setTestValue($testValue)
+ {
+ $this->testValue = $testValue;
+ }
+ public function getTestValue()
+ {
+ return $this->testValue;
+ }
+}
+
+class Google_Service_Cloudlatencytest_StringValue extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ public $value;
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From 782b1b25b703165db616eb75b8accfec2e3d6220 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...);
- * $updates = $replicapoolupdaterService->updates;
+ * $rollingUpdates = $replicapoolupdaterService->rollingUpdates;
*
*/
-class Google_Service_Replicapoolupdater_Updates_Resource extends Google_Service_Resource
+class Google_Service_Replicapoolupdater_RollingUpdates_Resource extends Google_Service_Resource
{
/**
- * Called on the particular Update endpoint. Cancels the update in state PAUSED.
- * No-op if invoked in state CANCELLED. (updates.cancel)
+ * Cancels an update. The update must be PAUSED before it can be cancelled. This
+ * has no effect if the update is already CANCELLED. (rollingUpdates.cancel)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
+ * @param string $rollingUpdate The name of the update.
* @param array $optParams Optional parameters.
*/
- public function cancel($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ public function cancel($project, $zone, $rollingUpdate, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params));
}
/**
- * Called on the particular Update endpoint. Returns the Update resource.
- * (updates.get)
+ * Returns information about an update. (rollingUpdates.get)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
+ * @param string $rollingUpdate The name of the update.
* @param array $optParams Optional parameters.
- * @return Google_Service_Replicapoolupdater_Update
+ * @return Google_Service_Replicapoolupdater_RollingUpdate
*/
- public function get($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ public function get($project, $zone, $rollingUpdate, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Update");
+ return $this->call('get', array($params), "Google_Service_Replicapoolupdater_RollingUpdate");
}
/**
- * Called on the collection endpoint. Inserts the new Update resource and starts
- * the update. (updates.insert)
+ * Inserts and starts a new update. (rollingUpdates.insert)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param Google_Update $postBody
+ * @param Google_RollingUpdate $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Replicapoolupdater_InsertResponse
*/
- public function insert($project, $zone, $instanceGroupManager, Google_Service_Replicapoolupdater_Update $postBody, $optParams = array())
+ public function insert($project, $zone, Google_Service_Replicapoolupdater_RollingUpdate $postBody, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'postBody' => $postBody);
+ $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Replicapoolupdater_InsertResponse");
}
/**
- * Called on the collection endpoint. Lists updates for a given instance group,
- * in reverse chronological order. Pagination is supported, see
- * ListRequestHeader. (updates.listUpdates)
+ * Lists recent updates for a given managed instance group, in reverse
+ * chronological order and paginated format. (rollingUpdates.listRollingUpdates)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken Set this to the nextPageToken value returned by a
@@ -384,114 +316,93 @@ public function insert($project, $zone, $instanceGroupManager, Google_Service_Re
* list request.
* @opt_param int maxResults Maximum count of results to be returned. Acceptable
* values are 1 to 100, inclusive. (Default: 50)
- * @return Google_Service_Replicapoolupdater_UpdateList
+ * @opt_param string instanceGroupManager The name of the instance group
+ * manager.
+ * @return Google_Service_Replicapoolupdater_RollingUpdateList
*/
- public function listUpdates($project, $zone, $instanceGroupManager, $optParams = array())
+ public function listRollingUpdates($project, $zone, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager);
+ $params = array('project' => $project, 'zone' => $zone);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Replicapoolupdater_UpdateList");
+ return $this->call('list', array($params), "Google_Service_Replicapoolupdater_RollingUpdateList");
}
/**
- * Called on the particular Update endpoint. Lists instance updates for a given
- * update. (updates.listInstanceUpdates)
+ * Lists the current status for each instance within a given update.
+ * (rollingUpdates.listInstanceUpdates)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
+ * @param string $rollingUpdate The name of the update.
* @param array $optParams Optional parameters.
*
- * @opt_param int maxResults Maximum count of results to be returned. Acceptable
- * values are 1 to 100, inclusive. (Default: 50)
* @opt_param string pageToken Set this to the nextPageToken value returned by a
* previous list request to obtain the next page of results from the previous
* list request.
+ * @opt_param int maxResults Maximum count of results to be returned. Acceptable
+ * values are 1 to 100, inclusive. (Default: 50)
* @return Google_Service_Replicapoolupdater_InstanceUpdateList
*/
- public function listInstanceUpdates($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ public function listInstanceUpdates($project, $zone, $rollingUpdate, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
$params = array_merge($params, $optParams);
return $this->call('listInstanceUpdates', array($params), "Google_Service_Replicapoolupdater_InstanceUpdateList");
}
/**
- * Called on the particular Update endpoint. Pauses the update in state
- * ROLLING_FORWARD or ROLLING_BACK. No-op if invoked in state PAUSED.
- * (updates.pause)
+ * Pauses the update in state from ROLLING_FORWARD or ROLLING_BACK. Has no
+ * effect if invoked when the state of the update is PAUSED.
+ * (rollingUpdates.pause)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
+ * @param string $rollingUpdate The name of the update.
* @param array $optParams Optional parameters.
*/
- public function pause($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ public function pause($project, $zone, $rollingUpdate, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
$params = array_merge($params, $optParams);
return $this->call('pause', array($params));
}
/**
- * Called on the particular Update endpoint. Resumes the update in state PAUSED.
- * No-op if invoked in state ROLLING_FORWARD or ROLLING_BACK. (updates.resume)
+ * Continues an update in PAUSED state. Has no effect if invoked when the state
+ * of the update is ROLLED_OUT. (rollingUpdates.resume)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
+ * @param string $rollingUpdate The name of the update.
* @param array $optParams Optional parameters.
*/
- public function resume($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ public function resume($project, $zone, $rollingUpdate, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
$params = array_merge($params, $optParams);
return $this->call('resume', array($params));
}
/**
- * Called on the particular Update endpoint. Rolls back the update in state
- * ROLLING_FORWARD or PAUSED. No-op if invoked in state ROLLED_BACK or
- * ROLLING_BACK. (updates.rollback)
+ * Rolls back the update in state from ROLLING_FORWARD or PAUSED. Has no effect
+ * if invoked when the state of the update is ROLLED_BACK.
+ * (rollingUpdates.rollback)
*
* @param string $project The Google Developers Console project name.
* @param string $zone The name of the zone in which the update's target
* resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
+ * @param string $rollingUpdate The name of the update.
* @param array $optParams Optional parameters.
*/
- public function rollback($project, $zone, $instanceGroupManager, $update, $optParams = array())
+ public function rollback($project, $zone, $rollingUpdate, $optParams = array())
{
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
+ $params = array('project' => $project, 'zone' => $zone, 'rollingUpdate' => $rollingUpdate);
$params = array_merge($params, $optParams);
return $this->call('rollback', array($params));
}
-
- /**
- * Called on the particular Update endpoint. Rolls forward the update in state
- * PAUSED before ordering it to roll back. No-op if invoked in state ROLLED_OUT
- * or ROLLING_FORWARD. (updates.rollforward)
- *
- * @param string $project The Google Developers Console project name.
- * @param string $zone The name of the zone in which the update's target
- * resides.
- * @param string $instanceGroupManager The name of the instance group manager.
- * @param string $update The id of the update.
- * @param array $optParams Optional parameters.
- */
- public function rollforward($project, $zone, $instanceGroupManager, $update, $optParams = array())
- {
- $params = array('project' => $project, 'zone' => $zone, 'instanceGroupManager' => $instanceGroupManager, 'update' => $update);
- $params = array_merge($params, $optParams);
- return $this->call('rollforward', array($params));
- }
}
@@ -501,16 +412,16 @@ class Google_Service_Replicapoolupdater_InsertResponse extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $update;
+ public $rollingUpdate;
- public function setUpdate($update)
+ public function setRollingUpdate($rollingUpdate)
{
- $this->update = $update;
+ $this->rollingUpdate = $rollingUpdate;
}
- public function getUpdate()
+ public function getRollingUpdate()
{
- return $this->update;
+ return $this->rollingUpdate;
}
}
@@ -586,7 +497,7 @@ public function getSelfLink()
}
}
-class Google_Service_Replicapoolupdater_Update extends Google_Model
+class Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model
{
protected $internal_gapi_mappings = array(
);
@@ -595,7 +506,7 @@ class Google_Service_Replicapoolupdater_Update extends Google_Model
public $instanceGroupManager;
public $instanceTemplate;
public $kind;
- protected $policyType = 'Google_Service_Replicapoolupdater_UpdatePolicy';
+ protected $policyType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicy';
protected $policyDataType = '';
public $progress;
public $selfLink;
@@ -644,7 +555,7 @@ public function getKind()
{
return $this->kind;
}
- public function setPolicy(Google_Service_Replicapoolupdater_UpdatePolicy $policy)
+ public function setPolicy(Google_Service_Replicapoolupdater_RollingUpdatePolicy $policy)
{
$this->policy = $policy;
}
@@ -694,12 +605,12 @@ public function getUser()
}
}
-class Google_Service_Replicapoolupdater_UpdateList extends Google_Collection
+class Google_Service_Replicapoolupdater_RollingUpdateList extends Google_Collection
{
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
- protected $itemsType = 'Google_Service_Replicapoolupdater_Update';
+ protected $itemsType = 'Google_Service_Replicapoolupdater_RollingUpdate';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -740,17 +651,17 @@ public function getSelfLink()
}
}
-class Google_Service_Replicapoolupdater_UpdatePolicy extends Google_Model
+class Google_Service_Replicapoolupdater_RollingUpdatePolicy extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $canaryType = 'Google_Service_Replicapoolupdater_UpdatePolicyCanary';
+ protected $canaryType = 'Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary';
protected $canaryDataType = '';
public $maxNumConcurrentInstances;
public $sleepAfterInstanceRestartSec;
- public function setCanary(Google_Service_Replicapoolupdater_UpdatePolicyCanary $canary)
+ public function setCanary(Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary $canary)
{
$this->canary = $canary;
}
@@ -776,7 +687,7 @@ public function getSleepAfterInstanceRestartSec()
}
}
-class Google_Service_Replicapoolupdater_UpdatePolicyCanary extends Google_Model
+class Google_Service_Replicapoolupdater_RollingUpdatePolicyCanary extends Google_Model
{
protected $internal_gapi_mappings = array(
);
From bf58f98b5ee2ae14139792d921fb84de01c97a85 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $annotationSets = $genomicsService->annotationSets;
+ *
+ */
+class Google_Service_Genomics_AnnotationSets_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new annotation set. Caller must have WRITE permission for the
+ * associated dataset. (annotationSets.create)
+ *
+ * @param Google_AnnotationSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function create(Google_Service_Genomics_AnnotationSet $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+
+ /**
+ * Deletes an annotation set. Caller must have WRITE permission for the
+ * associated annotation set. (annotationSets.delete)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($annotationSetId, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets an annotation set. Caller must have READ permission for the associated
+ * dataset. (annotationSets.get)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function get($annotationSetId, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+
+ /**
+ * Updates an annotation set. The update must respect all mutability
+ * restrictions and other invariants described on the annotation set resource.
+ * Caller must have WRITE permission for the associated dataset. This method
+ * supports patch semantics. (annotationSets.patch)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be updated.
+ * @param Google_AnnotationSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function patch($annotationSetId, Google_Service_Genomics_AnnotationSet $postBody, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+
+ /**
+ * Searches for annotation sets which match the given criteria. Results are
+ * returned in a deterministic order. Caller must have READ permission for the
+ * queried datasets. (annotationSets.search)
+ *
+ * @param Google_SearchAnnotationSetsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchAnnotationSetsResponse
+ */
+ public function search(Google_Service_Genomics_SearchAnnotationSetsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchAnnotationSetsResponse");
+ }
+
+ /**
+ * Updates an annotation set. The update must respect all mutability
+ * restrictions and other invariants described on the annotation set resource.
+ * Caller must have WRITE permission for the associated dataset.
+ * (annotationSets.update)
+ *
+ * @param string $annotationSetId The ID of the annotation set to be updated.
+ * @param Google_AnnotationSet $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_AnnotationSet
+ */
+ public function update($annotationSetId, Google_Service_Genomics_AnnotationSet $postBody, $optParams = array())
+ {
+ $params = array('annotationSetId' => $annotationSetId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_AnnotationSet");
+ }
+}
+
+/**
+ * The "annotations" collection of methods.
+ * Typical usage is:
+ *
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $annotations = $genomicsService->annotations;
+ *
+ */
+class Google_Service_Genomics_Annotations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a new annotation. Caller must have WRITE permission for the
+ * associated annotation set. (annotations.create)
+ *
+ * @param Google_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function create(Google_Service_Genomics_Annotation $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Genomics_Annotation");
+ }
+
+ /**
+ * Deletes an annotation. Caller must have WRITE permission for the associated
+ * annotation set. (annotations.delete)
+ *
+ * @param string $annotationId The ID of the annotation set to be deleted.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($annotationId, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Gets an annotation. Caller must have READ permission for the associated
+ * annotation set. (annotations.get)
+ *
+ * @param string $annotationId The ID of the annotation set to be retrieved.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function get($annotationId, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Genomics_Annotation");
+ }
+
+ /**
+ * Updates an annotation. The update must respect all mutability restrictions
+ * and other invariants described on the annotation resource. Caller must have
+ * WRITE permission for the associated dataset. This method supports patch
+ * semantics. (annotations.patch)
+ *
+ * @param string $annotationId The ID of the annotation set to be updated.
+ * @param Google_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function patch($annotationId, Google_Service_Genomics_Annotation $postBody, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Genomics_Annotation");
+ }
+
+ /**
+ * Searches for annotations which match the given criteria. Results are returned
+ * ordered by start position. Annotations which have matching start positions
+ * are ordered deterministically. Caller must have READ permission for the
+ * queried annotation sets. (annotations.search)
+ *
+ * @param Google_SearchAnnotationsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_SearchAnnotationsResponse
+ */
+ public function search(Google_Service_Genomics_SearchAnnotationsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Genomics_SearchAnnotationsResponse");
+ }
+
+ /**
+ * Updates an annotation. The update must respect all mutability restrictions
+ * and other invariants described on the annotation resource. Caller must have
+ * WRITE permission for the associated dataset. (annotations.update)
+ *
+ * @param string $annotationId The ID of the annotation set to be updated.
+ * @param Google_Annotation $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Annotation
+ */
+ public function update($annotationId, Google_Service_Genomics_Annotation $postBody, $optParams = array())
+ {
+ $params = array('annotationId' => $annotationId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Genomics_Annotation");
+ }
+}
+
/**
* The "callsets" collection of methods.
* Typical usage is:
@@ -1612,54 +1946,216 @@ public function getJobId()
}
}
-class Google_Service_Genomics_CallReadGroupSetsRequest extends Google_Collection
+class Google_Service_Genomics_Annotation extends Google_Model
{
- protected $collection_key = 'sourceUris';
protected $internal_gapi_mappings = array(
);
- public $datasetId;
- public $readGroupSetId;
- public $sourceUris;
+ public $annotationSetId;
+ public $id;
+ public $info;
+ public $name;
+ protected $positionType = 'Google_Service_Genomics_RangePosition';
+ protected $positionDataType = '';
+ protected $transcriptType = 'Google_Service_Genomics_Transcript';
+ protected $transcriptDataType = '';
+ public $type;
+ protected $variantType = 'Google_Service_Genomics_VariantAnnotation';
+ protected $variantDataType = '';
- public function setDatasetId($datasetId)
+ public function setAnnotationSetId($annotationSetId)
{
- $this->datasetId = $datasetId;
+ $this->annotationSetId = $annotationSetId;
}
- public function getDatasetId()
+ public function getAnnotationSetId()
{
- return $this->datasetId;
+ return $this->annotationSetId;
}
- public function setReadGroupSetId($readGroupSetId)
+ public function setId($id)
{
- $this->readGroupSetId = $readGroupSetId;
+ $this->id = $id;
}
- public function getReadGroupSetId()
+ public function getId()
{
- return $this->readGroupSetId;
+ return $this->id;
}
- public function setSourceUris($sourceUris)
+ public function setInfo($info)
{
- $this->sourceUris = $sourceUris;
+ $this->info = $info;
}
- public function getSourceUris()
+ public function getInfo()
{
- return $this->sourceUris;
+ return $this->info;
}
-}
-
-class Google_Service_Genomics_CallReadGroupSetsResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $jobId;
-
-
- public function setJobId($jobId)
+ public function setName($name)
{
- $this->jobId = $jobId;
+ $this->name = $name;
}
- public function getJobId()
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPosition(Google_Service_Genomics_RangePosition $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setTranscript(Google_Service_Genomics_Transcript $transcript)
+ {
+ $this->transcript = $transcript;
+ }
+ public function getTranscript()
+ {
+ return $this->transcript;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setVariant(Google_Service_Genomics_VariantAnnotation $variant)
+ {
+ $this->variant = $variant;
+ }
+ public function getVariant()
+ {
+ return $this->variant;
+ }
+}
+
+class Google_Service_Genomics_AnnotationInfo extends Google_Model
+{
+}
+
+class Google_Service_Genomics_AnnotationSet extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $id;
+ public $info;
+ public $name;
+ public $referenceSetId;
+ public $sourceUri;
+ public $type;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInfo($info)
+ {
+ $this->info = $info;
+ }
+ public function getInfo()
+ {
+ return $this->info;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+ public function setSourceUri($sourceUri)
+ {
+ $this->sourceUri = $sourceUri;
+ }
+ public function getSourceUri()
+ {
+ return $this->sourceUri;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Genomics_AnnotationSetInfo extends Google_Model
+{
+}
+
+class Google_Service_Genomics_CallReadGroupSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'sourceUris';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetId;
+ public $readGroupSetId;
+ public $sourceUris;
+
+
+ public function setDatasetId($datasetId)
+ {
+ $this->datasetId = $datasetId;
+ }
+ public function getDatasetId()
+ {
+ return $this->datasetId;
+ }
+ public function setReadGroupSetId($readGroupSetId)
+ {
+ $this->readGroupSetId = $readGroupSetId;
+ }
+ public function getReadGroupSetId()
+ {
+ return $this->readGroupSetId;
+ }
+ public function setSourceUris($sourceUris)
+ {
+ $this->sourceUris = $sourceUris;
+ }
+ public function getSourceUris()
+ {
+ return $this->sourceUris;
+ }
+}
+
+class Google_Service_Genomics_CallReadGroupSetsResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $jobId;
+
+
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
{
return $this->jobId;
}
@@ -2051,6 +2547,32 @@ public function getJobId()
}
}
+class Google_Service_Genomics_ExternalId extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $sourceName;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setSourceName($sourceName)
+ {
+ $this->sourceName = $sourceName;
+ }
+ public function getSourceName()
+ {
+ return $this->sourceName;
+ }
+}
+
class Google_Service_Genomics_FastqMetadata extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -2277,6 +2799,23 @@ public function getJobId()
}
}
+class Google_Service_Genomics_Int32Value extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $value;
+
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Genomics_InterleavedFastqSource extends Google_Collection
{
protected $collection_key = 'sourceUris';
@@ -2736,11 +3275,12 @@ public function getReverseStrand()
}
}
-class Google_Service_Genomics_Range extends Google_Model
+class Google_Service_Genomics_QueryRange extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $end;
+ public $referenceId;
public $referenceName;
public $start;
@@ -2753,6 +3293,14 @@ public function getEnd()
{
return $this->end;
}
+ public function setReferenceId($referenceId)
+ {
+ $this->referenceId = $referenceId;
+ }
+ public function getReferenceId()
+ {
+ return $this->referenceId;
+ }
public function setReferenceName($referenceName)
{
$this->referenceName = $referenceName;
@@ -2771,63 +3319,151 @@ public function getStart()
}
}
-class Google_Service_Genomics_Read extends Google_Collection
+class Google_Service_Genomics_Range extends Google_Model
{
- protected $collection_key = 'alignedQuality';
protected $internal_gapi_mappings = array(
);
- public $alignedQuality;
- public $alignedSequence;
- protected $alignmentType = 'Google_Service_Genomics_LinearAlignment';
- protected $alignmentDataType = '';
- public $duplicateFragment;
- public $failedVendorQualityChecks;
- public $fragmentLength;
- public $fragmentName;
- public $id;
- public $info;
- protected $nextMatePositionType = 'Google_Service_Genomics_Position';
- protected $nextMatePositionDataType = '';
- public $numberReads;
- public $properPlacement;
- public $readGroupId;
- public $readGroupSetId;
- public $readNumber;
- public $secondaryAlignment;
- public $supplementaryAlignment;
+ public $end;
+ public $referenceName;
+ public $start;
- public function setAlignedQuality($alignedQuality)
+ public function setEnd($end)
{
- $this->alignedQuality = $alignedQuality;
+ $this->end = $end;
}
- public function getAlignedQuality()
+ public function getEnd()
{
- return $this->alignedQuality;
+ return $this->end;
}
- public function setAlignedSequence($alignedSequence)
+ public function setReferenceName($referenceName)
{
- $this->alignedSequence = $alignedSequence;
+ $this->referenceName = $referenceName;
}
- public function getAlignedSequence()
+ public function getReferenceName()
{
- return $this->alignedSequence;
+ return $this->referenceName;
}
- public function setAlignment(Google_Service_Genomics_LinearAlignment $alignment)
+ public function setStart($start)
{
- $this->alignment = $alignment;
+ $this->start = $start;
}
- public function getAlignment()
+ public function getStart()
{
- return $this->alignment;
+ return $this->start;
}
- public function setDuplicateFragment($duplicateFragment)
+}
+
+class Google_Service_Genomics_RangePosition extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $referenceId;
+ public $referenceName;
+ public $reverseStrand;
+ public $start;
+
+
+ public function setEnd($end)
{
- $this->duplicateFragment = $duplicateFragment;
+ $this->end = $end;
}
- public function getDuplicateFragment()
+ public function getEnd()
{
- return $this->duplicateFragment;
+ return $this->end;
+ }
+ public function setReferenceId($referenceId)
+ {
+ $this->referenceId = $referenceId;
+ }
+ public function getReferenceId()
+ {
+ return $this->referenceId;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setReverseStrand($reverseStrand)
+ {
+ $this->reverseStrand = $reverseStrand;
+ }
+ public function getReverseStrand()
+ {
+ return $this->reverseStrand;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Genomics_Read extends Google_Collection
+{
+ protected $collection_key = 'alignedQuality';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alignedQuality;
+ public $alignedSequence;
+ protected $alignmentType = 'Google_Service_Genomics_LinearAlignment';
+ protected $alignmentDataType = '';
+ public $duplicateFragment;
+ public $failedVendorQualityChecks;
+ public $fragmentLength;
+ public $fragmentName;
+ public $id;
+ public $info;
+ protected $nextMatePositionType = 'Google_Service_Genomics_Position';
+ protected $nextMatePositionDataType = '';
+ public $numberReads;
+ public $properPlacement;
+ public $readGroupId;
+ public $readGroupSetId;
+ public $readNumber;
+ public $secondaryAlignment;
+ public $supplementaryAlignment;
+
+
+ public function setAlignedQuality($alignedQuality)
+ {
+ $this->alignedQuality = $alignedQuality;
+ }
+ public function getAlignedQuality()
+ {
+ return $this->alignedQuality;
+ }
+ public function setAlignedSequence($alignedSequence)
+ {
+ $this->alignedSequence = $alignedSequence;
+ }
+ public function getAlignedSequence()
+ {
+ return $this->alignedSequence;
+ }
+ public function setAlignment(Google_Service_Genomics_LinearAlignment $alignment)
+ {
+ $this->alignment = $alignment;
+ }
+ public function getAlignment()
+ {
+ return $this->alignment;
+ }
+ public function setDuplicateFragment($duplicateFragment)
+ {
+ $this->duplicateFragment = $duplicateFragment;
+ }
+ public function getDuplicateFragment()
+ {
+ return $this->duplicateFragment;
}
public function setFailedVendorQualityChecks($failedVendorQualityChecks)
{
@@ -3397,6 +4033,171 @@ public function getSourceURI()
}
}
+class Google_Service_Genomics_SearchAnnotationSetsRequest extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $internal_gapi_mappings = array(
+ );
+ public $datasetIds;
+ public $name;
+ public $pageSize;
+ public $pageToken;
+ public $referenceSetId;
+ public $types;
+
+
+ public function setDatasetIds($datasetIds)
+ {
+ $this->datasetIds = $datasetIds;
+ }
+ public function getDatasetIds()
+ {
+ return $this->datasetIds;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setReferenceSetId($referenceSetId)
+ {
+ $this->referenceSetId = $referenceSetId;
+ }
+ public function getReferenceSetId()
+ {
+ return $this->referenceSetId;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
+
+class Google_Service_Genomics_SearchAnnotationSetsResponse extends Google_Collection
+{
+ protected $collection_key = 'annotationSets';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $annotationSetsType = 'Google_Service_Genomics_AnnotationSet';
+ protected $annotationSetsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setAnnotationSets($annotationSets)
+ {
+ $this->annotationSets = $annotationSets;
+ }
+ public function getAnnotationSets()
+ {
+ return $this->annotationSets;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Genomics_SearchAnnotationsRequest extends Google_Collection
+{
+ protected $collection_key = 'annotationSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $annotationSetIds;
+ public $pageSize;
+ public $pageToken;
+ protected $rangeType = 'Google_Service_Genomics_QueryRange';
+ protected $rangeDataType = '';
+
+
+ public function setAnnotationSetIds($annotationSetIds)
+ {
+ $this->annotationSetIds = $annotationSetIds;
+ }
+ public function getAnnotationSetIds()
+ {
+ return $this->annotationSetIds;
+ }
+ public function setPageSize($pageSize)
+ {
+ $this->pageSize = $pageSize;
+ }
+ public function getPageSize()
+ {
+ return $this->pageSize;
+ }
+ public function setPageToken($pageToken)
+ {
+ $this->pageToken = $pageToken;
+ }
+ public function getPageToken()
+ {
+ return $this->pageToken;
+ }
+ public function setRange(Google_Service_Genomics_QueryRange $range)
+ {
+ $this->range = $range;
+ }
+ public function getRange()
+ {
+ return $this->range;
+ }
+}
+
+class Google_Service_Genomics_SearchAnnotationsResponse extends Google_Collection
+{
+ protected $collection_key = 'annotations';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $annotationsType = 'Google_Service_Genomics_Annotation';
+ protected $annotationsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setAnnotations($annotations)
+ {
+ $this->annotations = $annotations;
+ }
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Genomics_SearchCallSetsRequest extends Google_Collection
{
protected $collection_key = 'variantSetIds';
@@ -4071,6 +4872,106 @@ public function getVariants()
}
}
+class Google_Service_Genomics_Transcript extends Google_Collection
+{
+ protected $collection_key = 'exons';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $codingSequenceType = 'Google_Service_Genomics_TranscriptCodingSequence';
+ protected $codingSequenceDataType = '';
+ protected $exonsType = 'Google_Service_Genomics_TranscriptExon';
+ protected $exonsDataType = 'array';
+ public $geneId;
+
+
+ public function setCodingSequence(Google_Service_Genomics_TranscriptCodingSequence $codingSequence)
+ {
+ $this->codingSequence = $codingSequence;
+ }
+ public function getCodingSequence()
+ {
+ return $this->codingSequence;
+ }
+ public function setExons($exons)
+ {
+ $this->exons = $exons;
+ }
+ public function getExons()
+ {
+ return $this->exons;
+ }
+ public function setGeneId($geneId)
+ {
+ $this->geneId = $geneId;
+ }
+ public function getGeneId()
+ {
+ return $this->geneId;
+ }
+}
+
+class Google_Service_Genomics_TranscriptCodingSequence extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Genomics_TranscriptExon extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ protected $frameType = 'Google_Service_Genomics_Int32Value';
+ protected $frameDataType = '';
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setFrame(Google_Service_Genomics_Int32Value $frame)
+ {
+ $this->frame = $frame;
+ }
+ public function getFrame()
+ {
+ return $this->frame;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
class Google_Service_Genomics_Variant extends Google_Collection
{
protected $collection_key = 'names';
@@ -4198,6 +5099,125 @@ public function getVariantSetId()
}
}
+class Google_Service_Genomics_VariantAnnotation extends Google_Collection
+{
+ protected $collection_key = 'transcriptIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alternateBases;
+ public $clinicalSignificance;
+ protected $conditionsType = 'Google_Service_Genomics_VariantAnnotationCondition';
+ protected $conditionsDataType = 'array';
+ public $effect;
+ public $geneId;
+ public $transcriptIds;
+ public $type;
+
+
+ public function setAlternateBases($alternateBases)
+ {
+ $this->alternateBases = $alternateBases;
+ }
+ public function getAlternateBases()
+ {
+ return $this->alternateBases;
+ }
+ public function setClinicalSignificance($clinicalSignificance)
+ {
+ $this->clinicalSignificance = $clinicalSignificance;
+ }
+ public function getClinicalSignificance()
+ {
+ return $this->clinicalSignificance;
+ }
+ public function setConditions($conditions)
+ {
+ $this->conditions = $conditions;
+ }
+ public function getConditions()
+ {
+ return $this->conditions;
+ }
+ public function setEffect($effect)
+ {
+ $this->effect = $effect;
+ }
+ public function getEffect()
+ {
+ return $this->effect;
+ }
+ public function setGeneId($geneId)
+ {
+ $this->geneId = $geneId;
+ }
+ public function getGeneId()
+ {
+ return $this->geneId;
+ }
+ public function setTranscriptIds($transcriptIds)
+ {
+ $this->transcriptIds = $transcriptIds;
+ }
+ public function getTranscriptIds()
+ {
+ return $this->transcriptIds;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Genomics_VariantAnnotationCondition extends Google_Collection
+{
+ protected $collection_key = 'names';
+ protected $internal_gapi_mappings = array(
+ );
+ public $conceptId;
+ protected $externalIdsType = 'Google_Service_Genomics_ExternalId';
+ protected $externalIdsDataType = 'array';
+ public $names;
+ public $omimId;
+
+
+ public function setConceptId($conceptId)
+ {
+ $this->conceptId = $conceptId;
+ }
+ public function getConceptId()
+ {
+ return $this->conceptId;
+ }
+ public function setExternalIds($externalIds)
+ {
+ $this->externalIds = $externalIds;
+ }
+ public function getExternalIds()
+ {
+ return $this->externalIds;
+ }
+ public function setNames($names)
+ {
+ $this->names = $names;
+ }
+ public function getNames()
+ {
+ return $this->names;
+ }
+ public function setOmimId($omimId)
+ {
+ $this->omimId = $omimId;
+ }
+ public function getOmimId()
+ {
+ return $this->omimId;
+ }
+}
+
class Google_Service_Genomics_VariantInfo extends Google_Model
{
}
From f4b74e2b9385b09affda625f9c1ccdb6ff8b1a1d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $accountshipping = $contentService->accountshipping;
+ *
+ */
+class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves and updates the shipping settings of multiple accounts in a single
+ * request. (accountshipping.custombatch)
+ *
+ * @param Google_AccountshippingCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountshippingCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountshippingCustomBatchResponse");
+ }
+
+ /**
+ * Retrieves the shipping settings of the account. (accountshipping.get)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account shipping settings.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function get($merchantId, $accountId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+
+ /**
+ * Lists the shipping settings of the sub-accounts in your Merchant Center
+ * account. (accountshipping.listAccountshipping)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of shipping settings to
+ * return in the response, used for paging.
+ * @return Google_Service_ShoppingContent_AccountshippingListResponse
+ */
+ public function listAccountshipping($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountshippingListResponse");
+ }
+
+ /**
+ * Updates the shipping settings of the account. This method supports patch
+ * semantics. (accountshipping.patch)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account shipping settings.
+ * @param Google_AccountShipping $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+
+ /**
+ * Updates the shipping settings of the account. (accountshipping.update)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account shipping settings.
+ * @param Google_AccountShipping $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountShipping
+ */
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountShipping");
+ }
+}
+
/**
* The "accountstatuses" collection of methods.
* Typical usage is:
@@ -708,99 +961,196 @@ public function listAccountstatuses($merchantId, $optParams = array())
}
/**
- * The "datafeeds" collection of methods.
+ * The "accounttax" collection of methods.
* Typical usage is:
*
* $contentService = new Google_Service_ShoppingContent(...);
- * $datafeeds = $contentService->datafeeds;
+ * $accounttax = $contentService->accounttax;
*
*/
-class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource
+class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource
{
/**
- * (datafeeds.custombatch)
+ * Retrieves and updates tax settings of multiple accounts in a single request.
+ * (accounttax.custombatch)
*
- * @param Google_DatafeedsCustomBatchRequest $postBody
+ * @param Google_AccounttaxCustomBatchRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
+ * @return Google_Service_ShoppingContent_AccounttaxCustomBatchResponse
*/
- public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ public function custombatch(Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccounttaxCustomBatchResponse");
}
/**
- * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
+ * Retrieves the tax settings of the account. (accounttax.get)
*
- * @param string $merchantId
- * @param string $datafeedId
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account tax settings.
* @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_AccountTax
*/
- public function delete($merchantId, $datafeedId, $optParams = array())
+ public function get($merchantId, $accountId, $optParams = array())
{
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountTax");
}
/**
- * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
+ * Lists the tax settings of the sub-accounts in your Merchant Center account.
+ * (accounttax.listAccounttax)
*
- * @param string $merchantId
- * @param string $datafeedId
+ * @param string $merchantId The ID of the managing account.
* @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_Datafeed
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of tax settings to return in
+ * the response, used for paging.
+ * @return Google_Service_ShoppingContent_AccounttaxListResponse
*/
- public function get($merchantId, $datafeedId, $optParams = array())
+ public function listAccounttax($merchantId, $optParams = array())
{
- $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array('merchantId' => $merchantId);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed");
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_AccounttaxListResponse");
}
/**
- * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
+ * Updates the tax settings of the account. This method supports patch
+ * semantics. (accounttax.patch)
*
- * @param string $merchantId
- * @param Google_Datafeed $postBody
+ * @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account tax settings.
+ * @param Google_AccountTax $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_ShoppingContent_Datafeed
+ * @return Google_Service_ShoppingContent_AccountTax
*/
- public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
{
- $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed");
+ return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax");
}
/**
- * Lists the datafeeds in your Merchant Center account.
- * (datafeeds.listDatafeeds)
+ * Updates the tax settings of the account. (accounttax.update)
*
* @param string $merchantId The ID of the managing account.
+ * @param string $accountId The ID of the account for which to get/update
+ * account tax settings.
+ * @param Google_AccountTax $postBody
* @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken The token returned by the previous request.
- * @opt_param string maxResults The maximum number of products to return in the
- * response, used for paging.
- * @return Google_Service_ShoppingContent_DatafeedsListResponse
+ * @return Google_Service_ShoppingContent_AccountTax
*/
- public function listDatafeeds($merchantId, $optParams = array())
+ public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array())
{
- $params = array('merchantId' => $merchantId);
+ $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse");
+ return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountTax");
}
+}
- /**
- * Updates a datafeed of your Merchant Center account. This method supports
- * patch semantics. (datafeeds.patch)
- *
- * @param string $merchantId
- * @param string $datafeedId
+/**
+ * The "datafeeds" collection of methods.
+ * Typical usage is:
+ *
+ * $contentService = new Google_Service_ShoppingContent(...);
+ * $datafeeds = $contentService->datafeeds;
+ *
+ */
+class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (datafeeds.custombatch)
+ *
+ * @param Google_DatafeedsCustomBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse
+ */
+ public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse");
+ }
+
+ /**
+ * Deletes a datafeed from your Merchant Center account. (datafeeds.delete)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a datafeed from your Merchant Center account. (datafeeds.get)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function get($merchantId, $datafeedId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+
+ /**
+ * Registers a datafeed with your Merchant Center account. (datafeeds.insert)
+ *
+ * @param string $merchantId
+ * @param Google_Datafeed $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ShoppingContent_Datafeed
+ */
+ public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed");
+ }
+
+ /**
+ * Lists the datafeeds in your Merchant Center account.
+ * (datafeeds.listDatafeeds)
+ *
+ * @param string $merchantId The ID of the managing account.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken The token returned by the previous request.
+ * @opt_param string maxResults The maximum number of products to return in the
+ * response, used for paging.
+ * @return Google_Service_ShoppingContent_DatafeedsListResponse
+ */
+ public function listDatafeeds($merchantId, $optParams = array())
+ {
+ $params = array('merchantId' => $merchantId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse");
+ }
+
+ /**
+ * Updates a datafeed of your Merchant Center account. This method supports
+ * patch semantics. (datafeeds.patch)
+ *
+ * @param string $merchantId
+ * @param string $datafeedId
* @param Google_Datafeed $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_ShoppingContent_Datafeed
@@ -1216,15 +1566,21 @@ public function getStatus()
}
}
-class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
+class Google_Service_ShoppingContent_AccountShipping extends Google_Collection
{
- protected $collection_key = 'dataQualityIssues';
+ protected $collection_key = 'services';
protected $internal_gapi_mappings = array(
);
public $accountId;
- protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
- protected $dataQualityIssuesDataType = 'array';
+ protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate';
+ protected $carrierRatesDataType = 'array';
public $kind;
+ protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup';
+ protected $locationGroupsDataType = 'array';
+ protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable';
+ protected $rateTablesDataType = 'array';
+ protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService';
+ protected $servicesDataType = 'array';
public function setAccountId($accountId)
@@ -1235,13 +1591,13 @@ public function getAccountId()
{
return $this->accountId;
}
- public function setDataQualityIssues($dataQualityIssues)
+ public function setCarrierRates($carrierRates)
{
- $this->dataQualityIssues = $dataQualityIssues;
+ $this->carrierRates = $carrierRates;
}
- public function getDataQualityIssues()
+ public function getCarrierRates()
{
- return $this->dataQualityIssues;
+ return $this->carrierRates;
}
public function setKind($kind)
{
@@ -1251,22 +1607,189 @@ public function getKind()
{
return $this->kind;
}
+ public function setLocationGroups($locationGroups)
+ {
+ $this->locationGroups = $locationGroups;
+ }
+ public function getLocationGroups()
+ {
+ return $this->locationGroups;
+ }
+ public function setRateTables($rateTables)
+ {
+ $this->rateTables = $rateTables;
+ }
+ public function getRateTables()
+ {
+ return $this->rateTables;
+ }
+ public function setServices($services)
+ {
+ $this->services = $services;
+ }
+ public function getServices()
+ {
+ return $this->services;
+ }
}
-class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
+class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model
{
- protected $collection_key = 'exampleItems';
+ protected $internal_gapi_mappings = array(
+ );
+ public $carrier;
+ public $carrierService;
+ protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $modifierFlatRateDataType = '';
+ public $modifierPercent;
+ public $name;
+ public $saleCountry;
+ public $shippingOrigin;
+
+
+ public function setCarrier($carrier)
+ {
+ $this->carrier = $carrier;
+ }
+ public function getCarrier()
+ {
+ return $this->carrier;
+ }
+ public function setCarrierService($carrierService)
+ {
+ $this->carrierService = $carrierService;
+ }
+ public function getCarrierService()
+ {
+ return $this->carrierService;
+ }
+ public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate)
+ {
+ $this->modifierFlatRate = $modifierFlatRate;
+ }
+ public function getModifierFlatRate()
+ {
+ return $this->modifierFlatRate;
+ }
+ public function setModifierPercent($modifierPercent)
+ {
+ $this->modifierPercent = $modifierPercent;
+ }
+ public function getModifierPercent()
+ {
+ return $this->modifierPercent;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+ public function setShippingOrigin($shippingOrigin)
+ {
+ $this->shippingOrigin = $shippingOrigin;
+ }
+ public function getShippingOrigin()
+ {
+ return $this->shippingOrigin;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deliveryLocationGroup;
+ public $deliveryLocationId;
+ public $deliveryPostalCode;
+ protected $deliveryPostalCodeRangeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $deliveryPostalCodeRangeDataType = '';
+ protected $priceMaxType = 'Google_Service_ShoppingContent_Price';
+ protected $priceMaxDataType = '';
+ public $shippingLabel;
+ protected $weightMaxType = 'Google_Service_ShoppingContent_Weight';
+ protected $weightMaxDataType = '';
+
+
+ public function setDeliveryLocationGroup($deliveryLocationGroup)
+ {
+ $this->deliveryLocationGroup = $deliveryLocationGroup;
+ }
+ public function getDeliveryLocationGroup()
+ {
+ return $this->deliveryLocationGroup;
+ }
+ public function setDeliveryLocationId($deliveryLocationId)
+ {
+ $this->deliveryLocationId = $deliveryLocationId;
+ }
+ public function getDeliveryLocationId()
+ {
+ return $this->deliveryLocationId;
+ }
+ public function setDeliveryPostalCode($deliveryPostalCode)
+ {
+ $this->deliveryPostalCode = $deliveryPostalCode;
+ }
+ public function getDeliveryPostalCode()
+ {
+ return $this->deliveryPostalCode;
+ }
+ public function setDeliveryPostalCodeRange(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCodeRange)
+ {
+ $this->deliveryPostalCodeRange = $deliveryPostalCodeRange;
+ }
+ public function getDeliveryPostalCodeRange()
+ {
+ return $this->deliveryPostalCodeRange;
+ }
+ public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax)
+ {
+ $this->priceMax = $priceMax;
+ }
+ public function getPriceMax()
+ {
+ return $this->priceMax;
+ }
+ public function setShippingLabel($shippingLabel)
+ {
+ $this->shippingLabel = $shippingLabel;
+ }
+ public function getShippingLabel()
+ {
+ return $this->shippingLabel;
+ }
+ public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax)
+ {
+ $this->weightMax = $weightMax;
+ }
+ public function getWeightMax()
+ {
+ return $this->weightMax;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection
+{
+ protected $collection_key = 'postalCodes';
protected $internal_gapi_mappings = array(
);
public $country;
- public $displayedValue;
- protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
- protected $exampleItemsDataType = 'array';
- public $id;
- public $lastChecked;
- public $numItems;
- public $severity;
- public $submittedValue;
+ public $locationIds;
+ public $name;
+ protected $postalCodeRangesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange';
+ protected $postalCodeRangesDataType = 'array';
+ public $postalCodes;
public function setCountry($country)
@@ -1277,149 +1800,941 @@ public function getCountry()
{
return $this->country;
}
- public function setDisplayedValue($displayedValue)
+ public function setLocationIds($locationIds)
+ {
+ $this->locationIds = $locationIds;
+ }
+ public function getLocationIds()
+ {
+ return $this->locationIds;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPostalCodeRanges($postalCodeRanges)
+ {
+ $this->postalCodeRanges = $postalCodeRanges;
+ }
+ public function getPostalCodeRanges()
+ {
+ return $this->postalCodeRanges;
+ }
+ public function setPostalCodes($postalCodes)
+ {
+ $this->postalCodes = $postalCodes;
+ }
+ public function getPostalCodes()
+ {
+ return $this->postalCodes;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection
+{
+ protected $collection_key = 'content';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell';
+ protected $contentDataType = 'array';
+ public $name;
+ public $saleCountry;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
+ protected $conditionDataType = '';
+ protected $rateType = 'Google_Service_ShoppingContent_Price';
+ protected $rateDataType = '';
+
+
+ public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+ public function setRate(Google_Service_ShoppingContent_Price $rate)
+ {
+ $this->rate = $rate;
+ }
+ public function getRate()
+ {
+ return $this->rate;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $active;
+ protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
+ protected $calculationMethodDataType = '';
+ protected $costRuleTreeType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule';
+ protected $costRuleTreeDataType = '';
+ public $name;
+ public $saleCountry;
+
+
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
+ {
+ $this->calculationMethod = $calculationMethod;
+ }
+ public function getCalculationMethod()
+ {
+ return $this->calculationMethod;
+ }
+ public function setCostRuleTree(Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule $costRuleTree)
+ {
+ $this->costRuleTree = $costRuleTree;
+ }
+ public function getCostRuleTree()
+ {
+ return $this->costRuleTree;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSaleCountry($saleCountry)
+ {
+ $this->saleCountry = $saleCountry;
+ }
+ public function getSaleCountry()
+ {
+ return $this->saleCountry;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $carrierRate;
+ public $excluded;
+ protected $flatRateType = 'Google_Service_ShoppingContent_Price';
+ protected $flatRateDataType = '';
+ public $percentageRate;
+ public $rateTable;
+
+
+ public function setCarrierRate($carrierRate)
+ {
+ $this->carrierRate = $carrierRate;
+ }
+ public function getCarrierRate()
+ {
+ return $this->carrierRate;
+ }
+ public function setExcluded($excluded)
+ {
+ $this->excluded = $excluded;
+ }
+ public function getExcluded()
+ {
+ return $this->excluded;
+ }
+ public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate)
+ {
+ $this->flatRate = $flatRate;
+ }
+ public function getFlatRate()
+ {
+ return $this->flatRate;
+ }
+ public function setPercentageRate($percentageRate)
+ {
+ $this->percentageRate = $percentageRate;
+ }
+ public function getPercentageRate()
+ {
+ return $this->percentageRate;
+ }
+ public function setRateTable($rateTable)
+ {
+ $this->rateTable = $rateTable;
+ }
+ public function getRateTable()
+ {
+ return $this->rateTable;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule extends Google_Collection
+{
+ protected $collection_key = 'children';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod';
+ protected $calculationMethodDataType = '';
+ protected $childrenType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule';
+ protected $childrenDataType = 'array';
+ protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition';
+ protected $conditionDataType = '';
+
+
+ public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod)
+ {
+ $this->calculationMethod = $calculationMethod;
+ }
+ public function getCalculationMethod()
+ {
+ return $this->calculationMethod;
+ }
+ public function setChildren($children)
+ {
+ $this->children = $children;
+ }
+ public function getChildren()
+ {
+ return $this->children;
+ }
+ public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition)
+ {
+ $this->condition = $condition;
+ }
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatus extends Google_Collection
+{
+ protected $collection_key = 'dataQualityIssues';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue';
+ protected $dataQualityIssuesDataType = 'array';
+ public $kind;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setDataQualityIssues($dataQualityIssues)
+ {
+ $this->dataQualityIssues = $dataQualityIssues;
+ }
+ public function getDataQualityIssues()
+ {
+ return $this->dataQualityIssues;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection
+{
+ protected $collection_key = 'exampleItems';
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $displayedValue;
+ protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem';
+ protected $exampleItemsDataType = 'array';
+ public $id;
+ public $lastChecked;
+ public $numItems;
+ public $severity;
+ public $submittedValue;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setDisplayedValue($displayedValue)
+ {
+ $this->displayedValue = $displayedValue;
+ }
+ public function getDisplayedValue()
+ {
+ return $this->displayedValue;
+ }
+ public function setExampleItems($exampleItems)
+ {
+ $this->exampleItems = $exampleItems;
+ }
+ public function getExampleItems()
+ {
+ return $this->exampleItems;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLastChecked($lastChecked)
+ {
+ $this->lastChecked = $lastChecked;
+ }
+ public function getLastChecked()
+ {
+ return $this->lastChecked;
+ }
+ public function setNumItems($numItems)
+ {
+ $this->numItems = $numItems;
+ }
+ public function getNumItems()
+ {
+ return $this->numItems;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $itemId;
+ public $link;
+ public $submittedValue;
+ public $title;
+ public $valueOnLandingPage;
+
+
+ public function setItemId($itemId)
+ {
+ $this->itemId = $itemId;
+ }
+ public function getItemId()
+ {
+ return $this->itemId;
+ }
+ public function setLink($link)
+ {
+ $this->link = $link;
+ }
+ public function getLink()
+ {
+ return $this->link;
+ }
+ public function setSubmittedValue($submittedValue)
+ {
+ $this->submittedValue = $submittedValue;
+ }
+ public function getSubmittedValue()
+ {
+ return $this->submittedValue;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setValueOnLandingPage($valueOnLandingPage)
+ {
+ $this->valueOnLandingPage = $valueOnLandingPage;
+ }
+ public function getValueOnLandingPage()
+ {
+ return $this->valueOnLandingPage;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountTax extends Google_Collection
+{
+ protected $collection_key = 'rules';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $kind;
+ protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule';
+ protected $rulesDataType = 'array';
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRules($rules)
+ {
+ $this->rules = $rules;
+ }
+ public function getRules()
+ {
+ return $this->rules;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $country;
+ public $locationId;
+ public $ratePercent;
+ public $shippingTaxed;
+ public $useGlobalRate;
+
+
+ public function setCountry($country)
+ {
+ $this->country = $country;
+ }
+ public function getCountry()
+ {
+ return $this->country;
+ }
+ public function setLocationId($locationId)
+ {
+ $this->locationId = $locationId;
+ }
+ public function getLocationId()
+ {
+ return $this->locationId;
+ }
+ public function setRatePercent($ratePercent)
+ {
+ $this->ratePercent = $ratePercent;
+ }
+ public function getRatePercent()
+ {
+ return $this->ratePercent;
+ }
+ public function setShippingTaxed($shippingTaxed)
+ {
+ $this->shippingTaxed = $shippingTaxed;
+ }
+ public function getShippingTaxed()
+ {
+ return $this->shippingTaxed;
+ }
+ public function setUseGlobalRate($useGlobalRate)
+ {
+ $this->useGlobalRate = $useGlobalRate;
+ }
+ public function getUseGlobalRate()
+ {
+ return $this->useGlobalRate;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountUser extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $admin;
+ public $emailAddress;
+
+
+ public function setAdmin($admin)
+ {
+ $this->admin = $admin;
+ }
+ public function getAdmin()
+ {
+ return $this->admin;
+ }
+ public function setEmailAddress($emailAddress)
+ {
+ $this->emailAddress = $emailAddress;
+ }
+ public function getEmailAddress()
+ {
+ return $this->emailAddress;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $accountId;
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+
+ public function setAccount(Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+ public function getAccount()
+ {
+ return $this->account;
+ }
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setMerchantId($merchantId)
+ {
+ $this->merchantId = $merchantId;
+ }
+ public function getMerchantId()
+ {
+ return $this->merchantId;
+ }
+ public function setMethod($method)
+ {
+ $this->method = $method;
+ }
+ public function getMethod()
+ {
+ return $this->method;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $accountType = 'Google_Service_ShoppingContent_Account';
+ protected $accountDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
+
+
+ public function setAccount(Google_Service_ShoppingContent_Account $account)
+ {
+ $this->account = $account;
+ }
+ public function getAccount()
+ {
+ return $this->account;
+ }
+ public function setBatchId($batchId)
+ {
+ $this->batchId = $batchId;
+ }
+ public function getBatchId()
+ {
+ return $this->batchId;
+ }
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_Account';
+ protected $resourcesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountshippingCustomBatchRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping';
+ protected $accountShippingDataType = '';
+ public $batchId;
+ public $merchantId;
+ public $method;
+
+
+ public function setAccountId($accountId)
{
- $this->displayedValue = $displayedValue;
+ $this->accountId = $accountId;
}
- public function getDisplayedValue()
+ public function getAccountId()
{
- return $this->displayedValue;
+ return $this->accountId;
}
- public function setExampleItems($exampleItems)
+ public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping)
{
- $this->exampleItems = $exampleItems;
+ $this->accountShipping = $accountShipping;
}
- public function getExampleItems()
+ public function getAccountShipping()
{
- return $this->exampleItems;
+ return $this->accountShipping;
}
- public function setId($id)
+ public function setBatchId($batchId)
{
- $this->id = $id;
+ $this->batchId = $batchId;
}
- public function getId()
+ public function getBatchId()
{
- return $this->id;
+ return $this->batchId;
}
- public function setLastChecked($lastChecked)
+ public function setMerchantId($merchantId)
{
- $this->lastChecked = $lastChecked;
+ $this->merchantId = $merchantId;
}
- public function getLastChecked()
+ public function getMerchantId()
{
- return $this->lastChecked;
+ return $this->merchantId;
}
- public function setNumItems($numItems)
+ public function setMethod($method)
{
- $this->numItems = $numItems;
+ $this->method = $method;
}
- public function getNumItems()
+ public function getMethod()
{
- return $this->numItems;
+ return $this->method;
}
- public function setSeverity($severity)
+}
+
+class Google_Service_ShoppingContent_AccountshippingCustomBatchResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry';
+ protected $entriesDataType = 'array';
+ public $kind;
+
+
+ public function setEntries($entries)
{
- $this->severity = $severity;
+ $this->entries = $entries;
}
- public function getSeverity()
+ public function getEntries()
{
- return $this->severity;
+ return $this->entries;
}
- public function setSubmittedValue($submittedValue)
+ public function setKind($kind)
{
- $this->submittedValue = $submittedValue;
+ $this->kind = $kind;
}
- public function getSubmittedValue()
+ public function getKind()
{
- return $this->submittedValue;
+ return $this->kind;
}
}
-class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model
+class Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $itemId;
- public $link;
- public $submittedValue;
- public $title;
- public $valueOnLandingPage;
+ protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping';
+ protected $accountShippingDataType = '';
+ public $batchId;
+ protected $errorsType = 'Google_Service_ShoppingContent_Errors';
+ protected $errorsDataType = '';
+ public $kind;
- public function setItemId($itemId)
- {
- $this->itemId = $itemId;
- }
- public function getItemId()
- {
- return $this->itemId;
- }
- public function setLink($link)
+ public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping)
{
- $this->link = $link;
+ $this->accountShipping = $accountShipping;
}
- public function getLink()
+ public function getAccountShipping()
{
- return $this->link;
+ return $this->accountShipping;
}
- public function setSubmittedValue($submittedValue)
+ public function setBatchId($batchId)
{
- $this->submittedValue = $submittedValue;
+ $this->batchId = $batchId;
}
- public function getSubmittedValue()
+ public function getBatchId()
{
- return $this->submittedValue;
+ return $this->batchId;
}
- public function setTitle($title)
+ public function setErrors(Google_Service_ShoppingContent_Errors $errors)
{
- $this->title = $title;
+ $this->errors = $errors;
}
- public function getTitle()
+ public function getErrors()
{
- return $this->title;
+ return $this->errors;
}
- public function setValueOnLandingPage($valueOnLandingPage)
+ public function setKind($kind)
{
- $this->valueOnLandingPage = $valueOnLandingPage;
+ $this->kind = $kind;
}
- public function getValueOnLandingPage()
+ public function getKind()
{
- return $this->valueOnLandingPage;
+ return $this->kind;
}
}
-class Google_Service_ShoppingContent_AccountUser extends Google_Model
+class Google_Service_ShoppingContent_AccountshippingListResponse extends Google_Collection
{
+ protected $collection_key = 'resources';
protected $internal_gapi_mappings = array(
);
- public $admin;
- public $emailAddress;
+ public $kind;
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountShipping';
+ protected $resourcesDataType = 'array';
- public function setAdmin($admin)
+ public function setKind($kind)
{
- $this->admin = $admin;
+ $this->kind = $kind;
}
- public function getAdmin()
+ public function getKind()
{
- return $this->admin;
+ return $this->kind;
}
- public function setEmailAddress($emailAddress)
+ public function setNextPageToken($nextPageToken)
{
- $this->emailAddress = $emailAddress;
+ $this->nextPageToken = $nextPageToken;
}
- public function getEmailAddress()
+ public function getNextPageToken()
{
- return $this->emailAddress;
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
}
}
-class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
{
protected $collection_key = 'entries';
protected $internal_gapi_mappings = array(
);
- protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -1433,26 +2748,16 @@ public function getEntries()
}
}
-class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $accountType = 'Google_Service_ShoppingContent_Account';
- protected $accountDataType = '';
public $accountId;
public $batchId;
public $merchantId;
public $method;
- public function setAccount(Google_Service_ShoppingContent_Account $account)
- {
- $this->account = $account;
- }
- public function getAccount()
- {
- return $this->account;
- }
public function setAccountId($accountId)
{
$this->accountId = $accountId;
@@ -1487,12 +2792,12 @@ public function getMethod()
}
}
-class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
{
protected $collection_key = 'entries';
protected $internal_gapi_mappings = array(
);
- protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -1515,25 +2820,24 @@ public function getKind()
}
}
-class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model
+class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $accountType = 'Google_Service_ShoppingContent_Account';
- protected $accountDataType = '';
+ protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $accountStatusDataType = '';
public $batchId;
protected $errorsType = 'Google_Service_ShoppingContent_Errors';
protected $errorsDataType = '';
- public $kind;
- public function setAccount(Google_Service_ShoppingContent_Account $account)
+ public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus)
{
- $this->account = $account;
+ $this->accountStatus = $accountStatus;
}
- public function getAccount()
+ public function getAccountStatus()
{
- return $this->account;
+ return $this->accountStatus;
}
public function setBatchId($batchId)
{
@@ -1551,24 +2855,16 @@ public function getErrors()
{
return $this->errors;
}
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
}
-class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection
+class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
{
protected $collection_key = 'resources';
protected $internal_gapi_mappings = array(
);
public $kind;
public $nextPageToken;
- protected $resourcesType = 'Google_Service_ShoppingContent_Account';
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus';
protected $resourcesDataType = 'array';
@@ -1598,12 +2894,12 @@ public function getResources()
}
}
-class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection
+class Google_Service_ShoppingContent_AccounttaxCustomBatchRequest extends Google_Collection
{
protected $collection_key = 'entries';
protected $internal_gapi_mappings = array(
);
- protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry';
protected $entriesDataType = 'array';
@@ -1617,11 +2913,13 @@ public function getEntries()
}
}
-class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model
+class Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $accountId;
+ protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax';
+ protected $accountTaxDataType = '';
public $batchId;
public $merchantId;
public $method;
@@ -1635,6 +2933,14 @@ public function getAccountId()
{
return $this->accountId;
}
+ public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax)
+ {
+ $this->accountTax = $accountTax;
+ }
+ public function getAccountTax()
+ {
+ return $this->accountTax;
+ }
public function setBatchId($batchId)
{
$this->batchId = $batchId;
@@ -1661,12 +2967,12 @@ public function getMethod()
}
}
-class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection
+class Google_Service_ShoppingContent_AccounttaxCustomBatchResponse extends Google_Collection
{
protected $collection_key = 'entries';
protected $internal_gapi_mappings = array(
);
- protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry';
+ protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry';
protected $entriesDataType = 'array';
public $kind;
@@ -1689,24 +2995,25 @@ public function getKind()
}
}
-class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model
+class Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus';
- protected $accountStatusDataType = '';
+ protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax';
+ protected $accountTaxDataType = '';
public $batchId;
protected $errorsType = 'Google_Service_ShoppingContent_Errors';
protected $errorsDataType = '';
+ public $kind;
- public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus)
+ public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax)
{
- $this->accountStatus = $accountStatus;
+ $this->accountTax = $accountTax;
}
- public function getAccountStatus()
+ public function getAccountTax()
{
- return $this->accountStatus;
+ return $this->accountTax;
}
public function setBatchId($batchId)
{
@@ -1724,16 +3031,24 @@ public function getErrors()
{
return $this->errors;
}
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
}
-class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection
+class Google_Service_ShoppingContent_AccounttaxListResponse extends Google_Collection
{
protected $collection_key = 'resources';
protected $internal_gapi_mappings = array(
);
public $kind;
public $nextPageToken;
- protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus';
+ protected $resourcesType = 'Google_Service_ShoppingContent_AccountTax';
protected $resourcesDataType = 'array';
@@ -3670,16 +4985,27 @@ class Google_Service_ShoppingContent_ProductStatus extends Google_Collection
protected $collection_key = 'destinationStatuses';
protected $internal_gapi_mappings = array(
);
+ public $creationDate;
protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue';
protected $dataQualityIssuesDataType = 'array';
protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus';
protected $destinationStatusesDataType = 'array';
+ public $googleExpirationDate;
public $kind;
+ public $lastUpdateDate;
public $link;
public $productId;
public $title;
+ public function setCreationDate($creationDate)
+ {
+ $this->creationDate = $creationDate;
+ }
+ public function getCreationDate()
+ {
+ return $this->creationDate;
+ }
public function setDataQualityIssues($dataQualityIssues)
{
$this->dataQualityIssues = $dataQualityIssues;
@@ -3696,6 +5022,14 @@ public function getDestinationStatuses()
{
return $this->destinationStatuses;
}
+ public function setGoogleExpirationDate($googleExpirationDate)
+ {
+ $this->googleExpirationDate = $googleExpirationDate;
+ }
+ public function getGoogleExpirationDate()
+ {
+ return $this->googleExpirationDate;
+ }
public function setKind($kind)
{
$this->kind = $kind;
@@ -3704,6 +5038,14 @@ public function getKind()
{
return $this->kind;
}
+ public function setLastUpdateDate($lastUpdateDate)
+ {
+ $this->lastUpdateDate = $lastUpdateDate;
+ }
+ public function getLastUpdateDate()
+ {
+ return $this->lastUpdateDate;
+ }
public function setLink($link)
{
$this->link = $link;
@@ -4307,3 +5649,29 @@ public function getResources()
return $this->resources;
}
}
+
+class Google_Service_ShoppingContent_Weight extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $unit;
+ public $value;
+
+
+ public function setUnit($unit)
+ {
+ $this->unit = $unit;
+ }
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
From e89d061b203d204c04254ae529ff6a2d8919f965 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* $analyticsService = new Google_Service_Analytics(...);
- * $dailyUploads = $analyticsService->dailyUploads;
+ * $customDimensions = $analyticsService->customDimensions;
*
*/
-class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
+class Google_Service_Analytics_ManagementCustomDimensions_Resource extends Google_Service_Resource
{
/**
- * Delete uploaded data for the given date. (dailyUploads.delete)
+ * Get a custom dimension to which the user has access. (customDimensions.get)
*
- * @param string $accountId Account Id associated with daily upload delete.
- * @param string $webPropertyId Web property Id associated with daily upload
- * delete.
- * @param string $customDataSourceId Custom data source Id associated with daily
- * upload delete.
- * @param string $date Date for which data is to be deleted. Date should be
- * formatted as YYYY-MM-DD.
- * @param string $type Type of data for this delete.
+ * @param string $accountId Account ID for the custom dimension to retrieve.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * retrieve.
+ * @param string $customDimensionId The ID of the custom dimension to retrieve.
* @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomDimension
*/
- public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ public function get($accountId, $webPropertyId, $customDimensionId, $optParams = array())
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('get', array($params), "Google_Service_Analytics_CustomDimension");
}
/**
- * List daily uploads to which the user has access.
- * (dailyUploads.listManagementDailyUploads)
+ * Create a new custom dimension. (customDimensions.insert)
*
- * @param string $accountId Account Id for the daily uploads to retrieve.
- * @param string $webPropertyId Web property Id for the daily uploads to
- * retrieve.
- * @param string $customDataSourceId Custom data source Id for daily uploads to
- * retrieve.
- * @param string $startDate Start date of the form YYYY-MM-DD.
- * @param string $endDate End date of the form YYYY-MM-DD.
+ * @param string $accountId Account ID for the custom dimension to create.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * create.
+ * @param Google_CustomDimension $postBody
* @param array $optParams Optional parameters.
- *
- * @opt_param int max-results The maximum number of custom data sources to
- * include in this response.
- * @opt_param int start-index A 1-based index of the first daily upload to
- * retrieve. Use this parameter as a pagination mechanism along with the max-
- * results parameter.
- * @return Google_Service_Analytics_DailyUploads
+ * @return Google_Service_Analytics_CustomDimension
*/
- public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
{
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
+ return $this->call('insert', array($params), "Google_Service_Analytics_CustomDimension");
}
/**
- * Update/Overwrite data for a custom data source. (dailyUploads.upload)
+ * Lists custom dimensions to which the user has access.
+ * (customDimensions.listManagementCustomDimensions)
*
- * @param string $accountId Account Id associated with daily upload.
- * @param string $webPropertyId Web property Id associated with daily upload.
- * @param string $customDataSourceId Custom data source Id to which the data
- * being uploaded belongs.
- * @param string $date Date for which data is uploaded. Date should be formatted
- * as YYYY-MM-DD.
- * @param int $appendNumber Append number for this upload indexed from 1.
- * @param string $type Type of data for this upload.
+ * @param string $accountId Account ID for the custom dimensions to retrieve.
+ * @param string $webPropertyId Web property ID for the custom dimensions to
+ * retrieve.
* @param array $optParams Optional parameters.
*
- * @opt_param bool reset Reset/Overwrite all previous appends for this date and
- * start over with this file as the first upload.
+ * @opt_param int max-results The maximum number of custom dimensions to include
+ * in this response.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_CustomDimensions
+ */
+ public function listManagementCustomDimensions($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_CustomDimensions");
+ }
+
+ /**
+ * Updates an existing custom dimension. This method supports patch semantics.
+ * (customDimensions.patch)
+ *
+ * @param string $accountId Account ID for the custom dimension to update.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * update.
+ * @param string $customDimensionId Custom dimension ID for the custom dimension
+ * to update.
+ * @param Google_CustomDimension $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom dimension being linked to a custom data source
+ * / data set.
+ * @return Google_Service_Analytics_CustomDimension
+ */
+ public function patch($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_CustomDimension");
+ }
+
+ /**
+ * Updates an existing custom dimension. (customDimensions.update)
+ *
+ * @param string $accountId Account ID for the custom dimension to update.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * update.
+ * @param string $customDimensionId Custom dimension ID for the custom dimension
+ * to update.
+ * @param Google_CustomDimension $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom dimension being linked to a custom data source
+ * / data set.
+ * @return Google_Service_Analytics_CustomDimension
+ */
+ public function update($accountId, $webPropertyId, $customDimensionId, Google_Service_Analytics_CustomDimension $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDimensionId' => $customDimensionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_CustomDimension");
+ }
+}
+/**
+ * The "customMetrics" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $customMetrics = $analyticsService->customMetrics;
+ *
+ */
+class Google_Service_Analytics_ManagementCustomMetrics_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Get a custom metric to which the user has access. (customMetrics.get)
+ *
+ * @param string $accountId Account ID for the custom metric to retrieve.
+ * @param string $webPropertyId Web property ID for the custom metric to
+ * retrieve.
+ * @param string $customMetricId The ID of the custom metric to retrieve.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function get($accountId, $webPropertyId, $customMetricId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+
+ /**
+ * Create a new custom metric. (customMetrics.insert)
+ *
+ * @param string $accountId Account ID for the custom metric to create.
+ * @param string $webPropertyId Web property ID for the custom dimension to
+ * create.
+ * @param Google_CustomMetric $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function insert($accountId, $webPropertyId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+
+ /**
+ * Lists custom metrics to which the user has access.
+ * (customMetrics.listManagementCustomMetrics)
+ *
+ * @param string $accountId Account ID for the custom metrics to retrieve.
+ * @param string $webPropertyId Web property ID for the custom metrics to
+ * retrieve.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of custom metrics to include in
+ * this response.
+ * @opt_param int start-index An index of the first entity to retrieve. Use this
+ * parameter as a pagination mechanism along with the max-results parameter.
+ * @return Google_Service_Analytics_CustomMetrics
+ */
+ public function listManagementCustomMetrics($accountId, $webPropertyId, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_CustomMetrics");
+ }
+
+ /**
+ * Updates an existing custom metric. This method supports patch semantics.
+ * (customMetrics.patch)
+ *
+ * @param string $accountId Account ID for the custom metric to update.
+ * @param string $webPropertyId Web property ID for the custom metric to update.
+ * @param string $customMetricId Custom metric ID for the custom metric to
+ * update.
+ * @param Google_CustomMetric $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom metric being linked to a custom data source /
+ * data set.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function patch($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+
+ /**
+ * Updates an existing custom metric. (customMetrics.update)
+ *
+ * @param string $accountId Account ID for the custom metric to update.
+ * @param string $webPropertyId Web property ID for the custom metric to update.
+ * @param string $customMetricId Custom metric ID for the custom metric to
+ * update.
+ * @param Google_CustomMetric $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool ignoreCustomDataSourceLinks Force the update and ignore any
+ * warnings related to the custom metric being linked to a custom data source /
+ * data set.
+ * @return Google_Service_Analytics_CustomMetric
+ */
+ public function update($accountId, $webPropertyId, $customMetricId, Google_Service_Analytics_CustomMetric $postBody, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customMetricId' => $customMetricId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Analytics_CustomMetric");
+ }
+}
+/**
+ * The "dailyUploads" collection of methods.
+ * Typical usage is:
+ *
+ * $analyticsService = new Google_Service_Analytics(...);
+ * $dailyUploads = $analyticsService->dailyUploads;
+ *
+ */
+class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Delete uploaded data for the given date. (dailyUploads.delete)
+ *
+ * @param string $accountId Account Id associated with daily upload delete.
+ * @param string $webPropertyId Web property Id associated with daily upload
+ * delete.
+ * @param string $customDataSourceId Custom data source Id associated with daily
+ * upload delete.
+ * @param string $date Date for which data is to be deleted. Date should be
+ * formatted as YYYY-MM-DD.
+ * @param string $type Type of data for this delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * List daily uploads to which the user has access.
+ * (dailyUploads.listManagementDailyUploads)
+ *
+ * @param string $accountId Account Id for the daily uploads to retrieve.
+ * @param string $webPropertyId Web property Id for the daily uploads to
+ * retrieve.
+ * @param string $customDataSourceId Custom data source Id for daily uploads to
+ * retrieve.
+ * @param string $startDate Start date of the form YYYY-MM-DD.
+ * @param string $endDate End date of the form YYYY-MM-DD.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int max-results The maximum number of custom data sources to
+ * include in this response.
+ * @opt_param int start-index A 1-based index of the first daily upload to
+ * retrieve. Use this parameter as a pagination mechanism along with the max-
+ * results parameter.
+ * @return Google_Service_Analytics_DailyUploads
+ */
+ public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
+ {
+ $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
+ }
+
+ /**
+ * Update/Overwrite data for a custom data source. (dailyUploads.upload)
+ *
+ * @param string $accountId Account Id associated with daily upload.
+ * @param string $webPropertyId Web property Id associated with daily upload.
+ * @param string $customDataSourceId Custom data source Id to which the data
+ * being uploaded belongs.
+ * @param string $date Date for which data is uploaded. Date should be formatted
+ * as YYYY-MM-DD.
+ * @param int $appendNumber Append number for this upload indexed from 1.
+ * @param string $type Type of data for this upload.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool reset Reset/Overwrite all previous appends for this date and
+ * start over with this file as the first upload.
* @return Google_Service_Analytics_DailyUploadAppend
*/
public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
@@ -4418,6 +4878,485 @@ public function getUsername()
}
}
+class Google_Service_Analytics_CustomDimension extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $active;
+ public $created;
+ public $id;
+ public $index;
+ public $kind;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_CustomDimensionParentLink';
+ protected $parentLinkDataType = '';
+ public $scope;
+ public $selfLink;
+ public $updated;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Google_Service_Analytics_CustomDimensionParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Google_Service_Analytics_CustomDimensionParentLink extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_CustomDimensions extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_Analytics_CustomDimension';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Analytics_CustomMetric extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ "maxValue" => "max_value",
+ "minValue" => "min_value",
+ );
+ public $accountId;
+ public $active;
+ public $created;
+ public $id;
+ public $index;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ protected $parentLinkType = 'Google_Service_Analytics_CustomMetricParentLink';
+ protected $parentLinkDataType = '';
+ public $scope;
+ public $selfLink;
+ public $type;
+ public $updated;
+ public $webPropertyId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setCreated($created)
+ {
+ $this->created = $created;
+ }
+ public function getCreated()
+ {
+ return $this->created;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIndex($index)
+ {
+ $this->index = $index;
+ }
+ public function getIndex()
+ {
+ return $this->index;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxValue($maxValue)
+ {
+ $this->maxValue = $maxValue;
+ }
+ public function getMaxValue()
+ {
+ return $this->maxValue;
+ }
+ public function setMinValue($minValue)
+ {
+ $this->minValue = $minValue;
+ }
+ public function getMinValue()
+ {
+ return $this->minValue;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setParentLink(Google_Service_Analytics_CustomMetricParentLink $parentLink)
+ {
+ $this->parentLink = $parentLink;
+ }
+ public function getParentLink()
+ {
+ return $this->parentLink;
+ }
+ public function setScope($scope)
+ {
+ $this->scope = $scope;
+ }
+ public function getScope()
+ {
+ return $this->scope;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdated($updated)
+ {
+ $this->updated = $updated;
+ }
+ public function getUpdated()
+ {
+ return $this->updated;
+ }
+ public function setWebPropertyId($webPropertyId)
+ {
+ $this->webPropertyId = $webPropertyId;
+ }
+ public function getWebPropertyId()
+ {
+ return $this->webPropertyId;
+ }
+}
+
+class Google_Service_Analytics_CustomMetricParentLink extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $href;
+ public $type;
+
+
+ public function setHref($href)
+ {
+ $this->href = $href;
+ }
+ public function getHref()
+ {
+ return $this->href;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Analytics_CustomMetrics extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_Analytics_CustomMetric';
+ protected $itemsDataType = 'array';
+ public $itemsPerPage;
+ public $kind;
+ public $nextLink;
+ public $previousLink;
+ public $startIndex;
+ public $totalResults;
+ public $username;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setItemsPerPage($itemsPerPage)
+ {
+ $this->itemsPerPage = $itemsPerPage;
+ }
+ public function getItemsPerPage()
+ {
+ return $this->itemsPerPage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextLink($nextLink)
+ {
+ $this->nextLink = $nextLink;
+ }
+ public function getNextLink()
+ {
+ return $this->nextLink;
+ }
+ public function setPreviousLink($previousLink)
+ {
+ $this->previousLink = $previousLink;
+ }
+ public function getPreviousLink()
+ {
+ return $this->previousLink;
+ }
+ public function setStartIndex($startIndex)
+ {
+ $this->startIndex = $startIndex;
+ }
+ public function getStartIndex()
+ {
+ return $this->startIndex;
+ }
+ public function setTotalResults($totalResults)
+ {
+ $this->totalResults = $totalResults;
+ }
+ public function getTotalResults()
+ {
+ return $this->totalResults;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
class Google_Service_Analytics_DailyUpload extends Google_Collection
{
protected $collection_key = 'recentChanges';
From e599e06be60a6ad3b9a34af3e343a600c8e63747 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $replicapoolupdaterService = new Google_Service_Replicapoolupdater(...);
+ * $zoneOperations = $replicapoolupdaterService->zoneOperations;
+ *
+ */
+class Google_Service_Replicapoolupdater_ZoneOperations_Resource extends Google_Service_Resource
{
- protected $internal_gapi_mappings = array(
- );
- public $rollingUpdate;
-
- public function setRollingUpdate($rollingUpdate)
- {
- $this->rollingUpdate = $rollingUpdate;
- }
- public function getRollingUpdate()
+ /**
+ * Retrieves the specified zone-specific operation resource.
+ * (zoneOperations.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $zone Name of the zone scoping this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Replicapoolupdater_Operation
+ */
+ public function get($project, $zone, $operation, $optParams = array())
{
- return $this->rollingUpdate;
+ $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Replicapoolupdater_Operation");
}
}
+
+
+
class Google_Service_Replicapoolupdater_InstanceUpdate extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ protected $errorType = 'Google_Service_Replicapoolupdater_InstanceUpdateError';
+ protected $errorDataType = '';
public $instance;
public $status;
+ public function setError(Google_Service_Replicapoolupdater_InstanceUpdateError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
public function setInstance($instance)
{
$this->instance = $instance;
@@ -461,6 +518,60 @@ public function getStatus()
}
}
+class Google_Service_Replicapoolupdater_InstanceUpdateError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Replicapoolupdater_InstanceUpdateErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
class Google_Service_Replicapoolupdater_InstanceUpdateList extends Google_Collection
{
protected $collection_key = 'items';
@@ -507,13 +618,341 @@ public function getSelfLink()
}
}
+class Google_Service_Replicapoolupdater_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Replicapoolupdater_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Replicapoolupdater_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_Replicapoolupdater_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Replicapoolupdater_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_Replicapoolupdater_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Replicapoolupdater_OperationErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Replicapoolupdater_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_Replicapoolupdater_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Replicapoolupdater_OperationWarningsData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_Replicapoolupdater_RollingUpdate extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $actionType;
public $creationTimestamp;
+ public $description;
public $id;
+ public $instanceGroup;
public $instanceGroupManager;
public $instanceTemplate;
public $kind;
@@ -542,6 +981,14 @@ public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
public function setId($id)
{
$this->id = $id;
@@ -550,6 +997,14 @@ public function getId()
{
return $this->id;
}
+ public function setInstanceGroup($instanceGroup)
+ {
+ $this->instanceGroup = $instanceGroup;
+ }
+ public function getInstanceGroup()
+ {
+ return $this->instanceGroup;
+ }
public function setInstanceGroupManager($instanceGroupManager)
{
$this->instanceGroupManager = $instanceGroupManager;
From 152ac4cd8ddb9986967a55539465de6590944047 Mon Sep 17 00:00:00 2001
From: Silvano Luciani * Google Dataflow API.
@@ -50,8 +50,8 @@ class Google_Service_Dataflow extends Google_Service public function __construct(Google_Client $client) { parent::__construct($client); - $this->servicePath = 'dataflow/v1b3/projects/'; - $this->version = 'v1beta3'; + $this->servicePath = 'v1b3/projects/'; + $this->version = 'v1b4'; $this->serviceName = 'dataflow'; $this->v1b3_projects_jobs = new Google_Service_Dataflow_V1b3ProjectsJobs_Resource( From 6c46dda0b33765bd051d8fb9b25265b136d27f14 Mon Sep 17 00:00:00 2001 From: Silvano Luciani* API for Cloud SQL database instance management.
@@ -38,11 +38,13 @@ class Google_Service_SQLAdmin extends Google_Service "https://www.googleapis.com/auth/sqlservice.admin"; public $backupRuns; + public $databases; public $flags; public $instances; public $operations; public $sslCerts; public $tiers; + public $users; /** @@ -53,8 +55,8 @@ class Google_Service_SQLAdmin extends Google_Service public function __construct(Google_Client $client) { parent::__construct($client); - $this->servicePath = 'sql/v1beta3/'; - $this->version = 'v1beta3'; + $this->servicePath = 'sql/v1beta4/'; + $this->version = 'v1beta4'; $this->serviceName = 'sqladmin'; $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource( @@ -64,7 +66,7 @@ public function __construct(Google_Client $client) array( 'methods' => array( 'get' => array( - 'path' => 'projects/{project}/instances/{instance}/backupRuns/{backupConfiguration}', + 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( @@ -77,19 +79,102 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'backupConfiguration' => array( + 'id' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), - 'dueTime' => array( + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->databases = new Google_Service_SQLAdmin_Databases_Resource( + $this, + $this->serviceName, + 'databases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/backupRuns', + 'path' => 'projects/{project}/instances/{instance}/databases', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( @@ -102,18 +187,45 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'backupConfiguration' => array( - 'location' => 'query', + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', 'type' => 'string', 'required' => true, ), - 'pageToken' => array( - 'location' => 'query', + 'instance' => array( + 'location' => 'path', 'type' => 'string', + 'required' => true, ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, ), ), ), @@ -141,7 +253,7 @@ public function __construct(Google_Client $client) array( 'methods' => array( 'clone' => array( - 'path' => 'projects/{project}/instances/clone', + 'path' => 'projects/{project}/instances/{instance}/clone', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( @@ -149,6 +261,11 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), ), ),'delete' => array( 'path' => 'projects/{project}/instances/{instance}', @@ -312,19 +429,24 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'backupConfiguration' => array( - 'location' => 'query', + ), + ),'startReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/startReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', 'type' => 'string', 'required' => true, ), - 'dueTime' => array( - 'location' => 'query', + 'instance' => array( + 'location' => 'path', 'type' => 'string', 'required' => true, ), ), - ),'setRootPassword' => array( - 'path' => 'projects/{project}/instances/{instance}/setRootPassword', + ),'stopReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/stopReplica', 'httpMethod' => 'POST', 'parameters' => array( 'project' => array( @@ -364,7 +486,7 @@ public function __construct(Google_Client $client) array( 'methods' => array( 'get' => array( - 'path' => 'projects/{project}/instances/{instance}/operations/{operation}', + 'path' => 'projects/{project}/operations/{operation}', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( @@ -372,11 +494,6 @@ public function __construct(Google_Client $client) 'type' => 'string', 'required' => true, ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), 'operation' => array( 'location' => 'path', 'type' => 'string', @@ -384,7 +501,7 @@ public function __construct(Google_Client $client) ), ), ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/operations', + 'path' => 'projects/{project}/operations', 'httpMethod' => 'GET', 'parameters' => array( 'project' => array( @@ -393,7 +510,7 @@ public function __construct(Google_Client $client) 'required' => true, ), 'instance' => array( - 'location' => 'path', + 'location' => 'query', 'type' => 'string', 'required' => true, ), @@ -510,6 +627,96 @@ public function __construct(Google_Client $client) ) ) ); + $this->users = new Google_Service_SQLAdmin_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); } } @@ -526,120 +733,239 @@ class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resourc { /** - * Retrieves information about a specified backup run for a Cloud SQL instance. + * Retrieves a resource containing information about a backup run. * (backupRuns.get) * * @param string $project Project ID of the project that contains the instance. * @param string $instance Cloud SQL instance ID. This does not include the * project ID. - * @param string $backupConfiguration Identifier for the backup configuration. - * This gets generated automatically when a backup configuration is created. - * @param string $dueTime The start time of the four-hour backup window. The - * backup can occur any time in the window. The time is in RFC 3339 format, for - * example 2012-11-15T16:19:00.094Z. + * @param string $id The ID of this Backup Run. * @param array $optParams Optional parameters. * @return Google_Service_SQLAdmin_BackupRun */ - public function get($project, $instance, $backupConfiguration, $dueTime, $optParams = array()) + public function get($project, $instance, $id, $optParams = array()) { - $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime); + $params = array('project' => $project, 'instance' => $instance, 'id' => $id); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun"); } /** - * Lists all backup runs associated with a Cloud SQL instance. + * Lists all backup runs associated with a given instance and configuration in + * the reverse chronological order of the enqueued time. * (backupRuns.listBackupRuns) * * @param string $project Project ID of the project that contains the instance. * @param string $instance Cloud SQL instance ID. This does not include the * project ID. - * @param string $backupConfiguration Identifier for the backup configuration. - * This gets generated automatically when a backup configuration is created. * @param array $optParams Optional parameters. * + * @opt_param int maxResults Maximum number of backup runs per response. * @opt_param string pageToken A previously-returned page token representing * part of the larger set of results to view. - * @opt_param int maxResults Maximum number of backup runs per response. * @return Google_Service_SQLAdmin_BackupRunsListResponse */ - public function listBackupRuns($project, $instance, $backupConfiguration, $optParams = array()) + public function listBackupRuns($project, $instance, $optParams = array()) { - $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration); + $params = array('project' => $project, 'instance' => $instance); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse"); } } /** - * The "flags" collection of methods. + * The "databases" collection of methods. * Typical usage is: *
* $sqladminService = new Google_Service_SQLAdmin(...);
- * $flags = $sqladminService->flags;
+ * $databases = $sqladminService->databases;
*
*/
-class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
+class Google_Service_SQLAdmin_Databases_Resource extends Google_Service_Resource
{
/**
- * Lists all database flags that can be set for Google Cloud SQL instances.
- * (flags.listFlags)
+ * Deletes a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.delete)
*
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database to be deleted in the instance.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_FlagsListResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
- public function listFlags($optParams = array())
+ public function delete($project, $instance, $database, $optParams = array())
{
- $params = array();
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
}
-}
-
-/**
- * The "instances" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $instances = $sqladminService->instances;
- *
- */
-class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
-{
/**
- * Creates a Cloud SQL instance as a clone of a source instance.
- * (instances.cloneInstances)
+ * Retrieves a resource containing information about a database inside a Cloud
+ * SQL instance. (databases.get)
*
- * @param string $project Project ID of the source as well as the clone Cloud
- * SQL instance.
- * @param Google_InstancesCloneRequest $postBody
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database in the instance.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesCloneResponse
+ * @return Google_Service_SQLAdmin_Database
*/
- public function cloneInstances($project, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ public function get($project, $instance, $database, $optParams = array())
{
- $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
$params = array_merge($params, $optParams);
- return $this->call('clone', array($params), "Google_Service_SQLAdmin_InstancesCloneResponse");
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_Database");
}
/**
- * Deletes a Cloud SQL instance. (instances.delete)
+ * Inserts a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.insert)
*
- * @param string $project Project ID of the project that contains the instance
- * to be deleted.
- * @param string $instance Cloud SQL instance ID. This does not include the
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
* project ID.
+ * @param Google_Database $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesDeleteResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
- public function delete($project, $instance, $optParams = array())
+ public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Lists databases in the specified Cloud SQL instance.
+ * (databases.listDatabases)
+ *
+ * @param string $project Project ID of the project for which to list Cloud SQL
+ * instances.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_DatabasesListResponse
+ */
+ public function listDatabases($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse");
+ }
+
+ /**
+ * Updates a resource containing information about a database inside a Cloud SQL
+ * instance. This method supports patch semantics. (databases.patch)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database to be updated in the instance.
+ * @param Google_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Updates a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.update)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database to be updated in the instance.
+ * @param Google_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
+
+/**
+ * The "flags" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $flags = $sqladminService->flags;
+ *
+ */
+class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List all available database flags for Google Cloud SQL instances.
+ * (flags.listFlags)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_FlagsListResponse
+ */
+ public function listFlags($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
+ }
+}
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $instances = $sqladminService->instances;
+ *
+ */
+class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a Cloud SQL instance as a clone of the source instance.
+ * (instances.cloneInstances)
+ *
+ * @param string $project Project ID of the source as well as the clone Cloud
+ * SQL instance.
+ * @param string $instance The ID of the Cloud SQL instance to be cloned
+ * (source). This does not include the project ID.
+ * @param Google_InstancesCloneRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Deletes a Cloud SQL instance. (instances.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be deleted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_InstancesDeleteResponse");
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
@@ -652,17 +978,18 @@ public function delete($project, $instance, $optParams = array())
* project ID.
* @param Google_InstancesExportRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesExportResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('export', array($params), "Google_Service_SQLAdmin_InstancesExportResponse");
+ return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
- * Retrieves information about a Cloud SQL instance. (instances.get)
+ * Retrieves a resource containing information about a Cloud SQL instance.
+ * (instances.get)
*
* @param string $project Project ID of the project that contains the instance.
* @param string $instance Database instance ID. This does not include the
@@ -678,21 +1005,21 @@ public function get($project, $instance, $optParams = array())
}
/**
- * Imports data into a Cloud SQL instance from a MySQL dump file stored in a
- * Google Cloud Storage bucket. (instances.import)
+ * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
+ * Storage. (instances.import)
*
* @param string $project Project ID of the project that contains the instance.
* @param string $instance Cloud SQL instance ID. This does not include the
* project ID.
* @param Google_InstancesImportRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesImportResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('import', array($params), "Google_Service_SQLAdmin_InstancesImportResponse");
+ return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
@@ -702,18 +1029,18 @@ public function import($project, $instance, Google_Service_SQLAdmin_InstancesImp
* Cloud SQL instances should belong.
* @param Google_DatabaseInstance $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesInsertResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
{
$params = array('project' => $project, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_InstancesInsertResponse");
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
- * Lists instances for a given project, in alphabetical order by instance name.
- * (instances.listInstances)
+ * Lists instances under a given project in the alphabetical order of the
+ * instance name. (instances.listInstances)
*
* @param string $project Project ID of the project for which to list Cloud SQL
* instances.
@@ -733,7 +1060,9 @@ public function listInstances($project, $optParams = array())
}
/**
- * Updates the settings of a Cloud SQL instance. This method supports patch
+ * Updates settings of a Cloud SQL instance. Caution: This is not a partial
+ * update, so you must include values for all the settings that you want to
+ * retain. For partial updates, use patch.. This method supports patch
* semantics. (instances.patch)
*
* @param string $project Project ID of the project that contains the instance.
@@ -741,13 +1070,13 @@ public function listInstances($project, $optParams = array())
* project ID.
* @param Google_DatabaseInstance $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesUpdateResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_SQLAdmin_InstancesUpdateResponse");
+ return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
@@ -757,30 +1086,32 @@ public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInsta
* @param string $project ID of the project that contains the read replica.
* @param string $instance Cloud SQL read replica instance name.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesPromoteReplicaResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function promoteReplica($project, $instance, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance);
$params = array_merge($params, $optParams);
- return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_InstancesPromoteReplicaResponse");
+ return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
* Deletes all client certificates and generates a new server SSL certificate
- * for a Cloud SQL instance. (instances.resetSslConfig)
+ * for the instance. The changes will not take effect until the instance is
+ * restarted. Existing instances without a server certificate will need to call
+ * this once to set a server certificate. (instances.resetSslConfig)
*
* @param string $project Project ID of the project that contains the instance.
* @param string $instance Cloud SQL instance ID. This does not include the
* project ID.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesResetSslConfigResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function resetSslConfig($project, $instance, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance);
$params = array_merge($params, $optParams);
- return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_InstancesResetSslConfigResponse");
+ return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
@@ -791,13 +1122,13 @@ public function resetSslConfig($project, $instance, $optParams = array())
* @param string $instance Cloud SQL instance ID. This does not include the
* project ID.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesRestartResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function restart($project, $instance, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance);
$params = array_merge($params, $optParams);
- return $this->call('restart', array($params), "Google_Service_SQLAdmin_InstancesRestartResponse");
+ return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
@@ -806,55 +1137,64 @@ public function restart($project, $instance, $optParams = array())
* @param string $project Project ID of the project that contains the instance.
* @param string $instance Cloud SQL instance ID. This does not include the
* project ID.
- * @param string $backupConfiguration The identifier of the backup
- * configuration. This gets generated automatically when a backup configuration
- * is created.
- * @param string $dueTime The start time of the four-hour backup window. The
- * backup can occur any time in the window. The time is in RFC 3339 format, for
- * example 2012-11-15T16:19:00.094Z.
+ * @param Google_InstancesRestoreBackupRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesRestoreBackupResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
- public function restoreBackup($project, $instance, $backupConfiguration, $dueTime, $optParams = array())
+ public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array())
{
- $params = array('project' => $project, 'instance' => $instance, 'backupConfiguration' => $backupConfiguration, 'dueTime' => $dueTime);
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_InstancesRestoreBackupResponse");
+ return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
- * Sets the password for the root user of the specified Cloud SQL instance.
- * (instances.setRootPassword)
+ * Starts the replication in the read replica instance. (instances.startReplica)
*
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstanceSetRootPasswordRequest $postBody
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL read replica instance name.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesSetRootPasswordResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
- public function setRootPassword($project, $instance, Google_Service_SQLAdmin_InstanceSetRootPasswordRequest $postBody, $optParams = array())
+ public function startReplica($project, $instance, $optParams = array())
{
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Stops the replication in the read replica instance. (instances.stopReplica)
+ *
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL read replica instance name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function stopReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
$params = array_merge($params, $optParams);
- return $this->call('setRootPassword', array($params), "Google_Service_SQLAdmin_InstancesSetRootPasswordResponse");
+ return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
- * Updates the settings of a Cloud SQL instance. (instances.update)
+ * Updates settings of a Cloud SQL instance. Caution: This is not a partial
+ * update, so you must include values for all the settings that you want to
+ * retain. For partial updates, use patch. (instances.update)
*
* @param string $project Project ID of the project that contains the instance.
* @param string $instance Cloud SQL instance ID. This does not include the
* project ID.
* @param Google_DatabaseInstance $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstancesUpdateResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_InstancesUpdateResponse");
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
}
}
@@ -870,25 +1210,24 @@ class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resourc
{
/**
- * Retrieves information about a specific operation that was performed on a
- * Cloud SQL instance. (operations.get)
+ * Retrieves an instance operation that has been performed on an instance.
+ * (operations.get)
*
* @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
* @param string $operation Instance operation ID.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_InstanceOperation
+ * @return Google_Service_SQLAdmin_Operation
*/
- public function get($project, $instance, $operation, $optParams = array())
+ public function get($project, $operation, $optParams = array())
{
- $params = array('project' => $project, 'instance' => $instance, 'operation' => $operation);
+ $params = array('project' => $project, 'operation' => $operation);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_InstanceOperation");
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
- * Lists all operations that have been performed on a Cloud SQL instance.
+ * Lists all instance operations that have been performed on the given Cloud SQL
+ * instance in the reverse chronological order of the start time.
* (operations.listOperations)
*
* @param string $project Project ID of the project that contains the instance.
@@ -921,7 +1260,8 @@ class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
{
/**
- * Deletes an SSL certificate from a Cloud SQL instance. (sslCerts.delete)
+ * Deletes the SSL certificate. The change will not take effect until the
+ * instance is restarted. (sslCerts.delete)
*
* @param string $project Project ID of the project that contains the instance
* to be deleted.
@@ -929,18 +1269,19 @@ class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
* project ID.
* @param string $sha1Fingerprint Sha1 FingerPrint.
* @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCertsDeleteResponse
+ * @return Google_Service_SQLAdmin_Operation
*/
public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
{
$params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_SslCertsDeleteResponse");
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
}
/**
- * Retrieves an SSL certificate as specified by its SHA-1 fingerprint.
- * (sslCerts.get)
+ * Retrieves a particular SSL certificate. Does not include the private key
+ * (required for usage). The private key must be saved from the response to
+ * initial creation. (sslCerts.get)
*
* @param string $project Project ID of the project that contains the instance.
* @param string $instance Cloud SQL instance ID. This does not include the
@@ -957,8 +1298,9 @@ public function get($project, $instance, $sha1Fingerprint, $optParams = array())
}
/**
- * Creates an SSL certificate and returns the certificate, the associated
- * private key, and the server certificate authority. (sslCerts.insert)
+ * Creates an SSL certificate and returns it along with the private key and
+ * server certificate authority. The new certificate will not be usable until
+ * the instance is restarted. (sslCerts.insert)
*
* @param string $project Project ID of the project to which the newly created
* Cloud SQL instances should belong.
@@ -976,7 +1318,7 @@ public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInse
}
/**
- * Lists all of the current SSL certificates defined for a Cloud SQL instance.
+ * Lists all of the current SSL certificates for the instance.
* (sslCerts.listSslCerts)
*
* @param string $project Project ID of the project for which to list Cloud SQL
@@ -1006,8 +1348,8 @@ class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
{
/**
- * Lists service tiers that can be used to create Google Cloud SQL instances.
- * (tiers.listTiers)
+ * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
+ * For related information, see Pricing. (tiers.listTiers)
*
* @param string $project Project ID of the project for which to list tiers.
* @param array $optParams Optional parameters.
@@ -1021,16 +1363,141 @@ public function listTiers($project, $optParams = array())
}
}
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $users = $sqladminService->users;
+ *
+ */
+class Google_Service_SQLAdmin_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a user from a Cloud SQL instance. (users.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $host Host of the user in the instance.
+ * @param string $name Name of the user in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $host, $name, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Creates a new user in a Cloud SQL instance. (users.insert)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Lists users in the specified Cloud SQL instance. (users.listUsers)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_UsersListResponse
+ */
+ public function listUsers($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse");
+ }
+
+ /**
+ * Updates an existing user in a Cloud SQL instance. (users.update)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $host Host of the user in the instance.
+ * @param string $name Name of the user in the instance.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
+
+class Google_Service_SQLAdmin_AclEntry extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $expirationTime;
+ public $kind;
+ public $name;
+ public $value;
+
+
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $binaryLogEnabled;
public $enabled;
- public $id;
public $kind;
public $startTime;
@@ -1051,14 +1518,6 @@ public function getEnabled()
{
return $this->enabled;
}
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
public function setKind($kind)
{
$this->kind = $kind;
@@ -1081,34 +1540,19 @@ class Google_Service_SQLAdmin_BackupRun extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $backupConfiguration;
- public $dueTime;
public $endTime;
public $enqueuedTime;
protected $errorType = 'Google_Service_SQLAdmin_OperationError';
protected $errorDataType = '';
+ public $id;
public $instance;
public $kind;
+ public $selfLink;
public $startTime;
public $status;
+ public $windowStartTime;
- public function setBackupConfiguration($backupConfiguration)
- {
- $this->backupConfiguration = $backupConfiguration;
- }
- public function getBackupConfiguration()
- {
- return $this->backupConfiguration;
- }
- public function setDueTime($dueTime)
- {
- $this->dueTime = $dueTime;
- }
- public function getDueTime()
- {
- return $this->dueTime;
- }
public function setEndTime($endTime)
{
$this->endTime = $endTime;
@@ -1133,6 +1577,14 @@ public function getError()
{
return $this->error;
}
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
public function setInstance($instance)
{
$this->instance = $instance;
@@ -1149,6 +1601,14 @@ public function getKind()
{
return $this->kind;
}
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
public function setStartTime($startTime)
{
$this->startTime = $startTime;
@@ -1165,6 +1625,14 @@ public function getStatus()
{
return $this->status;
}
+ public function setWindowStartTime($windowStartTime)
+ {
+ $this->windowStartTime = $windowStartTime;
+ }
+ public function getWindowStartTime()
+ {
+ return $this->windowStartTime;
+ }
}
class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
@@ -1247,7 +1715,6 @@ class Google_Service_SQLAdmin_CloneContext extends Google_Model
protected $binLogCoordinatesDataType = '';
public $destinationInstanceName;
public $kind;
- public $sourceInstanceName;
public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
@@ -1274,13 +1741,85 @@ public function getKind()
{
return $this->kind;
}
- public function setSourceInstanceName($sourceInstanceName)
+}
+
+class Google_Service_SQLAdmin_Database extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $charset;
+ public $collation;
+ public $etag;
+ public $instance;
+ public $kind;
+ public $name;
+ public $project;
+ public $selfLink;
+
+
+ public function setCharset($charset)
{
- $this->sourceInstanceName = $sourceInstanceName;
+ $this->charset = $charset;
}
- public function getSourceInstanceName()
+ public function getCharset()
{
- return $this->sourceInstanceName;
+ return $this->charset;
+ }
+ public function setCollation($collation)
+ {
+ $this->collation = $collation;
+ }
+ public function getCollation()
+ {
+ return $this->collation;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
}
}
@@ -1318,7 +1857,6 @@ class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
public $currentDiskSize;
public $databaseVersion;
public $etag;
- public $instance;
public $instanceType;
protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
protected $ipAddressesDataType = 'array';
@@ -1326,9 +1864,11 @@ class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
public $kind;
public $masterInstanceName;
public $maxDiskSize;
+ public $name;
public $project;
public $region;
public $replicaNames;
+ public $selfLink;
protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
protected $serverCaCertDataType = '';
public $serviceAccountEmailAddress;
@@ -1361,14 +1901,6 @@ public function getEtag()
{
return $this->etag;
}
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
@@ -1417,6 +1949,14 @@ public function getMaxDiskSize()
{
return $this->maxDiskSize;
}
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
public function setProject($project)
{
$this->project = $project;
@@ -1441,6 +1981,14 @@ public function getReplicaNames()
{
return $this->replicaNames;
}
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
{
$this->serverCaCert = $serverCaCert;
@@ -1475,24 +2023,72 @@ public function getState()
}
}
+class Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_Database';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
class Google_Service_SQLAdmin_ExportContext extends Google_Collection
{
- protected $collection_key = 'table';
+ protected $collection_key = 'databases';
protected $internal_gapi_mappings = array(
);
- public $database;
+ protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions';
+ protected $csvExportOptionsDataType = '';
+ public $databases;
+ public $fileType;
public $kind;
- public $table;
+ protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions';
+ protected $sqlExportOptionsDataType = '';
public $uri;
- public function setDatabase($database)
+ public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions)
{
- $this->database = $database;
+ $this->csvExportOptions = $csvExportOptions;
}
- public function getDatabase()
+ public function getCsvExportOptions()
{
- return $this->database;
+ return $this->csvExportOptions;
+ }
+ public function setDatabases($databases)
+ {
+ $this->databases = $databases;
+ }
+ public function getDatabases()
+ {
+ return $this->databases;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
}
public function setKind($kind)
{
@@ -1502,13 +2098,13 @@ public function getKind()
{
return $this->kind;
}
- public function setTable($table)
+ public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions)
{
- $this->table = $table;
+ $this->sqlExportOptions = $sqlExportOptions;
}
- public function getTable()
+ public function getSqlExportOptions()
{
- return $this->table;
+ return $this->sqlExportOptions;
}
public function setUri($uri)
{
@@ -1520,6 +2116,41 @@ public function getUri()
}
}
+class Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selectQuery;
+
+
+ public function setSelectQuery($selectQuery)
+ {
+ $this->selectQuery = $selectQuery;
+ }
+ public function getSelectQuery()
+ {
+ return $this->selectQuery;
+ }
+}
+
+class Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection
+{
+ protected $collection_key = 'tables';
+ protected $internal_gapi_mappings = array(
+ );
+ public $tables;
+
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
+
class Google_Service_SQLAdmin_Flag extends Google_Collection
{
protected $collection_key = 'appliesTo';
@@ -1620,16 +2251,26 @@ public function getKind()
}
}
-class Google_Service_SQLAdmin_ImportContext extends Google_Collection
+class Google_Service_SQLAdmin_ImportContext extends Google_Model
{
- protected $collection_key = 'uri';
protected $internal_gapi_mappings = array(
);
+ protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
+ protected $csvImportOptionsDataType = '';
public $database;
+ public $fileType;
public $kind;
public $uri;
+ public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
+ {
+ $this->csvImportOptions = $csvImportOptions;
+ }
+ public function getCsvImportOptions()
+ {
+ return $this->csvImportOptions;
+ }
public function setDatabase($database)
{
$this->database = $database;
@@ -1638,6 +2279,14 @@ public function getDatabase()
{
return $this->database;
}
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
public function setKind($kind)
{
$this->kind = $kind;
@@ -1656,141 +2305,30 @@ public function getUri()
}
}
-class Google_Service_SQLAdmin_InstanceOperation extends Google_Collection
+class Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection
{
- protected $collection_key = 'error';
+ protected $collection_key = 'columns';
protected $internal_gapi_mappings = array(
);
- public $endTime;
- public $enqueuedTime;
- protected $errorType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorDataType = 'array';
- protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
- protected $exportContextDataType = '';
- protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
- protected $importContextDataType = '';
- public $instance;
- public $kind;
- public $operation;
- public $operationType;
- public $startTime;
- public $state;
- public $userEmailAddress;
+ public $columns;
+ public $table;
- public function setEndTime($endTime)
+ public function setColumns($columns)
{
- $this->endTime = $endTime;
- }
- public function getEndTime()
- {
- return $this->endTime;
- }
- public function setEnqueuedTime($enqueuedTime)
- {
- $this->enqueuedTime = $enqueuedTime;
- }
- public function getEnqueuedTime()
- {
- return $this->enqueuedTime;
- }
- public function setError($error)
- {
- $this->error = $error;
- }
- public function getError()
- {
- return $this->error;
- }
- public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
- {
- $this->exportContext = $exportContext;
- }
- public function getExportContext()
- {
- return $this->exportContext;
+ $this->columns = $columns;
}
- public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
- {
- $this->importContext = $importContext;
- }
- public function getImportContext()
- {
- return $this->importContext;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
+ public function getColumns()
{
- return $this->kind;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
+ return $this->columns;
}
- public function getOperation()
- {
- return $this->operation;
- }
- public function setOperationType($operationType)
- {
- $this->operationType = $operationType;
- }
- public function getOperationType()
- {
- return $this->operationType;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
- public function setState($state)
- {
- $this->state = $state;
- }
- public function getState()
- {
- return $this->state;
- }
- public function setUserEmailAddress($userEmailAddress)
- {
- $this->userEmailAddress = $userEmailAddress;
- }
- public function getUserEmailAddress()
- {
- return $this->userEmailAddress;
- }
-}
-
-class Google_Service_SQLAdmin_InstanceSetRootPasswordRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $setRootPasswordContextType = 'Google_Service_SQLAdmin_SetRootPasswordContext';
- protected $setRootPasswordContextDataType = '';
-
-
- public function setSetRootPasswordContext(Google_Service_SQLAdmin_SetRootPasswordContext $setRootPasswordContext)
+ public function setTable($table)
{
- $this->setRootPasswordContext = $setRootPasswordContext;
+ $this->table = $table;
}
- public function getSetRootPasswordContext()
+ public function getTable()
{
- return $this->setRootPasswordContext;
+ return $this->table;
}
}
@@ -1812,58 +2350,6 @@ public function getCloneContext()
}
}
-class Google_Service_SQLAdmin_InstancesCloneResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
- }
- public function getOperation()
- {
- return $this->operation;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesDeleteResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
- }
- public function getOperation()
- {
- return $this->operation;
- }
-}
-
class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -1882,32 +2368,6 @@ public function getExportContext()
}
}
-class Google_Service_SQLAdmin_InstancesExportResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
- }
- public function getOperation()
- {
- return $this->operation;
- }
-}
-
class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -1926,14 +2386,25 @@ public function getImportContext()
}
}
-class Google_Service_SQLAdmin_InstancesImportResponse extends Google_Model
+class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
{
+ protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
+ protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
+ protected $itemsDataType = 'array';
public $kind;
- public $operation;
+ public $nextPageToken;
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
public function setKind($kind)
{
$this->kind = $kind;
@@ -1942,113 +2413,114 @@ public function getKind()
{
return $this->kind;
}
- public function setOperation($operation)
+ public function setNextPageToken($nextPageToken)
{
- $this->operation = $operation;
+ $this->nextPageToken = $nextPageToken;
}
- public function getOperation()
+ public function getNextPageToken()
{
- return $this->operation;
+ return $this->nextPageToken;
}
}
-class Google_Service_SQLAdmin_InstancesInsertResponse extends Google_Model
+class Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $kind;
- public $operation;
+ protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext';
+ protected $restoreBackupContextDataType = '';
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
+ public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext)
{
- return $this->kind;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
+ $this->restoreBackupContext = $restoreBackupContext;
}
- public function getOperation()
+ public function getRestoreBackupContext()
{
- return $this->operation;
+ return $this->restoreBackupContext;
}
}
-class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
+class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
{
- protected $collection_key = 'items';
+ protected $collection_key = 'authorizedNetworks';
protected $internal_gapi_mappings = array(
);
- protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
+ protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry';
+ protected $authorizedNetworksDataType = 'array';
+ public $ipv4Enabled;
+ public $requireSsl;
- public function setItems($items)
+ public function setAuthorizedNetworks($authorizedNetworks)
{
- $this->items = $items;
+ $this->authorizedNetworks = $authorizedNetworks;
}
- public function getItems()
+ public function getAuthorizedNetworks()
{
- return $this->items;
+ return $this->authorizedNetworks;
}
- public function setKind($kind)
+ public function setIpv4Enabled($ipv4Enabled)
{
- $this->kind = $kind;
+ $this->ipv4Enabled = $ipv4Enabled;
}
- public function getKind()
+ public function getIpv4Enabled()
{
- return $this->kind;
+ return $this->ipv4Enabled;
}
- public function setNextPageToken($nextPageToken)
+ public function setRequireSsl($requireSsl)
{
- $this->nextPageToken = $nextPageToken;
+ $this->requireSsl = $requireSsl;
}
- public function getNextPageToken()
+ public function getRequireSsl()
{
- return $this->nextPageToken;
+ return $this->requireSsl;
}
}
-class Google_Service_SQLAdmin_InstancesPromoteReplicaResponse extends Google_Model
+class Google_Service_SQLAdmin_IpMapping extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $kind;
- public $operation;
+ public $ipAddress;
+ public $timeToRetire;
- public function setKind($kind)
+ public function setIpAddress($ipAddress)
{
- $this->kind = $kind;
+ $this->ipAddress = $ipAddress;
}
- public function getKind()
+ public function getIpAddress()
{
- return $this->kind;
+ return $this->ipAddress;
}
- public function setOperation($operation)
+ public function setTimeToRetire($timeToRetire)
{
- $this->operation = $operation;
+ $this->timeToRetire = $timeToRetire;
}
- public function getOperation()
+ public function getTimeToRetire()
{
- return $this->operation;
+ return $this->timeToRetire;
}
}
-class Google_Service_SQLAdmin_InstancesResetSslConfigResponse extends Google_Model
+class Google_Service_SQLAdmin_LocationPreference extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ public $followGaeApplication;
public $kind;
- public $operation;
+ public $zone;
+ public function setFollowGaeApplication($followGaeApplication)
+ {
+ $this->followGaeApplication = $followGaeApplication;
+ }
+ public function getFollowGaeApplication()
+ {
+ return $this->followGaeApplication;
+ }
public function setKind($kind)
{
$this->kind = $kind;
@@ -2057,76 +2529,80 @@ public function getKind()
{
return $this->kind;
}
- public function setOperation($operation)
+ public function setZone($zone)
{
- $this->operation = $operation;
+ $this->zone = $zone;
}
- public function getOperation()
+ public function getZone()
{
- return $this->operation;
+ return $this->zone;
}
}
-class Google_Service_SQLAdmin_InstancesRestartResponse extends Google_Model
+class Google_Service_SQLAdmin_Operation extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ public $endTime;
+ protected $errorType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorDataType = '';
+ protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+ protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+ public $insertTime;
public $kind;
- public $operation;
+ public $name;
+ public $operationType;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $targetId;
+ public $targetLink;
+ public $targetProject;
+ public $user;
- public function setKind($kind)
+ public function setEndTime($endTime)
{
- $this->kind = $kind;
+ $this->endTime = $endTime;
}
- public function getKind()
+ public function getEndTime()
{
- return $this->kind;
+ return $this->endTime;
}
- public function setOperation($operation)
+ public function setError(Google_Service_SQLAdmin_OperationError $error)
{
- $this->operation = $operation;
+ $this->error = $error;
}
- public function getOperation()
+ public function getError()
{
- return $this->operation;
+ return $this->error;
}
-}
-
-class Google_Service_SQLAdmin_InstancesRestoreBackupResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
- public function setKind($kind)
+ public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
{
- $this->kind = $kind;
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+ public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
}
- public function getKind()
+ public function getImportContext()
{
- return $this->kind;
+ return $this->importContext;
}
- public function setOperation($operation)
+ public function setInsertTime($insertTime)
{
- $this->operation = $operation;
+ $this->insertTime = $insertTime;
}
- public function getOperation()
+ public function getInsertTime()
{
- return $this->operation;
+ return $this->insertTime;
}
-}
-
-class Google_Service_SQLAdmin_InstancesSetRootPasswordResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
public function setKind($kind)
{
$this->kind = $kind;
@@ -2135,129 +2611,96 @@ public function getKind()
{
return $this->kind;
}
- public function setOperation($operation)
+ public function setName($name)
{
- $this->operation = $operation;
+ $this->name = $name;
}
- public function getOperation()
+ public function getName()
{
- return $this->operation;
+ return $this->name;
}
-}
-
-class Google_Service_SQLAdmin_InstancesUpdateResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
- public function setKind($kind)
+ public function setOperationType($operationType)
{
- $this->kind = $kind;
+ $this->operationType = $operationType;
}
- public function getKind()
+ public function getOperationType()
{
- return $this->kind;
+ return $this->operationType;
}
- public function setOperation($operation)
+ public function setSelfLink($selfLink)
{
- $this->operation = $operation;
+ $this->selfLink = $selfLink;
}
- public function getOperation()
+ public function getSelfLink()
{
- return $this->operation;
+ return $this->selfLink;
}
-}
-
-class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
-{
- protected $collection_key = 'authorizedNetworks';
- protected $internal_gapi_mappings = array(
- );
- public $authorizedNetworks;
- public $enabled;
- public $kind;
- public $requireSsl;
-
-
- public function setAuthorizedNetworks($authorizedNetworks)
+ public function setStartTime($startTime)
{
- $this->authorizedNetworks = $authorizedNetworks;
+ $this->startTime = $startTime;
}
- public function getAuthorizedNetworks()
+ public function getStartTime()
{
- return $this->authorizedNetworks;
+ return $this->startTime;
}
- public function setEnabled($enabled)
+ public function setStatus($status)
{
- $this->enabled = $enabled;
+ $this->status = $status;
}
- public function getEnabled()
+ public function getStatus()
{
- return $this->enabled;
+ return $this->status;
}
- public function setKind($kind)
+ public function setTargetId($targetId)
{
- $this->kind = $kind;
+ $this->targetId = $targetId;
}
- public function getKind()
+ public function getTargetId()
{
- return $this->kind;
+ return $this->targetId;
}
- public function setRequireSsl($requireSsl)
+ public function setTargetLink($targetLink)
{
- $this->requireSsl = $requireSsl;
+ $this->targetLink = $targetLink;
}
- public function getRequireSsl()
+ public function getTargetLink()
{
- return $this->requireSsl;
+ return $this->targetLink;
}
-}
-
-class Google_Service_SQLAdmin_IpMapping extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $ipAddress;
- public $timeToRetire;
-
-
- public function setIpAddress($ipAddress)
+ public function setTargetProject($targetProject)
{
- $this->ipAddress = $ipAddress;
+ $this->targetProject = $targetProject;
}
- public function getIpAddress()
+ public function getTargetProject()
{
- return $this->ipAddress;
+ return $this->targetProject;
}
- public function setTimeToRetire($timeToRetire)
+ public function setUser($user)
{
- $this->timeToRetire = $timeToRetire;
+ $this->user = $user;
}
- public function getTimeToRetire()
+ public function getUser()
{
- return $this->timeToRetire;
+ return $this->user;
}
}
-class Google_Service_SQLAdmin_LocationPreference extends Google_Model
+class Google_Service_SQLAdmin_OperationError extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $followGaeApplication;
+ public $code;
public $kind;
- public $zone;
+ public $message;
- public function setFollowGaeApplication($followGaeApplication)
+ public function setCode($code)
{
- $this->followGaeApplication = $followGaeApplication;
+ $this->code = $code;
}
- public function getFollowGaeApplication()
+ public function getCode()
{
- return $this->followGaeApplication;
+ return $this->code;
}
public function setKind($kind)
{
@@ -2267,39 +2710,32 @@ public function getKind()
{
return $this->kind;
}
- public function setZone($zone)
+ public function setMessage($message)
{
- $this->zone = $zone;
+ $this->message = $message;
}
- public function getZone()
+ public function getMessage()
{
- return $this->zone;
+ return $this->message;
}
}
-class Google_Service_SQLAdmin_OperationError extends Google_Model
+class Google_Service_SQLAdmin_OperationError extends Google_Collection
{
+ protected $collection_key = 'errors';
protected $internal_gapi_mappings = array(
);
- public $code;
- public $kind;
+ protected $errorsType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorsDataType = 'array';
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function getCode()
+ public function setErrors($errors)
{
- return $this->code;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
+ $this->errors = $errors;
}
- public function getKind()
+ public function getErrors()
{
- return $this->kind;
+ return $this->errors;
}
}
@@ -2308,7 +2744,7 @@ class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
- protected $itemsType = 'Google_Service_SQLAdmin_InstanceOperation';
+ protected $itemsType = 'Google_Service_SQLAdmin_Operation';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
@@ -2340,29 +2776,29 @@ public function getNextPageToken()
}
}
-class Google_Service_SQLAdmin_SetRootPasswordContext extends Google_Model
+class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ public $backupRunId;
public $kind;
- public $password;
- public function setKind($kind)
+ public function setBackupRunId($backupRunId)
{
- $this->kind = $kind;
+ $this->backupRunId = $backupRunId;
}
- public function getKind()
+ public function getBackupRunId()
{
- return $this->kind;
+ return $this->backupRunId;
}
- public function setPassword($password)
+ public function setKind($kind)
{
- $this->password = $password;
+ $this->kind = $kind;
}
- public function getPassword()
+ public function getKind()
{
- return $this->password;
+ return $this->kind;
}
}
@@ -2374,7 +2810,7 @@ class Google_Service_SQLAdmin_Settings extends Google_Collection
public $activationPolicy;
public $authorizedGaeApplications;
protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
- protected $backupConfigurationDataType = 'array';
+ protected $backupConfigurationDataType = '';
protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
protected $databaseFlagsDataType = 'array';
public $databaseReplicationEnabled;
@@ -2405,7 +2841,7 @@ public function getAuthorizedGaeApplications()
{
return $this->authorizedGaeApplications;
}
- public function setBackupConfiguration($backupConfiguration)
+ public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration)
{
$this->backupConfiguration = $backupConfiguration;
}
@@ -2498,6 +2934,7 @@ class Google_Service_SQLAdmin_SslCert extends Google_Model
public $expirationTime;
public $instance;
public $kind;
+ public $selfLink;
public $sha1Fingerprint;
@@ -2557,6 +2994,14 @@ public function getKind()
{
return $this->kind;
}
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
public function setSha1Fingerprint($sha1Fingerprint)
{
$this->sha1Fingerprint = $sha1Fingerprint;
@@ -2594,32 +3039,6 @@ public function getCertPrivateKey()
}
}
-class Google_Service_SQLAdmin_SslCertsDeleteResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $operation;
-
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setOperation($operation)
- {
- $this->operation = $operation;
- }
- public function getOperation()
- {
- return $this->operation;
- }
-}
-
class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -2785,3 +3204,111 @@ public function getKind()
return $this->kind;
}
}
+
+class Google_Service_SQLAdmin_User extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $host;
+ public $instance;
+ public $kind;
+ public $name;
+ public $password;
+ public $project;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
+
+class Google_Service_SQLAdmin_UsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_User';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
From 1a2a14ad9a89f517d40419bf9121d2189e5fd8cf Mon Sep 17 00:00:00 2001
From: Silvano Luciani * API for accessing Google Cloud and API monitoring data.
* ** For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. */ class Google_Service_CloudMonitoring extends Google_Service { - /** View monitoring data for all of your Google Cloud and API projects. */ - const MONITORING_READONLY = - "https://www.googleapis.com/auth/monitoring.readonly"; + /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */ + const MONITORING = + "https://www.googleapis.com/auth/monitoring"; public $metricDescriptors; public $timeseries; @@ -47,8 +47,8 @@ class Google_Service_CloudMonitoring extends Google_Service public function __construct(Google_Client $client) { parent::__construct($client); - $this->servicePath = 'cloudmonitoring/v2beta1/projects/'; - $this->version = 'v2beta1'; + $this->servicePath = 'cloudmonitoring/v2beta2/projects/'; + $this->version = 'v2beta2'; $this->serviceName = 'cloudmonitoring'; $this->metricDescriptors = new Google_Service_CloudMonitoring_MetricDescriptors_Resource( @@ -57,7 +57,32 @@ public function __construct(Google_Client $client) 'metricDescriptors', array( 'methods' => array( - 'list' => array( + 'create' => array( + 'path' => '{project}/metricDescriptors', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => '{project}/metricDescriptors/{metric}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metric' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( 'path' => '{project}/metricDescriptors', 'httpMethod' => 'GET', 'parameters' => array( @@ -138,6 +163,16 @@ public function __construct(Google_Client $client) 'type' => 'string', ), ), + ),'write' => array( + 'path' => '{project}/timeseries:write', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), ), ) ) @@ -216,6 +251,37 @@ public function __construct(Google_Client $client) class Google_Service_CloudMonitoring_MetricDescriptors_Resource extends Google_Service_Resource { + /** + * Create a new metric. (metricDescriptors.create) + * + * @param string $project The project id. The value can be the numeric project + * ID or string-based project name. + * @param Google_MetricDescriptor $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_MetricDescriptor + */ + public function create($project, Google_Service_CloudMonitoring_MetricDescriptor $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('create', array($params), "Google_Service_CloudMonitoring_MetricDescriptor"); + } + + /** + * Delete an existing metric. (metricDescriptors.delete) + * + * @param string $project The project ID to which the metric belongs. + * @param string $metric Name of the metric. + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse + */ + public function delete($project, $metric, $optParams = array()) + { + $params = array('project' => $project, 'metric' => $metric); + $params = array_merge($params, $optParams); + return $this->call('delete', array($params), "Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse"); + } + /** * List metric descriptors that match the query. If the query is not set, then * all of the metric descriptors will be returned. Large responses will be @@ -313,6 +379,28 @@ public function listTimeseries($project, $metric, $youngest, $optParams = array( $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_CloudMonitoring_ListTimeseriesResponse"); } + + /** + * Put data points to one or more time series for one or more metrics. If a time + * series does not exist, a new time series will be created. It is not allowed + * to write a time series point that is older than the existing youngest point + * of that time series. Points that are older than the existing youngest point + * of that time series will be discarded silently. Therefore, users should make + * sure that points of a time series are written sequentially in the order of + * their end time. (timeseries.write) + * + * @param string $project The project ID. The value can be the numeric project + * ID or string-based project name. + * @param Google_WriteTimeseriesRequest $postBody + * @param array $optParams Optional parameters. + * @return Google_Service_CloudMonitoring_WriteTimeseriesResponse + */ + public function write($project, Google_Service_CloudMonitoring_WriteTimeseriesRequest $postBody, $optParams = array()) + { + $params = array('project' => $project, 'postBody' => $postBody); + $params = array_merge($params, $optParams); + return $this->call('write', array($params), "Google_Service_CloudMonitoring_WriteTimeseriesResponse"); + } } /** @@ -386,6 +474,23 @@ public function listTimeseriesDescriptors($project, $metric, $youngest, $optPara +class Google_Service_CloudMonitoring_DeleteMetricDescriptorResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} + class Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends Google_Model { protected $internal_gapi_mappings = array( @@ -983,3 +1088,80 @@ public function getValue() class Google_Service_CloudMonitoring_TimeseriesDescriptorLabels extends Google_Model { } + +class Google_Service_CloudMonitoring_TimeseriesPoint extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + protected $pointType = 'Google_Service_CloudMonitoring_Point'; + protected $pointDataType = ''; + protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor'; + protected $timeseriesDescDataType = ''; + + + public function setPoint(Google_Service_CloudMonitoring_Point $point) + { + $this->point = $point; + } + public function getPoint() + { + return $this->point; + } + public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc) + { + $this->timeseriesDesc = $timeseriesDesc; + } + public function getTimeseriesDesc() + { + return $this->timeseriesDesc; + } +} + +class Google_Service_CloudMonitoring_WriteTimeseriesRequest extends Google_Collection +{ + protected $collection_key = 'timeseries'; + protected $internal_gapi_mappings = array( + ); + public $commonLabels; + protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesPoint'; + protected $timeseriesDataType = 'array'; + + + public function setCommonLabels($commonLabels) + { + $this->commonLabels = $commonLabels; + } + public function getCommonLabels() + { + return $this->commonLabels; + } + public function setTimeseries($timeseries) + { + $this->timeseries = $timeseries; + } + public function getTimeseries() + { + return $this->timeseries; + } +} + +class Google_Service_CloudMonitoring_WriteTimeseriesRequestCommonLabels extends Google_Model +{ +} + +class Google_Service_CloudMonitoring_WriteTimeseriesResponse extends Google_Model +{ + protected $internal_gapi_mappings = array( + ); + public $kind; + + + public function setKind($kind) + { + $this->kind = $kind; + } + public function getKind() + { + return $this->kind; + } +} From f719b85f88ea00e11a9a795322e7277d02a549d6 Mon Sep 17 00:00:00 2001 From: pulkit
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $groupItems = $youtubeAnalyticsService->groupItems;
+ *
+ */
+class Google_Service_YouTubeAnalytics_GroupItems_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes an item from a group. (groupItems.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube group item ID for
+ * the group that is being deleted.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a group item. (groupItems.insert)
+ *
+ * @param Google_GroupItem $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Google_Service_YouTubeAnalytics_GroupItem
+ */
+ public function insert(Google_Service_YouTubeAnalytics_GroupItem $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_GroupItem");
+ }
+
+ /**
+ * Returns a collection of group items that match the API request parameters.
+ * (groupItems.listGroupItems)
+ *
+ * @param string $groupId The id parameter specifies the unique ID of the group
+ * for which you want to retrieve group items.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Google_Service_YouTubeAnalytics_GroupItemListResponse
+ */
+ public function listGroupItems($groupId, $optParams = array())
+ {
+ $params = array('groupId' => $groupId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupItemListResponse");
+ }
+}
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ *
+ * $youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
+ * $groups = $youtubeAnalyticsService->groups;
+ *
+ */
+class Google_Service_YouTubeAnalytics_Groups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a group. (groups.delete)
+ *
+ * @param string $id The id parameter specifies the YouTube group ID for the
+ * group that is being deleted.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a group. (groups.insert)
+ *
+ * @param Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Google_Service_YouTubeAnalytics_Group
+ */
+ public function insert(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTubeAnalytics_Group");
+ }
+
+ /**
+ * Returns a collection of groups that match the API request parameters. For
+ * example, you can retrieve all groups that the authenticated user owns, or you
+ * can retrieve one or more groups by their unique IDs. (groups.listGroups)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube group ID(s) for the resource(s) that are being retrieved. In a group
+ * resource, the id property specifies the group's YouTube group ID.
+ * @opt_param bool mine Set this parameter's value to true to instruct the API
+ * to only return groups owned by the authenticated user.
+ * @return Google_Service_YouTubeAnalytics_GroupListResponse
+ */
+ public function listGroups($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTubeAnalytics_GroupListResponse");
+ }
+
+ /**
+ * Modifies a group. For example, you could change a group's title.
+ * (groups.update)
+ *
+ * @param Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ * @return Google_Service_YouTubeAnalytics_Group
+ */
+ public function update(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTubeAnalytics_Group");
+ }
+}
+
/**
* The "reports" collection of methods.
* Typical usage is:
@@ -515,6 +854,267 @@ public function getStartTime()
}
}
+class Google_Service_YouTubeAnalytics_Group extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $contentDetailsType = 'Google_Service_YouTubeAnalytics_GroupContentDetails';
+ protected $contentDetailsDataType = '';
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTubeAnalytics_GroupSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setContentDetails(Google_Service_YouTubeAnalytics_GroupContentDetails $contentDetails)
+ {
+ $this->contentDetails = $contentDetails;
+ }
+ public function getContentDetails()
+ {
+ return $this->contentDetails;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Google_Service_YouTubeAnalytics_GroupSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_GroupContentDetails extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $itemCount;
+ public $itemType;
+
+
+ public function setItemCount($itemCount)
+ {
+ $this->itemCount = $itemCount;
+ }
+ public function getItemCount()
+ {
+ return $this->itemCount;
+ }
+ public function setItemType($itemType)
+ {
+ $this->itemType = $itemType;
+ }
+ public function getItemType()
+ {
+ return $this->itemType;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_GroupItem extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $groupId;
+ public $id;
+ public $kind;
+ protected $resourceType = 'Google_Service_YouTubeAnalytics_GroupItemResource';
+ protected $resourceDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setGroupId($groupId)
+ {
+ $this->groupId = $groupId;
+ }
+ public function getGroupId()
+ {
+ return $this->groupId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setResource(Google_Service_YouTubeAnalytics_GroupItemResource $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_GroupItemListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_GroupItem';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_GroupItemResource extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_GroupListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ protected $itemsType = 'Google_Service_YouTubeAnalytics_Group';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_YouTubeAnalytics_GroupSnippet extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $publishedAt;
+ public $title;
+
+
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
class Google_Service_YouTubeAnalytics_ResultTable extends Google_Collection
{
protected $collection_key = 'rows';
From dbb292dbbe25d9910b2e6f020502102a84085310 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $dataflowService = new Google_Service_Dataflow(...);
- * $v1b3 = $dataflowService->v1b3;
- *
- */
-class Google_Service_Dataflow_V1b3_Resource extends Google_Service_Resource
-{
-}
-
-/**
- * The "projects" collection of methods.
- * Typical usage is:
- *
- * $dataflowService = new Google_Service_Dataflow(...);
- * $projects = $dataflowService->projects;
- *
- */
-class Google_Service_Dataflow_V1b3Projects_Resource extends Google_Service_Resource
-{
-}
-
-/**
- * The "jobs" collection of methods.
- * Typical usage is:
- *
- * $dataflowService = new Google_Service_Dataflow(...);
- * $jobs = $dataflowService->jobs;
- *
- */
-class Google_Service_Dataflow_V1b3ProjectsJobs_Resource extends Google_Service_Resource
-{
-
- /**
- * Creates a dataflow job. (jobs.create)
- *
- * @param string $projectId
- * @param Google_Job $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- * @return Google_Service_Dataflow_Job
- */
- public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Dataflow_Job");
- }
-
- /**
- * Gets the state of the specified dataflow job. (jobs.get)
- *
- * @param string $projectId
- * @param string $jobId
- * @param array $optParams Optional parameters.
- *
- * @opt_param string view
- * @return Google_Service_Dataflow_Job
- */
- public function get($projectId, $jobId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Dataflow_Job");
- }
-
- /**
- * Request the job status. (jobs.getMetrics)
- *
- * @param string $projectId
- * @param string $jobId
- * @param array $optParams Optional parameters.
- *
- * @opt_param string startTime
- * @return Google_Service_Dataflow_JobMetrics
- */
- public function getMetrics($projectId, $jobId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId);
- $params = array_merge($params, $optParams);
- return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics");
- }
-
- /**
- * List the jobs of a project (jobs.listV1b3ProjectsJobs)
- *
- * @param string $projectId
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * @opt_param string view
- * @opt_param int pageSize
- * @return Google_Service_Dataflow_ListJobsResponse
- */
- public function listV1b3ProjectsJobs($projectId, $optParams = array())
- {
- $params = array('projectId' => $projectId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse");
- }
-
- /**
- * Updates the state of an existing dataflow job. This method supports patch
- * semantics. (jobs.patch)
- *
- * @param string $projectId
- * @param string $jobId
- * @param Google_Job $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dataflow_Job
- */
- public function patch($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_Dataflow_Job");
- }
-
- /**
- * Updates the state of an existing dataflow job. (jobs.update)
- *
- * @param string $projectId
- * @param string $jobId
- * @param Google_Job $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dataflow_Job
- */
- public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Dataflow_Job");
- }
-}
-
-/**
- * The "messages" collection of methods.
- * Typical usage is:
- *
- * $dataflowService = new Google_Service_Dataflow(...);
- * $messages = $dataflowService->messages;
- *
- */
-class Google_Service_Dataflow_V1b3ProjectsJobsMessages_Resource extends Google_Service_Resource
-{
-
- /**
- * Request the job status. (messages.listV1b3ProjectsJobsMessages)
- *
- * @param string $projectId
- * @param string $jobId
- * @param array $optParams Optional parameters.
- *
- * @opt_param int pageSize
- * @opt_param string pageToken
- * @opt_param string startTime
- * @opt_param string endTime
- * @opt_param string minimumImportance
- * @return Google_Service_Dataflow_ListJobMessagesResponse
- */
- public function listV1b3ProjectsJobsMessages($projectId, $jobId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse");
- }
-}
-/**
- * The "workItems" collection of methods.
- * Typical usage is:
- *
- * $dataflowService = new Google_Service_Dataflow(...);
- * $workItems = $dataflowService->workItems;
- *
- */
-class Google_Service_Dataflow_V1b3ProjectsJobsWorkItems_Resource extends Google_Service_Resource
-{
-
- /**
- * Leases a dataflow WorkItem to run. (workItems.lease)
- *
- * @param string $projectId
- * @param string $jobId
- * @param Google_LeaseWorkItemRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dataflow_LeaseWorkItemResponse
- */
- public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse");
- }
-
- /**
- * Reports the status of dataflow WorkItems leased by a worker.
- * (workItems.reportStatus)
- *
- * @param string $projectId
- * @param string $jobId
- * @param Google_ReportWorkItemStatusRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Dataflow_ReportWorkItemStatusResponse
- */
- public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse");
- }
-}
-
-
-
-
-class Google_Service_Dataflow_ApproximateProgress extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $percentComplete;
- protected $positionType = 'Google_Service_Dataflow_Position';
- protected $positionDataType = '';
- public $remainingTime;
-
-
- public function setPercentComplete($percentComplete)
- {
- $this->percentComplete = $percentComplete;
- }
- public function getPercentComplete()
- {
- return $this->percentComplete;
- }
- public function setPosition(Google_Service_Dataflow_Position $position)
- {
- $this->position = $position;
- }
- public function getPosition()
- {
- return $this->position;
- }
- public function setRemainingTime($remainingTime)
- {
- $this->remainingTime = $remainingTime;
- }
- public function getRemainingTime()
- {
- return $this->remainingTime;
- }
-}
-
-class Google_Service_Dataflow_AutoscalingSettings extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $algorithm;
- public $maxNumWorkers;
-
-
- public function setAlgorithm($algorithm)
- {
- $this->algorithm = $algorithm;
- }
- public function getAlgorithm()
- {
- return $this->algorithm;
- }
- public function setMaxNumWorkers($maxNumWorkers)
- {
- $this->maxNumWorkers = $maxNumWorkers;
- }
- public function getMaxNumWorkers()
- {
- return $this->maxNumWorkers;
- }
-}
-
-class Google_Service_Dataflow_ComputationTopology extends Google_Collection
-{
- protected $collection_key = 'outputs';
- protected $internal_gapi_mappings = array(
- );
- public $computationId;
- protected $inputsType = 'Google_Service_Dataflow_StreamLocation';
- protected $inputsDataType = 'array';
- protected $keyRangesType = 'Google_Service_Dataflow_KeyRangeLocation';
- protected $keyRangesDataType = 'array';
- protected $outputsType = 'Google_Service_Dataflow_StreamLocation';
- protected $outputsDataType = 'array';
-
-
- public function setComputationId($computationId)
- {
- $this->computationId = $computationId;
- }
- public function getComputationId()
- {
- return $this->computationId;
- }
- public function setInputs($inputs)
- {
- $this->inputs = $inputs;
- }
- public function getInputs()
- {
- return $this->inputs;
- }
- public function setKeyRanges($keyRanges)
- {
- $this->keyRanges = $keyRanges;
- }
- public function getKeyRanges()
- {
- return $this->keyRanges;
- }
- public function setOutputs($outputs)
- {
- $this->outputs = $outputs;
- }
- public function getOutputs()
- {
- return $this->outputs;
- }
-}
-
-class Google_Service_Dataflow_DataDiskAssignment extends Google_Collection
-{
- protected $collection_key = 'dataDisks';
- protected $internal_gapi_mappings = array(
- );
- public $dataDisks;
- public $vmInstance;
-
-
- public function setDataDisks($dataDisks)
- {
- $this->dataDisks = $dataDisks;
- }
- public function getDataDisks()
- {
- return $this->dataDisks;
- }
- public function setVmInstance($vmInstance)
- {
- $this->vmInstance = $vmInstance;
- }
- public function getVmInstance()
- {
- return $this->vmInstance;
- }
-}
-
-class Google_Service_Dataflow_Disk extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $diskType;
- public $mountPoint;
- public $sizeGb;
-
-
- public function setDiskType($diskType)
- {
- $this->diskType = $diskType;
- }
- public function getDiskType()
- {
- return $this->diskType;
- }
- public function setMountPoint($mountPoint)
- {
- $this->mountPoint = $mountPoint;
- }
- public function getMountPoint()
- {
- return $this->mountPoint;
- }
- public function setSizeGb($sizeGb)
- {
- $this->sizeGb = $sizeGb;
- }
- public function getSizeGb()
- {
- return $this->sizeGb;
- }
-}
-
-class Google_Service_Dataflow_Environment extends Google_Collection
-{
- protected $collection_key = 'workerPools';
- protected $internal_gapi_mappings = array(
- );
- public $clusterManagerApiService;
- public $dataset;
- public $experiments;
- public $tempStoragePrefix;
- public $userAgent;
- public $version;
- protected $workerPoolsType = 'Google_Service_Dataflow_WorkerPool';
- protected $workerPoolsDataType = 'array';
-
-
- public function setClusterManagerApiService($clusterManagerApiService)
- {
- $this->clusterManagerApiService = $clusterManagerApiService;
- }
- public function getClusterManagerApiService()
- {
- return $this->clusterManagerApiService;
- }
- public function setDataset($dataset)
- {
- $this->dataset = $dataset;
- }
- public function getDataset()
- {
- return $this->dataset;
- }
- public function setExperiments($experiments)
- {
- $this->experiments = $experiments;
- }
- public function getExperiments()
- {
- return $this->experiments;
- }
- public function setTempStoragePrefix($tempStoragePrefix)
- {
- $this->tempStoragePrefix = $tempStoragePrefix;
- }
- public function getTempStoragePrefix()
- {
- return $this->tempStoragePrefix;
- }
- public function setUserAgent($userAgent)
- {
- $this->userAgent = $userAgent;
- }
- public function getUserAgent()
- {
- return $this->userAgent;
- }
- public function setVersion($version)
- {
- $this->version = $version;
- }
- public function getVersion()
- {
- return $this->version;
- }
- public function setWorkerPools($workerPools)
- {
- $this->workerPools = $workerPools;
- }
- public function getWorkerPools()
- {
- return $this->workerPools;
- }
-}
-
-class Google_Service_Dataflow_EnvironmentUserAgent extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_EnvironmentVersion extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_FlattenInstruction extends Google_Collection
-{
- protected $collection_key = 'inputs';
- protected $internal_gapi_mappings = array(
- );
- protected $inputsType = 'Google_Service_Dataflow_InstructionInput';
- protected $inputsDataType = 'array';
-
-
- public function setInputs($inputs)
- {
- $this->inputs = $inputs;
- }
- public function getInputs()
- {
- return $this->inputs;
- }
-}
-
-class Google_Service_Dataflow_InstructionInput extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $outputNum;
- public $producerInstructionIndex;
-
-
- public function setOutputNum($outputNum)
- {
- $this->outputNum = $outputNum;
- }
- public function getOutputNum()
- {
- return $this->outputNum;
- }
- public function setProducerInstructionIndex($producerInstructionIndex)
- {
- $this->producerInstructionIndex = $producerInstructionIndex;
- }
- public function getProducerInstructionIndex()
- {
- return $this->producerInstructionIndex;
- }
-}
-
-class Google_Service_Dataflow_InstructionOutput extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $codec;
- public $name;
-
-
- public function setCodec($codec)
- {
- $this->codec = $codec;
- }
- public function getCodec()
- {
- return $this->codec;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
}
}
-class Google_Service_Dataflow_InstructionOutputCodec extends Google_Model
-{
-}
-class Google_Service_Dataflow_Job extends Google_Collection
-{
- protected $collection_key = 'steps';
- protected $internal_gapi_mappings = array(
- );
- public $createTime;
- public $currentState;
- public $currentStateTime;
- protected $environmentType = 'Google_Service_Dataflow_Environment';
- protected $environmentDataType = '';
- protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo';
- protected $executionInfoDataType = '';
- public $id;
- public $name;
- public $projectId;
- public $requestedState;
- protected $stepsType = 'Google_Service_Dataflow_Step';
- protected $stepsDataType = 'array';
- public $type;
- public function setCreateTime($createTime)
- {
- $this->createTime = $createTime;
- }
- public function getCreateTime()
- {
- return $this->createTime;
- }
- public function setCurrentState($currentState)
- {
- $this->currentState = $currentState;
- }
- public function getCurrentState()
- {
- return $this->currentState;
- }
- public function setCurrentStateTime($currentStateTime)
- {
- $this->currentStateTime = $currentStateTime;
- }
- public function getCurrentStateTime()
- {
- return $this->currentStateTime;
- }
- public function setEnvironment(Google_Service_Dataflow_Environment $environment)
- {
- $this->environment = $environment;
- }
- public function getEnvironment()
- {
- return $this->environment;
- }
- public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo)
- {
- $this->executionInfo = $executionInfo;
- }
- public function getExecutionInfo()
- {
- return $this->executionInfo;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
- public function getProjectId()
- {
- return $this->projectId;
- }
- public function setRequestedState($requestedState)
- {
- $this->requestedState = $requestedState;
- }
- public function getRequestedState()
- {
- return $this->requestedState;
- }
- public function setSteps($steps)
- {
- $this->steps = $steps;
- }
- public function getSteps()
- {
- return $this->steps;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Dataflow_JobExecutionInfo extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $stagesType = 'Google_Service_Dataflow_JobExecutionStageInfo';
- protected $stagesDataType = 'map';
-
-
- public function setStages($stages)
- {
- $this->stages = $stages;
- }
- public function getStages()
- {
- return $this->stages;
- }
-}
-
-class Google_Service_Dataflow_JobExecutionInfoStages extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_JobExecutionStageInfo extends Google_Collection
-{
- protected $collection_key = 'stepName';
- protected $internal_gapi_mappings = array(
- );
- public $stepName;
-
-
- public function setStepName($stepName)
- {
- $this->stepName = $stepName;
- }
- public function getStepName()
- {
- return $this->stepName;
- }
-}
-
-class Google_Service_Dataflow_JobMessage extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $id;
- public $messageImportance;
- public $messageText;
- public $time;
-
-
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setMessageImportance($messageImportance)
- {
- $this->messageImportance = $messageImportance;
- }
- public function getMessageImportance()
- {
- return $this->messageImportance;
- }
- public function setMessageText($messageText)
- {
- $this->messageText = $messageText;
- }
- public function getMessageText()
- {
- return $this->messageText;
- }
- public function setTime($time)
- {
- $this->time = $time;
- }
- public function getTime()
- {
- return $this->time;
- }
-}
-
-class Google_Service_Dataflow_JobMetrics extends Google_Collection
-{
- protected $collection_key = 'metrics';
- protected $internal_gapi_mappings = array(
- );
- public $metricTime;
- protected $metricsType = 'Google_Service_Dataflow_MetricUpdate';
- protected $metricsDataType = 'array';
-
-
- public function setMetricTime($metricTime)
- {
- $this->metricTime = $metricTime;
- }
- public function getMetricTime()
- {
- return $this->metricTime;
- }
- public function setMetrics($metrics)
- {
- $this->metrics = $metrics;
- }
- public function getMetrics()
- {
- return $this->metrics;
- }
-}
-
-class Google_Service_Dataflow_KeyRangeLocation extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $dataDisk;
- public $deliveryEndpoint;
- public $end;
- public $persistentDirectory;
- public $start;
-
-
- public function setDataDisk($dataDisk)
- {
- $this->dataDisk = $dataDisk;
- }
- public function getDataDisk()
- {
- return $this->dataDisk;
- }
- public function setDeliveryEndpoint($deliveryEndpoint)
- {
- $this->deliveryEndpoint = $deliveryEndpoint;
- }
- public function getDeliveryEndpoint()
- {
- return $this->deliveryEndpoint;
- }
- public function setEnd($end)
- {
- $this->end = $end;
- }
- public function getEnd()
- {
- return $this->end;
- }
- public function setPersistentDirectory($persistentDirectory)
- {
- $this->persistentDirectory = $persistentDirectory;
- }
- public function getPersistentDirectory()
- {
- return $this->persistentDirectory;
- }
- public function setStart($start)
- {
- $this->start = $start;
- }
- public function getStart()
- {
- return $this->start;
- }
-}
-
-class Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection
-{
- protected $collection_key = 'workerCapabilities';
- protected $internal_gapi_mappings = array(
- );
- public $currentWorkerTime;
- public $requestedLeaseDuration;
- public $workItemTypes;
- public $workerCapabilities;
- public $workerId;
-
-
- public function setCurrentWorkerTime($currentWorkerTime)
- {
- $this->currentWorkerTime = $currentWorkerTime;
- }
- public function getCurrentWorkerTime()
- {
- return $this->currentWorkerTime;
- }
- public function setRequestedLeaseDuration($requestedLeaseDuration)
- {
- $this->requestedLeaseDuration = $requestedLeaseDuration;
- }
- public function getRequestedLeaseDuration()
- {
- return $this->requestedLeaseDuration;
- }
- public function setWorkItemTypes($workItemTypes)
- {
- $this->workItemTypes = $workItemTypes;
- }
- public function getWorkItemTypes()
- {
- return $this->workItemTypes;
- }
- public function setWorkerCapabilities($workerCapabilities)
- {
- $this->workerCapabilities = $workerCapabilities;
- }
- public function getWorkerCapabilities()
- {
- return $this->workerCapabilities;
- }
- public function setWorkerId($workerId)
- {
- $this->workerId = $workerId;
- }
- public function getWorkerId()
- {
- return $this->workerId;
- }
-}
-
-class Google_Service_Dataflow_LeaseWorkItemResponse extends Google_Collection
-{
- protected $collection_key = 'workItems';
- protected $internal_gapi_mappings = array(
- );
- protected $workItemsType = 'Google_Service_Dataflow_WorkItem';
- protected $workItemsDataType = 'array';
-
-
- public function setWorkItems($workItems)
- {
- $this->workItems = $workItems;
- }
- public function getWorkItems()
- {
- return $this->workItems;
- }
-}
-
-class Google_Service_Dataflow_ListJobMessagesResponse extends Google_Collection
-{
- protected $collection_key = 'jobMessages';
- protected $internal_gapi_mappings = array(
- );
- protected $jobMessagesType = 'Google_Service_Dataflow_JobMessage';
- protected $jobMessagesDataType = 'array';
- public $nextPageToken;
-
-
- public function setJobMessages($jobMessages)
- {
- $this->jobMessages = $jobMessages;
- }
- public function getJobMessages()
- {
- return $this->jobMessages;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Dataflow_ListJobsResponse extends Google_Collection
-{
- protected $collection_key = 'jobs';
- protected $internal_gapi_mappings = array(
- );
- protected $jobsType = 'Google_Service_Dataflow_Job';
- protected $jobsDataType = 'array';
- public $nextPageToken;
-
-
- public function setJobs($jobs)
- {
- $this->jobs = $jobs;
- }
- public function getJobs()
- {
- return $this->jobs;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Dataflow_MapTask extends Google_Collection
-{
- protected $collection_key = 'instructions';
- protected $internal_gapi_mappings = array(
- );
- protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction';
- protected $instructionsDataType = 'array';
- public $stageName;
- public $systemName;
-
-
- public function setInstructions($instructions)
- {
- $this->instructions = $instructions;
- }
- public function getInstructions()
- {
- return $this->instructions;
- }
- public function setStageName($stageName)
- {
- $this->stageName = $stageName;
- }
- public function getStageName()
- {
- return $this->stageName;
- }
- public function setSystemName($systemName)
- {
- $this->systemName = $systemName;
- }
- public function getSystemName()
- {
- return $this->systemName;
- }
-}
-
-class Google_Service_Dataflow_MetricStructuredName extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $context;
- public $name;
- public $origin;
-
-
- public function setContext($context)
- {
- $this->context = $context;
- }
- public function getContext()
- {
- return $this->context;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setOrigin($origin)
- {
- $this->origin = $origin;
- }
- public function getOrigin()
- {
- return $this->origin;
- }
-}
-
-class Google_Service_Dataflow_MetricStructuredNameContext extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_MetricUpdate extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $cumulative;
- public $internal;
- public $kind;
- public $meanCount;
- public $meanSum;
- protected $nameType = 'Google_Service_Dataflow_MetricStructuredName';
- protected $nameDataType = '';
- public $scalar;
- public $set;
- public $updateTime;
-
-
- public function setCumulative($cumulative)
- {
- $this->cumulative = $cumulative;
- }
- public function getCumulative()
- {
- return $this->cumulative;
- }
- public function setInternal($internal)
- {
- $this->internal = $internal;
- }
- public function getInternal()
- {
- return $this->internal;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMeanCount($meanCount)
- {
- $this->meanCount = $meanCount;
- }
- public function getMeanCount()
- {
- return $this->meanCount;
- }
- public function setMeanSum($meanSum)
- {
- $this->meanSum = $meanSum;
- }
- public function getMeanSum()
- {
- return $this->meanSum;
- }
- public function setName(Google_Service_Dataflow_MetricStructuredName $name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setScalar($scalar)
- {
- $this->scalar = $scalar;
- }
- public function getScalar()
- {
- return $this->scalar;
- }
- public function setSet($set)
- {
- $this->set = $set;
- }
- public function getSet()
- {
- return $this->set;
- }
- public function setUpdateTime($updateTime)
- {
- $this->updateTime = $updateTime;
- }
- public function getUpdateTime()
- {
- return $this->updateTime;
- }
-}
-
-class Google_Service_Dataflow_MultiOutputInfo extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $tag;
-
-
- public function setTag($tag)
- {
- $this->tag = $tag;
- }
- public function getTag()
- {
- return $this->tag;
- }
-}
-
-class Google_Service_Dataflow_Package extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $location;
- public $name;
-
-
- public function setLocation($location)
- {
- $this->location = $location;
- }
- public function getLocation()
- {
- return $this->location;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
-}
-
-class Google_Service_Dataflow_ParDoInstruction extends Google_Collection
-{
- protected $collection_key = 'sideInputs';
- protected $internal_gapi_mappings = array(
- );
- protected $inputType = 'Google_Service_Dataflow_InstructionInput';
- protected $inputDataType = '';
- protected $multiOutputInfosType = 'Google_Service_Dataflow_MultiOutputInfo';
- protected $multiOutputInfosDataType = 'array';
- public $numOutputs;
- protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo';
- protected $sideInputsDataType = 'array';
- public $userFn;
-
-
- public function setInput(Google_Service_Dataflow_InstructionInput $input)
- {
- $this->input = $input;
- }
- public function getInput()
- {
- return $this->input;
- }
- public function setMultiOutputInfos($multiOutputInfos)
- {
- $this->multiOutputInfos = $multiOutputInfos;
- }
- public function getMultiOutputInfos()
- {
- return $this->multiOutputInfos;
- }
- public function setNumOutputs($numOutputs)
- {
- $this->numOutputs = $numOutputs;
- }
- public function getNumOutputs()
- {
- return $this->numOutputs;
- }
- public function setSideInputs($sideInputs)
- {
- $this->sideInputs = $sideInputs;
- }
- public function getSideInputs()
- {
- return $this->sideInputs;
- }
- public function setUserFn($userFn)
- {
- $this->userFn = $userFn;
- }
- public function getUserFn()
- {
- return $this->userFn;
- }
-}
-
-class Google_Service_Dataflow_ParDoInstructionUserFn extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_ParallelInstruction extends Google_Collection
-{
- protected $collection_key = 'outputs';
- protected $internal_gapi_mappings = array(
- );
- protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction';
- protected $flattenDataType = '';
- public $name;
- protected $outputsType = 'Google_Service_Dataflow_InstructionOutput';
- protected $outputsDataType = 'array';
- protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction';
- protected $parDoDataType = '';
- protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction';
- protected $partialGroupByKeyDataType = '';
- protected $readType = 'Google_Service_Dataflow_ReadInstruction';
- protected $readDataType = '';
- public $systemName;
- protected $writeType = 'Google_Service_Dataflow_WriteInstruction';
- protected $writeDataType = '';
-
-
- public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten)
- {
- $this->flatten = $flatten;
- }
- public function getFlatten()
- {
- return $this->flatten;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setOutputs($outputs)
- {
- $this->outputs = $outputs;
- }
- public function getOutputs()
- {
- return $this->outputs;
- }
- public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo)
- {
- $this->parDo = $parDo;
- }
- public function getParDo()
- {
- return $this->parDo;
- }
- public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey)
- {
- $this->partialGroupByKey = $partialGroupByKey;
- }
- public function getPartialGroupByKey()
- {
- return $this->partialGroupByKey;
- }
- public function setRead(Google_Service_Dataflow_ReadInstruction $read)
- {
- $this->read = $read;
- }
- public function getRead()
- {
- return $this->read;
- }
- public function setSystemName($systemName)
- {
- $this->systemName = $systemName;
- }
- public function getSystemName()
- {
- return $this->systemName;
- }
- public function setWrite(Google_Service_Dataflow_WriteInstruction $write)
- {
- $this->write = $write;
- }
- public function getWrite()
- {
- return $this->write;
- }
-}
-
-class Google_Service_Dataflow_PartialGroupByKeyInstruction extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $inputType = 'Google_Service_Dataflow_InstructionInput';
- protected $inputDataType = '';
- public $inputElementCodec;
-
-
- public function setInput(Google_Service_Dataflow_InstructionInput $input)
- {
- $this->input = $input;
- }
- public function getInput()
- {
- return $this->input;
- }
- public function setInputElementCodec($inputElementCodec)
- {
- $this->inputElementCodec = $inputElementCodec;
- }
- public function getInputElementCodec()
- {
- return $this->inputElementCodec;
- }
-}
-
-class Google_Service_Dataflow_PartialGroupByKeyInstructionInputElementCodec extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_Position extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $byteOffset;
- public $end;
- public $key;
- public $recordIndex;
- public $shufflePosition;
-
-
- public function setByteOffset($byteOffset)
- {
- $this->byteOffset = $byteOffset;
- }
- public function getByteOffset()
- {
- return $this->byteOffset;
- }
- public function setEnd($end)
- {
- $this->end = $end;
- }
- public function getEnd()
- {
- return $this->end;
- }
- public function setKey($key)
- {
- $this->key = $key;
- }
- public function getKey()
- {
- return $this->key;
- }
- public function setRecordIndex($recordIndex)
- {
- $this->recordIndex = $recordIndex;
- }
- public function getRecordIndex()
- {
- return $this->recordIndex;
- }
- public function setShufflePosition($shufflePosition)
- {
- $this->shufflePosition = $shufflePosition;
- }
- public function getShufflePosition()
- {
- return $this->shufflePosition;
- }
-}
-
-class Google_Service_Dataflow_PubsubLocation extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $subscription;
- public $topic;
-
-
- public function setSubscription($subscription)
- {
- $this->subscription = $subscription;
- }
- public function getSubscription()
- {
- return $this->subscription;
- }
- public function setTopic($topic)
- {
- $this->topic = $topic;
- }
- public function getTopic()
- {
- return $this->topic;
- }
-}
-
-class Google_Service_Dataflow_ReadInstruction extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $sourceType = 'Google_Service_Dataflow_Source';
- protected $sourceDataType = '';
-
-
- public function setSource(Google_Service_Dataflow_Source $source)
- {
- $this->source = $source;
- }
- public function getSource()
- {
- return $this->source;
- }
-}
-
-class Google_Service_Dataflow_ReportWorkItemStatusRequest extends Google_Collection
-{
- protected $collection_key = 'workItemStatuses';
- protected $internal_gapi_mappings = array(
- );
- public $currentWorkerTime;
- protected $workItemStatusesType = 'Google_Service_Dataflow_WorkItemStatus';
- protected $workItemStatusesDataType = 'array';
- public $workerId;
-
-
- public function setCurrentWorkerTime($currentWorkerTime)
- {
- $this->currentWorkerTime = $currentWorkerTime;
- }
- public function getCurrentWorkerTime()
- {
- return $this->currentWorkerTime;
- }
- public function setWorkItemStatuses($workItemStatuses)
- {
- $this->workItemStatuses = $workItemStatuses;
- }
- public function getWorkItemStatuses()
- {
- return $this->workItemStatuses;
- }
- public function setWorkerId($workerId)
- {
- $this->workerId = $workerId;
- }
- public function getWorkerId()
- {
- return $this->workerId;
- }
-}
-
-class Google_Service_Dataflow_ReportWorkItemStatusResponse extends Google_Collection
-{
- protected $collection_key = 'workItemServiceStates';
- protected $internal_gapi_mappings = array(
- );
- protected $workItemServiceStatesType = 'Google_Service_Dataflow_WorkItemServiceState';
- protected $workItemServiceStatesDataType = 'array';
-
-
- public function setWorkItemServiceStates($workItemServiceStates)
- {
- $this->workItemServiceStates = $workItemServiceStates;
- }
- public function getWorkItemServiceStates()
- {
- return $this->workItemServiceStates;
- }
-}
-
-class Google_Service_Dataflow_SeqMapTask extends Google_Collection
-{
- protected $collection_key = 'outputInfos';
- protected $internal_gapi_mappings = array(
- );
- protected $inputsType = 'Google_Service_Dataflow_SideInputInfo';
- protected $inputsDataType = 'array';
- public $name;
- protected $outputInfosType = 'Google_Service_Dataflow_SeqMapTaskOutputInfo';
- protected $outputInfosDataType = 'array';
- public $stageName;
- public $systemName;
- public $userFn;
-
-
- public function setInputs($inputs)
- {
- $this->inputs = $inputs;
- }
- public function getInputs()
- {
- return $this->inputs;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setOutputInfos($outputInfos)
- {
- $this->outputInfos = $outputInfos;
- }
- public function getOutputInfos()
- {
- return $this->outputInfos;
- }
- public function setStageName($stageName)
- {
- $this->stageName = $stageName;
- }
- public function getStageName()
- {
- return $this->stageName;
- }
- public function setSystemName($systemName)
- {
- $this->systemName = $systemName;
- }
- public function getSystemName()
- {
- return $this->systemName;
- }
- public function setUserFn($userFn)
- {
- $this->userFn = $userFn;
- }
- public function getUserFn()
- {
- return $this->userFn;
- }
-}
-
-class Google_Service_Dataflow_SeqMapTaskOutputInfo extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $sinkType = 'Google_Service_Dataflow_Sink';
- protected $sinkDataType = '';
- public $tag;
-
-
- public function setSink(Google_Service_Dataflow_Sink $sink)
- {
- $this->sink = $sink;
- }
- public function getSink()
- {
- return $this->sink;
- }
- public function setTag($tag)
- {
- $this->tag = $tag;
- }
- public function getTag()
- {
- return $this->tag;
- }
-}
-
-class Google_Service_Dataflow_SeqMapTaskUserFn extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_ShellTask extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $command;
- public $exitCode;
-
-
- public function setCommand($command)
- {
- $this->command = $command;
- }
- public function getCommand()
- {
- return $this->command;
- }
- public function setExitCode($exitCode)
- {
- $this->exitCode = $exitCode;
- }
- public function getExitCode()
- {
- return $this->exitCode;
- }
-}
-
-class Google_Service_Dataflow_SideInputInfo extends Google_Collection
-{
- protected $collection_key = 'sources';
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- protected $sourcesType = 'Google_Service_Dataflow_Source';
- protected $sourcesDataType = 'array';
- public $tag;
-
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSources($sources)
- {
- $this->sources = $sources;
- }
- public function getSources()
- {
- return $this->sources;
- }
- public function setTag($tag)
- {
- $this->tag = $tag;
- }
- public function getTag()
- {
- return $this->tag;
- }
-}
-
-class Google_Service_Dataflow_SideInputInfoKind extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_Sink extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $codec;
- public $spec;
-
-
- public function setCodec($codec)
- {
- $this->codec = $codec;
- }
- public function getCodec()
- {
- return $this->codec;
- }
- public function setSpec($spec)
- {
- $this->spec = $spec;
- }
- public function getSpec()
- {
- return $this->spec;
- }
-}
-
-class Google_Service_Dataflow_SinkCodec extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_SinkSpec extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_Source extends Google_Collection
-{
- protected $collection_key = 'baseSpecs';
- protected $internal_gapi_mappings = array(
- );
- public $baseSpecs;
- public $codec;
- public $doesNotNeedSplitting;
- protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
- protected $metadataDataType = '';
- public $spec;
-
-
- public function setBaseSpecs($baseSpecs)
- {
- $this->baseSpecs = $baseSpecs;
- }
- public function getBaseSpecs()
- {
- return $this->baseSpecs;
- }
- public function setCodec($codec)
- {
- $this->codec = $codec;
- }
- public function getCodec()
- {
- return $this->codec;
- }
- public function setDoesNotNeedSplitting($doesNotNeedSplitting)
- {
- $this->doesNotNeedSplitting = $doesNotNeedSplitting;
- }
- public function getDoesNotNeedSplitting()
- {
- return $this->doesNotNeedSplitting;
- }
- public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
- {
- $this->metadata = $metadata;
- }
- public function getMetadata()
- {
- return $this->metadata;
- }
- public function setSpec($spec)
- {
- $this->spec = $spec;
- }
- public function getSpec()
- {
- return $this->spec;
- }
-}
-
-class Google_Service_Dataflow_SourceBaseSpecs extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_SourceCodec extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_SourceGetMetadataRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $sourceType = 'Google_Service_Dataflow_Source';
- protected $sourceDataType = '';
-
-
- public function setSource(Google_Service_Dataflow_Source $source)
- {
- $this->source = $source;
- }
- public function getSource()
- {
- return $this->source;
- }
-}
-
-class Google_Service_Dataflow_SourceGetMetadataResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
- protected $metadataDataType = '';
-
-
- public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
- {
- $this->metadata = $metadata;
- }
- public function getMetadata()
- {
- return $this->metadata;
- }
-}
-
-class Google_Service_Dataflow_SourceMetadata extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $estimatedSizeBytes;
- public $infinite;
- public $producesSortedKeys;
-
-
- public function setEstimatedSizeBytes($estimatedSizeBytes)
- {
- $this->estimatedSizeBytes = $estimatedSizeBytes;
- }
- public function getEstimatedSizeBytes()
- {
- return $this->estimatedSizeBytes;
- }
- public function setInfinite($infinite)
- {
- $this->infinite = $infinite;
- }
- public function getInfinite()
- {
- return $this->infinite;
- }
- public function setProducesSortedKeys($producesSortedKeys)
- {
- $this->producesSortedKeys = $producesSortedKeys;
- }
- public function getProducesSortedKeys()
- {
- return $this->producesSortedKeys;
- }
-}
-
-class Google_Service_Dataflow_SourceOperationRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataRequest';
- protected $getMetadataDataType = '';
- protected $splitType = 'Google_Service_Dataflow_SourceSplitRequest';
- protected $splitDataType = '';
-
-
- public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataRequest $getMetadata)
- {
- $this->getMetadata = $getMetadata;
- }
- public function getGetMetadata()
- {
- return $this->getMetadata;
- }
- public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split)
- {
- $this->split = $split;
- }
- public function getSplit()
- {
- return $this->split;
- }
-}
-
-class Google_Service_Dataflow_SourceOperationResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataResponse';
- protected $getMetadataDataType = '';
- protected $splitType = 'Google_Service_Dataflow_SourceSplitResponse';
- protected $splitDataType = '';
-
-
- public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataResponse $getMetadata)
- {
- $this->getMetadata = $getMetadata;
- }
- public function getGetMetadata()
- {
- return $this->getMetadata;
- }
- public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split)
- {
- $this->split = $split;
- }
- public function getSplit()
- {
- return $this->split;
- }
-}
-
-class Google_Service_Dataflow_SourceSpec extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_SourceSplitOptions extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $desiredShardSizeBytes;
-
-
- public function setDesiredShardSizeBytes($desiredShardSizeBytes)
- {
- $this->desiredShardSizeBytes = $desiredShardSizeBytes;
- }
- public function getDesiredShardSizeBytes()
- {
- return $this->desiredShardSizeBytes;
- }
-}
-
-class Google_Service_Dataflow_SourceSplitRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $optionsType = 'Google_Service_Dataflow_SourceSplitOptions';
- protected $optionsDataType = '';
- protected $sourceType = 'Google_Service_Dataflow_Source';
- protected $sourceDataType = '';
-
-
- public function setOptions(Google_Service_Dataflow_SourceSplitOptions $options)
- {
- $this->options = $options;
- }
- public function getOptions()
- {
- return $this->options;
- }
- public function setSource(Google_Service_Dataflow_Source $source)
- {
- $this->source = $source;
- }
- public function getSource()
- {
- return $this->source;
- }
-}
-
-class Google_Service_Dataflow_SourceSplitResponse extends Google_Collection
-{
- protected $collection_key = 'shards';
- protected $internal_gapi_mappings = array(
- );
- public $outcome;
- protected $shardsType = 'Google_Service_Dataflow_SourceSplitShard';
- protected $shardsDataType = 'array';
-
-
- public function setOutcome($outcome)
- {
- $this->outcome = $outcome;
- }
- public function getOutcome()
- {
- return $this->outcome;
- }
- public function setShards($shards)
- {
- $this->shards = $shards;
- }
- public function getShards()
- {
- return $this->shards;
- }
-}
-
-class Google_Service_Dataflow_SourceSplitShard extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $derivationMode;
- protected $sourceType = 'Google_Service_Dataflow_Source';
- protected $sourceDataType = '';
-
-
- public function setDerivationMode($derivationMode)
- {
- $this->derivationMode = $derivationMode;
- }
- public function getDerivationMode()
- {
- return $this->derivationMode;
- }
- public function setSource(Google_Service_Dataflow_Source $source)
- {
- $this->source = $source;
- }
- public function getSource()
- {
- return $this->source;
- }
-}
-
-class Google_Service_Dataflow_Status extends Google_Collection
-{
- protected $collection_key = 'details';
- protected $internal_gapi_mappings = array(
- );
- public $code;
- public $details;
- public $message;
-
-
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function getCode()
- {
- return $this->code;
- }
- public function setDetails($details)
- {
- $this->details = $details;
- }
- public function getDetails()
- {
- return $this->details;
- }
- public function setMessage($message)
- {
- $this->message = $message;
- }
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_Dataflow_StatusDetails extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_Step extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- public $name;
- public $properties;
-
-
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProperties($properties)
- {
- $this->properties = $properties;
- }
- public function getProperties()
- {
- return $this->properties;
- }
-}
-
-class Google_Service_Dataflow_StepProperties extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_StreamLocation extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $pubsubLocationType = 'Google_Service_Dataflow_PubsubLocation';
- protected $pubsubLocationDataType = '';
- protected $streamingStageLocationType = 'Google_Service_Dataflow_StreamingStageLocation';
- protected $streamingStageLocationDataType = '';
-
-
- public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation)
- {
- $this->pubsubLocation = $pubsubLocation;
- }
- public function getPubsubLocation()
- {
- return $this->pubsubLocation;
- }
- public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation)
- {
- $this->streamingStageLocation = $streamingStageLocation;
- }
- public function getStreamingStageLocation()
- {
- return $this->streamingStageLocation;
- }
-}
-
-class Google_Service_Dataflow_StreamingSetupTask extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $receiveWorkPort;
- protected $streamingComputationTopologyType = 'Google_Service_Dataflow_TopologyConfig';
- protected $streamingComputationTopologyDataType = '';
- public $workerHarnessPort;
-
-
- public function setReceiveWorkPort($receiveWorkPort)
- {
- $this->receiveWorkPort = $receiveWorkPort;
- }
- public function getReceiveWorkPort()
- {
- return $this->receiveWorkPort;
- }
- public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology)
- {
- $this->streamingComputationTopology = $streamingComputationTopology;
- }
- public function getStreamingComputationTopology()
- {
- return $this->streamingComputationTopology;
- }
- public function setWorkerHarnessPort($workerHarnessPort)
- {
- $this->workerHarnessPort = $workerHarnessPort;
- }
- public function getWorkerHarnessPort()
- {
- return $this->workerHarnessPort;
- }
-}
-
-class Google_Service_Dataflow_StreamingStageLocation extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $streamId;
-
-
- public function setStreamId($streamId)
- {
- $this->streamId = $streamId;
- }
- public function getStreamId()
- {
- return $this->streamId;
- }
-}
-
-class Google_Service_Dataflow_TaskRunnerSettings extends Google_Collection
-{
- protected $collection_key = 'oauthScopes';
- protected $internal_gapi_mappings = array(
- );
- public $alsologtostderr;
- public $baseTaskDir;
- public $baseUrl;
- public $commandlinesFileName;
- public $continueOnException;
- public $dataflowApiVersion;
- public $harnessCommand;
- public $languageHint;
- public $logDir;
- public $logToSerialconsole;
- public $logUploadLocation;
- public $oauthScopes;
- protected $parallelWorkerSettingsType = 'Google_Service_Dataflow_WorkerSettings';
- protected $parallelWorkerSettingsDataType = '';
- public $streamingWorkerMainClass;
- public $taskGroup;
- public $taskUser;
- public $tempStoragePrefix;
- public $vmId;
- public $workflowFileName;
-
-
- public function setAlsologtostderr($alsologtostderr)
- {
- $this->alsologtostderr = $alsologtostderr;
- }
- public function getAlsologtostderr()
- {
- return $this->alsologtostderr;
- }
- public function setBaseTaskDir($baseTaskDir)
- {
- $this->baseTaskDir = $baseTaskDir;
- }
- public function getBaseTaskDir()
- {
- return $this->baseTaskDir;
- }
- public function setBaseUrl($baseUrl)
- {
- $this->baseUrl = $baseUrl;
- }
- public function getBaseUrl()
- {
- return $this->baseUrl;
- }
- public function setCommandlinesFileName($commandlinesFileName)
- {
- $this->commandlinesFileName = $commandlinesFileName;
- }
- public function getCommandlinesFileName()
- {
- return $this->commandlinesFileName;
- }
- public function setContinueOnException($continueOnException)
- {
- $this->continueOnException = $continueOnException;
- }
- public function getContinueOnException()
- {
- return $this->continueOnException;
- }
- public function setDataflowApiVersion($dataflowApiVersion)
- {
- $this->dataflowApiVersion = $dataflowApiVersion;
- }
- public function getDataflowApiVersion()
- {
- return $this->dataflowApiVersion;
- }
- public function setHarnessCommand($harnessCommand)
- {
- $this->harnessCommand = $harnessCommand;
- }
- public function getHarnessCommand()
- {
- return $this->harnessCommand;
- }
- public function setLanguageHint($languageHint)
- {
- $this->languageHint = $languageHint;
- }
- public function getLanguageHint()
- {
- return $this->languageHint;
- }
- public function setLogDir($logDir)
- {
- $this->logDir = $logDir;
- }
- public function getLogDir()
- {
- return $this->logDir;
- }
- public function setLogToSerialconsole($logToSerialconsole)
- {
- $this->logToSerialconsole = $logToSerialconsole;
- }
- public function getLogToSerialconsole()
- {
- return $this->logToSerialconsole;
- }
- public function setLogUploadLocation($logUploadLocation)
- {
- $this->logUploadLocation = $logUploadLocation;
- }
- public function getLogUploadLocation()
- {
- return $this->logUploadLocation;
- }
- public function setOauthScopes($oauthScopes)
- {
- $this->oauthScopes = $oauthScopes;
- }
- public function getOauthScopes()
- {
- return $this->oauthScopes;
- }
- public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings)
- {
- $this->parallelWorkerSettings = $parallelWorkerSettings;
- }
- public function getParallelWorkerSettings()
- {
- return $this->parallelWorkerSettings;
- }
- public function setStreamingWorkerMainClass($streamingWorkerMainClass)
- {
- $this->streamingWorkerMainClass = $streamingWorkerMainClass;
- }
- public function getStreamingWorkerMainClass()
- {
- return $this->streamingWorkerMainClass;
- }
- public function setTaskGroup($taskGroup)
- {
- $this->taskGroup = $taskGroup;
- }
- public function getTaskGroup()
- {
- return $this->taskGroup;
- }
- public function setTaskUser($taskUser)
- {
- $this->taskUser = $taskUser;
- }
- public function getTaskUser()
- {
- return $this->taskUser;
- }
- public function setTempStoragePrefix($tempStoragePrefix)
- {
- $this->tempStoragePrefix = $tempStoragePrefix;
- }
- public function getTempStoragePrefix()
- {
- return $this->tempStoragePrefix;
- }
- public function setVmId($vmId)
- {
- $this->vmId = $vmId;
- }
- public function getVmId()
- {
- return $this->vmId;
- }
- public function setWorkflowFileName($workflowFileName)
- {
- $this->workflowFileName = $workflowFileName;
- }
- public function getWorkflowFileName()
- {
- return $this->workflowFileName;
- }
-}
-
-class Google_Service_Dataflow_TopologyConfig extends Google_Collection
-{
- protected $collection_key = 'dataDiskAssignments';
- protected $internal_gapi_mappings = array(
- );
- protected $computationsType = 'Google_Service_Dataflow_ComputationTopology';
- protected $computationsDataType = 'array';
- protected $dataDiskAssignmentsType = 'Google_Service_Dataflow_DataDiskAssignment';
- protected $dataDiskAssignmentsDataType = 'array';
-
-
- public function setComputations($computations)
- {
- $this->computations = $computations;
- }
- public function getComputations()
- {
- return $this->computations;
- }
- public function setDataDiskAssignments($dataDiskAssignments)
- {
- $this->dataDiskAssignments = $dataDiskAssignments;
- }
- public function getDataDiskAssignments()
- {
- return $this->dataDiskAssignments;
- }
-}
-
-class Google_Service_Dataflow_WorkItem extends Google_Collection
-{
- protected $collection_key = 'packages';
- protected $internal_gapi_mappings = array(
- );
- public $configuration;
- public $id;
- public $jobId;
- public $leaseExpireTime;
- protected $mapTaskType = 'Google_Service_Dataflow_MapTask';
- protected $mapTaskDataType = '';
- protected $packagesType = 'Google_Service_Dataflow_Package';
- protected $packagesDataType = 'array';
- public $projectId;
- public $reportStatusInterval;
- protected $seqMapTaskType = 'Google_Service_Dataflow_SeqMapTask';
- protected $seqMapTaskDataType = '';
- protected $shellTaskType = 'Google_Service_Dataflow_ShellTask';
- protected $shellTaskDataType = '';
- protected $sourceOperationTaskType = 'Google_Service_Dataflow_SourceOperationRequest';
- protected $sourceOperationTaskDataType = '';
- protected $streamingSetupTaskType = 'Google_Service_Dataflow_StreamingSetupTask';
- protected $streamingSetupTaskDataType = '';
-
-
- public function setConfiguration($configuration)
- {
- $this->configuration = $configuration;
- }
- public function getConfiguration()
- {
- return $this->configuration;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setJobId($jobId)
- {
- $this->jobId = $jobId;
- }
- public function getJobId()
- {
- return $this->jobId;
- }
- public function setLeaseExpireTime($leaseExpireTime)
- {
- $this->leaseExpireTime = $leaseExpireTime;
- }
- public function getLeaseExpireTime()
- {
- return $this->leaseExpireTime;
- }
- public function setMapTask(Google_Service_Dataflow_MapTask $mapTask)
- {
- $this->mapTask = $mapTask;
- }
- public function getMapTask()
- {
- return $this->mapTask;
- }
- public function setPackages($packages)
- {
- $this->packages = $packages;
- }
- public function getPackages()
- {
- return $this->packages;
- }
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
- public function getProjectId()
- {
- return $this->projectId;
- }
- public function setReportStatusInterval($reportStatusInterval)
- {
- $this->reportStatusInterval = $reportStatusInterval;
- }
- public function getReportStatusInterval()
- {
- return $this->reportStatusInterval;
- }
- public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask)
- {
- $this->seqMapTask = $seqMapTask;
- }
- public function getSeqMapTask()
- {
- return $this->seqMapTask;
- }
- public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask)
- {
- $this->shellTask = $shellTask;
- }
- public function getShellTask()
- {
- return $this->shellTask;
- }
- public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask)
- {
- $this->sourceOperationTask = $sourceOperationTask;
- }
- public function getSourceOperationTask()
- {
- return $this->sourceOperationTask;
- }
- public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask)
- {
- $this->streamingSetupTask = $streamingSetupTask;
- }
- public function getStreamingSetupTask()
- {
- return $this->streamingSetupTask;
- }
-}
-
-class Google_Service_Dataflow_WorkItemServiceState extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $harnessData;
- public $leaseExpireTime;
- public $reportStatusInterval;
- protected $suggestedStopPointType = 'Google_Service_Dataflow_ApproximateProgress';
- protected $suggestedStopPointDataType = '';
- protected $suggestedStopPositionType = 'Google_Service_Dataflow_Position';
- protected $suggestedStopPositionDataType = '';
-
-
- public function setHarnessData($harnessData)
- {
- $this->harnessData = $harnessData;
- }
- public function getHarnessData()
- {
- return $this->harnessData;
- }
- public function setLeaseExpireTime($leaseExpireTime)
- {
- $this->leaseExpireTime = $leaseExpireTime;
- }
- public function getLeaseExpireTime()
- {
- return $this->leaseExpireTime;
- }
- public function setReportStatusInterval($reportStatusInterval)
- {
- $this->reportStatusInterval = $reportStatusInterval;
- }
- public function getReportStatusInterval()
- {
- return $this->reportStatusInterval;
- }
- public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint)
- {
- $this->suggestedStopPoint = $suggestedStopPoint;
- }
- public function getSuggestedStopPoint()
- {
- return $this->suggestedStopPoint;
- }
- public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition)
- {
- $this->suggestedStopPosition = $suggestedStopPosition;
- }
- public function getSuggestedStopPosition()
- {
- return $this->suggestedStopPosition;
- }
-}
-
-class Google_Service_Dataflow_WorkItemServiceStateHarnessData extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_WorkItemStatus extends Google_Collection
-{
- protected $collection_key = 'metricUpdates';
- protected $internal_gapi_mappings = array(
- );
- public $completed;
- protected $errorsType = 'Google_Service_Dataflow_Status';
- protected $errorsDataType = 'array';
- protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate';
- protected $metricUpdatesDataType = 'array';
- protected $progressType = 'Google_Service_Dataflow_ApproximateProgress';
- protected $progressDataType = '';
- public $reportIndex;
- public $requestedLeaseDuration;
- protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse';
- protected $sourceOperationResponseDataType = '';
- protected $stopPositionType = 'Google_Service_Dataflow_Position';
- protected $stopPositionDataType = '';
- public $workItemId;
-
-
- public function setCompleted($completed)
- {
- $this->completed = $completed;
- }
- public function getCompleted()
- {
- return $this->completed;
- }
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
- public function getErrors()
- {
- return $this->errors;
- }
- public function setMetricUpdates($metricUpdates)
- {
- $this->metricUpdates = $metricUpdates;
- }
- public function getMetricUpdates()
- {
- return $this->metricUpdates;
- }
- public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress)
- {
- $this->progress = $progress;
- }
- public function getProgress()
- {
- return $this->progress;
- }
- public function setReportIndex($reportIndex)
- {
- $this->reportIndex = $reportIndex;
- }
- public function getReportIndex()
- {
- return $this->reportIndex;
- }
- public function setRequestedLeaseDuration($requestedLeaseDuration)
- {
- $this->requestedLeaseDuration = $requestedLeaseDuration;
- }
- public function getRequestedLeaseDuration()
- {
- return $this->requestedLeaseDuration;
- }
- public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse)
- {
- $this->sourceOperationResponse = $sourceOperationResponse;
- }
- public function getSourceOperationResponse()
- {
- return $this->sourceOperationResponse;
- }
- public function setStopPosition(Google_Service_Dataflow_Position $stopPosition)
- {
- $this->stopPosition = $stopPosition;
- }
- public function getStopPosition()
- {
- return $this->stopPosition;
- }
- public function setWorkItemId($workItemId)
- {
- $this->workItemId = $workItemId;
- }
- public function getWorkItemId()
- {
- return $this->workItemId;
- }
-}
-
-class Google_Service_Dataflow_WorkerPool extends Google_Collection
-{
- protected $collection_key = 'packages';
- protected $internal_gapi_mappings = array(
- );
- protected $autoscalingSettingsType = 'Google_Service_Dataflow_AutoscalingSettings';
- protected $autoscalingSettingsDataType = '';
- protected $dataDisksType = 'Google_Service_Dataflow_Disk';
- protected $dataDisksDataType = 'array';
- public $defaultPackageSet;
- public $diskSizeGb;
- public $diskSourceImage;
- public $kind;
- public $machineType;
- public $metadata;
- public $numWorkers;
- public $onHostMaintenance;
- protected $packagesType = 'Google_Service_Dataflow_Package';
- protected $packagesDataType = 'array';
- protected $taskrunnerSettingsType = 'Google_Service_Dataflow_TaskRunnerSettings';
- protected $taskrunnerSettingsDataType = '';
- public $teardownPolicy;
- public $zone;
-
-
- public function setAutoscalingSettings(Google_Service_Dataflow_AutoscalingSettings $autoscalingSettings)
- {
- $this->autoscalingSettings = $autoscalingSettings;
- }
- public function getAutoscalingSettings()
- {
- return $this->autoscalingSettings;
- }
- public function setDataDisks($dataDisks)
- {
- $this->dataDisks = $dataDisks;
- }
- public function getDataDisks()
- {
- return $this->dataDisks;
- }
- public function setDefaultPackageSet($defaultPackageSet)
- {
- $this->defaultPackageSet = $defaultPackageSet;
- }
- public function getDefaultPackageSet()
- {
- return $this->defaultPackageSet;
- }
- public function setDiskSizeGb($diskSizeGb)
- {
- $this->diskSizeGb = $diskSizeGb;
- }
- public function getDiskSizeGb()
- {
- return $this->diskSizeGb;
- }
- public function setDiskSourceImage($diskSourceImage)
- {
- $this->diskSourceImage = $diskSourceImage;
- }
- public function getDiskSourceImage()
- {
- return $this->diskSourceImage;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMachineType($machineType)
- {
- $this->machineType = $machineType;
- }
- public function getMachineType()
- {
- return $this->machineType;
- }
- public function setMetadata($metadata)
- {
- $this->metadata = $metadata;
- }
- public function getMetadata()
- {
- return $this->metadata;
- }
- public function setNumWorkers($numWorkers)
- {
- $this->numWorkers = $numWorkers;
- }
- public function getNumWorkers()
- {
- return $this->numWorkers;
- }
- public function setOnHostMaintenance($onHostMaintenance)
- {
- $this->onHostMaintenance = $onHostMaintenance;
- }
- public function getOnHostMaintenance()
- {
- return $this->onHostMaintenance;
- }
- public function setPackages($packages)
- {
- $this->packages = $packages;
- }
- public function getPackages()
- {
- return $this->packages;
- }
- public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings)
- {
- $this->taskrunnerSettings = $taskrunnerSettings;
- }
- public function getTaskrunnerSettings()
- {
- return $this->taskrunnerSettings;
- }
- public function setTeardownPolicy($teardownPolicy)
- {
- $this->teardownPolicy = $teardownPolicy;
- }
- public function getTeardownPolicy()
- {
- return $this->teardownPolicy;
- }
- public function setZone($zone)
- {
- $this->zone = $zone;
- }
- public function getZone()
- {
- return $this->zone;
- }
-}
-
-class Google_Service_Dataflow_WorkerPoolMetadata extends Google_Model
-{
-}
-
-class Google_Service_Dataflow_WorkerSettings extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $baseUrl;
- public $reportingEnabled;
- public $servicePath;
- public $shuffleServicePath;
- public $tempStoragePrefix;
- public $workerId;
-
-
- public function setBaseUrl($baseUrl)
- {
- $this->baseUrl = $baseUrl;
- }
- public function getBaseUrl()
- {
- return $this->baseUrl;
- }
- public function setReportingEnabled($reportingEnabled)
- {
- $this->reportingEnabled = $reportingEnabled;
- }
- public function getReportingEnabled()
- {
- return $this->reportingEnabled;
- }
- public function setServicePath($servicePath)
- {
- $this->servicePath = $servicePath;
- }
- public function getServicePath()
- {
- return $this->servicePath;
- }
- public function setShuffleServicePath($shuffleServicePath)
- {
- $this->shuffleServicePath = $shuffleServicePath;
- }
- public function getShuffleServicePath()
- {
- return $this->shuffleServicePath;
- }
- public function setTempStoragePrefix($tempStoragePrefix)
- {
- $this->tempStoragePrefix = $tempStoragePrefix;
- }
- public function getTempStoragePrefix()
- {
- return $this->tempStoragePrefix;
- }
- public function setWorkerId($workerId)
- {
- $this->workerId = $workerId;
- }
- public function getWorkerId()
- {
- return $this->workerId;
- }
-}
-
-class Google_Service_Dataflow_WriteInstruction extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $inputType = 'Google_Service_Dataflow_InstructionInput';
- protected $inputDataType = '';
- protected $sinkType = 'Google_Service_Dataflow_Sink';
- protected $sinkDataType = '';
-
-
- public function setInput(Google_Service_Dataflow_InstructionInput $input)
- {
- $this->input = $input;
- }
- public function getInput()
- {
- return $this->input;
- }
- public function setSink(Google_Service_Dataflow_Sink $sink)
- {
- $this->sink = $sink;
- }
- public function getSink()
- {
- return $this->sink;
- }
-}
From a1cf8a561139ee97a3314061ccc2d90fb28e5494 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_SQLAdmin extends Google_Service -{ - /** View and manage your data across Google Cloud Platform services. */ - const CLOUD_PLATFORM = - "https://www.googleapis.com/auth/cloud-platform"; - /** Manage your Google SQL Service instances. */ - const SQLSERVICE_ADMIN = - "https://www.googleapis.com/auth/sqlservice.admin"; - - public $backupRuns; - public $databases; - public $flags; - public $instances; - public $operations; - public $sslCerts; - public $tiers; - public $users; - - - /** - * Constructs the internal representation of the SQLAdmin service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'sql/v1beta4/'; - $this->version = 'v1beta4'; - $this->serviceName = 'sqladmin'; - - $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource( - $this, - $this->serviceName, - 'backupRuns', - array( - 'methods' => array( - 'get' => array( - 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/backupRuns', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->databases = new Google_Service_SQLAdmin_Databases_Resource( - $this, - $this->serviceName, - 'databases', - array( - 'methods' => array( - 'delete' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances/{instance}/databases', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/databases', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'patch' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'PATCH', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->flags = new Google_Service_SQLAdmin_Flags_Resource( - $this, - $this->serviceName, - 'flags', - array( - 'methods' => array( - 'list' => array( - 'path' => 'flags', - 'httpMethod' => 'GET', - 'parameters' => array(), - ), - ) - ) - ); - $this->instances = new Google_Service_SQLAdmin_Instances_Resource( - $this, - $this->serviceName, - 'instances', - array( - 'methods' => array( - 'clone' => array( - 'path' => 'projects/{project}/instances/{instance}/clone', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'delete' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'export' => array( - 'path' => 'projects/{project}/instances/{instance}/export', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'import' => array( - 'path' => 'projects/{project}/instances/{instance}/import', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ),'patch' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'PATCH', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'promoteReplica' => array( - 'path' => 'projects/{project}/instances/{instance}/promoteReplica', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'resetSslConfig' => array( - 'path' => 'projects/{project}/instances/{instance}/resetSslConfig', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'restart' => array( - 'path' => 'projects/{project}/instances/{instance}/restart', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'restoreBackup' => array( - 'path' => 'projects/{project}/instances/{instance}/restoreBackup', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'startReplica' => array( - 'path' => 'projects/{project}/instances/{instance}/startReplica', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'stopReplica' => array( - 'path' => 'projects/{project}/instances/{instance}/stopReplica', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->operations = new Google_Service_SQLAdmin_Operations_Resource( - $this, - $this->serviceName, - 'operations', - array( - 'methods' => array( - 'get' => array( - 'path' => 'projects/{project}/operations/{operation}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'operation' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/operations', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource( - $this, - $this->serviceName, - 'sslCerts', - array( - 'methods' => array( - 'delete' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'sha1Fingerprint' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'sha1Fingerprint' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->tiers = new Google_Service_SQLAdmin_Tiers_Resource( - $this, - $this->serviceName, - 'tiers', - array( - 'methods' => array( - 'list' => array( - 'path' => 'projects/{project}/tiers', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->users = new Google_Service_SQLAdmin_Users_Resource( - $this, - $this->serviceName, - 'users', - array( - 'methods' => array( - 'delete' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'host' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'name' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'host' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'name' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "backupRuns" collection of methods. - * Typical usage is: - *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $backupRuns = $sqladminService->backupRuns;
- *
- */
-class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves a resource containing information about a backup run.
- * (backupRuns.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param string $id The ID of this Backup Run.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_BackupRun
- */
- public function get($project, $instance, $id, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
- }
-
- /**
- * Lists all backup runs associated with a given instance and configuration in
- * the reverse chronological order of the enqueued time.
- * (backupRuns.listBackupRuns)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int maxResults Maximum number of backup runs per response.
- * @opt_param string pageToken A previously-returned page token representing
- * part of the larger set of results to view.
- * @return Google_Service_SQLAdmin_BackupRunsListResponse
- */
- public function listBackupRuns($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse");
- }
-}
-
-/**
- * The "databases" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $databases = $sqladminService->databases;
- *
- */
-class Google_Service_SQLAdmin_Databases_Resource extends Google_Service_Resource
-{
-
- /**
- * Deletes a resource containing information about a database inside a Cloud SQL
- * instance. (databases.delete)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database to be deleted in the instance.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $database, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Retrieves a resource containing information about a database inside a Cloud
- * SQL instance. (databases.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database in the instance.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Database
- */
- public function get($project, $instance, $database, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_Database");
- }
-
- /**
- * Inserts a resource containing information about a database inside a Cloud SQL
- * instance. (databases.insert)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param Google_Database $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists databases in the specified Cloud SQL instance.
- * (databases.listDatabases)
- *
- * @param string $project Project ID of the project for which to list Cloud SQL
- * instances.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_DatabasesListResponse
- */
- public function listDatabases($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse");
- }
-
- /**
- * Updates a resource containing information about a database inside a Cloud SQL
- * instance. This method supports patch semantics. (databases.patch)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database to be updated in the instance.
- * @param Google_Database $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Updates a resource containing information about a database inside a Cloud SQL
- * instance. (databases.update)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database to be updated in the instance.
- * @param Google_Database $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
- }
-}
-
-/**
- * The "flags" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $flags = $sqladminService->flags;
- *
- */
-class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
-{
-
- /**
- * List all available database flags for Google Cloud SQL instances.
- * (flags.listFlags)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_FlagsListResponse
- */
- public function listFlags($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
- }
-}
-
-/**
- * The "instances" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $instances = $sqladminService->instances;
- *
- */
-class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
-{
-
- /**
- * Creates a Cloud SQL instance as a clone of the source instance.
- * (instances.cloneInstances)
- *
- * @param string $project Project ID of the source as well as the clone Cloud
- * SQL instance.
- * @param string $instance The ID of the Cloud SQL instance to be cloned
- * (source). This does not include the project ID.
- * @param Google_InstancesCloneRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Deletes a Cloud SQL instance. (instances.delete)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be deleted.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
- * MySQL dump file. (instances.export)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be exported.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstancesExportRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Retrieves a resource containing information about a Cloud SQL instance.
- * (instances.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_DatabaseInstance
- */
- public function get($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance");
- }
-
- /**
- * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
- * Storage. (instances.import)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstancesImportRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Creates a new Cloud SQL instance. (instances.insert)
- *
- * @param string $project Project ID of the project to which the newly created
- * Cloud SQL instances should belong.
- * @param Google_DatabaseInstance $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists instances under a given project in the alphabetical order of the
- * instance name. (instances.listInstances)
- *
- * @param string $project Project ID of the project for which to list Cloud SQL
- * instances.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken A previously-returned page token representing
- * part of the larger set of results to view.
- * @opt_param string maxResults The maximum number of results to return per
- * response.
- * @return Google_Service_SQLAdmin_InstancesListResponse
- */
- public function listInstances($project, $optParams = array())
- {
- $params = array('project' => $project);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse");
- }
-
- /**
- * Updates settings of a Cloud SQL instance. Caution: This is not a partial
- * update, so you must include values for all the settings that you want to
- * retain. For partial updates, use patch.. This method supports patch
- * semantics. (instances.patch)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_DatabaseInstance $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
- * (instances.promoteReplica)
- *
- * @param string $project ID of the project that contains the read replica.
- * @param string $instance Cloud SQL read replica instance name.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function promoteReplica($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Deletes all client certificates and generates a new server SSL certificate
- * for the instance. The changes will not take effect until the instance is
- * restarted. Existing instances without a server certificate will need to call
- * this once to set a server certificate. (instances.resetSslConfig)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function resetSslConfig($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Restarts a Cloud SQL instance. (instances.restart)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be restarted.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function restart($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstancesRestoreBackupRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Starts the replication in the read replica instance. (instances.startReplica)
- *
- * @param string $project ID of the project that contains the read replica.
- * @param string $instance Cloud SQL read replica instance name.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function startReplica($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Stops the replication in the read replica instance. (instances.stopReplica)
- *
- * @param string $project ID of the project that contains the read replica.
- * @param string $instance Cloud SQL read replica instance name.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function stopReplica($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Updates settings of a Cloud SQL instance. Caution: This is not a partial
- * update, so you must include values for all the settings that you want to
- * retain. For partial updates, use patch. (instances.update)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_DatabaseInstance $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
- }
-}
-
-/**
- * The "operations" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $operations = $sqladminService->operations;
- *
- */
-class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves an instance operation that has been performed on an instance.
- * (operations.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $operation Instance operation ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function get($project, $operation, $optParams = array())
- {
- $params = array('project' => $project, 'operation' => $operation);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists all instance operations that have been performed on the given Cloud SQL
- * instance in the reverse chronological order of the start time.
- * (operations.listOperations)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxResults Maximum number of operations per response.
- * @opt_param string pageToken A previously-returned page token representing
- * part of the larger set of results to view.
- * @return Google_Service_SQLAdmin_OperationsListResponse
- */
- public function listOperations($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse");
- }
-}
-
-/**
- * The "sslCerts" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $sslCerts = $sqladminService->sslCerts;
- *
- */
-class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
-{
-
- /**
- * Deletes the SSL certificate. The change will not take effect until the
- * instance is restarted. (sslCerts.delete)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be deleted.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param string $sha1Fingerprint Sha1 FingerPrint.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Retrieves a particular SSL certificate. Does not include the private key
- * (required for usage). The private key must be saved from the response to
- * initial creation. (sslCerts.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param string $sha1Fingerprint Sha1 FingerPrint.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCert
- */
- public function get($project, $instance, $sha1Fingerprint, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert");
- }
-
- /**
- * Creates an SSL certificate and returns it along with the private key and
- * server certificate authority. The new certificate will not be usable until
- * the instance is restarted. (sslCerts.insert)
- *
- * @param string $project Project ID of the project to which the newly created
- * Cloud SQL instances should belong.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_SslCertsInsertRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCertsInsertResponse
- */
- public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse");
- }
-
- /**
- * Lists all of the current SSL certificates for the instance.
- * (sslCerts.listSslCerts)
- *
- * @param string $project Project ID of the project for which to list Cloud SQL
- * instances.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCertsListResponse
- */
- public function listSslCerts($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse");
- }
-}
-
-/**
- * The "tiers" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $tiers = $sqladminService->tiers;
- *
- */
-class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
-{
-
- /**
- * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
- * For related information, see Pricing. (tiers.listTiers)
- *
- * @param string $project Project ID of the project for which to list tiers.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_TiersListResponse
- */
- public function listTiers($project, $optParams = array())
- {
- $params = array('project' => $project);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse");
- }
-}
-
-/**
- * The "users" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $users = $sqladminService->users;
- *
- */
-class Google_Service_SQLAdmin_Users_Resource extends Google_Service_Resource
-{
-
- /**
- * Deletes a user from a Cloud SQL instance. (users.delete)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $host Host of the user in the instance.
- * @param string $name Name of the user in the instance.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $host, $name, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Creates a new user in a Cloud SQL instance. (users.insert)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param Google_User $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists users in the specified Cloud SQL instance. (users.listUsers)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_UsersListResponse
- */
- public function listUsers($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse");
- }
-
- /**
- * Updates an existing user in a Cloud SQL instance. (users.update)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $host Host of the user in the instance.
- * @param string $name Name of the user in the instance.
- * @param Google_User $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
- }
-}
-
-
-
-
-class Google_Service_SQLAdmin_AclEntry extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $expirationTime;
- public $kind;
- public $name;
- public $value;
-
-
- public function setExpirationTime($expirationTime)
- {
- $this->expirationTime = $expirationTime;
- }
- public function getExpirationTime()
- {
- return $this->expirationTime;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $binaryLogEnabled;
- public $enabled;
- public $kind;
- public $startTime;
-
-
- public function setBinaryLogEnabled($binaryLogEnabled)
- {
- $this->binaryLogEnabled = $binaryLogEnabled;
- }
- public function getBinaryLogEnabled()
- {
- return $this->binaryLogEnabled;
- }
- public function setEnabled($enabled)
- {
- $this->enabled = $enabled;
- }
- public function getEnabled()
- {
- return $this->enabled;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
-}
-
-class Google_Service_SQLAdmin_BackupRun extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $endTime;
- public $enqueuedTime;
- protected $errorType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorDataType = '';
- public $id;
- public $instance;
- public $kind;
- public $selfLink;
- public $startTime;
- public $status;
- public $windowStartTime;
-
-
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- }
- public function getEndTime()
- {
- return $this->endTime;
- }
- public function setEnqueuedTime($enqueuedTime)
- {
- $this->enqueuedTime = $enqueuedTime;
- }
- public function getEnqueuedTime()
- {
- return $this->enqueuedTime;
- }
- public function setError(Google_Service_SQLAdmin_OperationError $error)
- {
- $this->error = $error;
- }
- public function getError()
- {
- return $this->error;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- public function getStatus()
- {
- return $this->status;
- }
- public function setWindowStartTime($windowStartTime)
- {
- $this->windowStartTime = $windowStartTime;
- }
- public function getWindowStartTime()
- {
- return $this->windowStartTime;
- }
-}
-
-class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_BackupRun';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $binLogFileName;
- public $binLogPosition;
- public $kind;
-
-
- public function setBinLogFileName($binLogFileName)
- {
- $this->binLogFileName = $binLogFileName;
- }
- public function getBinLogFileName()
- {
- return $this->binLogFileName;
- }
- public function setBinLogPosition($binLogPosition)
- {
- $this->binLogPosition = $binLogPosition;
- }
- public function getBinLogPosition()
- {
- return $this->binLogPosition;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_CloneContext extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
- protected $binLogCoordinatesDataType = '';
- public $destinationInstanceName;
- public $kind;
-
-
- public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
- {
- $this->binLogCoordinates = $binLogCoordinates;
- }
- public function getBinLogCoordinates()
- {
- return $this->binLogCoordinates;
- }
- public function setDestinationInstanceName($destinationInstanceName)
- {
- $this->destinationInstanceName = $destinationInstanceName;
- }
- public function getDestinationInstanceName()
- {
- return $this->destinationInstanceName;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_Database extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $charset;
- public $collation;
- public $etag;
- public $instance;
- public $kind;
- public $name;
- public $project;
- public $selfLink;
-
-
- public function setCharset($charset)
- {
- $this->charset = $charset;
- }
- public function getCharset()
- {
- return $this->charset;
- }
- public function setCollation($collation)
- {
- $this->collation = $collation;
- }
- public function getCollation()
- {
- return $this->collation;
- }
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProject($project)
- {
- $this->project = $project;
- }
- public function getProject()
- {
- return $this->project;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-}
-
-class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $name;
- public $value;
-
-
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
-{
- protected $collection_key = 'replicaNames';
- protected $internal_gapi_mappings = array(
- );
- public $currentDiskSize;
- public $databaseVersion;
- public $etag;
- public $instanceType;
- protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
- protected $ipAddressesDataType = 'array';
- public $ipv6Address;
- public $kind;
- public $masterInstanceName;
- public $maxDiskSize;
- public $name;
- public $project;
- public $region;
- public $replicaNames;
- public $selfLink;
- protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
- protected $serverCaCertDataType = '';
- public $serviceAccountEmailAddress;
- protected $settingsType = 'Google_Service_SQLAdmin_Settings';
- protected $settingsDataType = '';
- public $state;
-
-
- public function setCurrentDiskSize($currentDiskSize)
- {
- $this->currentDiskSize = $currentDiskSize;
- }
- public function getCurrentDiskSize()
- {
- return $this->currentDiskSize;
- }
- public function setDatabaseVersion($databaseVersion)
- {
- $this->databaseVersion = $databaseVersion;
- }
- public function getDatabaseVersion()
- {
- return $this->databaseVersion;
- }
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setInstanceType($instanceType)
- {
- $this->instanceType = $instanceType;
- }
- public function getInstanceType()
- {
- return $this->instanceType;
- }
- public function setIpAddresses($ipAddresses)
- {
- $this->ipAddresses = $ipAddresses;
- }
- public function getIpAddresses()
- {
- return $this->ipAddresses;
- }
- public function setIpv6Address($ipv6Address)
- {
- $this->ipv6Address = $ipv6Address;
- }
- public function getIpv6Address()
- {
- return $this->ipv6Address;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMasterInstanceName($masterInstanceName)
- {
- $this->masterInstanceName = $masterInstanceName;
- }
- public function getMasterInstanceName()
- {
- return $this->masterInstanceName;
- }
- public function setMaxDiskSize($maxDiskSize)
- {
- $this->maxDiskSize = $maxDiskSize;
- }
- public function getMaxDiskSize()
- {
- return $this->maxDiskSize;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProject($project)
- {
- $this->project = $project;
- }
- public function getProject()
- {
- return $this->project;
- }
- public function setRegion($region)
- {
- $this->region = $region;
- }
- public function getRegion()
- {
- return $this->region;
- }
- public function setReplicaNames($replicaNames)
- {
- $this->replicaNames = $replicaNames;
- }
- public function getReplicaNames()
- {
- return $this->replicaNames;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
- {
- $this->serverCaCert = $serverCaCert;
- }
- public function getServerCaCert()
- {
- return $this->serverCaCert;
- }
- public function setServiceAccountEmailAddress($serviceAccountEmailAddress)
- {
- $this->serviceAccountEmailAddress = $serviceAccountEmailAddress;
- }
- public function getServiceAccountEmailAddress()
- {
- return $this->serviceAccountEmailAddress;
- }
- public function setSettings(Google_Service_SQLAdmin_Settings $settings)
- {
- $this->settings = $settings;
- }
- public function getSettings()
- {
- return $this->settings;
- }
- public function setState($state)
- {
- $this->state = $state;
- }
- public function getState()
- {
- return $this->state;
- }
-}
-
-class Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Database';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_ExportContext extends Google_Collection
-{
- protected $collection_key = 'databases';
- protected $internal_gapi_mappings = array(
- );
- protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions';
- protected $csvExportOptionsDataType = '';
- public $databases;
- public $fileType;
- public $kind;
- protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions';
- protected $sqlExportOptionsDataType = '';
- public $uri;
-
-
- public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions)
- {
- $this->csvExportOptions = $csvExportOptions;
- }
- public function getCsvExportOptions()
- {
- return $this->csvExportOptions;
- }
- public function setDatabases($databases)
- {
- $this->databases = $databases;
- }
- public function getDatabases()
- {
- return $this->databases;
- }
- public function setFileType($fileType)
- {
- $this->fileType = $fileType;
- }
- public function getFileType()
- {
- return $this->fileType;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions)
- {
- $this->sqlExportOptions = $sqlExportOptions;
- }
- public function getSqlExportOptions()
- {
- return $this->sqlExportOptions;
- }
- public function setUri($uri)
- {
- $this->uri = $uri;
- }
- public function getUri()
- {
- return $this->uri;
- }
-}
-
-class Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $selectQuery;
-
-
- public function setSelectQuery($selectQuery)
- {
- $this->selectQuery = $selectQuery;
- }
- public function getSelectQuery()
- {
- return $this->selectQuery;
- }
-}
-
-class Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection
-{
- protected $collection_key = 'tables';
- protected $internal_gapi_mappings = array(
- );
- public $tables;
-
-
- public function setTables($tables)
- {
- $this->tables = $tables;
- }
- public function getTables()
- {
- return $this->tables;
- }
-}
-
-class Google_Service_SQLAdmin_Flag extends Google_Collection
-{
- protected $collection_key = 'appliesTo';
- protected $internal_gapi_mappings = array(
- );
- public $allowedStringValues;
- public $appliesTo;
- public $kind;
- public $maxValue;
- public $minValue;
- public $name;
- public $type;
-
-
- public function setAllowedStringValues($allowedStringValues)
- {
- $this->allowedStringValues = $allowedStringValues;
- }
- public function getAllowedStringValues()
- {
- return $this->allowedStringValues;
- }
- public function setAppliesTo($appliesTo)
- {
- $this->appliesTo = $appliesTo;
- }
- public function getAppliesTo()
- {
- return $this->appliesTo;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMaxValue($maxValue)
- {
- $this->maxValue = $maxValue;
- }
- public function getMaxValue()
- {
- return $this->maxValue;
- }
- public function setMinValue($minValue)
- {
- $this->minValue = $minValue;
- }
- public function getMinValue()
- {
- return $this->minValue;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Flag';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_ImportContext extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
- protected $csvImportOptionsDataType = '';
- public $database;
- public $fileType;
- public $kind;
- public $uri;
-
-
- public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
- {
- $this->csvImportOptions = $csvImportOptions;
- }
- public function getCsvImportOptions()
- {
- return $this->csvImportOptions;
- }
- public function setDatabase($database)
- {
- $this->database = $database;
- }
- public function getDatabase()
- {
- return $this->database;
- }
- public function setFileType($fileType)
- {
- $this->fileType = $fileType;
- }
- public function getFileType()
- {
- return $this->fileType;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setUri($uri)
- {
- $this->uri = $uri;
- }
- public function getUri()
- {
- return $this->uri;
- }
-}
-
-class Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection
-{
- protected $collection_key = 'columns';
- protected $internal_gapi_mappings = array(
- );
- public $columns;
- public $table;
-
-
- public function setColumns($columns)
- {
- $this->columns = $columns;
- }
- public function getColumns()
- {
- return $this->columns;
- }
- public function setTable($table)
- {
- $this->table = $table;
- }
- public function getTable()
- {
- return $this->table;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
- protected $cloneContextDataType = '';
-
-
- public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
- {
- $this->cloneContext = $cloneContext;
- }
- public function getCloneContext()
- {
- return $this->cloneContext;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
- protected $exportContextDataType = '';
-
-
- public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
- {
- $this->exportContext = $exportContext;
- }
- public function getExportContext()
- {
- return $this->exportContext;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
- protected $importContextDataType = '';
-
-
- public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
- {
- $this->importContext = $importContext;
- }
- public function getImportContext()
- {
- return $this->importContext;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext';
- protected $restoreBackupContextDataType = '';
-
-
- public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext)
- {
- $this->restoreBackupContext = $restoreBackupContext;
- }
- public function getRestoreBackupContext()
- {
- return $this->restoreBackupContext;
- }
-}
-
-class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
-{
- protected $collection_key = 'authorizedNetworks';
- protected $internal_gapi_mappings = array(
- );
- protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry';
- protected $authorizedNetworksDataType = 'array';
- public $ipv4Enabled;
- public $requireSsl;
-
-
- public function setAuthorizedNetworks($authorizedNetworks)
- {
- $this->authorizedNetworks = $authorizedNetworks;
- }
- public function getAuthorizedNetworks()
- {
- return $this->authorizedNetworks;
- }
- public function setIpv4Enabled($ipv4Enabled)
- {
- $this->ipv4Enabled = $ipv4Enabled;
- }
- public function getIpv4Enabled()
- {
- return $this->ipv4Enabled;
- }
- public function setRequireSsl($requireSsl)
- {
- $this->requireSsl = $requireSsl;
- }
- public function getRequireSsl()
- {
- return $this->requireSsl;
- }
-}
-
-class Google_Service_SQLAdmin_IpMapping extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $ipAddress;
- public $timeToRetire;
-
-
- public function setIpAddress($ipAddress)
- {
- $this->ipAddress = $ipAddress;
- }
- public function getIpAddress()
- {
- return $this->ipAddress;
- }
- public function setTimeToRetire($timeToRetire)
- {
- $this->timeToRetire = $timeToRetire;
- }
- public function getTimeToRetire()
- {
- return $this->timeToRetire;
- }
-}
-
-class Google_Service_SQLAdmin_LocationPreference extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $followGaeApplication;
- public $kind;
- public $zone;
-
-
- public function setFollowGaeApplication($followGaeApplication)
- {
- $this->followGaeApplication = $followGaeApplication;
- }
- public function getFollowGaeApplication()
- {
- return $this->followGaeApplication;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setZone($zone)
- {
- $this->zone = $zone;
- }
- public function getZone()
- {
- return $this->zone;
- }
-}
-
-class Google_Service_SQLAdmin_Operation extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $endTime;
- protected $errorType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorDataType = '';
- protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
- protected $exportContextDataType = '';
- protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
- protected $importContextDataType = '';
- public $insertTime;
- public $kind;
- public $name;
- public $operationType;
- public $selfLink;
- public $startTime;
- public $status;
- public $targetId;
- public $targetLink;
- public $targetProject;
- public $user;
-
-
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- }
- public function getEndTime()
- {
- return $this->endTime;
- }
- public function setError(Google_Service_SQLAdmin_OperationError $error)
- {
- $this->error = $error;
- }
- public function getError()
- {
- return $this->error;
- }
- public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
- {
- $this->exportContext = $exportContext;
- }
- public function getExportContext()
- {
- return $this->exportContext;
- }
- public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
- {
- $this->importContext = $importContext;
- }
- public function getImportContext()
- {
- return $this->importContext;
- }
- public function setInsertTime($insertTime)
- {
- $this->insertTime = $insertTime;
- }
- public function getInsertTime()
- {
- return $this->insertTime;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setOperationType($operationType)
- {
- $this->operationType = $operationType;
- }
- public function getOperationType()
- {
- return $this->operationType;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- public function getStatus()
- {
- return $this->status;
- }
- public function setTargetId($targetId)
- {
- $this->targetId = $targetId;
- }
- public function getTargetId()
- {
- return $this->targetId;
- }
- public function setTargetLink($targetLink)
- {
- $this->targetLink = $targetLink;
- }
- public function getTargetLink()
- {
- return $this->targetLink;
- }
- public function setTargetProject($targetProject)
- {
- $this->targetProject = $targetProject;
- }
- public function getTargetProject()
- {
- return $this->targetProject;
- }
- public function setUser($user)
- {
- $this->user = $user;
- }
- public function getUser()
- {
- return $this->user;
- }
-}
-
-class Google_Service_SQLAdmin_OperationError extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $code;
- public $kind;
- public $message;
-
-
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function getCode()
- {
- return $this->code;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMessage($message)
- {
- $this->message = $message;
- }
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_SQLAdmin_OperationError extends Google_Collection
-{
- protected $collection_key = 'errors';
- protected $internal_gapi_mappings = array(
- );
- protected $errorsType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorsDataType = 'array';
-
-
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Operation';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $backupRunId;
- public $kind;
-
-
- public function setBackupRunId($backupRunId)
- {
- $this->backupRunId = $backupRunId;
- }
- public function getBackupRunId()
- {
- return $this->backupRunId;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_Settings extends Google_Collection
-{
- protected $collection_key = 'databaseFlags';
- protected $internal_gapi_mappings = array(
- );
- public $activationPolicy;
- public $authorizedGaeApplications;
- protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
- protected $backupConfigurationDataType = '';
- protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
- protected $databaseFlagsDataType = 'array';
- public $databaseReplicationEnabled;
- protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
- protected $ipConfigurationDataType = '';
- public $kind;
- protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference';
- protected $locationPreferenceDataType = '';
- public $pricingPlan;
- public $replicationType;
- public $settingsVersion;
- public $tier;
-
-
- public function setActivationPolicy($activationPolicy)
- {
- $this->activationPolicy = $activationPolicy;
- }
- public function getActivationPolicy()
- {
- return $this->activationPolicy;
- }
- public function setAuthorizedGaeApplications($authorizedGaeApplications)
- {
- $this->authorizedGaeApplications = $authorizedGaeApplications;
- }
- public function getAuthorizedGaeApplications()
- {
- return $this->authorizedGaeApplications;
- }
- public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration)
- {
- $this->backupConfiguration = $backupConfiguration;
- }
- public function getBackupConfiguration()
- {
- return $this->backupConfiguration;
- }
- public function setDatabaseFlags($databaseFlags)
- {
- $this->databaseFlags = $databaseFlags;
- }
- public function getDatabaseFlags()
- {
- return $this->databaseFlags;
- }
- public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
- {
- $this->databaseReplicationEnabled = $databaseReplicationEnabled;
- }
- public function getDatabaseReplicationEnabled()
- {
- return $this->databaseReplicationEnabled;
- }
- public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
- {
- $this->ipConfiguration = $ipConfiguration;
- }
- public function getIpConfiguration()
- {
- return $this->ipConfiguration;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference)
- {
- $this->locationPreference = $locationPreference;
- }
- public function getLocationPreference()
- {
- return $this->locationPreference;
- }
- public function setPricingPlan($pricingPlan)
- {
- $this->pricingPlan = $pricingPlan;
- }
- public function getPricingPlan()
- {
- return $this->pricingPlan;
- }
- public function setReplicationType($replicationType)
- {
- $this->replicationType = $replicationType;
- }
- public function getReplicationType()
- {
- return $this->replicationType;
- }
- public function setSettingsVersion($settingsVersion)
- {
- $this->settingsVersion = $settingsVersion;
- }
- public function getSettingsVersion()
- {
- return $this->settingsVersion;
- }
- public function setTier($tier)
- {
- $this->tier = $tier;
- }
- public function getTier()
- {
- return $this->tier;
- }
-}
-
-class Google_Service_SQLAdmin_SslCert extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $cert;
- public $certSerialNumber;
- public $commonName;
- public $createTime;
- public $expirationTime;
- public $instance;
- public $kind;
- public $selfLink;
- public $sha1Fingerprint;
-
-
- public function setCert($cert)
- {
- $this->cert = $cert;
- }
- public function getCert()
- {
- return $this->cert;
- }
- public function setCertSerialNumber($certSerialNumber)
- {
- $this->certSerialNumber = $certSerialNumber;
- }
- public function getCertSerialNumber()
- {
- return $this->certSerialNumber;
- }
- public function setCommonName($commonName)
- {
- $this->commonName = $commonName;
- }
- public function getCommonName()
- {
- return $this->commonName;
- }
- public function setCreateTime($createTime)
- {
- $this->createTime = $createTime;
- }
- public function getCreateTime()
- {
- return $this->createTime;
- }
- public function setExpirationTime($expirationTime)
- {
- $this->expirationTime = $expirationTime;
- }
- public function getExpirationTime()
- {
- return $this->expirationTime;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setSha1Fingerprint($sha1Fingerprint)
- {
- $this->sha1Fingerprint = $sha1Fingerprint;
- }
- public function getSha1Fingerprint()
- {
- return $this->sha1Fingerprint;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertDetail extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $certInfoType = 'Google_Service_SQLAdmin_SslCert';
- protected $certInfoDataType = '';
- public $certPrivateKey;
-
-
- public function setCertInfo(Google_Service_SQLAdmin_SslCert $certInfo)
- {
- $this->certInfo = $certInfo;
- }
- public function getCertInfo()
- {
- return $this->certInfo;
- }
- public function setCertPrivateKey($certPrivateKey)
- {
- $this->certPrivateKey = $certPrivateKey;
- }
- public function getCertPrivateKey()
- {
- return $this->certPrivateKey;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $commonName;
-
-
- public function setCommonName($commonName)
- {
- $this->commonName = $commonName;
- }
- public function getCommonName()
- {
- return $this->commonName;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail';
- protected $clientCertDataType = '';
- public $kind;
- protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
- protected $serverCaCertDataType = '';
-
-
- public function setClientCert(Google_Service_SQLAdmin_SslCertDetail $clientCert)
- {
- $this->clientCert = $clientCert;
- }
- public function getClientCert()
- {
- return $this->clientCert;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
- {
- $this->serverCaCert = $serverCaCert;
- }
- public function getServerCaCert()
- {
- return $this->serverCaCert;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_SslCert';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_Tier extends Google_Collection
-{
- protected $collection_key = 'region';
- protected $internal_gapi_mappings = array(
- "diskQuota" => "DiskQuota",
- "rAM" => "RAM",
- );
- public $diskQuota;
- public $rAM;
- public $kind;
- public $region;
- public $tier;
-
-
- public function setDiskQuota($diskQuota)
- {
- $this->diskQuota = $diskQuota;
- }
- public function getDiskQuota()
- {
- return $this->diskQuota;
- }
- public function setRAM($rAM)
- {
- $this->rAM = $rAM;
- }
- public function getRAM()
- {
- return $this->rAM;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setRegion($region)
- {
- $this->region = $region;
- }
- public function getRegion()
- {
- return $this->region;
- }
- public function setTier($tier)
- {
- $this->tier = $tier;
- }
- public function getTier()
- {
- return $this->tier;
- }
-}
-
-class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Tier';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_User extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $etag;
- public $host;
- public $instance;
- public $kind;
- public $name;
- public $password;
- public $project;
-
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setHost($host)
- {
- $this->host = $host;
- }
- public function getHost()
- {
- return $this->host;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setPassword($password)
- {
- $this->password = $password;
- }
- public function getPassword()
- {
- return $this->password;
- }
- public function setProject($project)
- {
- $this->project = $project;
- }
- public function getProject()
- {
- return $this->project;
- }
-}
-
-class Google_Service_SQLAdmin_UsersListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_User';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
From 89df9a568750bce1f30c1121aabcc1e8337332b1 Mon Sep 17 00:00:00 2001
From: Ian Barber + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_SQLAdmin extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** Manage your Google SQL Service instances. */ + const SQLSERVICE_ADMIN = + "https://www.googleapis.com/auth/sqlservice.admin"; + + public $backupRuns; + public $databases; + public $flags; + public $instances; + public $operations; + public $sslCerts; + public $tiers; + public $users; + + + /** + * Constructs the internal representation of the SQLAdmin service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'sql/v1beta4/'; + $this->version = 'v1beta4'; + $this->serviceName = 'sqladmin'; + + $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource( + $this, + $this->serviceName, + 'backupRuns', + array( + 'methods' => array( + 'get' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'id' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/backupRuns', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->databases = new Google_Service_SQLAdmin_Databases_Resource( + $this, + $this->serviceName, + 'databases', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/databases', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/databases/{database}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'database' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->flags = new Google_Service_SQLAdmin_Flags_Resource( + $this, + $this->serviceName, + 'flags', + array( + 'methods' => array( + 'list' => array( + 'path' => 'flags', + 'httpMethod' => 'GET', + 'parameters' => array(), + ), + ) + ) + ); + $this->instances = new Google_Service_SQLAdmin_Instances_Resource( + $this, + $this->serviceName, + 'instances', + array( + 'methods' => array( + 'clone' => array( + 'path' => 'projects/{project}/instances/{instance}/clone', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'export' => array( + 'path' => 'projects/{project}/instances/{instance}/export', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'import' => array( + 'path' => 'projects/{project}/instances/{instance}/import', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'patch' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'promoteReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/promoteReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'resetSslConfig' => array( + 'path' => 'projects/{project}/instances/{instance}/resetSslConfig', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'restart' => array( + 'path' => 'projects/{project}/instances/{instance}/restart', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'restoreBackup' => array( + 'path' => 'projects/{project}/instances/{instance}/restoreBackup', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'startReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/startReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'stopReplica' => array( + 'path' => 'projects/{project}/instances/{instance}/stopReplica', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->operations = new Google_Service_SQLAdmin_Operations_Resource( + $this, + $this->serviceName, + 'operations', + array( + 'methods' => array( + 'get' => array( + 'path' => 'projects/{project}/operations/{operation}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'operation' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/operations', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'maxResults' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource( + $this, + $this->serviceName, + 'sslCerts', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sha1Fingerprint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sha1Fingerprint' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/sslCerts', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->tiers = new Google_Service_SQLAdmin_Tiers_Resource( + $this, + $this->serviceName, + 'tiers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'projects/{project}/tiers', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_SQLAdmin_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'POST', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'projects/{project}/instances/{instance}/users', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'project' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'instance' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'host' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + 'name' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "backupRuns" collection of methods. + * Typical usage is: + *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $backupRuns = $sqladminService->backupRuns;
+ *
+ */
+class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves a resource containing information about a backup run.
+ * (backupRuns.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $id The ID of this Backup Run.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_BackupRun
+ */
+ public function get($project, $instance, $id, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
+ }
+
+ /**
+ * Lists all backup runs associated with a given instance and configuration in
+ * the reverse chronological order of the enqueued time.
+ * (backupRuns.listBackupRuns)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int maxResults Maximum number of backup runs per response.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @return Google_Service_SQLAdmin_BackupRunsListResponse
+ */
+ public function listBackupRuns($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse");
+ }
+}
+
+/**
+ * The "databases" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $databases = $sqladminService->databases;
+ *
+ */
+class Google_Service_SQLAdmin_Databases_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database to be deleted in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $database, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Retrieves a resource containing information about a database inside a Cloud
+ * SQL instance. (databases.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Database
+ */
+ public function get($project, $instance, $database, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_Database");
+ }
+
+ /**
+ * Inserts a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.insert)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param Google_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Lists databases in the specified Cloud SQL instance.
+ * (databases.listDatabases)
+ *
+ * @param string $project Project ID of the project for which to list Cloud SQL
+ * instances.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_DatabasesListResponse
+ */
+ public function listDatabases($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse");
+ }
+
+ /**
+ * Updates a resource containing information about a database inside a Cloud SQL
+ * instance. This method supports patch semantics. (databases.patch)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database to be updated in the instance.
+ * @param Google_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Updates a resource containing information about a database inside a Cloud SQL
+ * instance. (databases.update)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $database Name of the database to be updated in the instance.
+ * @param Google_Database $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
+
+/**
+ * The "flags" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $flags = $sqladminService->flags;
+ *
+ */
+class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
+{
+
+ /**
+ * List all available database flags for Google Cloud SQL instances.
+ * (flags.listFlags)
+ *
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_FlagsListResponse
+ */
+ public function listFlags($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
+ }
+}
+
+/**
+ * The "instances" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $instances = $sqladminService->instances;
+ *
+ */
+class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a Cloud SQL instance as a clone of the source instance.
+ * (instances.cloneInstances)
+ *
+ * @param string $project Project ID of the source as well as the clone Cloud
+ * SQL instance.
+ * @param string $instance The ID of the Cloud SQL instance to be cloned
+ * (source). This does not include the project ID.
+ * @param Google_InstancesCloneRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Deletes a Cloud SQL instance. (instances.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be deleted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
+ * MySQL dump file. (instances.export)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be exported.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_InstancesExportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Retrieves a resource containing information about a Cloud SQL instance.
+ * (instances.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_DatabaseInstance
+ */
+ public function get($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance");
+ }
+
+ /**
+ * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
+ * Storage. (instances.import)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_InstancesImportRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Creates a new Cloud SQL instance. (instances.insert)
+ *
+ * @param string $project Project ID of the project to which the newly created
+ * Cloud SQL instances should belong.
+ * @param Google_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Lists instances under a given project in the alphabetical order of the
+ * instance name. (instances.listInstances)
+ *
+ * @param string $project Project ID of the project for which to list Cloud SQL
+ * instances.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @opt_param string maxResults The maximum number of results to return per
+ * response.
+ * @return Google_Service_SQLAdmin_InstancesListResponse
+ */
+ public function listInstances($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse");
+ }
+
+ /**
+ * Updates settings of a Cloud SQL instance. Caution: This is not a partial
+ * update, so you must include values for all the settings that you want to
+ * retain. For partial updates, use patch.. This method supports patch
+ * semantics. (instances.patch)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
+ * (instances.promoteReplica)
+ *
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL read replica instance name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function promoteReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Deletes all client certificates and generates a new server SSL certificate
+ * for the instance. The changes will not take effect until the instance is
+ * restarted. Existing instances without a server certificate will need to call
+ * this once to set a server certificate. (instances.resetSslConfig)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function resetSslConfig($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Restarts a Cloud SQL instance. (instances.restart)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be restarted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function restart($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_InstancesRestoreBackupRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Starts the replication in the read replica instance. (instances.startReplica)
+ *
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL read replica instance name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function startReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Stops the replication in the read replica instance. (instances.stopReplica)
+ *
+ * @param string $project ID of the project that contains the read replica.
+ * @param string $instance Cloud SQL read replica instance name.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function stopReplica($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Updates settings of a Cloud SQL instance. Caution: This is not a partial
+ * update, so you must include values for all the settings that you want to
+ * retain. For partial updates, use patch. (instances.update)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_DatabaseInstance $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $operations = $sqladminService->operations;
+ *
+ */
+class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves an instance operation that has been performed on an instance.
+ * (operations.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $operation Instance operation ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Lists all instance operations that have been performed on the given Cloud SQL
+ * instance in the reverse chronological order of the start time.
+ * (operations.listOperations)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults Maximum number of operations per response.
+ * @opt_param string pageToken A previously-returned page token representing
+ * part of the larger set of results to view.
+ * @return Google_Service_SQLAdmin_OperationsListResponse
+ */
+ public function listOperations($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse");
+ }
+}
+
+/**
+ * The "sslCerts" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $sslCerts = $sqladminService->sslCerts;
+ *
+ */
+class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the SSL certificate. The change will not take effect until the
+ * instance is restarted. (sslCerts.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance
+ * to be deleted.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $sha1Fingerprint Sha1 FingerPrint.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Retrieves a particular SSL certificate. Does not include the private key
+ * (required for usage). The private key must be saved from the response to
+ * initial creation. (sslCerts.get)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param string $sha1Fingerprint Sha1 FingerPrint.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_SslCert
+ */
+ public function get($project, $instance, $sha1Fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert");
+ }
+
+ /**
+ * Creates an SSL certificate and returns it along with the private key and
+ * server certificate authority. The new certificate will not be usable until
+ * the instance is restarted. (sslCerts.insert)
+ *
+ * @param string $project Project ID of the project to which the newly created
+ * Cloud SQL instances should belong.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param Google_SslCertsInsertRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_SslCertsInsertResponse
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse");
+ }
+
+ /**
+ * Lists all of the current SSL certificates for the instance.
+ * (sslCerts.listSslCerts)
+ *
+ * @param string $project Project ID of the project for which to list Cloud SQL
+ * instances.
+ * @param string $instance Cloud SQL instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_SslCertsListResponse
+ */
+ public function listSslCerts($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse");
+ }
+}
+
+/**
+ * The "tiers" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $tiers = $sqladminService->tiers;
+ *
+ */
+class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
+ * For related information, see Pricing. (tiers.listTiers)
+ *
+ * @param string $project Project ID of the project for which to list tiers.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_TiersListResponse
+ */
+ public function listTiers($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $sqladminService = new Google_Service_SQLAdmin(...);
+ * $users = $sqladminService->users;
+ *
+ */
+class Google_Service_SQLAdmin_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a user from a Cloud SQL instance. (users.delete)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $host Host of the user in the instance.
+ * @param string $name Name of the user in the instance.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function delete($project, $instance, $host, $name, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Creates a new user in a Cloud SQL instance. (users.insert)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+
+ /**
+ * Lists users in the specified Cloud SQL instance. (users.listUsers)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_UsersListResponse
+ */
+ public function listUsers($project, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse");
+ }
+
+ /**
+ * Updates an existing user in a Cloud SQL instance. (users.update)
+ *
+ * @param string $project Project ID of the project that contains the instance.
+ * @param string $instance Database instance ID. This does not include the
+ * project ID.
+ * @param string $host Host of the user in the instance.
+ * @param string $name Name of the user in the instance.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_SQLAdmin_Operation
+ */
+ public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
+ }
+}
+
+
+
+
+class Google_Service_SQLAdmin_AclEntry extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $expirationTime;
+ public $kind;
+ public $name;
+ public $value;
+
+
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $binaryLogEnabled;
+ public $enabled;
+ public $kind;
+ public $startTime;
+
+
+ public function setBinaryLogEnabled($binaryLogEnabled)
+ {
+ $this->binaryLogEnabled = $binaryLogEnabled;
+ }
+ public function getBinaryLogEnabled()
+ {
+ return $this->binaryLogEnabled;
+ }
+ public function setEnabled($enabled)
+ {
+ $this->enabled = $enabled;
+ }
+ public function getEnabled()
+ {
+ return $this->enabled;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+}
+
+class Google_Service_SQLAdmin_BackupRun extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endTime;
+ public $enqueuedTime;
+ protected $errorType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorDataType = '';
+ public $id;
+ public $instance;
+ public $kind;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $windowStartTime;
+
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setEnqueuedTime($enqueuedTime)
+ {
+ $this->enqueuedTime = $enqueuedTime;
+ }
+ public function getEnqueuedTime()
+ {
+ return $this->enqueuedTime;
+ }
+ public function setError(Google_Service_SQLAdmin_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setWindowStartTime($windowStartTime)
+ {
+ $this->windowStartTime = $windowStartTime;
+ }
+ public function getWindowStartTime()
+ {
+ return $this->windowStartTime;
+ }
+}
+
+class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_BackupRun';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $binLogFileName;
+ public $binLogPosition;
+ public $kind;
+
+
+ public function setBinLogFileName($binLogFileName)
+ {
+ $this->binLogFileName = $binLogFileName;
+ }
+ public function getBinLogFileName()
+ {
+ return $this->binLogFileName;
+ }
+ public function setBinLogPosition($binLogPosition)
+ {
+ $this->binLogPosition = $binLogPosition;
+ }
+ public function getBinLogPosition()
+ {
+ return $this->binLogPosition;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_CloneContext extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
+ protected $binLogCoordinatesDataType = '';
+ public $destinationInstanceName;
+ public $kind;
+
+
+ public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
+ {
+ $this->binLogCoordinates = $binLogCoordinates;
+ }
+ public function getBinLogCoordinates()
+ {
+ return $this->binLogCoordinates;
+ }
+ public function setDestinationInstanceName($destinationInstanceName)
+ {
+ $this->destinationInstanceName = $destinationInstanceName;
+ }
+ public function getDestinationInstanceName()
+ {
+ return $this->destinationInstanceName;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_Database extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $charset;
+ public $collation;
+ public $etag;
+ public $instance;
+ public $kind;
+ public $name;
+ public $project;
+ public $selfLink;
+
+
+ public function setCharset($charset)
+ {
+ $this->charset = $charset;
+ }
+ public function getCharset()
+ {
+ return $this->charset;
+ }
+ public function setCollation($collation)
+ {
+ $this->collation = $collation;
+ }
+ public function getCollation()
+ {
+ return $this->collation;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+ public $value;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
+{
+ protected $collection_key = 'replicaNames';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentDiskSize;
+ public $databaseVersion;
+ public $etag;
+ public $instanceType;
+ protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
+ protected $ipAddressesDataType = 'array';
+ public $ipv6Address;
+ public $kind;
+ public $masterInstanceName;
+ public $maxDiskSize;
+ public $name;
+ public $project;
+ public $region;
+ public $replicaNames;
+ public $selfLink;
+ protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
+ protected $serverCaCertDataType = '';
+ public $serviceAccountEmailAddress;
+ protected $settingsType = 'Google_Service_SQLAdmin_Settings';
+ protected $settingsDataType = '';
+ public $state;
+
+
+ public function setCurrentDiskSize($currentDiskSize)
+ {
+ $this->currentDiskSize = $currentDiskSize;
+ }
+ public function getCurrentDiskSize()
+ {
+ return $this->currentDiskSize;
+ }
+ public function setDatabaseVersion($databaseVersion)
+ {
+ $this->databaseVersion = $databaseVersion;
+ }
+ public function getDatabaseVersion()
+ {
+ return $this->databaseVersion;
+ }
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setInstanceType($instanceType)
+ {
+ $this->instanceType = $instanceType;
+ }
+ public function getInstanceType()
+ {
+ return $this->instanceType;
+ }
+ public function setIpAddresses($ipAddresses)
+ {
+ $this->ipAddresses = $ipAddresses;
+ }
+ public function getIpAddresses()
+ {
+ return $this->ipAddresses;
+ }
+ public function setIpv6Address($ipv6Address)
+ {
+ $this->ipv6Address = $ipv6Address;
+ }
+ public function getIpv6Address()
+ {
+ return $this->ipv6Address;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMasterInstanceName($masterInstanceName)
+ {
+ $this->masterInstanceName = $masterInstanceName;
+ }
+ public function getMasterInstanceName()
+ {
+ return $this->masterInstanceName;
+ }
+ public function setMaxDiskSize($maxDiskSize)
+ {
+ $this->maxDiskSize = $maxDiskSize;
+ }
+ public function getMaxDiskSize()
+ {
+ return $this->maxDiskSize;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setReplicaNames($replicaNames)
+ {
+ $this->replicaNames = $replicaNames;
+ }
+ public function getReplicaNames()
+ {
+ return $this->replicaNames;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
+ {
+ $this->serverCaCert = $serverCaCert;
+ }
+ public function getServerCaCert()
+ {
+ return $this->serverCaCert;
+ }
+ public function setServiceAccountEmailAddress($serviceAccountEmailAddress)
+ {
+ $this->serviceAccountEmailAddress = $serviceAccountEmailAddress;
+ }
+ public function getServiceAccountEmailAddress()
+ {
+ return $this->serviceAccountEmailAddress;
+ }
+ public function setSettings(Google_Service_SQLAdmin_Settings $settings)
+ {
+ $this->settings = $settings;
+ }
+ public function getSettings()
+ {
+ return $this->settings;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_Database';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_ExportContext extends Google_Collection
+{
+ protected $collection_key = 'databases';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions';
+ protected $csvExportOptionsDataType = '';
+ public $databases;
+ public $fileType;
+ public $kind;
+ protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions';
+ protected $sqlExportOptionsDataType = '';
+ public $uri;
+
+
+ public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions)
+ {
+ $this->csvExportOptions = $csvExportOptions;
+ }
+ public function getCsvExportOptions()
+ {
+ return $this->csvExportOptions;
+ }
+ public function setDatabases($databases)
+ {
+ $this->databases = $databases;
+ }
+ public function getDatabases()
+ {
+ return $this->databases;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions)
+ {
+ $this->sqlExportOptions = $sqlExportOptions;
+ }
+ public function getSqlExportOptions()
+ {
+ return $this->sqlExportOptions;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $selectQuery;
+
+
+ public function setSelectQuery($selectQuery)
+ {
+ $this->selectQuery = $selectQuery;
+ }
+ public function getSelectQuery()
+ {
+ return $this->selectQuery;
+ }
+}
+
+class Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection
+{
+ protected $collection_key = 'tables';
+ protected $internal_gapi_mappings = array(
+ );
+ public $tables;
+
+
+ public function setTables($tables)
+ {
+ $this->tables = $tables;
+ }
+ public function getTables()
+ {
+ return $this->tables;
+ }
+}
+
+class Google_Service_SQLAdmin_Flag extends Google_Collection
+{
+ protected $collection_key = 'appliesTo';
+ protected $internal_gapi_mappings = array(
+ );
+ public $allowedStringValues;
+ public $appliesTo;
+ public $kind;
+ public $maxValue;
+ public $minValue;
+ public $name;
+ public $type;
+
+
+ public function setAllowedStringValues($allowedStringValues)
+ {
+ $this->allowedStringValues = $allowedStringValues;
+ }
+ public function getAllowedStringValues()
+ {
+ return $this->allowedStringValues;
+ }
+ public function setAppliesTo($appliesTo)
+ {
+ $this->appliesTo = $appliesTo;
+ }
+ public function getAppliesTo()
+ {
+ return $this->appliesTo;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMaxValue($maxValue)
+ {
+ $this->maxValue = $maxValue;
+ }
+ public function getMaxValue()
+ {
+ return $this->maxValue;
+ }
+ public function setMinValue($minValue)
+ {
+ $this->minValue = $minValue;
+ }
+ public function getMinValue()
+ {
+ return $this->minValue;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_Flag';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_ImportContext extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
+ protected $csvImportOptionsDataType = '';
+ public $database;
+ public $fileType;
+ public $kind;
+ public $uri;
+
+
+ public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
+ {
+ $this->csvImportOptions = $csvImportOptions;
+ }
+ public function getCsvImportOptions()
+ {
+ return $this->csvImportOptions;
+ }
+ public function setDatabase($database)
+ {
+ $this->database = $database;
+ }
+ public function getDatabase()
+ {
+ return $this->database;
+ }
+ public function setFileType($fileType)
+ {
+ $this->fileType = $fileType;
+ }
+ public function getFileType()
+ {
+ return $this->fileType;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUri($uri)
+ {
+ $this->uri = $uri;
+ }
+ public function getUri()
+ {
+ return $this->uri;
+ }
+}
+
+class Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection
+{
+ protected $collection_key = 'columns';
+ protected $internal_gapi_mappings = array(
+ );
+ public $columns;
+ public $table;
+
+
+ public function setColumns($columns)
+ {
+ $this->columns = $columns;
+ }
+ public function getColumns()
+ {
+ return $this->columns;
+ }
+ public function setTable($table)
+ {
+ $this->table = $table;
+ }
+ public function getTable()
+ {
+ return $this->table;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
+ protected $cloneContextDataType = '';
+
+
+ public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
+ {
+ $this->cloneContext = $cloneContext;
+ }
+ public function getCloneContext()
+ {
+ return $this->cloneContext;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+
+
+ public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
+ {
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+
+
+ public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
+ }
+ public function getImportContext()
+ {
+ return $this->importContext;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext';
+ protected $restoreBackupContextDataType = '';
+
+
+ public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext)
+ {
+ $this->restoreBackupContext = $restoreBackupContext;
+ }
+ public function getRestoreBackupContext()
+ {
+ return $this->restoreBackupContext;
+ }
+}
+
+class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
+{
+ protected $collection_key = 'authorizedNetworks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry';
+ protected $authorizedNetworksDataType = 'array';
+ public $ipv4Enabled;
+ public $requireSsl;
+
+
+ public function setAuthorizedNetworks($authorizedNetworks)
+ {
+ $this->authorizedNetworks = $authorizedNetworks;
+ }
+ public function getAuthorizedNetworks()
+ {
+ return $this->authorizedNetworks;
+ }
+ public function setIpv4Enabled($ipv4Enabled)
+ {
+ $this->ipv4Enabled = $ipv4Enabled;
+ }
+ public function getIpv4Enabled()
+ {
+ return $this->ipv4Enabled;
+ }
+ public function setRequireSsl($requireSsl)
+ {
+ $this->requireSsl = $requireSsl;
+ }
+ public function getRequireSsl()
+ {
+ return $this->requireSsl;
+ }
+}
+
+class Google_Service_SQLAdmin_IpMapping extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $ipAddress;
+ public $timeToRetire;
+
+
+ public function setIpAddress($ipAddress)
+ {
+ $this->ipAddress = $ipAddress;
+ }
+ public function getIpAddress()
+ {
+ return $this->ipAddress;
+ }
+ public function setTimeToRetire($timeToRetire)
+ {
+ $this->timeToRetire = $timeToRetire;
+ }
+ public function getTimeToRetire()
+ {
+ return $this->timeToRetire;
+ }
+}
+
+class Google_Service_SQLAdmin_LocationPreference extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $followGaeApplication;
+ public $kind;
+ public $zone;
+
+
+ public function setFollowGaeApplication($followGaeApplication)
+ {
+ $this->followGaeApplication = $followGaeApplication;
+ }
+ public function getFollowGaeApplication()
+ {
+ return $this->followGaeApplication;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_SQLAdmin_Operation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endTime;
+ protected $errorType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorDataType = '';
+ protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
+ protected $exportContextDataType = '';
+ protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
+ protected $importContextDataType = '';
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $targetId;
+ public $targetLink;
+ public $targetProject;
+ public $user;
+
+
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_SQLAdmin_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
+ {
+ $this->exportContext = $exportContext;
+ }
+ public function getExportContext()
+ {
+ return $this->exportContext;
+ }
+ public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
+ {
+ $this->importContext = $importContext;
+ }
+ public function getImportContext()
+ {
+ return $this->importContext;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setTargetProject($targetProject)
+ {
+ $this->targetProject = $targetProject;
+ }
+ public function getTargetProject()
+ {
+ return $this->targetProject;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Google_Service_SQLAdmin_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_SQLAdmin_OperationError';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_SQLAdmin_OperationError extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $kind;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $backupRunId;
+ public $kind;
+
+
+ public function setBackupRunId($backupRunId)
+ {
+ $this->backupRunId = $backupRunId;
+ }
+ public function getBackupRunId()
+ {
+ return $this->backupRunId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_Settings extends Google_Collection
+{
+ protected $collection_key = 'databaseFlags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $activationPolicy;
+ public $authorizedGaeApplications;
+ protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
+ protected $backupConfigurationDataType = '';
+ protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
+ protected $databaseFlagsDataType = 'array';
+ public $databaseReplicationEnabled;
+ protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
+ protected $ipConfigurationDataType = '';
+ public $kind;
+ protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference';
+ protected $locationPreferenceDataType = '';
+ public $pricingPlan;
+ public $replicationType;
+ public $settingsVersion;
+ public $tier;
+
+
+ public function setActivationPolicy($activationPolicy)
+ {
+ $this->activationPolicy = $activationPolicy;
+ }
+ public function getActivationPolicy()
+ {
+ return $this->activationPolicy;
+ }
+ public function setAuthorizedGaeApplications($authorizedGaeApplications)
+ {
+ $this->authorizedGaeApplications = $authorizedGaeApplications;
+ }
+ public function getAuthorizedGaeApplications()
+ {
+ return $this->authorizedGaeApplications;
+ }
+ public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration)
+ {
+ $this->backupConfiguration = $backupConfiguration;
+ }
+ public function getBackupConfiguration()
+ {
+ return $this->backupConfiguration;
+ }
+ public function setDatabaseFlags($databaseFlags)
+ {
+ $this->databaseFlags = $databaseFlags;
+ }
+ public function getDatabaseFlags()
+ {
+ return $this->databaseFlags;
+ }
+ public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
+ {
+ $this->databaseReplicationEnabled = $databaseReplicationEnabled;
+ }
+ public function getDatabaseReplicationEnabled()
+ {
+ return $this->databaseReplicationEnabled;
+ }
+ public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
+ {
+ $this->ipConfiguration = $ipConfiguration;
+ }
+ public function getIpConfiguration()
+ {
+ return $this->ipConfiguration;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference)
+ {
+ $this->locationPreference = $locationPreference;
+ }
+ public function getLocationPreference()
+ {
+ return $this->locationPreference;
+ }
+ public function setPricingPlan($pricingPlan)
+ {
+ $this->pricingPlan = $pricingPlan;
+ }
+ public function getPricingPlan()
+ {
+ return $this->pricingPlan;
+ }
+ public function setReplicationType($replicationType)
+ {
+ $this->replicationType = $replicationType;
+ }
+ public function getReplicationType()
+ {
+ return $this->replicationType;
+ }
+ public function setSettingsVersion($settingsVersion)
+ {
+ $this->settingsVersion = $settingsVersion;
+ }
+ public function getSettingsVersion()
+ {
+ return $this->settingsVersion;
+ }
+ public function setTier($tier)
+ {
+ $this->tier = $tier;
+ }
+ public function getTier()
+ {
+ return $this->tier;
+ }
+}
+
+class Google_Service_SQLAdmin_SslCert extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cert;
+ public $certSerialNumber;
+ public $commonName;
+ public $createTime;
+ public $expirationTime;
+ public $instance;
+ public $kind;
+ public $selfLink;
+ public $sha1Fingerprint;
+
+
+ public function setCert($cert)
+ {
+ $this->cert = $cert;
+ }
+ public function getCert()
+ {
+ return $this->cert;
+ }
+ public function setCertSerialNumber($certSerialNumber)
+ {
+ $this->certSerialNumber = $certSerialNumber;
+ }
+ public function getCertSerialNumber()
+ {
+ return $this->certSerialNumber;
+ }
+ public function setCommonName($commonName)
+ {
+ $this->commonName = $commonName;
+ }
+ public function getCommonName()
+ {
+ return $this->commonName;
+ }
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setExpirationTime($expirationTime)
+ {
+ $this->expirationTime = $expirationTime;
+ }
+ public function getExpirationTime()
+ {
+ return $this->expirationTime;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSha1Fingerprint($sha1Fingerprint)
+ {
+ $this->sha1Fingerprint = $sha1Fingerprint;
+ }
+ public function getSha1Fingerprint()
+ {
+ return $this->sha1Fingerprint;
+ }
+}
+
+class Google_Service_SQLAdmin_SslCertDetail extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $certInfoType = 'Google_Service_SQLAdmin_SslCert';
+ protected $certInfoDataType = '';
+ public $certPrivateKey;
+
+
+ public function setCertInfo(Google_Service_SQLAdmin_SslCert $certInfo)
+ {
+ $this->certInfo = $certInfo;
+ }
+ public function getCertInfo()
+ {
+ return $this->certInfo;
+ }
+ public function setCertPrivateKey($certPrivateKey)
+ {
+ $this->certPrivateKey = $certPrivateKey;
+ }
+ public function getCertPrivateKey()
+ {
+ return $this->certPrivateKey;
+ }
+}
+
+class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $commonName;
+
+
+ public function setCommonName($commonName)
+ {
+ $this->commonName = $commonName;
+ }
+ public function getCommonName()
+ {
+ return $this->commonName;
+ }
+}
+
+class Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail';
+ protected $clientCertDataType = '';
+ public $kind;
+ protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
+ protected $serverCaCertDataType = '';
+
+
+ public function setClientCert(Google_Service_SQLAdmin_SslCertDetail $clientCert)
+ {
+ $this->clientCert = $clientCert;
+ }
+ public function getClientCert()
+ {
+ return $this->clientCert;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
+ {
+ $this->serverCaCert = $serverCaCert;
+ }
+ public function getServerCaCert()
+ {
+ return $this->serverCaCert;
+ }
+}
+
+class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_SslCert';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_Tier extends Google_Collection
+{
+ protected $collection_key = 'region';
+ protected $internal_gapi_mappings = array(
+ "diskQuota" => "DiskQuota",
+ "rAM" => "RAM",
+ );
+ public $diskQuota;
+ public $rAM;
+ public $kind;
+ public $region;
+ public $tier;
+
+
+ public function setDiskQuota($diskQuota)
+ {
+ $this->diskQuota = $diskQuota;
+ }
+ public function getDiskQuota()
+ {
+ return $this->diskQuota;
+ }
+ public function setRAM($rAM)
+ {
+ $this->rAM = $rAM;
+ }
+ public function getRAM()
+ {
+ return $this->rAM;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setTier($tier)
+ {
+ $this->tier = $tier;
+ }
+ public function getTier()
+ {
+ return $this->tier;
+ }
+}
+
+class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_Tier';
+ protected $itemsDataType = 'array';
+ public $kind;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_SQLAdmin_User extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $host;
+ public $instance;
+ public $kind;
+ public $name;
+ public $password;
+ public $project;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setInstance($instance)
+ {
+ $this->instance = $instance;
+ }
+ public function getInstance()
+ {
+ return $this->instance;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPassword($password)
+ {
+ $this->password = $password;
+ }
+ public function getPassword()
+ {
+ return $this->password;
+ }
+ public function setProject($project)
+ {
+ $this->project = $project;
+ }
+ public function getProject()
+ {
+ return $this->project;
+ }
+}
+
+class Google_Service_SQLAdmin_UsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $itemsType = 'Google_Service_SQLAdmin_User';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
From fb3e048f9c8b21d90be02c638af6c342cfdc9c3c Mon Sep 17 00:00:00 2001
From: Silvano Luciani * For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From 5e759a61679a9b9b2aa87e47cd5a66eef67e7e21 Mon Sep 17 00:00:00 2001 From: Silvano Luciani+ * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_AndroidEnterprise extends Google_Service +{ + /** Manage corporate Android devices. */ + const ANDROIDENTERPRISE = + "https://www.googleapis.com/auth/androidenterprise"; + + public $collections; + public $collectionviewers; + public $devices; + public $enterprises; + public $entitlements; + public $grouplicenses; + public $grouplicenseusers; + public $installs; + public $permissions; + public $products; + public $users; + + + /** + * Constructs the internal representation of the AndroidEnterprise service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = 'androidenterprise/v1/'; + $this->version = 'v1'; + $this->serviceName = 'androidenterprise'; + + $this->collections = new Google_Service_AndroidEnterprise_Collections_Resource( + $this, + $this->serviceName, + 'collections', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises/{enterpriseId}/collections', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/collections', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->collectionviewers = new Google_Service_AndroidEnterprise_Collectionviewers_Resource( + $this, + $this->serviceName, + 'collectionviewers', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'collectionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->devices = new Google_Service_AndroidEnterprise_Devices_Resource( + $this, + $this->serviceName, + 'devices', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'getState' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setState' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->enterprises = new Google_Service_AndroidEnterprise_Enterprises_Resource( + $this, + $this->serviceName, + 'enterprises', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'enroll' => array( + 'path' => 'enterprises/enroll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'insert' => array( + 'path' => 'enterprises', + 'httpMethod' => 'POST', + 'parameters' => array( + 'token' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises', + 'httpMethod' => 'GET', + 'parameters' => array( + 'domain' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'setAccount' => array( + 'path' => 'enterprises/{enterpriseId}/account', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'unenroll' => array( + 'path' => 'enterprises/{enterpriseId}/unenroll', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->entitlements = new Google_Service_AndroidEnterprise_Entitlements_Resource( + $this, + $this->serviceName, + 'entitlements', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'install' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'entitlementId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'install' => array( + 'location' => 'query', + 'type' => 'boolean', + ), + ), + ), + ) + ) + ); + $this->grouplicenses = new Google_Service_AndroidEnterprise_Grouplicenses_Resource( + $this, + $this->serviceName, + 'grouplicenses', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupLicenseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Grouplicenseusers_Resource( + $this, + $this->serviceName, + 'grouplicenseusers', + array( + 'methods' => array( + 'list' => array( + 'path' => 'enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'groupLicenseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->installs = new Google_Service_AndroidEnterprise_Installs_Resource( + $this, + $this->serviceName, + 'installs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'patch' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'PATCH', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'deviceId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'installId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->permissions = new Google_Service_AndroidEnterprise_Permissions_Resource( + $this, + $this->serviceName, + 'permissions', + array( + 'methods' => array( + 'get' => array( + 'path' => 'permissions/{permissionId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'permissionId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->products = new Google_Service_AndroidEnterprise_Products_Resource( + $this, + $this->serviceName, + 'products', + array( + 'methods' => array( + 'get' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getAppRestrictionsSchema' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'language' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'getPermissions' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'updatePermissions' => array( + 'path' => 'enterprises/{enterpriseId}/products/{productId}/permissions', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'productId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->users = new Google_Service_AndroidEnterprise_Users_Resource( + $this, + $this->serviceName, + 'users', + array( + 'methods' => array( + 'generateToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/token', + 'httpMethod' => 'POST', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'enterprises/{enterpriseId}/users', + 'httpMethod' => 'GET', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'email' => array( + 'location' => 'query', + 'type' => 'string', + 'required' => true, + ), + ), + ),'revokeToken' => array( + 'path' => 'enterprises/{enterpriseId}/users/{userId}/token', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'enterpriseId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'userId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "collections" collection of methods. + * Typical usage is: + *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $collections = $androidenterpriseService->collections;
+ *
+ */
+class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a collection. (collections.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $collectionId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the details of a collection. (collections.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function get($enterpriseId, $collectionId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+
+ /**
+ * Creates a new collection. (collections.insert)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_Collection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function insert($enterpriseId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+
+ /**
+ * Retrieves the IDs of all the collections for an enterprise.
+ * (collections.listCollections)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_CollectionsListResponse
+ */
+ public function listCollections($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionsListResponse");
+ }
+
+ /**
+ * Updates a collection. This method supports patch semantics.
+ * (collections.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param Google_Collection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function patch($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+
+ /**
+ * Updates a collection. (collections.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param Google_Collection $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Collection
+ */
+ public function update($enterpriseId, $collectionId, Google_Service_AndroidEnterprise_Collection $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Collection");
+ }
+}
+
+/**
+ * The "collectionviewers" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $collectionviewers = $androidenterpriseService->collectionviewers;
+ *
+ */
+class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes the user from the list of those specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * such users will see the collection. (collectionviewers.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $collectionId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the ID of the user if they have been specifically allowed to see
+ * the collection. If the collection's visibility is set to viewersOnly then
+ * only these users will see the collection. (collectionviewers.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function get($enterpriseId, $collectionId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+
+ /**
+ * Retrieves the IDs of the users who have been specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * these users will see the collection.
+ * (collectionviewers.listCollectionviewers)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_CollectionViewersListResponse
+ */
+ public function listCollectionviewers($enterpriseId, $collectionId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_CollectionViewersListResponse");
+ }
+
+ /**
+ * Adds the user to the list of those specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * such users will see the collection. This method supports patch semantics.
+ * (collectionviewers.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+
+ /**
+ * Adds the user to the list of those specifically allowed to see the
+ * collection. If the collection's visibility is set to viewersOnly then only
+ * such users will see the collection. (collectionviewers.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $collectionId The ID of the collection.
+ * @param string $userId The ID of the user.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'collectionId' => $collectionId, 'userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+}
+
+/**
+ * The "devices" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $devices = $androidenterpriseService->devices;
+ *
+ */
+class Google_Service_AndroidEnterprise_Devices_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the details of a device. (devices.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Device
+ */
+ public function get($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Device");
+ }
+
+ /**
+ * Retrieves whether a device is enabled or disabled for access by the user to
+ * Google services. The device state takes effect only if enforcing EMM policies
+ * on Android devices is enabled in the Google Admin Console. Otherwise, the
+ * device state is ignored and all devices are allowed access to Google
+ * services. (devices.getState)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_DeviceState
+ */
+ public function getState($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
+ }
+
+ /**
+ * Retrieves the IDs of all of a user's devices. (devices.listDevices)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_DevicesListResponse
+ */
+ public function listDevices($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_DevicesListResponse");
+ }
+
+ /**
+ * Sets whether a device is enabled or disabled for access by the user to Google
+ * services. The device state takes effect only if enforcing EMM policies on
+ * Android devices is enabled in the Google Admin Console. Otherwise, the device
+ * state is ignored and all devices are allowed access to Google services.
+ * (devices.setState)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The ID of the device.
+ * @param Google_DeviceState $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_DeviceState
+ */
+ public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setState', array($params), "Google_Service_AndroidEnterprise_DeviceState");
+ }
+}
+
+/**
+ * The "enterprises" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $enterprises = $androidenterpriseService->enterprises;
+ *
+ */
+class Google_Service_AndroidEnterprise_Enterprises_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the binding between the MDM and enterprise. This is now deprecated;
+ * use this to unenroll customers that were previously enrolled with the
+ * 'insert' call, then enroll them again with the 'enroll' call.
+ * (enterprises.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Enrolls an enterprise with the calling MDM. (enterprises.enroll)
+ *
+ * @param string $token The token provided by the enterprise to register the
+ * MDM.
+ * @param Google_Enterprise $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function enroll($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
+ {
+ $params = array('token' => $token, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('enroll', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+
+ /**
+ * Retrieves the name and domain of an enterprise. (enterprises.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function get($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+
+ /**
+ * Establishes the binding between the MDM and an enterprise. This is now
+ * deprecated; use enroll instead. (enterprises.insert)
+ *
+ * @param string $token The token provided by the enterprise to register the
+ * MDM.
+ * @param Google_Enterprise $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Enterprise
+ */
+ public function insert($token, Google_Service_AndroidEnterprise_Enterprise $postBody, $optParams = array())
+ {
+ $params = array('token' => $token, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_AndroidEnterprise_Enterprise");
+ }
+
+ /**
+ * Looks up an enterprise by domain name. (enterprises.listEnterprises)
+ *
+ * @param string $domain The exact primary domain name of the enterprise to look
+ * up.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EnterprisesListResponse
+ */
+ public function listEnterprises($domain, $optParams = array())
+ {
+ $params = array('domain' => $domain);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EnterprisesListResponse");
+ }
+
+ /**
+ * Set the account that will be used to authenticate to the API as the
+ * enterprise. (enterprises.setAccount)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param Google_EnterpriseAccount $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EnterpriseAccount
+ */
+ public function setAccount($enterpriseId, Google_Service_AndroidEnterprise_EnterpriseAccount $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('setAccount', array($params), "Google_Service_AndroidEnterprise_EnterpriseAccount");
+ }
+
+ /**
+ * Unenrolls an enterprise from the calling MDM. (enterprises.unenroll)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ */
+ public function unenroll($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('unenroll', array($params));
+ }
+}
+
+/**
+ * The "entitlements" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $entitlements = $androidenterpriseService->entitlements;
+ *
+ */
+class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Removes an entitlement to an app for a user and uninstalls it.
+ * (entitlements.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement, e.g.
+ * "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $entitlementId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves details of an entitlement. (entitlements.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement, e.g.
+ * "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Entitlement
+ */
+ public function get($enterpriseId, $userId, $entitlementId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Entitlement");
+ }
+
+ /**
+ * List of all entitlements for the specified user. Only the ID is set.
+ * (entitlements.listEntitlements)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_EntitlementsListResponse
+ */
+ public function listEntitlements($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_EntitlementsListResponse");
+ }
+
+ /**
+ * Adds or updates an entitlement to an app for a user. This method supports
+ * patch semantics. (entitlements.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement, e.g.
+ * "app:com.google.android.gm".
+ * @param Google_Entitlement $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool install Set to true to also install the product on all the
+ * user's devices where possible. Failure to install on one or more devices will
+ * not prevent this operation from returning successfully, as long as the
+ * entitlement was successfully assigned to the user.
+ * @return Google_Service_AndroidEnterprise_Entitlement
+ */
+ public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Entitlement");
+ }
+
+ /**
+ * Adds or updates an entitlement to an app for a user. (entitlements.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $entitlementId The ID of the entitlement, e.g.
+ * "app:com.google.android.gm".
+ * @param Google_Entitlement $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool install Set to true to also install the product on all the
+ * user's devices where possible. Failure to install on one or more devices will
+ * not prevent this operation from returning successfully, as long as the
+ * entitlement was successfully assigned to the user.
+ * @return Google_Service_AndroidEnterprise_Entitlement
+ */
+ public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'entitlementId' => $entitlementId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Entitlement");
+ }
+}
+
+/**
+ * The "grouplicenses" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $grouplicenses = $androidenterpriseService->grouplicenses;
+ *
+ */
+class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves details of an enterprise's group license for a product.
+ * (grouplicenses.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $groupLicenseId The ID of the product the group license is for,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_GroupLicense
+ */
+ public function get($enterpriseId, $groupLicenseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_GroupLicense");
+ }
+
+ /**
+ * Retrieves IDs of all products for which the enterprise has a group license.
+ * (grouplicenses.listGrouplicenses)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_GroupLicensesListResponse
+ */
+ public function listGrouplicenses($enterpriseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicensesListResponse");
+ }
+}
+
+/**
+ * The "grouplicenseusers" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $grouplicenseusers = $androidenterpriseService->grouplicenseusers;
+ *
+ */
+class Google_Service_AndroidEnterprise_Grouplicenseusers_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the IDs of the users who have been granted entitlements under the
+ * license. (grouplicenseusers.listGrouplicenseusers)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $groupLicenseId The ID of the product the group license is for,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse
+ */
+ public function listGrouplicenseusers($enterpriseId, $groupLicenseId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'groupLicenseId' => $groupLicenseId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse");
+ }
+}
+
+/**
+ * The "installs" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $installs = $androidenterpriseService->installs;
+ *
+ */
+class Google_Service_AndroidEnterprise_Installs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Requests to remove an app from a device. A call to get or list will still
+ * show the app as installed on the device until it is actually removed.
+ * (installs.delete)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves details of an installation of an app on a device. (installs.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Install
+ */
+ public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Install");
+ }
+
+ /**
+ * Retrieves the details of all apps installed on the specified device.
+ * (installs.listInstalls)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_InstallsListResponse
+ */
+ public function listInstalls($enterpriseId, $userId, $deviceId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_InstallsListResponse");
+ }
+
+ /**
+ * Requests to install the latest version of an app to a device. If the app is
+ * already installed then it is updated to the latest version if necessary. This
+ * method supports patch semantics. (installs.patch)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param Google_Install $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Install
+ */
+ public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_AndroidEnterprise_Install");
+ }
+
+ /**
+ * Requests to install the latest version of an app to a device. If the app is
+ * already installed then it is updated to the latest version if necessary.
+ * (installs.update)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param string $deviceId The Android ID of the device.
+ * @param string $installId The ID of the product represented by the install,
+ * e.g. "app:com.google.android.gm".
+ * @param Google_Install $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_Install
+ */
+ public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'installId' => $installId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_AndroidEnterprise_Install");
+ }
+}
+
+/**
+ * The "permissions" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $permissions = $androidenterpriseService->permissions;
+ *
+ */
+class Google_Service_AndroidEnterprise_Permissions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves details of an Android app permission for display to an enterprise
+ * admin. (permissions.get)
+ *
+ * @param string $permissionId The ID of the permission.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de")
+ * @return Google_Service_AndroidEnterprise_Permission
+ */
+ public function get($permissionId, $optParams = array())
+ {
+ $params = array('permissionId' => $permissionId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Permission");
+ }
+}
+
+/**
+ * The "products" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $products = $androidenterpriseService->products;
+ *
+ */
+class Google_Service_AndroidEnterprise_Products_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves details of a product for display to an enterprise admin.
+ * (products.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product, e.g.
+ * "app:com.google.android.gm".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de").
+ * @return Google_Service_AndroidEnterprise_Product
+ */
+ public function get($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_Product");
+ }
+
+ /**
+ * Retrieves the schema defining app restrictions configurable for this product.
+ * All products have a schema, but this may be empty if no app restrictions are
+ * defined. (products.getAppRestrictionsSchema)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string language The BCP47 tag for the user's preferred language
+ * (e.g. "en-US", "de").
+ * @return Google_Service_AndroidEnterprise_AppRestrictionsSchema
+ */
+ public function getAppRestrictionsSchema($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAppRestrictionsSchema', array($params), "Google_Service_AndroidEnterprise_AppRestrictionsSchema");
+ }
+
+ /**
+ * Retrieves the Android app permissions required by this app.
+ * (products.getPermissions)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ProductPermissions
+ */
+ public function getPermissions($enterpriseId, $productId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getPermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
+ }
+
+ /**
+ * Updates the set of Android app permissions for this app that have been
+ * accepted by the enterprise. (products.updatePermissions)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $productId The ID of the product.
+ * @param Google_ProductPermissions $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_ProductPermissions
+ */
+ public function updatePermissions($enterpriseId, $productId, Google_Service_AndroidEnterprise_ProductPermissions $postBody, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'productId' => $productId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('updatePermissions', array($params), "Google_Service_AndroidEnterprise_ProductPermissions");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $androidenterpriseService = new Google_Service_AndroidEnterprise(...);
+ * $users = $androidenterpriseService->users;
+ *
+ */
+class Google_Service_AndroidEnterprise_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Generates a token (activation code) to allow this user to configure their
+ * work account in the Android Setup Wizard. Revokes any previously generated
+ * token. (users.generateToken)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_UserToken
+ */
+ public function generateToken($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('generateToken', array($params), "Google_Service_AndroidEnterprise_UserToken");
+ }
+
+ /**
+ * Retrieves a user's details. (users.get)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_User
+ */
+ public function get($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_AndroidEnterprise_User");
+ }
+
+ /**
+ * Looks up a user by email address. (users.listUsers)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $email The exact primary email address of the user to look up.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_AndroidEnterprise_UsersListResponse
+ */
+ public function listUsers($enterpriseId, $email, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'email' => $email);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_AndroidEnterprise_UsersListResponse");
+ }
+
+ /**
+ * Revokes a previously generated token (activation code) for the user.
+ * (users.revokeToken)
+ *
+ * @param string $enterpriseId The ID of the enterprise.
+ * @param string $userId The ID of the user.
+ * @param array $optParams Optional parameters.
+ */
+ public function revokeToken($enterpriseId, $userId, $optParams = array())
+ {
+ $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId);
+ $params = array_merge($params, $optParams);
+ return $this->call('revokeToken', array($params));
+ }
+}
+
+
+
+
+class Google_Service_AndroidEnterprise_AppRestrictionsSchema extends Google_Collection
+{
+ protected $collection_key = 'restrictions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $restrictionsType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction';
+ protected $restrictionsDataType = 'array';
+
+
+ public function setRestrictions($restrictions)
+ {
+ $this->restrictions = $restrictions;
+ }
+ public function getRestrictions()
+ {
+ return $this->restrictions;
+ }
+}
+
+class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestriction extends Google_Collection
+{
+ protected $collection_key = 'entryValue';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $defaultValueType = 'Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue';
+ protected $defaultValueDataType = '';
+ public $description;
+ public $entry;
+ public $entryValue;
+ public $key;
+ public $restrictionType;
+ public $title;
+
+
+ public function setDefaultValue(Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue $defaultValue)
+ {
+ $this->defaultValue = $defaultValue;
+ }
+ public function getDefaultValue()
+ {
+ return $this->defaultValue;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setEntry($entry)
+ {
+ $this->entry = $entry;
+ }
+ public function getEntry()
+ {
+ return $this->entry;
+ }
+ public function setEntryValue($entryValue)
+ {
+ $this->entryValue = $entryValue;
+ }
+ public function getEntryValue()
+ {
+ return $this->entryValue;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setRestrictionType($restrictionType)
+ {
+ $this->restrictionType = $restrictionType;
+ }
+ public function getRestrictionType()
+ {
+ return $this->restrictionType;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Google_Collection
+{
+ protected $collection_key = 'valueMultiselect';
+ protected $internal_gapi_mappings = array(
+ );
+ public $type;
+ public $valueBool;
+ public $valueInteger;
+ public $valueMultiselect;
+ public $valueString;
+
+
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValueBool($valueBool)
+ {
+ $this->valueBool = $valueBool;
+ }
+ public function getValueBool()
+ {
+ return $this->valueBool;
+ }
+ public function setValueInteger($valueInteger)
+ {
+ $this->valueInteger = $valueInteger;
+ }
+ public function getValueInteger()
+ {
+ return $this->valueInteger;
+ }
+ public function setValueMultiselect($valueMultiselect)
+ {
+ $this->valueMultiselect = $valueMultiselect;
+ }
+ public function getValueMultiselect()
+ {
+ return $this->valueMultiselect;
+ }
+ public function setValueString($valueString)
+ {
+ $this->valueString = $valueString;
+ }
+ public function getValueString()
+ {
+ return $this->valueString;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Collection extends Google_Collection
+{
+ protected $collection_key = 'productId';
+ protected $internal_gapi_mappings = array(
+ );
+ public $collectionId;
+ public $kind;
+ public $name;
+ public $productId;
+ public $visibility;
+
+
+ public function setCollectionId($collectionId)
+ {
+ $this->collectionId = $collectionId;
+ }
+ public function getCollectionId()
+ {
+ return $this->collectionId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setVisibility($visibility)
+ {
+ $this->visibility = $visibility;
+ }
+ public function getVisibility()
+ {
+ return $this->visibility;
+ }
+}
+
+class Google_Service_AndroidEnterprise_CollectionViewersListResponse extends Google_Collection
+{
+ protected $collection_key = 'user';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $userType = 'Google_Service_AndroidEnterprise_User';
+ protected $userDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Google_Service_AndroidEnterprise_CollectionsListResponse extends Google_Collection
+{
+ protected $collection_key = 'collection';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $collectionType = 'Google_Service_AndroidEnterprise_Collection';
+ protected $collectionDataType = 'array';
+ public $kind;
+
+
+ public function setCollection($collection)
+ {
+ $this->collection = $collection;
+ }
+ public function getCollection()
+ {
+ return $this->collection;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Device extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $androidId;
+ public $kind;
+
+
+ public function setAndroidId($androidId)
+ {
+ $this->androidId = $androidId;
+ }
+ public function getAndroidId()
+ {
+ return $this->androidId;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_DeviceState extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountState;
+ public $kind;
+
+
+ public function setAccountState($accountState)
+ {
+ $this->accountState = $accountState;
+ }
+ public function getAccountState()
+ {
+ return $this->accountState;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_DevicesListResponse extends Google_Collection
+{
+ protected $collection_key = 'device';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deviceType = 'Google_Service_AndroidEnterprise_Device';
+ protected $deviceDataType = 'array';
+ public $kind;
+
+
+ public function setDevice($device)
+ {
+ $this->device = $device;
+ }
+ public function getDevice()
+ {
+ return $this->device;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Enterprise extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+ public $primaryDomain;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPrimaryDomain($primaryDomain)
+ {
+ $this->primaryDomain = $primaryDomain;
+ }
+ public function getPrimaryDomain()
+ {
+ return $this->primaryDomain;
+ }
+}
+
+class Google_Service_AndroidEnterprise_EnterpriseAccount extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountEmail;
+ public $kind;
+
+
+ public function setAccountEmail($accountEmail)
+ {
+ $this->accountEmail = $accountEmail;
+ }
+ public function getAccountEmail()
+ {
+ return $this->accountEmail;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_EnterprisesListResponse extends Google_Collection
+{
+ protected $collection_key = 'enterprise';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $enterpriseType = 'Google_Service_AndroidEnterprise_Enterprise';
+ protected $enterpriseDataType = 'array';
+ public $kind;
+
+
+ public function setEnterprise($enterprise)
+ {
+ $this->enterprise = $enterprise;
+ }
+ public function getEnterprise()
+ {
+ return $this->enterprise;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Entitlement extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $productId;
+ public $reason;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setReason($reason)
+ {
+ $this->reason = $reason;
+ }
+ public function getReason()
+ {
+ return $this->reason;
+ }
+}
+
+class Google_Service_AndroidEnterprise_EntitlementsListResponse extends Google_Collection
+{
+ protected $collection_key = 'entitlement';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entitlementType = 'Google_Service_AndroidEnterprise_Entitlement';
+ protected $entitlementDataType = 'array';
+ public $kind;
+
+
+ public function setEntitlement($entitlement)
+ {
+ $this->entitlement = $entitlement;
+ }
+ public function getEntitlement()
+ {
+ return $this->entitlement;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_GroupLicense extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $acquisitionKind;
+ public $approval;
+ public $kind;
+ public $numProvisioned;
+ public $numPurchased;
+ public $productId;
+
+
+ public function setAcquisitionKind($acquisitionKind)
+ {
+ $this->acquisitionKind = $acquisitionKind;
+ }
+ public function getAcquisitionKind()
+ {
+ return $this->acquisitionKind;
+ }
+ public function setApproval($approval)
+ {
+ $this->approval = $approval;
+ }
+ public function getApproval()
+ {
+ return $this->approval;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNumProvisioned($numProvisioned)
+ {
+ $this->numProvisioned = $numProvisioned;
+ }
+ public function getNumProvisioned()
+ {
+ return $this->numProvisioned;
+ }
+ public function setNumPurchased($numPurchased)
+ {
+ $this->numPurchased = $numPurchased;
+ }
+ public function getNumPurchased()
+ {
+ return $this->numPurchased;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_AndroidEnterprise_GroupLicenseUsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'user';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $userType = 'Google_Service_AndroidEnterprise_User';
+ protected $userDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
+
+class Google_Service_AndroidEnterprise_GroupLicensesListResponse extends Google_Collection
+{
+ protected $collection_key = 'groupLicense';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $groupLicenseType = 'Google_Service_AndroidEnterprise_GroupLicense';
+ protected $groupLicenseDataType = 'array';
+ public $kind;
+
+
+ public function setGroupLicense($groupLicense)
+ {
+ $this->groupLicense = $groupLicense;
+ }
+ public function getGroupLicense()
+ {
+ return $this->groupLicense;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Install extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $installState;
+ public $kind;
+ public $productId;
+ public $versionCode;
+
+
+ public function setInstallState($installState)
+ {
+ $this->installState = $installState;
+ }
+ public function getInstallState()
+ {
+ return $this->installState;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setVersionCode($versionCode)
+ {
+ $this->versionCode = $versionCode;
+ }
+ public function getVersionCode()
+ {
+ return $this->versionCode;
+ }
+}
+
+class Google_Service_AndroidEnterprise_InstallsListResponse extends Google_Collection
+{
+ protected $collection_key = 'install';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $installType = 'Google_Service_AndroidEnterprise_Install';
+ protected $installDataType = 'array';
+ public $kind;
+
+
+ public function setInstall($install)
+ {
+ $this->install = $install;
+ }
+ public function getInstall()
+ {
+ return $this->install;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Permission extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $kind;
+ public $name;
+ public $permissionId;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+}
+
+class Google_Service_AndroidEnterprise_Product extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $authorName;
+ public $detailsUrl;
+ public $iconUrl;
+ public $kind;
+ public $productId;
+ public $title;
+ public $workDetailsUrl;
+
+
+ public function setAuthorName($authorName)
+ {
+ $this->authorName = $authorName;
+ }
+ public function getAuthorName()
+ {
+ return $this->authorName;
+ }
+ public function setDetailsUrl($detailsUrl)
+ {
+ $this->detailsUrl = $detailsUrl;
+ }
+ public function getDetailsUrl()
+ {
+ return $this->detailsUrl;
+ }
+ public function setIconUrl($iconUrl)
+ {
+ $this->iconUrl = $iconUrl;
+ }
+ public function getIconUrl()
+ {
+ return $this->iconUrl;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setWorkDetailsUrl($workDetailsUrl)
+ {
+ $this->workDetailsUrl = $workDetailsUrl;
+ }
+ public function getWorkDetailsUrl()
+ {
+ return $this->workDetailsUrl;
+ }
+}
+
+class Google_Service_AndroidEnterprise_ProductPermission extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $permissionId;
+ public $state;
+
+
+ public function setPermissionId($permissionId)
+ {
+ $this->permissionId = $permissionId;
+ }
+ public function getPermissionId()
+ {
+ return $this->permissionId;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collection
+{
+ protected $collection_key = 'permission';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $permissionType = 'Google_Service_AndroidEnterprise_ProductPermission';
+ protected $permissionDataType = 'array';
+ public $productId;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPermission($permission)
+ {
+ $this->permission = $permission;
+ }
+ public function getPermission()
+ {
+ return $this->permission;
+ }
+ public function setProductId($productId)
+ {
+ $this->productId = $productId;
+ }
+ public function getProductId()
+ {
+ return $this->productId;
+ }
+}
+
+class Google_Service_AndroidEnterprise_User extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $primaryEmail;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPrimaryEmail($primaryEmail)
+ {
+ $this->primaryEmail = $primaryEmail;
+ }
+ public function getPrimaryEmail()
+ {
+ return $this->primaryEmail;
+ }
+}
+
+class Google_Service_AndroidEnterprise_UserToken extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $token;
+ public $userId;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setToken($token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+}
+
+class Google_Service_AndroidEnterprise_UsersListResponse extends Google_Collection
+{
+ protected $collection_key = 'user';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $userType = 'Google_Service_AndroidEnterprise_User';
+ protected $userDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+}
From 016a8d69a6755cb94fac147daa663941f0f17ea1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * Allows MDMs and corporations to manage Android corp devices.
+ * Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android + * for Work users. * ** For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From 5456aa42f94829859802cffe34ae2cdf0b3cc194 Mon Sep 17 00:00:00 2001 From: Ian Barber- * For more information about this service, see the API - * Documentation - *
- * - * @author Google, Inc. - */ -class Google_Service_SQLAdmin extends Google_Service -{ - /** View and manage your data across Google Cloud Platform services. */ - const CLOUD_PLATFORM = - "https://www.googleapis.com/auth/cloud-platform"; - /** Manage your Google SQL Service instances. */ - const SQLSERVICE_ADMIN = - "https://www.googleapis.com/auth/sqlservice.admin"; - - public $backupRuns; - public $databases; - public $flags; - public $instances; - public $operations; - public $sslCerts; - public $tiers; - public $users; - - - /** - * Constructs the internal representation of the SQLAdmin service. - * - * @param Google_Client $client - */ - public function __construct(Google_Client $client) - { - parent::__construct($client); - $this->servicePath = 'sql/v1beta4/'; - $this->version = 'v1beta4'; - $this->serviceName = 'sqladmin'; - - $this->backupRuns = new Google_Service_SQLAdmin_BackupRuns_Resource( - $this, - $this->serviceName, - 'backupRuns', - array( - 'methods' => array( - 'get' => array( - 'path' => 'projects/{project}/instances/{instance}/backupRuns/{id}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'id' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/backupRuns', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->databases = new Google_Service_SQLAdmin_Databases_Resource( - $this, - $this->serviceName, - 'databases', - array( - 'methods' => array( - 'delete' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances/{instance}/databases', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/databases', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'patch' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'PATCH', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'projects/{project}/instances/{instance}/databases/{database}', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'database' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->flags = new Google_Service_SQLAdmin_Flags_Resource( - $this, - $this->serviceName, - 'flags', - array( - 'methods' => array( - 'list' => array( - 'path' => 'flags', - 'httpMethod' => 'GET', - 'parameters' => array(), - ), - ) - ) - ); - $this->instances = new Google_Service_SQLAdmin_Instances_Resource( - $this, - $this->serviceName, - 'instances', - array( - 'methods' => array( - 'clone' => array( - 'path' => 'projects/{project}/instances/{instance}/clone', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'delete' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'export' => array( - 'path' => 'projects/{project}/instances/{instance}/export', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'import' => array( - 'path' => 'projects/{project}/instances/{instance}/import', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - ), - ),'patch' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'PATCH', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'promoteReplica' => array( - 'path' => 'projects/{project}/instances/{instance}/promoteReplica', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'resetSslConfig' => array( - 'path' => 'projects/{project}/instances/{instance}/resetSslConfig', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'restart' => array( - 'path' => 'projects/{project}/instances/{instance}/restart', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'restoreBackup' => array( - 'path' => 'projects/{project}/instances/{instance}/restoreBackup', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'startReplica' => array( - 'path' => 'projects/{project}/instances/{instance}/startReplica', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'stopReplica' => array( - 'path' => 'projects/{project}/instances/{instance}/stopReplica', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'projects/{project}/instances/{instance}', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->operations = new Google_Service_SQLAdmin_Operations_Resource( - $this, - $this->serviceName, - 'operations', - array( - 'methods' => array( - 'get' => array( - 'path' => 'projects/{project}/operations/{operation}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'operation' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/operations', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'maxResults' => array( - 'location' => 'query', - 'type' => 'integer', - ), - 'pageToken' => array( - 'location' => 'query', - 'type' => 'string', - ), - ), - ), - ) - ) - ); - $this->sslCerts = new Google_Service_SQLAdmin_SslCerts_Resource( - $this, - $this->serviceName, - 'sslCerts', - array( - 'methods' => array( - 'delete' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'sha1Fingerprint' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'get' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'sha1Fingerprint' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/sslCerts', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->tiers = new Google_Service_SQLAdmin_Tiers_Resource( - $this, - $this->serviceName, - 'tiers', - array( - 'methods' => array( - 'list' => array( - 'path' => 'projects/{project}/tiers', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - $this->users = new Google_Service_SQLAdmin_Users_Resource( - $this, - $this->serviceName, - 'users', - array( - 'methods' => array( - 'delete' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'DELETE', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'host' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'name' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - ), - ),'insert' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'POST', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'list' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'GET', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - ), - ),'update' => array( - 'path' => 'projects/{project}/instances/{instance}/users', - 'httpMethod' => 'PUT', - 'parameters' => array( - 'project' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'instance' => array( - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ), - 'host' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - 'name' => array( - 'location' => 'query', - 'type' => 'string', - 'required' => true, - ), - ), - ), - ) - ) - ); - } -} - - -/** - * The "backupRuns" collection of methods. - * Typical usage is: - *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $backupRuns = $sqladminService->backupRuns;
- *
- */
-class Google_Service_SQLAdmin_BackupRuns_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves a resource containing information about a backup run.
- * (backupRuns.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param string $id The ID of this Backup Run.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_BackupRun
- */
- public function get($project, $instance, $id, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'id' => $id);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_BackupRun");
- }
-
- /**
- * Lists all backup runs associated with a given instance and configuration in
- * the reverse chronological order of the enqueued time.
- * (backupRuns.listBackupRuns)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int maxResults Maximum number of backup runs per response.
- * @opt_param string pageToken A previously-returned page token representing
- * part of the larger set of results to view.
- * @return Google_Service_SQLAdmin_BackupRunsListResponse
- */
- public function listBackupRuns($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_BackupRunsListResponse");
- }
-}
-
-/**
- * The "databases" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $databases = $sqladminService->databases;
- *
- */
-class Google_Service_SQLAdmin_Databases_Resource extends Google_Service_Resource
-{
-
- /**
- * Deletes a resource containing information about a database inside a Cloud SQL
- * instance. (databases.delete)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database to be deleted in the instance.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $database, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Retrieves a resource containing information about a database inside a Cloud
- * SQL instance. (databases.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database in the instance.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Database
- */
- public function get($project, $instance, $database, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_Database");
- }
-
- /**
- * Inserts a resource containing information about a database inside a Cloud SQL
- * instance. (databases.insert)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param Google_Database $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function insert($project, $instance, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists databases in the specified Cloud SQL instance.
- * (databases.listDatabases)
- *
- * @param string $project Project ID of the project for which to list Cloud SQL
- * instances.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_DatabasesListResponse
- */
- public function listDatabases($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_DatabasesListResponse");
- }
-
- /**
- * Updates a resource containing information about a database inside a Cloud SQL
- * instance. This method supports patch semantics. (databases.patch)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database to be updated in the instance.
- * @param Google_Database $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function patch($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Updates a resource containing information about a database inside a Cloud SQL
- * instance. (databases.update)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $database Name of the database to be updated in the instance.
- * @param Google_Database $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function update($project, $instance, $database, Google_Service_SQLAdmin_Database $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'database' => $database, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
- }
-}
-
-/**
- * The "flags" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $flags = $sqladminService->flags;
- *
- */
-class Google_Service_SQLAdmin_Flags_Resource extends Google_Service_Resource
-{
-
- /**
- * List all available database flags for Google Cloud SQL instances.
- * (flags.listFlags)
- *
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_FlagsListResponse
- */
- public function listFlags($optParams = array())
- {
- $params = array();
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_FlagsListResponse");
- }
-}
-
-/**
- * The "instances" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $instances = $sqladminService->instances;
- *
- */
-class Google_Service_SQLAdmin_Instances_Resource extends Google_Service_Resource
-{
-
- /**
- * Creates a Cloud SQL instance as a clone of the source instance.
- * (instances.cloneInstances)
- *
- * @param string $project Project ID of the source as well as the clone Cloud
- * SQL instance.
- * @param string $instance The ID of the Cloud SQL instance to be cloned
- * (source). This does not include the project ID.
- * @param Google_InstancesCloneRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function cloneInstances($project, $instance, Google_Service_SQLAdmin_InstancesCloneRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('clone', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Deletes a Cloud SQL instance. (instances.delete)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be deleted.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Exports data from a Cloud SQL instance to a Google Cloud Storage bucket as a
- * MySQL dump file. (instances.export)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be exported.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstancesExportRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function export($project, $instance, Google_Service_SQLAdmin_InstancesExportRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('export', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Retrieves a resource containing information about a Cloud SQL instance.
- * (instances.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_DatabaseInstance
- */
- public function get($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_DatabaseInstance");
- }
-
- /**
- * Imports data into a Cloud SQL instance from a MySQL dump file in Google Cloud
- * Storage. (instances.import)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstancesImportRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function import($project, $instance, Google_Service_SQLAdmin_InstancesImportRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('import', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Creates a new Cloud SQL instance. (instances.insert)
- *
- * @param string $project Project ID of the project to which the newly created
- * Cloud SQL instances should belong.
- * @param Google_DatabaseInstance $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function insert($project, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists instances under a given project in the alphabetical order of the
- * instance name. (instances.listInstances)
- *
- * @param string $project Project ID of the project for which to list Cloud SQL
- * instances.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken A previously-returned page token representing
- * part of the larger set of results to view.
- * @opt_param string maxResults The maximum number of results to return per
- * response.
- * @return Google_Service_SQLAdmin_InstancesListResponse
- */
- public function listInstances($project, $optParams = array())
- {
- $params = array('project' => $project);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_InstancesListResponse");
- }
-
- /**
- * Updates settings of a Cloud SQL instance. Caution: This is not a partial
- * update, so you must include values for all the settings that you want to
- * retain. For partial updates, use patch.. This method supports patch
- * semantics. (instances.patch)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_DatabaseInstance $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function patch($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('patch', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Promotes the read replica instance to be a stand-alone Cloud SQL instance.
- * (instances.promoteReplica)
- *
- * @param string $project ID of the project that contains the read replica.
- * @param string $instance Cloud SQL read replica instance name.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function promoteReplica($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('promoteReplica', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Deletes all client certificates and generates a new server SSL certificate
- * for the instance. The changes will not take effect until the instance is
- * restarted. Existing instances without a server certificate will need to call
- * this once to set a server certificate. (instances.resetSslConfig)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function resetSslConfig($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('resetSslConfig', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Restarts a Cloud SQL instance. (instances.restart)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be restarted.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function restart($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('restart', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Restores a backup of a Cloud SQL instance. (instances.restoreBackup)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_InstancesRestoreBackupRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function restoreBackup($project, $instance, Google_Service_SQLAdmin_InstancesRestoreBackupRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('restoreBackup', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Starts the replication in the read replica instance. (instances.startReplica)
- *
- * @param string $project ID of the project that contains the read replica.
- * @param string $instance Cloud SQL read replica instance name.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function startReplica($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('startReplica', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Stops the replication in the read replica instance. (instances.stopReplica)
- *
- * @param string $project ID of the project that contains the read replica.
- * @param string $instance Cloud SQL read replica instance name.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function stopReplica($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('stopReplica', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Updates settings of a Cloud SQL instance. Caution: This is not a partial
- * update, so you must include values for all the settings that you want to
- * retain. For partial updates, use patch. (instances.update)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_DatabaseInstance $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function update($project, $instance, Google_Service_SQLAdmin_DatabaseInstance $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
- }
-}
-
-/**
- * The "operations" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $operations = $sqladminService->operations;
- *
- */
-class Google_Service_SQLAdmin_Operations_Resource extends Google_Service_Resource
-{
-
- /**
- * Retrieves an instance operation that has been performed on an instance.
- * (operations.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $operation Instance operation ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function get($project, $operation, $optParams = array())
- {
- $params = array('project' => $project, 'operation' => $operation);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists all instance operations that have been performed on the given Cloud SQL
- * instance in the reverse chronological order of the start time.
- * (operations.listOperations)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxResults Maximum number of operations per response.
- * @opt_param string pageToken A previously-returned page token representing
- * part of the larger set of results to view.
- * @return Google_Service_SQLAdmin_OperationsListResponse
- */
- public function listOperations($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_OperationsListResponse");
- }
-}
-
-/**
- * The "sslCerts" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $sslCerts = $sqladminService->sslCerts;
- *
- */
-class Google_Service_SQLAdmin_SslCerts_Resource extends Google_Service_Resource
-{
-
- /**
- * Deletes the SSL certificate. The change will not take effect until the
- * instance is restarted. (sslCerts.delete)
- *
- * @param string $project Project ID of the project that contains the instance
- * to be deleted.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param string $sha1Fingerprint Sha1 FingerPrint.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $sha1Fingerprint, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Retrieves a particular SSL certificate. Does not include the private key
- * (required for usage). The private key must be saved from the response to
- * initial creation. (sslCerts.get)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param string $sha1Fingerprint Sha1 FingerPrint.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCert
- */
- public function get($project, $instance, $sha1Fingerprint, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'sha1Fingerprint' => $sha1Fingerprint);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_SQLAdmin_SslCert");
- }
-
- /**
- * Creates an SSL certificate and returns it along with the private key and
- * server certificate authority. The new certificate will not be usable until
- * the instance is restarted. (sslCerts.insert)
- *
- * @param string $project Project ID of the project to which the newly created
- * Cloud SQL instances should belong.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param Google_SslCertsInsertRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCertsInsertResponse
- */
- public function insert($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_SslCertsInsertResponse");
- }
-
- /**
- * Lists all of the current SSL certificates for the instance.
- * (sslCerts.listSslCerts)
- *
- * @param string $project Project ID of the project for which to list Cloud SQL
- * instances.
- * @param string $instance Cloud SQL instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_SslCertsListResponse
- */
- public function listSslCerts($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_SslCertsListResponse");
- }
-}
-
-/**
- * The "tiers" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $tiers = $sqladminService->tiers;
- *
- */
-class Google_Service_SQLAdmin_Tiers_Resource extends Google_Service_Resource
-{
-
- /**
- * Lists all available service tiers for Google Cloud SQL, for example D1, D2.
- * For related information, see Pricing. (tiers.listTiers)
- *
- * @param string $project Project ID of the project for which to list tiers.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_TiersListResponse
- */
- public function listTiers($project, $optParams = array())
- {
- $params = array('project' => $project);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_TiersListResponse");
- }
-}
-
-/**
- * The "users" collection of methods.
- * Typical usage is:
- *
- * $sqladminService = new Google_Service_SQLAdmin(...);
- * $users = $sqladminService->users;
- *
- */
-class Google_Service_SQLAdmin_Users_Resource extends Google_Service_Resource
-{
-
- /**
- * Deletes a user from a Cloud SQL instance. (users.delete)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $host Host of the user in the instance.
- * @param string $name Name of the user in the instance.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function delete($project, $instance, $host, $name, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Creates a new user in a Cloud SQL instance. (users.insert)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param Google_User $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function insert($project, $instance, Google_Service_SQLAdmin_User $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_SQLAdmin_Operation");
- }
-
- /**
- * Lists users in the specified Cloud SQL instance. (users.listUsers)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_UsersListResponse
- */
- public function listUsers($project, $instance, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_SQLAdmin_UsersListResponse");
- }
-
- /**
- * Updates an existing user in a Cloud SQL instance. (users.update)
- *
- * @param string $project Project ID of the project that contains the instance.
- * @param string $instance Database instance ID. This does not include the
- * project ID.
- * @param string $host Host of the user in the instance.
- * @param string $name Name of the user in the instance.
- * @param Google_User $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_SQLAdmin_Operation
- */
- public function update($project, $instance, $host, $name, Google_Service_SQLAdmin_User $postBody, $optParams = array())
- {
- $params = array('project' => $project, 'instance' => $instance, 'host' => $host, 'name' => $name, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_SQLAdmin_Operation");
- }
-}
-
-
-
-
-class Google_Service_SQLAdmin_AclEntry extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $expirationTime;
- public $kind;
- public $name;
- public $value;
-
-
- public function setExpirationTime($expirationTime)
- {
- $this->expirationTime = $expirationTime;
- }
- public function getExpirationTime()
- {
- return $this->expirationTime;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_SQLAdmin_BackupConfiguration extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $binaryLogEnabled;
- public $enabled;
- public $kind;
- public $startTime;
-
-
- public function setBinaryLogEnabled($binaryLogEnabled)
- {
- $this->binaryLogEnabled = $binaryLogEnabled;
- }
- public function getBinaryLogEnabled()
- {
- return $this->binaryLogEnabled;
- }
- public function setEnabled($enabled)
- {
- $this->enabled = $enabled;
- }
- public function getEnabled()
- {
- return $this->enabled;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
-}
-
-class Google_Service_SQLAdmin_BackupRun extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $endTime;
- public $enqueuedTime;
- protected $errorType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorDataType = '';
- public $id;
- public $instance;
- public $kind;
- public $selfLink;
- public $startTime;
- public $status;
- public $windowStartTime;
-
-
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- }
- public function getEndTime()
- {
- return $this->endTime;
- }
- public function setEnqueuedTime($enqueuedTime)
- {
- $this->enqueuedTime = $enqueuedTime;
- }
- public function getEnqueuedTime()
- {
- return $this->enqueuedTime;
- }
- public function setError(Google_Service_SQLAdmin_OperationError $error)
- {
- $this->error = $error;
- }
- public function getError()
- {
- return $this->error;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- public function getStatus()
- {
- return $this->status;
- }
- public function setWindowStartTime($windowStartTime)
- {
- $this->windowStartTime = $windowStartTime;
- }
- public function getWindowStartTime()
- {
- return $this->windowStartTime;
- }
-}
-
-class Google_Service_SQLAdmin_BackupRunsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_BackupRun';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_SQLAdmin_BinLogCoordinates extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $binLogFileName;
- public $binLogPosition;
- public $kind;
-
-
- public function setBinLogFileName($binLogFileName)
- {
- $this->binLogFileName = $binLogFileName;
- }
- public function getBinLogFileName()
- {
- return $this->binLogFileName;
- }
- public function setBinLogPosition($binLogPosition)
- {
- $this->binLogPosition = $binLogPosition;
- }
- public function getBinLogPosition()
- {
- return $this->binLogPosition;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_CloneContext extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $binLogCoordinatesType = 'Google_Service_SQLAdmin_BinLogCoordinates';
- protected $binLogCoordinatesDataType = '';
- public $destinationInstanceName;
- public $kind;
-
-
- public function setBinLogCoordinates(Google_Service_SQLAdmin_BinLogCoordinates $binLogCoordinates)
- {
- $this->binLogCoordinates = $binLogCoordinates;
- }
- public function getBinLogCoordinates()
- {
- return $this->binLogCoordinates;
- }
- public function setDestinationInstanceName($destinationInstanceName)
- {
- $this->destinationInstanceName = $destinationInstanceName;
- }
- public function getDestinationInstanceName()
- {
- return $this->destinationInstanceName;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_Database extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $charset;
- public $collation;
- public $etag;
- public $instance;
- public $kind;
- public $name;
- public $project;
- public $selfLink;
-
-
- public function setCharset($charset)
- {
- $this->charset = $charset;
- }
- public function getCharset()
- {
- return $this->charset;
- }
- public function setCollation($collation)
- {
- $this->collation = $collation;
- }
- public function getCollation()
- {
- return $this->collation;
- }
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProject($project)
- {
- $this->project = $project;
- }
- public function getProject()
- {
- return $this->project;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
-}
-
-class Google_Service_SQLAdmin_DatabaseFlags extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $name;
- public $value;
-
-
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setValue($value)
- {
- $this->value = $value;
- }
- public function getValue()
- {
- return $this->value;
- }
-}
-
-class Google_Service_SQLAdmin_DatabaseInstance extends Google_Collection
-{
- protected $collection_key = 'replicaNames';
- protected $internal_gapi_mappings = array(
- );
- public $currentDiskSize;
- public $databaseVersion;
- public $etag;
- public $instanceType;
- protected $ipAddressesType = 'Google_Service_SQLAdmin_IpMapping';
- protected $ipAddressesDataType = 'array';
- public $ipv6Address;
- public $kind;
- public $masterInstanceName;
- public $maxDiskSize;
- public $name;
- public $project;
- public $region;
- public $replicaNames;
- public $selfLink;
- protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
- protected $serverCaCertDataType = '';
- public $serviceAccountEmailAddress;
- protected $settingsType = 'Google_Service_SQLAdmin_Settings';
- protected $settingsDataType = '';
- public $state;
-
-
- public function setCurrentDiskSize($currentDiskSize)
- {
- $this->currentDiskSize = $currentDiskSize;
- }
- public function getCurrentDiskSize()
- {
- return $this->currentDiskSize;
- }
- public function setDatabaseVersion($databaseVersion)
- {
- $this->databaseVersion = $databaseVersion;
- }
- public function getDatabaseVersion()
- {
- return $this->databaseVersion;
- }
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setInstanceType($instanceType)
- {
- $this->instanceType = $instanceType;
- }
- public function getInstanceType()
- {
- return $this->instanceType;
- }
- public function setIpAddresses($ipAddresses)
- {
- $this->ipAddresses = $ipAddresses;
- }
- public function getIpAddresses()
- {
- return $this->ipAddresses;
- }
- public function setIpv6Address($ipv6Address)
- {
- $this->ipv6Address = $ipv6Address;
- }
- public function getIpv6Address()
- {
- return $this->ipv6Address;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMasterInstanceName($masterInstanceName)
- {
- $this->masterInstanceName = $masterInstanceName;
- }
- public function getMasterInstanceName()
- {
- return $this->masterInstanceName;
- }
- public function setMaxDiskSize($maxDiskSize)
- {
- $this->maxDiskSize = $maxDiskSize;
- }
- public function getMaxDiskSize()
- {
- return $this->maxDiskSize;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProject($project)
- {
- $this->project = $project;
- }
- public function getProject()
- {
- return $this->project;
- }
- public function setRegion($region)
- {
- $this->region = $region;
- }
- public function getRegion()
- {
- return $this->region;
- }
- public function setReplicaNames($replicaNames)
- {
- $this->replicaNames = $replicaNames;
- }
- public function getReplicaNames()
- {
- return $this->replicaNames;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
- {
- $this->serverCaCert = $serverCaCert;
- }
- public function getServerCaCert()
- {
- return $this->serverCaCert;
- }
- public function setServiceAccountEmailAddress($serviceAccountEmailAddress)
- {
- $this->serviceAccountEmailAddress = $serviceAccountEmailAddress;
- }
- public function getServiceAccountEmailAddress()
- {
- return $this->serviceAccountEmailAddress;
- }
- public function setSettings(Google_Service_SQLAdmin_Settings $settings)
- {
- $this->settings = $settings;
- }
- public function getSettings()
- {
- return $this->settings;
- }
- public function setState($state)
- {
- $this->state = $state;
- }
- public function getState()
- {
- return $this->state;
- }
-}
-
-class Google_Service_SQLAdmin_DatabasesListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Database';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_ExportContext extends Google_Collection
-{
- protected $collection_key = 'databases';
- protected $internal_gapi_mappings = array(
- );
- protected $csvExportOptionsType = 'Google_Service_SQLAdmin_ExportContextCsvExportOptions';
- protected $csvExportOptionsDataType = '';
- public $databases;
- public $fileType;
- public $kind;
- protected $sqlExportOptionsType = 'Google_Service_SQLAdmin_ExportContextSqlExportOptions';
- protected $sqlExportOptionsDataType = '';
- public $uri;
-
-
- public function setCsvExportOptions(Google_Service_SQLAdmin_ExportContextCsvExportOptions $csvExportOptions)
- {
- $this->csvExportOptions = $csvExportOptions;
- }
- public function getCsvExportOptions()
- {
- return $this->csvExportOptions;
- }
- public function setDatabases($databases)
- {
- $this->databases = $databases;
- }
- public function getDatabases()
- {
- return $this->databases;
- }
- public function setFileType($fileType)
- {
- $this->fileType = $fileType;
- }
- public function getFileType()
- {
- return $this->fileType;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSqlExportOptions(Google_Service_SQLAdmin_ExportContextSqlExportOptions $sqlExportOptions)
- {
- $this->sqlExportOptions = $sqlExportOptions;
- }
- public function getSqlExportOptions()
- {
- return $this->sqlExportOptions;
- }
- public function setUri($uri)
- {
- $this->uri = $uri;
- }
- public function getUri()
- {
- return $this->uri;
- }
-}
-
-class Google_Service_SQLAdmin_ExportContextCsvExportOptions extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $selectQuery;
-
-
- public function setSelectQuery($selectQuery)
- {
- $this->selectQuery = $selectQuery;
- }
- public function getSelectQuery()
- {
- return $this->selectQuery;
- }
-}
-
-class Google_Service_SQLAdmin_ExportContextSqlExportOptions extends Google_Collection
-{
- protected $collection_key = 'tables';
- protected $internal_gapi_mappings = array(
- );
- public $tables;
-
-
- public function setTables($tables)
- {
- $this->tables = $tables;
- }
- public function getTables()
- {
- return $this->tables;
- }
-}
-
-class Google_Service_SQLAdmin_Flag extends Google_Collection
-{
- protected $collection_key = 'appliesTo';
- protected $internal_gapi_mappings = array(
- );
- public $allowedStringValues;
- public $appliesTo;
- public $kind;
- public $maxValue;
- public $minValue;
- public $name;
- public $type;
-
-
- public function setAllowedStringValues($allowedStringValues)
- {
- $this->allowedStringValues = $allowedStringValues;
- }
- public function getAllowedStringValues()
- {
- return $this->allowedStringValues;
- }
- public function setAppliesTo($appliesTo)
- {
- $this->appliesTo = $appliesTo;
- }
- public function getAppliesTo()
- {
- return $this->appliesTo;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMaxValue($maxValue)
- {
- $this->maxValue = $maxValue;
- }
- public function getMaxValue()
- {
- return $this->maxValue;
- }
- public function setMinValue($minValue)
- {
- $this->minValue = $minValue;
- }
- public function getMinValue()
- {
- return $this->minValue;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_SQLAdmin_FlagsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Flag';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_ImportContext extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $csvImportOptionsType = 'Google_Service_SQLAdmin_ImportContextCsvImportOptions';
- protected $csvImportOptionsDataType = '';
- public $database;
- public $fileType;
- public $kind;
- public $uri;
-
-
- public function setCsvImportOptions(Google_Service_SQLAdmin_ImportContextCsvImportOptions $csvImportOptions)
- {
- $this->csvImportOptions = $csvImportOptions;
- }
- public function getCsvImportOptions()
- {
- return $this->csvImportOptions;
- }
- public function setDatabase($database)
- {
- $this->database = $database;
- }
- public function getDatabase()
- {
- return $this->database;
- }
- public function setFileType($fileType)
- {
- $this->fileType = $fileType;
- }
- public function getFileType()
- {
- return $this->fileType;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setUri($uri)
- {
- $this->uri = $uri;
- }
- public function getUri()
- {
- return $this->uri;
- }
-}
-
-class Google_Service_SQLAdmin_ImportContextCsvImportOptions extends Google_Collection
-{
- protected $collection_key = 'columns';
- protected $internal_gapi_mappings = array(
- );
- public $columns;
- public $table;
-
-
- public function setColumns($columns)
- {
- $this->columns = $columns;
- }
- public function getColumns()
- {
- return $this->columns;
- }
- public function setTable($table)
- {
- $this->table = $table;
- }
- public function getTable()
- {
- return $this->table;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesCloneRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $cloneContextType = 'Google_Service_SQLAdmin_CloneContext';
- protected $cloneContextDataType = '';
-
-
- public function setCloneContext(Google_Service_SQLAdmin_CloneContext $cloneContext)
- {
- $this->cloneContext = $cloneContext;
- }
- public function getCloneContext()
- {
- return $this->cloneContext;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesExportRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
- protected $exportContextDataType = '';
-
-
- public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
- {
- $this->exportContext = $exportContext;
- }
- public function getExportContext()
- {
- return $this->exportContext;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesImportRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
- protected $importContextDataType = '';
-
-
- public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
- {
- $this->importContext = $importContext;
- }
- public function getImportContext()
- {
- return $this->importContext;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_DatabaseInstance';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_SQLAdmin_InstancesRestoreBackupRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $restoreBackupContextType = 'Google_Service_SQLAdmin_RestoreBackupContext';
- protected $restoreBackupContextDataType = '';
-
-
- public function setRestoreBackupContext(Google_Service_SQLAdmin_RestoreBackupContext $restoreBackupContext)
- {
- $this->restoreBackupContext = $restoreBackupContext;
- }
- public function getRestoreBackupContext()
- {
- return $this->restoreBackupContext;
- }
-}
-
-class Google_Service_SQLAdmin_IpConfiguration extends Google_Collection
-{
- protected $collection_key = 'authorizedNetworks';
- protected $internal_gapi_mappings = array(
- );
- protected $authorizedNetworksType = 'Google_Service_SQLAdmin_AclEntry';
- protected $authorizedNetworksDataType = 'array';
- public $ipv4Enabled;
- public $requireSsl;
-
-
- public function setAuthorizedNetworks($authorizedNetworks)
- {
- $this->authorizedNetworks = $authorizedNetworks;
- }
- public function getAuthorizedNetworks()
- {
- return $this->authorizedNetworks;
- }
- public function setIpv4Enabled($ipv4Enabled)
- {
- $this->ipv4Enabled = $ipv4Enabled;
- }
- public function getIpv4Enabled()
- {
- return $this->ipv4Enabled;
- }
- public function setRequireSsl($requireSsl)
- {
- $this->requireSsl = $requireSsl;
- }
- public function getRequireSsl()
- {
- return $this->requireSsl;
- }
-}
-
-class Google_Service_SQLAdmin_IpMapping extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $ipAddress;
- public $timeToRetire;
-
-
- public function setIpAddress($ipAddress)
- {
- $this->ipAddress = $ipAddress;
- }
- public function getIpAddress()
- {
- return $this->ipAddress;
- }
- public function setTimeToRetire($timeToRetire)
- {
- $this->timeToRetire = $timeToRetire;
- }
- public function getTimeToRetire()
- {
- return $this->timeToRetire;
- }
-}
-
-class Google_Service_SQLAdmin_LocationPreference extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $followGaeApplication;
- public $kind;
- public $zone;
-
-
- public function setFollowGaeApplication($followGaeApplication)
- {
- $this->followGaeApplication = $followGaeApplication;
- }
- public function getFollowGaeApplication()
- {
- return $this->followGaeApplication;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setZone($zone)
- {
- $this->zone = $zone;
- }
- public function getZone()
- {
- return $this->zone;
- }
-}
-
-class Google_Service_SQLAdmin_Operation extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $endTime;
- protected $errorType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorDataType = '';
- protected $exportContextType = 'Google_Service_SQLAdmin_ExportContext';
- protected $exportContextDataType = '';
- protected $importContextType = 'Google_Service_SQLAdmin_ImportContext';
- protected $importContextDataType = '';
- public $insertTime;
- public $kind;
- public $name;
- public $operationType;
- public $selfLink;
- public $startTime;
- public $status;
- public $targetId;
- public $targetLink;
- public $targetProject;
- public $user;
-
-
- public function setEndTime($endTime)
- {
- $this->endTime = $endTime;
- }
- public function getEndTime()
- {
- return $this->endTime;
- }
- public function setError(Google_Service_SQLAdmin_OperationError $error)
- {
- $this->error = $error;
- }
- public function getError()
- {
- return $this->error;
- }
- public function setExportContext(Google_Service_SQLAdmin_ExportContext $exportContext)
- {
- $this->exportContext = $exportContext;
- }
- public function getExportContext()
- {
- return $this->exportContext;
- }
- public function setImportContext(Google_Service_SQLAdmin_ImportContext $importContext)
- {
- $this->importContext = $importContext;
- }
- public function getImportContext()
- {
- return $this->importContext;
- }
- public function setInsertTime($insertTime)
- {
- $this->insertTime = $insertTime;
- }
- public function getInsertTime()
- {
- return $this->insertTime;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setOperationType($operationType)
- {
- $this->operationType = $operationType;
- }
- public function getOperationType()
- {
- return $this->operationType;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setStartTime($startTime)
- {
- $this->startTime = $startTime;
- }
- public function getStartTime()
- {
- return $this->startTime;
- }
- public function setStatus($status)
- {
- $this->status = $status;
- }
- public function getStatus()
- {
- return $this->status;
- }
- public function setTargetId($targetId)
- {
- $this->targetId = $targetId;
- }
- public function getTargetId()
- {
- return $this->targetId;
- }
- public function setTargetLink($targetLink)
- {
- $this->targetLink = $targetLink;
- }
- public function getTargetLink()
- {
- return $this->targetLink;
- }
- public function setTargetProject($targetProject)
- {
- $this->targetProject = $targetProject;
- }
- public function getTargetProject()
- {
- return $this->targetProject;
- }
- public function setUser($user)
- {
- $this->user = $user;
- }
- public function getUser()
- {
- return $this->user;
- }
-}
-
-class Google_Service_SQLAdmin_OperationError extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $code;
- public $kind;
- public $message;
-
-
- public function setCode($code)
- {
- $this->code = $code;
- }
- public function getCode()
- {
- return $this->code;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMessage($message)
- {
- $this->message = $message;
- }
- public function getMessage()
- {
- return $this->message;
- }
-}
-
-class Google_Service_SQLAdmin_OperationError extends Google_Collection
-{
- protected $collection_key = 'errors';
- protected $internal_gapi_mappings = array(
- );
- protected $errorsType = 'Google_Service_SQLAdmin_OperationError';
- protected $errorsDataType = 'array';
-
-
- public function setErrors($errors)
- {
- $this->errors = $errors;
- }
- public function getErrors()
- {
- return $this->errors;
- }
-}
-
-class Google_Service_SQLAdmin_OperationsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Operation';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_SQLAdmin_RestoreBackupContext extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $backupRunId;
- public $kind;
-
-
- public function setBackupRunId($backupRunId)
- {
- $this->backupRunId = $backupRunId;
- }
- public function getBackupRunId()
- {
- return $this->backupRunId;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_Settings extends Google_Collection
-{
- protected $collection_key = 'databaseFlags';
- protected $internal_gapi_mappings = array(
- );
- public $activationPolicy;
- public $authorizedGaeApplications;
- protected $backupConfigurationType = 'Google_Service_SQLAdmin_BackupConfiguration';
- protected $backupConfigurationDataType = '';
- protected $databaseFlagsType = 'Google_Service_SQLAdmin_DatabaseFlags';
- protected $databaseFlagsDataType = 'array';
- public $databaseReplicationEnabled;
- protected $ipConfigurationType = 'Google_Service_SQLAdmin_IpConfiguration';
- protected $ipConfigurationDataType = '';
- public $kind;
- protected $locationPreferenceType = 'Google_Service_SQLAdmin_LocationPreference';
- protected $locationPreferenceDataType = '';
- public $pricingPlan;
- public $replicationType;
- public $settingsVersion;
- public $tier;
-
-
- public function setActivationPolicy($activationPolicy)
- {
- $this->activationPolicy = $activationPolicy;
- }
- public function getActivationPolicy()
- {
- return $this->activationPolicy;
- }
- public function setAuthorizedGaeApplications($authorizedGaeApplications)
- {
- $this->authorizedGaeApplications = $authorizedGaeApplications;
- }
- public function getAuthorizedGaeApplications()
- {
- return $this->authorizedGaeApplications;
- }
- public function setBackupConfiguration(Google_Service_SQLAdmin_BackupConfiguration $backupConfiguration)
- {
- $this->backupConfiguration = $backupConfiguration;
- }
- public function getBackupConfiguration()
- {
- return $this->backupConfiguration;
- }
- public function setDatabaseFlags($databaseFlags)
- {
- $this->databaseFlags = $databaseFlags;
- }
- public function getDatabaseFlags()
- {
- return $this->databaseFlags;
- }
- public function setDatabaseReplicationEnabled($databaseReplicationEnabled)
- {
- $this->databaseReplicationEnabled = $databaseReplicationEnabled;
- }
- public function getDatabaseReplicationEnabled()
- {
- return $this->databaseReplicationEnabled;
- }
- public function setIpConfiguration(Google_Service_SQLAdmin_IpConfiguration $ipConfiguration)
- {
- $this->ipConfiguration = $ipConfiguration;
- }
- public function getIpConfiguration()
- {
- return $this->ipConfiguration;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setLocationPreference(Google_Service_SQLAdmin_LocationPreference $locationPreference)
- {
- $this->locationPreference = $locationPreference;
- }
- public function getLocationPreference()
- {
- return $this->locationPreference;
- }
- public function setPricingPlan($pricingPlan)
- {
- $this->pricingPlan = $pricingPlan;
- }
- public function getPricingPlan()
- {
- return $this->pricingPlan;
- }
- public function setReplicationType($replicationType)
- {
- $this->replicationType = $replicationType;
- }
- public function getReplicationType()
- {
- return $this->replicationType;
- }
- public function setSettingsVersion($settingsVersion)
- {
- $this->settingsVersion = $settingsVersion;
- }
- public function getSettingsVersion()
- {
- return $this->settingsVersion;
- }
- public function setTier($tier)
- {
- $this->tier = $tier;
- }
- public function getTier()
- {
- return $this->tier;
- }
-}
-
-class Google_Service_SQLAdmin_SslCert extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $cert;
- public $certSerialNumber;
- public $commonName;
- public $createTime;
- public $expirationTime;
- public $instance;
- public $kind;
- public $selfLink;
- public $sha1Fingerprint;
-
-
- public function setCert($cert)
- {
- $this->cert = $cert;
- }
- public function getCert()
- {
- return $this->cert;
- }
- public function setCertSerialNumber($certSerialNumber)
- {
- $this->certSerialNumber = $certSerialNumber;
- }
- public function getCertSerialNumber()
- {
- return $this->certSerialNumber;
- }
- public function setCommonName($commonName)
- {
- $this->commonName = $commonName;
- }
- public function getCommonName()
- {
- return $this->commonName;
- }
- public function setCreateTime($createTime)
- {
- $this->createTime = $createTime;
- }
- public function getCreateTime()
- {
- return $this->createTime;
- }
- public function setExpirationTime($expirationTime)
- {
- $this->expirationTime = $expirationTime;
- }
- public function getExpirationTime()
- {
- return $this->expirationTime;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setSha1Fingerprint($sha1Fingerprint)
- {
- $this->sha1Fingerprint = $sha1Fingerprint;
- }
- public function getSha1Fingerprint()
- {
- return $this->sha1Fingerprint;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertDetail extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $certInfoType = 'Google_Service_SQLAdmin_SslCert';
- protected $certInfoDataType = '';
- public $certPrivateKey;
-
-
- public function setCertInfo(Google_Service_SQLAdmin_SslCert $certInfo)
- {
- $this->certInfo = $certInfo;
- }
- public function getCertInfo()
- {
- return $this->certInfo;
- }
- public function setCertPrivateKey($certPrivateKey)
- {
- $this->certPrivateKey = $certPrivateKey;
- }
- public function getCertPrivateKey()
- {
- return $this->certPrivateKey;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertsInsertRequest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $commonName;
-
-
- public function setCommonName($commonName)
- {
- $this->commonName = $commonName;
- }
- public function getCommonName()
- {
- return $this->commonName;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertsInsertResponse extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $clientCertType = 'Google_Service_SQLAdmin_SslCertDetail';
- protected $clientCertDataType = '';
- public $kind;
- protected $serverCaCertType = 'Google_Service_SQLAdmin_SslCert';
- protected $serverCaCertDataType = '';
-
-
- public function setClientCert(Google_Service_SQLAdmin_SslCertDetail $clientCert)
- {
- $this->clientCert = $clientCert;
- }
- public function getClientCert()
- {
- return $this->clientCert;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setServerCaCert(Google_Service_SQLAdmin_SslCert $serverCaCert)
- {
- $this->serverCaCert = $serverCaCert;
- }
- public function getServerCaCert()
- {
- return $this->serverCaCert;
- }
-}
-
-class Google_Service_SQLAdmin_SslCertsListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_SslCert';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_Tier extends Google_Collection
-{
- protected $collection_key = 'region';
- protected $internal_gapi_mappings = array(
- "diskQuota" => "DiskQuota",
- "rAM" => "RAM",
- );
- public $diskQuota;
- public $rAM;
- public $kind;
- public $region;
- public $tier;
-
-
- public function setDiskQuota($diskQuota)
- {
- $this->diskQuota = $diskQuota;
- }
- public function getDiskQuota()
- {
- return $this->diskQuota;
- }
- public function setRAM($rAM)
- {
- $this->rAM = $rAM;
- }
- public function getRAM()
- {
- return $this->rAM;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setRegion($region)
- {
- $this->region = $region;
- }
- public function getRegion()
- {
- return $this->region;
- }
- public function setTier($tier)
- {
- $this->tier = $tier;
- }
- public function getTier()
- {
- return $this->tier;
- }
-}
-
-class Google_Service_SQLAdmin_TiersListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_Tier';
- protected $itemsDataType = 'array';
- public $kind;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
-}
-
-class Google_Service_SQLAdmin_User extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $etag;
- public $host;
- public $instance;
- public $kind;
- public $name;
- public $password;
- public $project;
-
-
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setHost($host)
- {
- $this->host = $host;
- }
- public function getHost()
- {
- return $this->host;
- }
- public function setInstance($instance)
- {
- $this->instance = $instance;
- }
- public function getInstance()
- {
- return $this->instance;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setPassword($password)
- {
- $this->password = $password;
- }
- public function getPassword()
- {
- return $this->password;
- }
- public function setProject($project)
- {
- $this->project = $project;
- }
- public function getProject()
- {
- return $this->project;
- }
-}
-
-class Google_Service_SQLAdmin_UsersListResponse extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_SQLAdmin_User';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextPageToken;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
diff --git a/tests/general/ApiClientTest.php b/tests/general/ApiClientTest.php
index 2c5d06b1f..58c3e5066 100644
--- a/tests/general/ApiClientTest.php
+++ b/tests/general/ApiClientTest.php
@@ -189,4 +189,14 @@ public function testIniConfig()
$config->getClassConfig('Google_IO_Abstract', 'request_timeout_seconds')
);
}
+
+ public function testServiceAccountJson()
+ {
+ $client = new Google_Client();
+ $c = $client->loadServiceAccountJson(
+ __DIR__ . "/testdata/service-12345.json",
+ array()
+ );
+ $this->assertInstanceOf('Google_Auth_AssertionCredentials', $c);
+ }
}
diff --git a/tests/general/ApiModelTest.php b/tests/general/ApiModelTest.php
index 8eb7ee2a1..9a81e714e 100644
--- a/tests/general/ApiModelTest.php
+++ b/tests/general/ApiModelTest.php
@@ -20,45 +20,57 @@
class ApiModelTest extends BaseTest
{
+ private $calendarData = '{
+ "kind": "calendar#event",
+ "etag": "\"-kteSF26GsdKQ5bfmcd4H3_-u3g/MTE0NTUyNTAxOTk0MjAwMA\"",
+ "id": "1234566",
+ "status": "confirmed",
+ "htmlLink": "https://www.google.com/calendar/event?eid=N",
+ "created": "2006-04-13T14:22:08.000Z",
+ "updated": "2006-04-20T09:23:39.942Z",
+ "summary": "Evening Jolt Q3 CTFL",
+ "description": "6.30 - Adminning\n9.30 - Game",
+ "creator": {
+ "email": "ian@example.com",
+ "displayName": "Ian Test",
+ "self": true
+ },
+ "organizer": {
+ "email": "ian@example.com",
+ "displayName": "Ian Test",
+ "self": true
+ },
+ "start": {
+ "date": "2006-04-23"
+ },
+ "end": {
+ "date": "2006-04-24"
+ },
+ "iCalUID": "5gi2ac493nnrfdfd7jhesafget8@google.com",
+ "sequence": 0,
+ "reminders": {
+ "useDefault": false
+ }
+ }';
+
+ public function testIntentionalNulls()
+ {
+ $data = json_decode($this->calendarData, true);
+ $event = new Google_Service_Calendar_Event($data);
+ $obj = json_decode(json_encode($event->toSimpleObject()), true);
+ $this->assertArrayHasKey('date', $obj['start']);
+ $this->assertArrayNotHasKey('dateTime', $obj['start']);
+ $date = new Google_Service_Calendar_EventDateTime();
+ $date->setDate(Google_Model::NULL_VALUE);
+ $event->setStart($date);
+ $obj = json_decode(json_encode($event->toSimpleObject()), true);
+ $this->assertNull($obj['start']['date']);
+ $this->assertArrayHasKey('date', $obj['start']);
+ $this->assertArrayNotHasKey('dateTime', $obj['start']);
+ }
public function testModelMutation()
{
- $htmlLink = 'https://www.google.com/calendar/event?'
- . 'eid=NWdpMmFjNDkzbm5yZzh2N2poZXNhZmdldDggaWFuLmJhcmJlckBt';
- $data = json_decode(
- '{
- "kind": "calendar#event",
- "etag": "\"-kteSF26GsdKQ5bfmcd4H3_-u3g/MTE0NTUyNTAxOTk0MjAwMA\"",
- "id": "1234566",
- "status": "confirmed",
- "htmlLink": "' . $htmlLink . '",
- "created": "2006-04-13T14:22:08.000Z",
- "updated": "2006-04-20T09:23:39.942Z",
- "summary": "Evening Jolt Q3 CTFL",
- "description": "6.30 - Adminning\n9.30 - Game",
- "creator": {
- "email": "ian@example.com",
- "displayName": "Ian Test",
- "self": true
- },
- "organizer": {
- "email": "ian@example.com",
- "displayName": "Ian Test",
- "self": true
- },
- "start": {
- "date": "2006-04-23"
- },
- "end": {
- "date": "2006-04-24"
- },
- "iCalUID": "5gi2ac493nnrfdfd7jhesafget8@google.com",
- "sequence": 0,
- "reminders": {
- "useDefault": false
- }
- }',
- true
- );
+ $data = json_decode($this->calendarData, true);
$event = new Google_Service_Calendar_Event($data);
$date = new Google_Service_Calendar_EventDateTime();
date_default_timezone_set('UTC');
diff --git a/tests/general/testdata/service-12345.json b/tests/general/testdata/service-12345.json
new file mode 100644
index 000000000..a6a2df0ed
--- /dev/null
+++ b/tests/general/testdata/service-12345.json
@@ -0,0 +1,7 @@
+{
+ "private_key_id": "1936f241be592afc6f3a6d309f75cbf5229d3e75",
+ "private_key": "-----BEGIN RSA PRIVATE KEY-----MIIBOwIBAAJBAM4Aozh3TMZYcPx7MHlnD8MtyVUjzo6OdT32JwRHzHHNMMm88lNVfLYIT9C/jgXlDqG0h5wSClMvTQbdihNdFOkCAwEAAQJBAJuMo7KpcpF6iqY7Jtkk1yQb2KCvTvMZ4rGMwt1akaeDW2noyqCeO675gFBtlizgcRsybealQVQgGX4E5VqFUJkCIQDzJZZi2jloDXcyyy2rEa4mj4RnrnIYsDMJ55XMWJ9c9wIhANjkY97FSRX3WSdRFqXd3Pc4URUho+rCcPibafMOwAUfAiAa58ngXm2DyhmqkTkYePhgY/kuz+roOHctXWcCGbxouQIgLC5qAakieC0Ipi+oc2U8a8e3DJzrrRiqtpnB/VcV2nUCIQC2DXrpyt6jjVIzs4jI5Cl3QGLL6TZ8FqpyonU/1ARuhA==-----END RSA PRIVATE KEY-----",
+ "client_email": "12345-is5nq94smihmoa2k0567jab6u6vj278c@developer.gserviceaccount.com",
+ "client_id": "12345-is5nq94smihmoa2k0567jab6u6vj278c.apps.googleusercontent.com",
+ "type": "service_account"
+}
\ No newline at end of file
From 04a9df4763c25c9a46a8dcef60c7241d7f951b54 Mon Sep 17 00:00:00 2001
From: Ian Barber
- * $analyticsService = new Google_Service_Analytics(...);
- * $dailyUploads = $analyticsService->dailyUploads;
- *
- */
-class Google_Service_Analytics_ManagementDailyUploads_Resource extends Google_Service_Resource
-{
-
- /**
- * Delete uploaded data for the given date. (dailyUploads.delete)
- *
- * @param string $accountId Account Id associated with daily upload delete.
- * @param string $webPropertyId Web property Id associated with daily upload
- * delete.
- * @param string $customDataSourceId Custom data source Id associated with daily
- * upload delete.
- * @param string $date Date for which data is to be deleted. Date should be
- * formatted as YYYY-MM-DD.
- * @param string $type Type of data for this delete.
- * @param array $optParams Optional parameters.
- */
- public function delete($accountId, $webPropertyId, $customDataSourceId, $date, $type, $optParams = array())
- {
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'type' => $type);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
- }
-
- /**
- * List daily uploads to which the user has access.
- * (dailyUploads.listManagementDailyUploads)
- *
- * @param string $accountId Account Id for the daily uploads to retrieve.
- * @param string $webPropertyId Web property Id for the daily uploads to
- * retrieve.
- * @param string $customDataSourceId Custom data source Id for daily uploads to
- * retrieve.
- * @param string $startDate Start date of the form YYYY-MM-DD.
- * @param string $endDate End date of the form YYYY-MM-DD.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int max-results The maximum number of custom data sources to
- * include in this response.
- * @opt_param int start-index A 1-based index of the first daily upload to
- * retrieve. Use this parameter as a pagination mechanism along with the max-
- * results parameter.
- * @return Google_Service_Analytics_DailyUploads
- */
- public function listManagementDailyUploads($accountId, $webPropertyId, $customDataSourceId, $startDate, $endDate, $optParams = array())
- {
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'start-date' => $startDate, 'end-date' => $endDate);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Analytics_DailyUploads");
- }
-
- /**
- * Update/Overwrite data for a custom data source. (dailyUploads.upload)
- *
- * @param string $accountId Account Id associated with daily upload.
- * @param string $webPropertyId Web property Id associated with daily upload.
- * @param string $customDataSourceId Custom data source Id to which the data
- * being uploaded belongs.
- * @param string $date Date for which data is uploaded. Date should be formatted
- * as YYYY-MM-DD.
- * @param int $appendNumber Append number for this upload indexed from 1.
- * @param string $type Type of data for this upload.
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool reset Reset/Overwrite all previous appends for this date and
- * start over with this file as the first upload.
- * @return Google_Service_Analytics_DailyUploadAppend
- */
- public function upload($accountId, $webPropertyId, $customDataSourceId, $date, $appendNumber, $type, $optParams = array())
- {
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId, 'date' => $date, 'appendNumber' => $appendNumber, 'type' => $type);
- $params = array_merge($params, $optParams);
- return $this->call('upload', array($params), "Google_Service_Analytics_DailyUploadAppend");
- }
-}
/**
* The "experiments" collection of methods.
* Typical usage is:
@@ -3593,22 +3373,6 @@ public function listManagementUploads($accountId, $webPropertyId, $customDataSou
return $this->call('list', array($params), "Google_Service_Analytics_Uploads");
}
- /**
- * Migrate custom data source and data imports to latest version.
- * (uploads.migrateDataImport)
- *
- * @param string $accountId Account Id for migration.
- * @param string $webPropertyId Web property Id for migration.
- * @param string $customDataSourceId Custom data source Id for migration.
- * @param array $optParams Optional parameters.
- */
- public function migrateDataImport($accountId, $webPropertyId, $customDataSourceId, $optParams = array())
- {
- $params = array('accountId' => $accountId, 'webPropertyId' => $webPropertyId, 'customDataSourceId' => $customDataSourceId);
- $params = array_merge($params, $optParams);
- return $this->call('migrateDataImport', array($params));
- }
-
/**
* Upload data for a custom data source. (uploads.uploadData)
*
@@ -5357,321 +5121,6 @@ public function getUsername()
}
}
-class Google_Service_Analytics_DailyUpload extends Google_Collection
-{
- protected $collection_key = 'recentChanges';
- protected $internal_gapi_mappings = array(
- );
- public $accountId;
- public $appendCount;
- public $createdTime;
- public $customDataSourceId;
- public $date;
- public $kind;
- public $modifiedTime;
- protected $parentLinkType = 'Google_Service_Analytics_DailyUploadParentLink';
- protected $parentLinkDataType = '';
- protected $recentChangesType = 'Google_Service_Analytics_DailyUploadRecentChanges';
- protected $recentChangesDataType = 'array';
- public $selfLink;
- public $webPropertyId;
-
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
- public function getAccountId()
- {
- return $this->accountId;
- }
- public function setAppendCount($appendCount)
- {
- $this->appendCount = $appendCount;
- }
- public function getAppendCount()
- {
- return $this->appendCount;
- }
- public function setCreatedTime($createdTime)
- {
- $this->createdTime = $createdTime;
- }
- public function getCreatedTime()
- {
- return $this->createdTime;
- }
- public function setCustomDataSourceId($customDataSourceId)
- {
- $this->customDataSourceId = $customDataSourceId;
- }
- public function getCustomDataSourceId()
- {
- return $this->customDataSourceId;
- }
- public function setDate($date)
- {
- $this->date = $date;
- }
- public function getDate()
- {
- return $this->date;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setModifiedTime($modifiedTime)
- {
- $this->modifiedTime = $modifiedTime;
- }
- public function getModifiedTime()
- {
- return $this->modifiedTime;
- }
- public function setParentLink(Google_Service_Analytics_DailyUploadParentLink $parentLink)
- {
- $this->parentLink = $parentLink;
- }
- public function getParentLink()
- {
- return $this->parentLink;
- }
- public function setRecentChanges($recentChanges)
- {
- $this->recentChanges = $recentChanges;
- }
- public function getRecentChanges()
- {
- return $this->recentChanges;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setWebPropertyId($webPropertyId)
- {
- $this->webPropertyId = $webPropertyId;
- }
- public function getWebPropertyId()
- {
- return $this->webPropertyId;
- }
-}
-
-class Google_Service_Analytics_DailyUploadAppend extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $accountId;
- public $appendNumber;
- public $customDataSourceId;
- public $date;
- public $kind;
- public $nextAppendLink;
- public $webPropertyId;
-
-
- public function setAccountId($accountId)
- {
- $this->accountId = $accountId;
- }
- public function getAccountId()
- {
- return $this->accountId;
- }
- public function setAppendNumber($appendNumber)
- {
- $this->appendNumber = $appendNumber;
- }
- public function getAppendNumber()
- {
- return $this->appendNumber;
- }
- public function setCustomDataSourceId($customDataSourceId)
- {
- $this->customDataSourceId = $customDataSourceId;
- }
- public function getCustomDataSourceId()
- {
- return $this->customDataSourceId;
- }
- public function setDate($date)
- {
- $this->date = $date;
- }
- public function getDate()
- {
- return $this->date;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextAppendLink($nextAppendLink)
- {
- $this->nextAppendLink = $nextAppendLink;
- }
- public function getNextAppendLink()
- {
- return $this->nextAppendLink;
- }
- public function setWebPropertyId($webPropertyId)
- {
- $this->webPropertyId = $webPropertyId;
- }
- public function getWebPropertyId()
- {
- return $this->webPropertyId;
- }
-}
-
-class Google_Service_Analytics_DailyUploadParentLink extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $href;
- public $type;
-
-
- public function setHref($href)
- {
- $this->href = $href;
- }
- public function getHref()
- {
- return $this->href;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
-}
-
-class Google_Service_Analytics_DailyUploadRecentChanges extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $change;
- public $time;
-
-
- public function setChange($change)
- {
- $this->change = $change;
- }
- public function getChange()
- {
- return $this->change;
- }
- public function setTime($time)
- {
- $this->time = $time;
- }
- public function getTime()
- {
- return $this->time;
- }
-}
-
-class Google_Service_Analytics_DailyUploads extends Google_Collection
-{
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- protected $itemsType = 'Google_Service_Analytics_DailyUpload';
- protected $itemsDataType = 'array';
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- public $startIndex;
- public $totalResults;
- public $username;
-
-
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setItemsPerPage($itemsPerPage)
- {
- $this->itemsPerPage = $itemsPerPage;
- }
- public function getItemsPerPage()
- {
- return $this->itemsPerPage;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextLink($nextLink)
- {
- $this->nextLink = $nextLink;
- }
- public function getNextLink()
- {
- return $this->nextLink;
- }
- public function setPreviousLink($previousLink)
- {
- $this->previousLink = $previousLink;
- }
- public function getPreviousLink()
- {
- return $this->previousLink;
- }
- public function setStartIndex($startIndex)
- {
- $this->startIndex = $startIndex;
- }
- public function getStartIndex()
- {
- return $this->startIndex;
- }
- public function setTotalResults($totalResults)
- {
- $this->totalResults = $totalResults;
- }
- public function getTotalResults()
- {
- return $this->totalResults;
- }
- public function setUsername($username)
- {
- $this->username = $username;
- }
- public function getUsername()
- {
- return $this->username;
- }
-}
-
class Google_Service_Analytics_EntityAdWordsLink extends Google_Collection
{
protected $collection_key = 'profileIds';
From 1b3d897b6fbc4cc9c544744e08bfa48d4f90a945 Mon Sep 17 00:00:00 2001
From: Silvano Luciani * For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From 9bb73ea0c19585e0d946b50c4236aaafa9c0ecd3 Mon Sep 17 00:00:00 2001 From: Silvano Luciani* For more information about this service, see the API - * Documentation + * Documentation *
* * @author Google, Inc. From cc043239aa0cbb77acdc19d9478aebdffd4ebc06 Mon Sep 17 00:00:00 2001 From: Silvano Luciani
* $computeService = new Google_Service_Compute(...);
- * $urlMaps = $computeService->urlMaps;
+ * $targetVpnGateways = $computeService->targetVpnGateways;
*
*/
-class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource
+class Google_Service_Compute_TargetVpnGateways_Resource extends Google_Service_Resource
{
/**
- * Deletes the specified UrlMap resource. (urlMaps.delete)
+ * Retrieves the list of target VPN gateways grouped by scope.
+ * (targetVpnGateways.aggregatedList)
*
- * @param string $project Name of the project scoping this request.
- * @param string $urlMap Name of the UrlMap resource to delete.
+ * @param string $project Project ID for this request.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_Operation
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Compute_TargetVpnGatewayAggregatedList
*/
- public function delete($project, $urlMap, $optParams = array())
+ public function aggregatedList($project, $optParams = array())
{
- $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array('project' => $project);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_TargetVpnGatewayAggregatedList");
}
/**
- * Returns the specified UrlMap resource. (urlMaps.get)
+ * Deletes the specified TargetVpnGateway resource. (targetVpnGateways.delete)
*
- * @param string $project Name of the project scoping this request.
- * @param string $urlMap Name of the UrlMap resource to return.
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param string $targetVpnGateway Name of the TargetVpnGateway resource to
+ * delete.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_UrlMap
+ * @return Google_Service_Compute_Operation
*/
- public function get($project, $urlMap, $optParams = array())
+ public function delete($project, $region, $targetVpnGateway, $optParams = array())
{
- $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Compute_UrlMap");
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
}
/**
- * Creates a UrlMap resource in the specified project using the data included in
- * the request. (urlMaps.insert)
+ * Returns the specified TargetVpnGateway resource. (targetVpnGateways.get)
*
- * @param string $project Name of the project scoping this request.
- * @param Google_UrlMap $postBody
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param string $targetVpnGateway Name of the TargetVpnGateway resource to
+ * return.
* @param array $optParams Optional parameters.
- * @return Google_Service_Compute_Operation
+ * @return Google_Service_Compute_TargetVpnGateway
*/
- public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ public function get($project, $region, $targetVpnGateway, $optParams = array())
{
- $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array('project' => $project, 'region' => $region, 'targetVpnGateway' => $targetVpnGateway);
$params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ return $this->call('get', array($params), "Google_Service_Compute_TargetVpnGateway");
}
/**
- * Retrieves the list of UrlMap resources available to the specified project.
- * (urlMaps.listUrlMaps)
+ * Creates a TargetVpnGateway resource in the specified project and region using
+ * the data included in the request. (targetVpnGateways.insert)
*
- * @param string $project Name of the project scoping this request.
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param Google_TargetVpnGateway $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_TargetVpnGateway $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of TargetVpnGateway resources available to the specified
+ * project and region. (targetVpnGateways.listTargetVpnGateways)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Compute_TargetVpnGatewayList
+ */
+ public function listTargetVpnGateways($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_TargetVpnGatewayList");
+ }
+}
+
+/**
+ * The "urlMaps" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $urlMaps = $computeService->urlMaps;
+ *
+ */
+class Google_Service_Compute_UrlMaps_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified UrlMap resource. (urlMaps.delete)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified UrlMap resource. (urlMaps.get)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param string $urlMap Name of the UrlMap resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_UrlMap
+ */
+ public function get($project, $urlMap, $optParams = array())
+ {
+ $params = array('project' => $project, 'urlMap' => $urlMap);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_UrlMap");
+ }
+
+ /**
+ * Creates a UrlMap resource in the specified project using the data included in
+ * the request. (urlMaps.insert)
+ *
+ * @param string $project Name of the project scoping this request.
+ * @param Google_UrlMap $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, Google_Service_Compute_UrlMap $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of UrlMap resources available to the specified project.
+ * (urlMaps.listUrlMaps)
+ *
+ * @param string $project Name of the project scoping this request.
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. Filter expression for filtering listed
@@ -5485,6 +5823,112 @@ public function validate($project, $urlMap, Google_Service_Compute_UrlMapsValida
}
}
+/**
+ * The "vpnTunnels" collection of methods.
+ * Typical usage is:
+ *
+ * $computeService = new Google_Service_Compute(...);
+ * $vpnTunnels = $computeService->vpnTunnels;
+ *
+ */
+class Google_Service_Compute_VpnTunnels_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Retrieves the list of VPN tunnels grouped by scope.
+ * (vpnTunnels.aggregatedList)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Compute_VpnTunnelAggregatedList
+ */
+ public function aggregatedList($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregatedList', array($params), "Google_Service_Compute_VpnTunnelAggregatedList");
+ }
+
+ /**
+ * Deletes the specified VpnTunnel resource. (vpnTunnels.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param string $vpnTunnel Name of the VpnTunnel resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function delete($project, $region, $vpnTunnel, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Returns the specified VpnTunnel resource. (vpnTunnels.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param string $vpnTunnel Name of the VpnTunnel resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_VpnTunnel
+ */
+ public function get($project, $region, $vpnTunnel, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'vpnTunnel' => $vpnTunnel);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Compute_VpnTunnel");
+ }
+
+ /**
+ * Creates a VpnTunnel resource in the specified project and region using the
+ * data included in the request. (vpnTunnels.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param Google_VpnTunnel $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Compute_Operation
+ */
+ public function insert($project, $region, Google_Service_Compute_VpnTunnel $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Compute_Operation");
+ }
+
+ /**
+ * Retrieves the list of VpnTunnel resources contained in the specified project
+ * and region. (vpnTunnels.listVpnTunnels)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $region The name of the region for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Compute_VpnTunnelList
+ */
+ public function listVpnTunnels($project, $region, $optParams = array())
+ {
+ $params = array('project' => $project, 'region' => $region);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Compute_VpnTunnelList");
+ }
+}
+
/**
* The "zoneOperations" collection of methods.
* Typical usage is:
@@ -8153,6 +8597,7 @@ class Google_Service_Compute_Instance extends Google_Collection
protected $internal_gapi_mappings = array(
);
public $canIpForward;
+ public $cpuPlatform;
public $creationTimestamp;
public $description;
protected $disksType = 'Google_Service_Compute_AttachedDisk';
@@ -8185,6 +8630,14 @@ public function getCanIpForward()
{
return $this->canIpForward;
}
+ public function setCpuPlatform($cpuPlatform)
+ {
+ $this->cpuPlatform = $cpuPlatform;
+ }
+ public function getCpuPlatform()
+ {
+ return $this->cpuPlatform;
+ }
public function setCreationTimestamp($creationTimestamp)
{
$this->creationTimestamp = $creationTimestamp;
@@ -11761,69 +12214,22 @@ public function getTarget()
}
}
-class Google_Service_Compute_TestFailure extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $actualService;
- public $expectedService;
- public $host;
- public $path;
-
-
- public function setActualService($actualService)
- {
- $this->actualService = $actualService;
- }
- public function getActualService()
- {
- return $this->actualService;
- }
- public function setExpectedService($expectedService)
- {
- $this->expectedService = $expectedService;
- }
- public function getExpectedService()
- {
- return $this->expectedService;
- }
- public function setHost($host)
- {
- $this->host = $host;
- }
- public function getHost()
- {
- return $this->host;
- }
- public function setPath($path)
- {
- $this->path = $path;
- }
- public function getPath()
- {
- return $this->path;
- }
-}
-
-class Google_Service_Compute_UrlMap extends Google_Collection
+class Google_Service_Compute_TargetVpnGateway extends Google_Collection
{
- protected $collection_key = 'tests';
+ protected $collection_key = 'tunnels';
protected $internal_gapi_mappings = array(
);
public $creationTimestamp;
- public $defaultService;
public $description;
- public $fingerprint;
- protected $hostRulesType = 'Google_Service_Compute_HostRule';
- protected $hostRulesDataType = 'array';
+ public $forwardingRules;
public $id;
public $kind;
public $name;
- protected $pathMatchersType = 'Google_Service_Compute_PathMatcher';
- protected $pathMatchersDataType = 'array';
+ public $network;
+ public $region;
public $selfLink;
- protected $testsType = 'Google_Service_Compute_UrlMapTest';
- protected $testsDataType = 'array';
+ public $status;
+ public $tunnels;
public function setCreationTimestamp($creationTimestamp)
@@ -11834,14 +12240,6 @@ public function getCreationTimestamp()
{
return $this->creationTimestamp;
}
- public function setDefaultService($defaultService)
- {
- $this->defaultService = $defaultService;
- }
- public function getDefaultService()
- {
- return $this->defaultService;
- }
public function setDescription($description)
{
$this->description = $description;
@@ -11850,27 +12248,19 @@ public function getDescription()
{
return $this->description;
}
- public function setFingerprint($fingerprint)
+ public function setForwardingRules($forwardingRules)
{
- $this->fingerprint = $fingerprint;
+ $this->forwardingRules = $forwardingRules;
}
- public function getFingerprint()
+ public function getForwardingRules()
{
- return $this->fingerprint;
+ return $this->forwardingRules;
}
- public function setHostRules($hostRules)
+ public function setId($id)
{
- $this->hostRules = $hostRules;
+ $this->id = $id;
}
- public function getHostRules()
- {
- return $this->hostRules;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
+ public function getId()
{
return $this->id;
}
@@ -11890,13 +12280,21 @@ public function getName()
{
return $this->name;
}
- public function setPathMatchers($pathMatchers)
+ public function setNetwork($network)
{
- $this->pathMatchers = $pathMatchers;
+ $this->network = $network;
}
- public function getPathMatchers()
+ public function getNetwork()
{
- return $this->pathMatchers;
+ return $this->network;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
}
public function setSelfLink($selfLink)
{
@@ -11906,24 +12304,31 @@ public function getSelfLink()
{
return $this->selfLink;
}
- public function setTests($tests)
+ public function setStatus($status)
{
- $this->tests = $tests;
+ $this->status = $status;
}
- public function getTests()
+ public function getStatus()
{
- return $this->tests;
+ return $this->status;
+ }
+ public function setTunnels($tunnels)
+ {
+ $this->tunnels = $tunnels;
+ }
+ public function getTunnels()
+ {
+ return $this->tunnels;
}
}
-class Google_Service_Compute_UrlMapList extends Google_Collection
+class Google_Service_Compute_TargetVpnGatewayAggregatedList extends Google_Model
{
- protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
public $id;
- protected $itemsType = 'Google_Service_Compute_UrlMap';
- protected $itemsDataType = 'array';
+ protected $itemsType = 'Google_Service_Compute_TargetVpnGatewaysScopedList';
+ protected $itemsDataType = 'map';
public $kind;
public $nextPageToken;
public $selfLink;
@@ -11971,172 +12376,882 @@ public function getSelfLink()
}
}
-class Google_Service_Compute_UrlMapReference extends Google_Model
+class Google_Service_Compute_TargetVpnGatewayAggregatedListItems extends Google_Model
+{
+}
+
+class Google_Service_Compute_TargetVpnGatewayList extends Google_Collection
{
+ protected $collection_key = 'items';
protected $internal_gapi_mappings = array(
);
- public $urlMap;
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_TargetVpnGateway';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
- public function setUrlMap($urlMap)
+ public function setId($id)
{
- $this->urlMap = $urlMap;
+ $this->id = $id;
}
- public function getUrlMap()
+ public function getId()
{
- return $this->urlMap;
+ return $this->id;
}
-}
-
-class Google_Service_Compute_UrlMapTest extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $description;
- public $host;
- public $path;
- public $service;
-
-
- public function setDescription($description)
+ public function setItems($items)
{
- $this->description = $description;
+ $this->items = $items;
}
- public function getDescription()
+ public function getItems()
{
- return $this->description;
+ return $this->items;
}
- public function setHost($host)
+ public function setKind($kind)
{
- $this->host = $host;
+ $this->kind = $kind;
}
- public function getHost()
+ public function getKind()
{
- return $this->host;
+ return $this->kind;
}
- public function setPath($path)
+ public function setNextPageToken($nextPageToken)
{
- $this->path = $path;
+ $this->nextPageToken = $nextPageToken;
}
- public function getPath()
+ public function getNextPageToken()
{
- return $this->path;
+ return $this->nextPageToken;
}
- public function setService($service)
+ public function setSelfLink($selfLink)
{
- $this->service = $service;
+ $this->selfLink = $selfLink;
}
- public function getService()
+ public function getSelfLink()
{
- return $this->service;
+ return $this->selfLink;
}
}
-class Google_Service_Compute_UrlMapValidationResult extends Google_Collection
+class Google_Service_Compute_TargetVpnGatewaysScopedList extends Google_Collection
{
- protected $collection_key = 'testFailures';
+ protected $collection_key = 'targetVpnGateways';
protected $internal_gapi_mappings = array(
);
- public $loadErrors;
- public $loadSucceeded;
- protected $testFailuresType = 'Google_Service_Compute_TestFailure';
- protected $testFailuresDataType = 'array';
- public $testPassed;
+ protected $targetVpnGatewaysType = 'Google_Service_Compute_TargetVpnGateway';
+ protected $targetVpnGatewaysDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarning';
+ protected $warningDataType = '';
- public function setLoadErrors($loadErrors)
+ public function setTargetVpnGateways($targetVpnGateways)
{
- $this->loadErrors = $loadErrors;
+ $this->targetVpnGateways = $targetVpnGateways;
}
- public function getLoadErrors()
+ public function getTargetVpnGateways()
{
- return $this->loadErrors;
+ return $this->targetVpnGateways;
}
- public function setLoadSucceeded($loadSucceeded)
+ public function setWarning(Google_Service_Compute_TargetVpnGatewaysScopedListWarning $warning)
{
- $this->loadSucceeded = $loadSucceeded;
+ $this->warning = $warning;
}
- public function getLoadSucceeded()
+ public function getWarning()
{
- return $this->loadSucceeded;
+ return $this->warning;
}
- public function setTestFailures($testFailures)
+}
+
+class Google_Service_Compute_TargetVpnGatewaysScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_Compute_TargetVpnGatewaysScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
{
- $this->testFailures = $testFailures;
+ $this->code = $code;
}
- public function getTestFailures()
+ public function getCode()
{
- return $this->testFailures;
+ return $this->code;
}
- public function setTestPassed($testPassed)
+ public function setData($data)
{
- $this->testPassed = $testPassed;
+ $this->data = $data;
}
- public function getTestPassed()
+ public function getData()
{
- return $this->testPassed;
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
}
}
-class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model
+class Google_Service_Compute_TargetVpnGatewaysScopedListWarningData extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $resourceType = 'Google_Service_Compute_UrlMap';
- protected $resourceDataType = '';
+ public $key;
+ public $value;
- public function setResource(Google_Service_Compute_UrlMap $resource)
+ public function setKey($key)
{
- $this->resource = $resource;
+ $this->key = $key;
}
- public function getResource()
+ public function getKey()
{
- return $this->resource;
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
}
}
-class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model
+class Google_Service_Compute_TestFailure extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $resultType = 'Google_Service_Compute_UrlMapValidationResult';
- protected $resultDataType = '';
+ public $actualService;
+ public $expectedService;
+ public $host;
+ public $path;
- public function setResult(Google_Service_Compute_UrlMapValidationResult $result)
+ public function setActualService($actualService)
{
- $this->result = $result;
+ $this->actualService = $actualService;
}
- public function getResult()
+ public function getActualService()
{
- return $this->result;
+ return $this->actualService;
+ }
+ public function setExpectedService($expectedService)
+ {
+ $this->expectedService = $expectedService;
+ }
+ public function getExpectedService()
+ {
+ return $this->expectedService;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
}
}
-class Google_Service_Compute_UsageExportLocation extends Google_Model
+class Google_Service_Compute_UrlMap extends Google_Collection
{
+ protected $collection_key = 'tests';
protected $internal_gapi_mappings = array(
);
- public $bucketName;
- public $reportNamePrefix;
+ public $creationTimestamp;
+ public $defaultService;
+ public $description;
+ public $fingerprint;
+ protected $hostRulesType = 'Google_Service_Compute_HostRule';
+ protected $hostRulesDataType = 'array';
+ public $id;
+ public $kind;
+ public $name;
+ protected $pathMatchersType = 'Google_Service_Compute_PathMatcher';
+ protected $pathMatchersDataType = 'array';
+ public $selfLink;
+ protected $testsType = 'Google_Service_Compute_UrlMapTest';
+ protected $testsDataType = 'array';
- public function setBucketName($bucketName)
+ public function setCreationTimestamp($creationTimestamp)
{
- $this->bucketName = $bucketName;
+ $this->creationTimestamp = $creationTimestamp;
}
- public function getBucketName()
+ public function getCreationTimestamp()
{
- return $this->bucketName;
+ return $this->creationTimestamp;
}
- public function setReportNamePrefix($reportNamePrefix)
+ public function setDefaultService($defaultService)
{
- $this->reportNamePrefix = $reportNamePrefix;
+ $this->defaultService = $defaultService;
}
- public function getReportNamePrefix()
+ public function getDefaultService()
{
- return $this->reportNamePrefix;
+ return $this->defaultService;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setHostRules($hostRules)
+ {
+ $this->hostRules = $hostRules;
+ }
+ public function getHostRules()
+ {
+ return $this->hostRules;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPathMatchers($pathMatchers)
+ {
+ $this->pathMatchers = $pathMatchers;
+ }
+ public function getPathMatchers()
+ {
+ return $this->pathMatchers;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setTests($tests)
+ {
+ $this->tests = $tests;
+ }
+ public function getTests()
+ {
+ return $this->tests;
+ }
+}
+
+class Google_Service_Compute_UrlMapList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_UrlMap';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_UrlMapReference extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $urlMap;
+
+
+ public function setUrlMap($urlMap)
+ {
+ $this->urlMap = $urlMap;
+ }
+ public function getUrlMap()
+ {
+ return $this->urlMap;
+ }
+}
+
+class Google_Service_Compute_UrlMapTest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $host;
+ public $path;
+ public $service;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setHost($host)
+ {
+ $this->host = $host;
+ }
+ public function getHost()
+ {
+ return $this->host;
+ }
+ public function setPath($path)
+ {
+ $this->path = $path;
+ }
+ public function getPath()
+ {
+ return $this->path;
+ }
+ public function setService($service)
+ {
+ $this->service = $service;
+ }
+ public function getService()
+ {
+ return $this->service;
+ }
+}
+
+class Google_Service_Compute_UrlMapValidationResult extends Google_Collection
+{
+ protected $collection_key = 'testFailures';
+ protected $internal_gapi_mappings = array(
+ );
+ public $loadErrors;
+ public $loadSucceeded;
+ protected $testFailuresType = 'Google_Service_Compute_TestFailure';
+ protected $testFailuresDataType = 'array';
+ public $testPassed;
+
+
+ public function setLoadErrors($loadErrors)
+ {
+ $this->loadErrors = $loadErrors;
+ }
+ public function getLoadErrors()
+ {
+ return $this->loadErrors;
+ }
+ public function setLoadSucceeded($loadSucceeded)
+ {
+ $this->loadSucceeded = $loadSucceeded;
+ }
+ public function getLoadSucceeded()
+ {
+ return $this->loadSucceeded;
+ }
+ public function setTestFailures($testFailures)
+ {
+ $this->testFailures = $testFailures;
+ }
+ public function getTestFailures()
+ {
+ return $this->testFailures;
+ }
+ public function setTestPassed($testPassed)
+ {
+ $this->testPassed = $testPassed;
+ }
+ public function getTestPassed()
+ {
+ return $this->testPassed;
+ }
+}
+
+class Google_Service_Compute_UrlMapsValidateRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_Compute_UrlMap';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_Compute_UrlMap $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Compute_UrlMapsValidateResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resultType = 'Google_Service_Compute_UrlMapValidationResult';
+ protected $resultDataType = '';
+
+
+ public function setResult(Google_Service_Compute_UrlMapValidationResult $result)
+ {
+ $this->result = $result;
+ }
+ public function getResult()
+ {
+ return $this->result;
+ }
+}
+
+class Google_Service_Compute_UsageExportLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $bucketName;
+ public $reportNamePrefix;
+
+
+ public function setBucketName($bucketName)
+ {
+ $this->bucketName = $bucketName;
+ }
+ public function getBucketName()
+ {
+ return $this->bucketName;
+ }
+ public function setReportNamePrefix($reportNamePrefix)
+ {
+ $this->reportNamePrefix = $reportNamePrefix;
+ }
+ public function getReportNamePrefix()
+ {
+ return $this->reportNamePrefix;
+ }
+}
+
+class Google_Service_Compute_VpnTunnel extends Google_Collection
+{
+ protected $collection_key = 'ikeNetworks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $detailedStatus;
+ public $id;
+ public $ikeNetworks;
+ public $ikeVersion;
+ public $kind;
+ public $name;
+ public $peerIp;
+ public $region;
+ public $selfLink;
+ public $sharedSecret;
+ public $sharedSecretHash;
+ public $status;
+ public $targetVpnGateway;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setDetailedStatus($detailedStatus)
+ {
+ $this->detailedStatus = $detailedStatus;
+ }
+ public function getDetailedStatus()
+ {
+ return $this->detailedStatus;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIkeNetworks($ikeNetworks)
+ {
+ $this->ikeNetworks = $ikeNetworks;
+ }
+ public function getIkeNetworks()
+ {
+ return $this->ikeNetworks;
+ }
+ public function setIkeVersion($ikeVersion)
+ {
+ $this->ikeVersion = $ikeVersion;
+ }
+ public function getIkeVersion()
+ {
+ return $this->ikeVersion;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPeerIp($peerIp)
+ {
+ $this->peerIp = $peerIp;
+ }
+ public function getPeerIp()
+ {
+ return $this->peerIp;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setSharedSecret($sharedSecret)
+ {
+ $this->sharedSecret = $sharedSecret;
+ }
+ public function getSharedSecret()
+ {
+ return $this->sharedSecret;
+ }
+ public function setSharedSecretHash($sharedSecretHash)
+ {
+ $this->sharedSecretHash = $sharedSecretHash;
+ }
+ public function getSharedSecretHash()
+ {
+ return $this->sharedSecretHash;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTargetVpnGateway($targetVpnGateway)
+ {
+ $this->targetVpnGateway = $targetVpnGateway;
+ }
+ public function getTargetVpnGateway()
+ {
+ return $this->targetVpnGateway;
+ }
+}
+
+class Google_Service_Compute_VpnTunnelAggregatedList extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_VpnTunnelsScopedList';
+ protected $itemsDataType = 'map';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_VpnTunnelAggregatedListItems extends Google_Model
+{
+}
+
+class Google_Service_Compute_VpnTunnelList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_Compute_VpnTunnel';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Compute_VpnTunnelsScopedList extends Google_Collection
+{
+ protected $collection_key = 'vpnTunnels';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $vpnTunnelsType = 'Google_Service_Compute_VpnTunnel';
+ protected $vpnTunnelsDataType = 'array';
+ protected $warningType = 'Google_Service_Compute_VpnTunnelsScopedListWarning';
+ protected $warningDataType = '';
+
+
+ public function setVpnTunnels($vpnTunnels)
+ {
+ $this->vpnTunnels = $vpnTunnels;
+ }
+ public function getVpnTunnels()
+ {
+ return $this->vpnTunnels;
+ }
+ public function setWarning(Google_Service_Compute_VpnTunnelsScopedListWarning $warning)
+ {
+ $this->warning = $warning;
+ }
+ public function getWarning()
+ {
+ return $this->warning;
+ }
+}
+
+class Google_Service_Compute_VpnTunnelsScopedListWarning extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_Compute_VpnTunnelsScopedListWarningData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Compute_VpnTunnelsScopedListWarningData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
}
}
From 67a61f0bfef708466bc5c17333232e1a727fb6fb Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $streamingVariantStore = $genomicsService->streamingVariantStore;
+ *
+ */
+class Google_Service_Genomics_StreamingVariantStore_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a stream of all the variants matching the search request, ordered by
+ * reference name, position, and ID. (streamingVariantStore.streamvariants)
+ *
+ * @param Google_StreamVariantsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_Variant
+ */
+ public function streamvariants(Google_Service_Genomics_StreamVariantsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('streamvariants', array($params), "Google_Service_Genomics_Variant");
+ }
+}
+
/**
* The "variants" collection of methods.
* Typical usage is:
@@ -4998,6 +5040,60 @@ public function getVariants()
}
}
+class Google_Service_Genomics_StreamVariantsRequest extends Google_Collection
+{
+ protected $collection_key = 'variantSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $callSetIds;
+ public $end;
+ public $referenceName;
+ public $start;
+ public $variantSetIds;
+
+
+ public function setCallSetIds($callSetIds)
+ {
+ $this->callSetIds = $callSetIds;
+ }
+ public function getCallSetIds()
+ {
+ return $this->callSetIds;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+ public function setVariantSetIds($variantSetIds)
+ {
+ $this->variantSetIds = $variantSetIds;
+ }
+ public function getVariantSetIds()
+ {
+ return $this->variantSetIds;
+ }
+}
+
class Google_Service_Genomics_Transcript extends Google_Collection
{
protected $collection_key = 'exons';
From f3aad4382a8bf23b0fe311cc425831dcfb214033 Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Cloudsearch extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + /** FOR TESTING ONLY. */ + const CLOUDSEARCH = + "https://www.googleapis.com/auth/cloudsearch"; + /** View your email address. */ + const USERINFO_EMAIL = + "https://www.googleapis.com/auth/userinfo.email"; + + public $projects_indexes; + public $projects_indexes_documents; + + + /** + * Constructs the internal representation of the Cloudsearch service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = ''; + $this->version = 'v1'; + $this->serviceName = 'cloudsearch'; + + $this->projects_indexes = new Google_Service_Cloudsearch_ProjectsIndexes_Resource( + $this, + $this->serviceName, + 'indexes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1/projects/{projectId}/indexes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexNamePrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ),'search' => array( + 'path' => 'v1/projects/{projectId}/indexes/{indexId}/search', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'query' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'fieldExpressions' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'offset' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'matchedCountAccuracy' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scorer' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'scorerSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'returnFields' => array( + 'location' => 'query', + 'type' => 'string', + 'repeated' => true, + ), + ), + ), + ) + ) + ); + $this->projects_indexes_documents = new Google_Service_Cloudsearch_ProjectsIndexesDocuments_Resource( + $this, + $this->serviceName, + 'documents', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1/projects/{projectId}/indexes/{indexId}/documents', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1/projects/{projectId}/indexes/{indexId}/documents/{docId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'docId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1/projects/{projectId}/indexes/{indexId}/documents/{docId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'docId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1/projects/{projectId}/indexes/{indexId}/documents', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'view' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "projects" collection of methods. + * Typical usage is: + *
+ * $cloudsearchService = new Google_Service_Cloudsearch(...);
+ * $projects = $cloudsearchService->projects;
+ *
+ */
+class Google_Service_Cloudsearch_Projects_Resource extends Google_Service_Resource
+{
+}
+
+/**
+ * The "indexes" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudsearchService = new Google_Service_Cloudsearch(...);
+ * $indexes = $cloudsearchService->indexes;
+ *
+ */
+class Google_Service_Cloudsearch_ProjectsIndexes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists search indexes belonging to the specified project.
+ * (indexes.listProjectsIndexes)
+ *
+ * @param string $projectId The project from which to retrieve indexes. It
+ * cannot be the empty string.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string indexNamePrefix The prefix of the index name. It is used to
+ * list all indexes with names that have this prefix.
+ * @opt_param int pageSize The maximum number of indexes to return per page. If
+ * not specified, 100 indexes are returned per page.
+ * @opt_param string pageToken A `nextPageToken` returned from previous list
+ * indexes call as the starting point for this call. If not specified, list
+ * indexes from the beginning.
+ * @opt_param string view Specifies which parts of the IndexInfo resource is
+ * returned in the response. If not specified, `ID_ONLY` is used.
+ * @return Google_Service_Cloudsearch_ListIndexesResponse
+ */
+ public function listProjectsIndexes($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudsearch_ListIndexesResponse");
+ }
+
+ /**
+ * Lists the documents in the named index that match the query. (indexes.search)
+ *
+ * @param string $projectId The project associated with the index for searching
+ * document. It cannot be the empty string.
+ * @param string $indexId The index to search. It cannot be the empty string.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string query The query string in search query syntax. If the query
+ * is missing or empty, all documents are returned.
+ * @opt_param string fieldExpressions Customized expressions used in `orderBy`
+ * or `returnFields`. The expression can contain fields in `Document`, the
+ * built-in fields ( `_rank`, the document rank, and `_score` if scoring is
+ * enabled) and fields defined in `fieldExpressions`. Each field expression is
+ * represented in a json object with the following fields: * `name`: the name of
+ * the field expression in string. * `expression`: the expression to be
+ * computed. It can be a combination of supported functions encoded in string.
+ * Expressions involving number fields can use the arithmetical operators (`+`,
+ * `-`, `*`, `/`) and the built-in numeric functions (`max`, `min`, `pow`,
+ * `count`, `log`, `abs`). Expressions involving geopoint fields can use the
+ * `geopoint` and `distance` functions. Expressions for text and html fields can
+ * use the `snippet` function. For example: ``` fieldExpressions={name:
+ * "TotalPrice", expression: "(Price+Tax)"} ``` ``` fieldExpressions={name:
+ * "snippet", expression: "snippet('good times', content)"} ``` The field
+ * expression names can be used in `orderBy` and `returnFields` after they are
+ * defined in `fieldExpressions`.
+ * @opt_param int pageSize The maximum number of search results to return per
+ * page. Searches perform best when the `pageSize` is kept as small as possible.
+ * If not specified, 10 results are returned per page.
+ * @opt_param string pageToken A `nextPageToken` returned from previous Search
+ * call as the starting point for this call. Pagination tokens provide better
+ * performance and consistency than offsets, and they cannot be used in
+ * combination with offsets.
+ * @opt_param int offset Offset is used to move to an arbitrary result,
+ * independent of the previous results. Offsets are inefficient when compared to
+ * `pageToken`. `pageToken` and `offset` cannot be both set. The default value
+ * of `offset` is 0.
+ * @opt_param int matchedCountAccuracy Minimum accuracy requirement for
+ * `matchedCount` in search response. If specified, `matchedCount` will be
+ * accurate up to at least that number. For example, when set to 100, any
+ * `matchedCount <= 100` is accurate. This option may add considerable
+ * latency/expense. By default (when it is not specified or set to 0), the
+ * accuracy is the same as `pageSize`.
+ * @opt_param string orderBy Comma-separated list of fields for sorting on the
+ * search result, including fields from `Document`, the built-in fields (`_rank`
+ * and `_score`), and fields defined in `fieldExpressions`. For example:
+ * `orderBy="foo,bar"`. The default sorting order is ascending. To specify
+ * descending order for a field, a suffix `" desc"` should be appended to the
+ * field name. For example: `orderBy="foo desc,bar"`. The default value for text
+ * sort is the empty string, and the default value for numeric sort is 0. If not
+ * specified, the search results are automatically sorted by descending `_rank`.
+ * Sorting by ascending `_rank` is not allowed.
+ * @opt_param string scorer The scoring function to invoke on a search result
+ * for this query. If `scorer` is not set, scoring is disabled and `_score` is 0
+ * for all documents in the search result. To enable document relevancy score
+ * based on term frequency, set `"scorer=generic"`.
+ * @opt_param int scorerSize Maximum number of top retrieved results to score.
+ * It is valid only when `scorer` is set. If not specified, 100 retrieved
+ * results are scored.
+ * @opt_param string returnFields List of fields to return in `SearchResult`
+ * objects. It can be fields from `Document`, the built-in fields `_rank` and
+ * `_score`, and fields defined in `fieldExpressions`. Use `"*"` to return all
+ * fields from `Document`.
+ * @return Google_Service_Cloudsearch_SearchResponse
+ */
+ public function search($projectId, $indexId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'indexId' => $indexId);
+ $params = array_merge($params, $optParams);
+ return $this->call('search', array($params), "Google_Service_Cloudsearch_SearchResponse");
+ }
+}
+
+/**
+ * The "documents" collection of methods.
+ * Typical usage is:
+ *
+ * $cloudsearchService = new Google_Service_Cloudsearch(...);
+ * $documents = $cloudsearchService->documents;
+ *
+ */
+class Google_Service_Cloudsearch_ProjectsIndexesDocuments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Inserts a document for indexing or updates an indexed document. The returned
+ * document contains only the ID of the new document. When `docId` is absent
+ * from the document, it is provided by the server. (documents.create)
+ *
+ * @param string $projectId The project associated with the index for adding
+ * document. It cannot be the empty string.
+ * @param string $indexId The index to add document to. It cannot be the empty
+ * string.
+ * @param Google_Document $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudsearch_Document
+ */
+ public function create($projectId, $indexId, Google_Service_Cloudsearch_Document $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'indexId' => $indexId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Cloudsearch_Document");
+ }
+
+ /**
+ * Deletes a document from an index. (documents.delete)
+ *
+ * @param string $projectId The project associated with the index for deleting
+ * document. It cannot be the empty string.
+ * @param string $indexId The index from which to delete the document. It cannot
+ * be the empty string.
+ * @param string $docId The document to be deleted. It cannot be the empty
+ * string.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudsearch_Empty
+ */
+ public function delete($projectId, $indexId, $docId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'indexId' => $indexId, 'docId' => $docId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Cloudsearch_Empty");
+ }
+
+ /**
+ * Retrieves a document from an index. (documents.get)
+ *
+ * @param string $projectId The project associated with the index for retrieving
+ * the document. It cannot be the empty string.
+ * @param string $indexId The index from which to retrieve the document. It
+ * cannot be the empty string.
+ * @param string $docId The identifier of the document to retrieve. It cannot be
+ * the empty string.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudsearch_Document
+ */
+ public function get($projectId, $indexId, $docId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'indexId' => $indexId, 'docId' => $docId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Cloudsearch_Document");
+ }
+
+ /**
+ * Lists documents in the specified search index. Intended for batch processing.
+ * (documents.listProjectsIndexesDocuments)
+ *
+ * @param string $projectId The project associated with the index for listing
+ * documents. It cannot be the empty string.
+ * @param string $indexId The index from which to list the documents. It cannot
+ * be the empty string.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize The maximum number of documents to return per page.
+ * If not specified, 100 documents are returned per page.
+ * @opt_param string pageToken A `nextPageToken` returned from previous list
+ * documents call as the starting point for this call. If not specified, list
+ * documents from the beginning.
+ * @opt_param string view Specifies which part of the document resource is
+ * returned in the response. If not specified, `ID_ONLY` is used.
+ * @return Google_Service_Cloudsearch_ListDocumentsResponse
+ */
+ public function listProjectsIndexesDocuments($projectId, $indexId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'indexId' => $indexId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudsearch_ListDocumentsResponse");
+ }
+}
+
+
+
+
+class Google_Service_Cloudsearch_Document extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $docId;
+ protected $fieldsType = 'Google_Service_Cloudsearch_FieldValueList';
+ protected $fieldsDataType = 'map';
+ public $rank;
+
+
+ public function setDocId($docId)
+ {
+ $this->docId = $docId;
+ }
+ public function getDocId()
+ {
+ return $this->docId;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setRank($rank)
+ {
+ $this->rank = $rank;
+ }
+ public function getRank()
+ {
+ return $this->rank;
+ }
+}
+
+class Google_Service_Cloudsearch_DocumentFields extends Google_Model
+{
+}
+
+class Google_Service_Cloudsearch_Empty extends Google_Model
+{
+}
+
+class Google_Service_Cloudsearch_FieldNames extends Google_Collection
+{
+ protected $collection_key = 'textFields';
+ protected $internal_gapi_mappings = array(
+ );
+ public $atomFields;
+ public $dateFields;
+ public $geoFields;
+ public $htmlFields;
+ public $numberFields;
+ public $textFields;
+
+
+ public function setAtomFields($atomFields)
+ {
+ $this->atomFields = $atomFields;
+ }
+ public function getAtomFields()
+ {
+ return $this->atomFields;
+ }
+ public function setDateFields($dateFields)
+ {
+ $this->dateFields = $dateFields;
+ }
+ public function getDateFields()
+ {
+ return $this->dateFields;
+ }
+ public function setGeoFields($geoFields)
+ {
+ $this->geoFields = $geoFields;
+ }
+ public function getGeoFields()
+ {
+ return $this->geoFields;
+ }
+ public function setHtmlFields($htmlFields)
+ {
+ $this->htmlFields = $htmlFields;
+ }
+ public function getHtmlFields()
+ {
+ return $this->htmlFields;
+ }
+ public function setNumberFields($numberFields)
+ {
+ $this->numberFields = $numberFields;
+ }
+ public function getNumberFields()
+ {
+ return $this->numberFields;
+ }
+ public function setTextFields($textFields)
+ {
+ $this->textFields = $textFields;
+ }
+ public function getTextFields()
+ {
+ return $this->textFields;
+ }
+}
+
+class Google_Service_Cloudsearch_FieldValue extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $geoValue;
+ public $lang;
+ public $numberValue;
+ public $stringFormat;
+ public $stringValue;
+ public $timestampValue;
+
+
+ public function setGeoValue($geoValue)
+ {
+ $this->geoValue = $geoValue;
+ }
+ public function getGeoValue()
+ {
+ return $this->geoValue;
+ }
+ public function setLang($lang)
+ {
+ $this->lang = $lang;
+ }
+ public function getLang()
+ {
+ return $this->lang;
+ }
+ public function setNumberValue($numberValue)
+ {
+ $this->numberValue = $numberValue;
+ }
+ public function getNumberValue()
+ {
+ return $this->numberValue;
+ }
+ public function setStringFormat($stringFormat)
+ {
+ $this->stringFormat = $stringFormat;
+ }
+ public function getStringFormat()
+ {
+ return $this->stringFormat;
+ }
+ public function setStringValue($stringValue)
+ {
+ $this->stringValue = $stringValue;
+ }
+ public function getStringValue()
+ {
+ return $this->stringValue;
+ }
+ public function setTimestampValue($timestampValue)
+ {
+ $this->timestampValue = $timestampValue;
+ }
+ public function getTimestampValue()
+ {
+ return $this->timestampValue;
+ }
+}
+
+class Google_Service_Cloudsearch_FieldValueList extends Google_Collection
+{
+ protected $collection_key = 'values';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $valuesType = 'Google_Service_Cloudsearch_FieldValue';
+ protected $valuesDataType = 'array';
+
+
+ public function setValues($values)
+ {
+ $this->values = $values;
+ }
+ public function getValues()
+ {
+ return $this->values;
+ }
+}
+
+class Google_Service_Cloudsearch_IndexInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $indexId;
+ protected $indexedFieldType = 'Google_Service_Cloudsearch_FieldNames';
+ protected $indexedFieldDataType = '';
+ public $projectId;
+
+
+ public function setIndexId($indexId)
+ {
+ $this->indexId = $indexId;
+ }
+ public function getIndexId()
+ {
+ return $this->indexId;
+ }
+ public function setIndexedField(Google_Service_Cloudsearch_FieldNames $indexedField)
+ {
+ $this->indexedField = $indexedField;
+ }
+ public function getIndexedField()
+ {
+ return $this->indexedField;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Google_Service_Cloudsearch_ListDocumentsResponse extends Google_Collection
+{
+ protected $collection_key = 'documents';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $documentsType = 'Google_Service_Cloudsearch_Document';
+ protected $documentsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setDocuments($documents)
+ {
+ $this->documents = $documents;
+ }
+ public function getDocuments()
+ {
+ return $this->documents;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Cloudsearch_ListIndexesResponse extends Google_Collection
+{
+ protected $collection_key = 'indexes';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $indexesType = 'Google_Service_Cloudsearch_IndexInfo';
+ protected $indexesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setIndexes($indexes)
+ {
+ $this->indexes = $indexes;
+ }
+ public function getIndexes()
+ {
+ return $this->indexes;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Cloudsearch_SearchResponse extends Google_Collection
+{
+ protected $collection_key = 'results';
+ protected $internal_gapi_mappings = array(
+ );
+ public $matchedCount;
+ protected $resultsType = 'Google_Service_Cloudsearch_SearchResult';
+ protected $resultsDataType = 'array';
+
+
+ public function setMatchedCount($matchedCount)
+ {
+ $this->matchedCount = $matchedCount;
+ }
+ public function getMatchedCount()
+ {
+ return $this->matchedCount;
+ }
+ public function setResults($results)
+ {
+ $this->results = $results;
+ }
+ public function getResults()
+ {
+ return $this->results;
+ }
+}
+
+class Google_Service_Cloudsearch_SearchResult extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $docId;
+ protected $fieldsType = 'Google_Service_Cloudsearch_FieldValueList';
+ protected $fieldsDataType = 'map';
+ public $nextPageToken;
+
+
+ public function setDocId($docId)
+ {
+ $this->docId = $docId;
+ }
+ public function getDocId()
+ {
+ return $this->docId;
+ }
+ public function setFields($fields)
+ {
+ $this->fields = $fields;
+ }
+ public function getFields()
+ {
+ return $this->fields;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Cloudsearch_SearchResultFields extends Google_Model
+{
+}
From 177f9ddacde46e717c1de854f2ae5ed86fc1bc4d Mon Sep 17 00:00:00 2001
From: Silvano Luciani + * For more information about this service, see the API + * Documentation + *
+ * + * @author Google, Inc. + */ +class Google_Service_Logging extends Google_Service +{ + /** View and manage your data across Google Cloud Platform services. */ + const CLOUD_PLATFORM = + "https://www.googleapis.com/auth/cloud-platform"; + + public $projects_logEntries; + public $projects_logServices; + public $projects_logServices_indexes; + public $projects_logServices_sinks; + public $projects_logs; + public $projects_logs_entries; + public $projects_logs_sinks; + public $projects_metrics; + + + /** + * Constructs the internal representation of the Logging service. + * + * @param Google_Client $client + */ + public function __construct(Google_Client $client) + { + parent::__construct($client); + $this->servicePath = ''; + $this->version = 'v1beta3'; + $this->serviceName = 'logging'; + + $this->projects_logEntries = new Google_Service_Logging_ProjectsLogEntries_Resource( + $this, + $this->serviceName, + 'logEntries', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/logEntries', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'filter' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'orderBy' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_logServices = new Google_Service_Logging_ProjectsLogServices_Resource( + $this, + $this->serviceName, + 'logServices', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'log' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_logServices_indexes = new Google_Service_Logging_ProjectsLogServicesIndexes_Resource( + $this, + $this->serviceName, + 'indexes', + array( + 'methods' => array( + 'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices/{logServicesId}/indexes', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logServicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'indexPrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'depth' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'log' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_logServices_sinks = new Google_Service_Logging_ProjectsLogServicesSinks_Resource( + $this, + $this->serviceName, + 'sinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices/{logServicesId}/sinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logServicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices/{logServicesId}/sinks/{sinksId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logServicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sinksId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices/{logServicesId}/sinks/{sinksId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logServicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sinksId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices/{logServicesId}/sinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logServicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1beta3/projects/{projectsId}/logServices/{logServicesId}/sinks/{sinksId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logServicesId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sinksId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_logs = new Google_Service_Logging_ProjectsLogs_Resource( + $this, + $this->serviceName, + 'logs', + array( + 'methods' => array( + 'delete' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'serviceName' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'serviceIndexPrefix' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + ), + ), + ) + ) + ); + $this->projects_logs_entries = new Google_Service_Logging_ProjectsLogsEntries_Resource( + $this, + $this->serviceName, + 'entries', + array( + 'methods' => array( + 'write' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}/entries:write', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_logs_sinks = new Google_Service_Logging_ProjectsLogsSinks_Resource( + $this, + $this->serviceName, + 'sinks', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}/sinks', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}/sinks/{sinksId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sinksId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}/sinks/{sinksId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sinksId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}/sinks', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'update' => array( + 'path' => 'v1beta3/projects/{projectsId}/logs/{logsId}/sinks/{sinksId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'logsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'sinksId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + $this->projects_metrics = new Google_Service_Logging_ProjectsMetrics_Resource( + $this, + $this->serviceName, + 'metrics', + array( + 'methods' => array( + 'create' => array( + 'path' => 'v1beta3/projects/{projectsId}/metrics', + 'httpMethod' => 'POST', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'delete' => array( + 'path' => 'v1beta3/projects/{projectsId}/metrics/{metricsId}', + 'httpMethod' => 'DELETE', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metricsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'get' => array( + 'path' => 'v1beta3/projects/{projectsId}/metrics/{metricsId}', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metricsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ),'list' => array( + 'path' => 'v1beta3/projects/{projectsId}/metrics', + 'httpMethod' => 'GET', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'pageToken' => array( + 'location' => 'query', + 'type' => 'string', + ), + 'pageSize' => array( + 'location' => 'query', + 'type' => 'integer', + ), + ), + ),'update' => array( + 'path' => 'v1beta3/projects/{projectsId}/metrics/{metricsId}', + 'httpMethod' => 'PUT', + 'parameters' => array( + 'projectsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + 'metricsId' => array( + 'location' => 'path', + 'type' => 'string', + 'required' => true, + ), + ), + ), + ) + ) + ); + } +} + + +/** + * The "projects" collection of methods. + * Typical usage is: + *
+ * $loggingService = new Google_Service_Logging(...);
+ * $projects = $loggingService->projects;
+ *
+ */
+class Google_Service_Logging_Projects_Resource extends Google_Service_Resource
+{
+}
+
+/**
+ * The "logEntries" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $logEntries = $loggingService->logEntries;
+ *
+ */
+class Google_Service_Logging_ProjectsLogEntries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists log entries in the specified project.
+ * (logEntries.listProjectsLogEntries)
+ *
+ * @param string $projectsId Part of `projectName`. The project resource from
+ * which to retrieve log entries, for example: "projects/my_project_id".
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Filter specification. Response includes only entries
+ * which are selected by this filter. If empty, response is unfiltered.
+ * @opt_param string orderBy Sort order. The only LogEntry field supported for
+ * sorting is metadata.timestamp and the default order is ascending (from older
+ * to newer). To have entries returned in the opposite (descending) order,
+ * specify order_by="metadata.timestamp desc".
+ * @opt_param int pageSize Maximum number of entries to return per request.
+ * Fewer entries may be returned.
+ * @opt_param string pageToken An opaque token obtained from a prior
+ * ListLogEntries response (in next_page_token). If this is supplied, other
+ * parameters in this request are ignored, in favor of the corresponding
+ * parameters in the original request.
+ * @return Google_Service_Logging_ListLogEntriesResponse
+ */
+ public function listProjectsLogEntries($projectsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogEntriesResponse");
+ }
+}
+/**
+ * The "logServices" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $logServices = $loggingService->logServices;
+ *
+ */
+class Google_Service_Logging_ProjectsLogServices_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists log services associated with log entries ingested for a project.
+ * (logServices.listProjectsLogServices)
+ *
+ * @param string $projectsId Part of `projectName`. The project resource for
+ * which to list the services.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string log A log resource like /projects/project_id/logs/log_name
+ * identifying the log for which to list services. When empty, all services will
+ * be listed.
+ * @opt_param int pageSize The maximum number of LogService objects to return.
+ * @opt_param string pageToken An optional next_page_token from a previous
+ * ListLogServicesResult. Other fields are ignored when the page_token is not
+ * empty.
+ * @return Google_Service_Logging_ListLogServicesResponse
+ */
+ public function listProjectsLogServices($projectsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogServicesResponse");
+ }
+}
+
+/**
+ * The "indexes" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $indexes = $loggingService->indexes;
+ *
+ */
+class Google_Service_Logging_ProjectsLogServicesIndexes_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists log service indexes associated with a log service.
+ * (indexes.listProjectsLogServicesIndexes)
+ *
+ * @param string $projectsId Part of `serviceName`. A log service resource whose
+ * service indexes to return (e.g.
+ * /projects/myProj/logServices/appengine.googleapis.com).
+ * @param string $logServicesId Part of `serviceName`. See documentation of
+ * `projectsId`.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string indexPrefix A prefix of the log service indexes to be
+ * returned. The prefix is a slash separated list of the label values in order
+ * corresponding to the [LogService
+ * index_keys][google.logging.v1.LogService.index_keys]. For example use
+ * "/myModule/" to retrieve App Engine versions associated with myModule. The
+ * trailing slash terminates the value, while "/myModule" would allow retrieval
+ * of App Engine modules with names beginning with myModule. An prefix component
+ * matches all log service indexes. A non-empty prefix must begin with "/".
+ * @opt_param int depth A limit to the number of levels of the index hierarchy
+ * that will be expanded. If the depth is 0, it will default to the level
+ * specified by the prefix field (the number of slash separators). The default
+ * empty prefix implies a depth of 1. It is an error for depth to be any non-
+ * zero value less than the number of components in index_prefix.
+ * @opt_param string log A log resource like /projects/project_id/logs/log_name
+ * identifying the log for which to list services indexes.
+ * @opt_param int pageSize The maximum number of log service index resources to
+ * return.
+ * @opt_param string pageToken An optional next_page_token from a previous
+ * ListLogServicesIndexesResult. Other fields are ignored when the page_token is
+ * not empty.
+ * @return Google_Service_Logging_ListLogServiceIndexesResponse
+ */
+ public function listProjectsLogServicesIndexes($projectsId, $logServicesId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logServicesId' => $logServicesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogServiceIndexesResponse");
+ }
+}
+/**
+ * The "sinks" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $sinks = $loggingService->sinks;
+ *
+ */
+class Google_Service_Logging_ProjectsLogServicesSinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create the specified log service sink resource. (sinks.create)
+ *
+ * @param string $projectsId Part of `serviceName`. The service in which to
+ * create a sink.
+ * @param string $logServicesId Part of `serviceName`. See documentation of
+ * `projectsId`.
+ * @param Google_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function create($projectsId, $logServicesId, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logServicesId' => $logServicesId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogSink");
+ }
+
+ /**
+ * Deletes the specified log service sink. (sinks.delete)
+ *
+ * @param string $projectsId Part of `sinkName`. The sink to delete.
+ * @param string $logServicesId Part of `sinkName`. See documentation of
+ * `projectsId`.
+ * @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_Empty
+ */
+ public function delete($projectsId, $logServicesId, $sinksId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logServicesId' => $logServicesId, 'sinksId' => $sinksId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_Empty");
+ }
+
+ /**
+ * Get the specified log service sink resource. (sinks.get)
+ *
+ * @param string $projectsId Part of `sinkName`. The sink to return.
+ * @param string $logServicesId Part of `sinkName`. See documentation of
+ * `projectsId`.
+ * @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function get($projectsId, $logServicesId, $sinksId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logServicesId' => $logServicesId, 'sinksId' => $sinksId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogSink");
+ }
+
+ /**
+ * List log service sinks associated with the specified service.
+ * (sinks.listProjectsLogServicesSinks)
+ *
+ * @param string $projectsId Part of `serviceName`. The service for which to
+ * list sinks.
+ * @param string $logServicesId Part of `serviceName`. See documentation of
+ * `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_ListLogServiceSinksResponse
+ */
+ public function listProjectsLogServicesSinks($projectsId, $logServicesId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logServicesId' => $logServicesId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogServiceSinksResponse");
+ }
+
+ /**
+ * Create or update the specified log service sink resource. (sinks.update)
+ *
+ * @param string $projectsId Part of `sinkName`. The sink to update.
+ * @param string $logServicesId Part of `sinkName`. See documentation of
+ * `projectsId`.
+ * @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
+ * @param Google_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function update($projectsId, $logServicesId, $sinksId, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logServicesId' => $logServicesId, 'sinksId' => $sinksId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogSink");
+ }
+}
+/**
+ * The "logs" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $logs = $loggingService->logs;
+ *
+ */
+class Google_Service_Logging_ProjectsLogs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified log resource and all log entries contained in it.
+ * (logs.delete)
+ *
+ * @param string $projectsId Part of `logName`. The log resource to delete.
+ * @param string $logsId Part of `logName`. See documentation of `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_Empty
+ */
+ public function delete($projectsId, $logsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_Empty");
+ }
+
+ /**
+ * Lists log resources belonging to the specified project.
+ * (logs.listProjectsLogs)
+ *
+ * @param string $projectsId Part of `projectName`. The project name for which
+ * to list the log resources.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string serviceName A service name for which to list logs. Only
+ * logs containing entries whose metadata included this service name will be
+ * returned. If empty and service_index_prefix is also empty then all log names
+ * are returned. To list all log names (regardless of service) leave both the
+ * service_name and service_index_prefix empty. To list log names containing
+ * entries with a particular service name (or explicitly empty service name) set
+ * service_name to the desired value and service_index_prefix to "/".
+ * @opt_param string serviceIndexPrefix A log service index prefix for which to
+ * list logs. Only logs containing entries whose metadata included these label
+ * values (associated with index keys) will be returned. The prefix is a slash
+ * separated list of values, and need not specify all index labels. An empty
+ * index (or a single slash) matches all log service indexes.
+ * @opt_param int pageSize The maximum number of results to return.
+ * @opt_param string pageToken An optional next_page_token from a previous
+ * ListLogsResponse. Other query parameters are ignored when page_token is not
+ * empty.
+ * @return Google_Service_Logging_ListLogsResponse
+ */
+ public function listProjectsLogs($projectsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogsResponse");
+ }
+}
+
+/**
+ * The "entries" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $entries = $loggingService->entries;
+ *
+ */
+class Google_Service_Logging_ProjectsLogsEntries_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates several log entries in a log. (entries.write)
+ *
+ * @param string $projectsId Part of `logName`. The log resource into which to
+ * insert the log entries. If the log resource name contains characters that are
+ * illegal in a URL (for example, "/") they must be URL-encoded (for example, as
+ * "%2F").
+ * @param string $logsId Part of `logName`. See documentation of `projectsId`.
+ * @param Google_WriteLogEntriesRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_WriteLogEntriesResponse
+ */
+ public function write($projectsId, $logsId, Google_Service_Logging_WriteLogEntriesRequest $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('write', array($params), "Google_Service_Logging_WriteLogEntriesResponse");
+ }
+}
+/**
+ * The "sinks" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $sinks = $loggingService->sinks;
+ *
+ */
+class Google_Service_Logging_ProjectsLogsSinks_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create the specified log sink resource. (sinks.create)
+ *
+ * @param string $projectsId Part of `logName`. The log in which to create a
+ * sink
+ * @param string $logsId Part of `logName`. See documentation of `projectsId`.
+ * @param Google_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function create($projectsId, $logsId, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogSink");
+ }
+
+ /**
+ * Deletes the specified log sink. (sinks.delete)
+ *
+ * @param string $projectsId Part of `sinkName`. The sink to delete.
+ * @param string $logsId Part of `sinkName`. See documentation of `projectsId`.
+ * @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_Empty
+ */
+ public function delete($projectsId, $logsId, $sinksId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId, 'sinksId' => $sinksId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_Empty");
+ }
+
+ /**
+ * Get the specified log sink resource. (sinks.get)
+ *
+ * @param string $projectsId Part of `sinkName`. The sink to return.
+ * @param string $logsId Part of `sinkName`. See documentation of `projectsId`.
+ * @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function get($projectsId, $logsId, $sinksId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId, 'sinksId' => $sinksId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogSink");
+ }
+
+ /**
+ * List log sinks associated with the specified log.
+ * (sinks.listProjectsLogsSinks)
+ *
+ * @param string $projectsId Part of `logName`. The log for which to list sinks.
+ * @param string $logsId Part of `logName`. See documentation of `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_ListLogSinksResponse
+ */
+ public function listProjectsLogsSinks($projectsId, $logsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogSinksResponse");
+ }
+
+ /**
+ * Create or update the specified log sink resource. (sinks.update)
+ *
+ * @param string $projectsId Part of `sinkName`. The sink to update.
+ * @param string $logsId Part of `sinkName`. See documentation of `projectsId`.
+ * @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
+ * @param Google_LogSink $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogSink
+ */
+ public function update($projectsId, $logsId, $sinksId, Google_Service_Logging_LogSink $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'logsId' => $logsId, 'sinksId' => $sinksId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogSink");
+ }
+}
+/**
+ * The "metrics" collection of methods.
+ * Typical usage is:
+ *
+ * $loggingService = new Google_Service_Logging(...);
+ * $metrics = $loggingService->metrics;
+ *
+ */
+class Google_Service_Logging_ProjectsMetrics_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Create the specified log metric resource. (metrics.create)
+ *
+ * @param string $projectsId Part of `projectName`. The project in which to
+ * create a metric.
+ * @param Google_LogMetric $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogMetric
+ */
+ public function create($projectsId, Google_Service_Logging_LogMetric $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Logging_LogMetric");
+ }
+
+ /**
+ * Deletes the specified log metric. (metrics.delete)
+ *
+ * @param string $projectsId Part of `metricName`. The metric to delete.
+ * @param string $metricsId Part of `metricName`. See documentation of
+ * `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_Empty
+ */
+ public function delete($projectsId, $metricsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'metricsId' => $metricsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Logging_Empty");
+ }
+
+ /**
+ * Get the specified log metric resource. (metrics.get)
+ *
+ * @param string $projectsId Part of `metricName`. The metric to return.
+ * @param string $metricsId Part of `metricName`. See documentation of
+ * `projectsId`.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogMetric
+ */
+ public function get($projectsId, $metricsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'metricsId' => $metricsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Logging_LogMetric");
+ }
+
+ /**
+ * List log metrics associated with the specified project.
+ * (metrics.listProjectsMetrics)
+ *
+ * @param string $projectsId Part of `projectName`. The project name for which
+ * to list metrics.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken If non-empty, specifies from where to start
+ * returning results. This page_token is from a previous call to
+ * ListLogsMetrics.
+ * @opt_param int pageSize Maximum number of results to return.
+ * @return Google_Service_Logging_ListLogMetricsResponse
+ */
+ public function listProjectsMetrics($projectsId, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Logging_ListLogMetricsResponse");
+ }
+
+ /**
+ * Create or update the specified log metric resource. (metrics.update)
+ *
+ * @param string $projectsId Part of `metricName`. The metric to update.
+ * @param string $metricsId Part of `metricName`. See documentation of
+ * `projectsId`.
+ * @param Google_LogMetric $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Logging_LogMetric
+ */
+ public function update($projectsId, $metricsId, Google_Service_Logging_LogMetric $postBody, $optParams = array())
+ {
+ $params = array('projectsId' => $projectsId, 'metricsId' => $metricsId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Logging_LogMetric");
+ }
+}
+
+
+
+
+class Google_Service_Logging_Empty extends Google_Model
+{
+}
+
+class Google_Service_Logging_ListLogEntriesResponse extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $entriesType = 'Google_Service_Logging_LogEntry';
+ protected $entriesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Logging_ListLogMetricsResponse extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $metricsType = 'Google_Service_Logging_LogMetric';
+ protected $metricsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Logging_ListLogServiceIndexesResponse extends Google_Collection
+{
+ protected $collection_key = 'serviceIndexPrefixes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ public $serviceIndexPrefixes;
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setServiceIndexPrefixes($serviceIndexPrefixes)
+ {
+ $this->serviceIndexPrefixes = $serviceIndexPrefixes;
+ }
+ public function getServiceIndexPrefixes()
+ {
+ return $this->serviceIndexPrefixes;
+ }
+}
+
+class Google_Service_Logging_ListLogServiceSinksResponse extends Google_Collection
+{
+ protected $collection_key = 'sinks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sinksType = 'Google_Service_Logging_LogSink';
+ protected $sinksDataType = 'array';
+
+
+ public function setSinks($sinks)
+ {
+ $this->sinks = $sinks;
+ }
+ public function getSinks()
+ {
+ return $this->sinks;
+ }
+}
+
+class Google_Service_Logging_ListLogServicesResponse extends Google_Collection
+{
+ protected $collection_key = 'logServices';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $logServicesType = 'Google_Service_Logging_LogService';
+ protected $logServicesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setLogServices($logServices)
+ {
+ $this->logServices = $logServices;
+ }
+ public function getLogServices()
+ {
+ return $this->logServices;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Logging_ListLogSinksResponse extends Google_Collection
+{
+ protected $collection_key = 'sinks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sinksType = 'Google_Service_Logging_LogSink';
+ protected $sinksDataType = 'array';
+
+
+ public function setSinks($sinks)
+ {
+ $this->sinks = $sinks;
+ }
+ public function getSinks()
+ {
+ return $this->sinks;
+ }
+}
+
+class Google_Service_Logging_ListLogsResponse extends Google_Collection
+{
+ protected $collection_key = 'logs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $logsType = 'Google_Service_Logging_Log';
+ protected $logsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setLogs($logs)
+ {
+ $this->logs = $logs;
+ }
+ public function getLogs()
+ {
+ return $this->logs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Logging_Log extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $displayName;
+ public $name;
+ public $payloadType;
+
+
+ public function setDisplayName($displayName)
+ {
+ $this->displayName = $displayName;
+ }
+ public function getDisplayName()
+ {
+ return $this->displayName;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPayloadType($payloadType)
+ {
+ $this->payloadType = $payloadType;
+ }
+ public function getPayloadType()
+ {
+ return $this->payloadType;
+ }
+}
+
+class Google_Service_Logging_LogEntry extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $insertId;
+ public $log;
+ protected $metadataType = 'Google_Service_Logging_LogEntryMetadata';
+ protected $metadataDataType = '';
+ public $protoPayload;
+ public $structPayload;
+ public $textPayload;
+
+
+ public function setInsertId($insertId)
+ {
+ $this->insertId = $insertId;
+ }
+ public function getInsertId()
+ {
+ return $this->insertId;
+ }
+ public function setLog($log)
+ {
+ $this->log = $log;
+ }
+ public function getLog()
+ {
+ return $this->log;
+ }
+ public function setMetadata(Google_Service_Logging_LogEntryMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setProtoPayload($protoPayload)
+ {
+ $this->protoPayload = $protoPayload;
+ }
+ public function getProtoPayload()
+ {
+ return $this->protoPayload;
+ }
+ public function setStructPayload($structPayload)
+ {
+ $this->structPayload = $structPayload;
+ }
+ public function getStructPayload()
+ {
+ return $this->structPayload;
+ }
+ public function setTextPayload($textPayload)
+ {
+ $this->textPayload = $textPayload;
+ }
+ public function getTextPayload()
+ {
+ return $this->textPayload;
+ }
+}
+
+class Google_Service_Logging_LogEntryMetadata extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $labels;
+ public $projectId;
+ public $projectNumber;
+ public $region;
+ public $serviceName;
+ public $severity;
+ public $timeNanos;
+ public $timestamp;
+ public $userId;
+ public $zone;
+
+
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setServiceName($serviceName)
+ {
+ $this->serviceName = $serviceName;
+ }
+ public function getServiceName()
+ {
+ return $this->serviceName;
+ }
+ public function setSeverity($severity)
+ {
+ $this->severity = $severity;
+ }
+ public function getSeverity()
+ {
+ return $this->severity;
+ }
+ public function setTimeNanos($timeNanos)
+ {
+ $this->timeNanos = $timeNanos;
+ }
+ public function getTimeNanos()
+ {
+ return $this->timeNanos;
+ }
+ public function setTimestamp($timestamp)
+ {
+ $this->timestamp = $timestamp;
+ }
+ public function getTimestamp()
+ {
+ return $this->timestamp;
+ }
+ public function setUserId($userId)
+ {
+ $this->userId = $userId;
+ }
+ public function getUserId()
+ {
+ return $this->userId;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Logging_LogEntryMetadataLabels extends Google_Model
+{
+}
+
+class Google_Service_Logging_LogEntryProtoPayload extends Google_Model
+{
+}
+
+class Google_Service_Logging_LogEntryStructPayload extends Google_Model
+{
+}
+
+class Google_Service_Logging_LogError extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $resource;
+ protected $statusType = 'Google_Service_Logging_Status';
+ protected $statusDataType = '';
+ public $timeNanos;
+
+
+ public function setResource($resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+ public function setStatus(Google_Service_Logging_Status $status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTimeNanos($timeNanos)
+ {
+ $this->timeNanos = $timeNanos;
+ }
+ public function getTimeNanos()
+ {
+ return $this->timeNanos;
+ }
+}
+
+class Google_Service_Logging_LogMetric extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $filter;
+ public $name;
+ public $projectId;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFilter($filter)
+ {
+ $this->filter = $filter;
+ }
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+}
+
+class Google_Service_Logging_LogService extends Google_Collection
+{
+ protected $collection_key = 'indexKeys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $indexKeys;
+ public $name;
+
+
+ public function setIndexKeys($indexKeys)
+ {
+ $this->indexKeys = $indexKeys;
+ }
+ public function getIndexKeys()
+ {
+ return $this->indexKeys;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Logging_LogSink extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $destination;
+ protected $errorsType = 'Google_Service_Logging_LogError';
+ protected $errorsDataType = 'array';
+ public $name;
+
+
+ public function setDestination($destination)
+ {
+ $this->destination = $destination;
+ }
+ public function getDestination()
+ {
+ return $this->destination;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Logging_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $details;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Logging_StatusDetails extends Google_Model
+{
+}
+
+class Google_Service_Logging_WriteLogEntriesRequest extends Google_Collection
+{
+ protected $collection_key = 'entries';
+ protected $internal_gapi_mappings = array(
+ );
+ public $commonLabels;
+ protected $entriesType = 'Google_Service_Logging_LogEntry';
+ protected $entriesDataType = 'array';
+
+
+ public function setCommonLabels($commonLabels)
+ {
+ $this->commonLabels = $commonLabels;
+ }
+ public function getCommonLabels()
+ {
+ return $this->commonLabels;
+ }
+ public function setEntries($entries)
+ {
+ $this->entries = $entries;
+ }
+ public function getEntries()
+ {
+ return $this->entries;
+ }
+}
+
+class Google_Service_Logging_WriteLogEntriesRequestCommonLabels extends Google_Model
+{
+}
+
+class Google_Service_Logging_WriteLogEntriesResponse extends Google_Model
+{
+}
From e190c5b2ed586eaef431d4d0e5f7d6e72c0deb71 Mon Sep 17 00:00:00 2001
From: Silvano Luciani - * Google Cloud Logging API lets you manage logs, ingest and retrieve log - * entries within a log, and manage log sinks and metrics.
+ * Google Cloud Logging API lets you create logs, ingest log entries, and manage + * log sinks. * *
* For more information about this service, see the API
@@ -35,14 +35,12 @@ class Google_Service_Logging extends Google_Service
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
- public $projects_logEntries;
public $projects_logServices;
public $projects_logServices_indexes;
public $projects_logServices_sinks;
public $projects_logs;
public $projects_logs_entries;
public $projects_logs_sinks;
- public $projects_metrics;
/**
@@ -57,14 +55,14 @@ public function __construct(Google_Client $client)
$this->version = 'v1beta3';
$this->serviceName = 'logging';
- $this->projects_logEntries = new Google_Service_Logging_ProjectsLogEntries_Resource(
+ $this->projects_logServices = new Google_Service_Logging_ProjectsLogServices_Resource(
$this,
$this->serviceName,
- 'logEntries',
+ 'logServices',
array(
'methods' => array(
'list' => array(
- 'path' => 'v1beta3/projects/{projectsId}/logEntries',
+ 'path' => 'v1beta3/projects/{projectsId}/logServices',
'httpMethod' => 'GET',
'parameters' => array(
'projectsId' => array(
@@ -72,42 +70,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'filter' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'pageSize' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
- ),
- ),
- )
- )
- );
- $this->projects_logServices = new Google_Service_Logging_ProjectsLogServices_Resource(
- $this,
- $this->serviceName,
- 'logServices',
- array(
- 'methods' => array(
- 'list' => array(
- 'path' => 'v1beta3/projects/{projectsId}/logServices',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'projectsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
'log' => array(
'location' => 'query',
'type' => 'string',
@@ -116,10 +82,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'integer',
),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
),
),
)
@@ -145,23 +107,23 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
- 'indexPrefix' => array(
+ 'log' => array(
'location' => 'query',
'type' => 'string',
),
- 'depth' => array(
+ 'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
- 'log' => array(
+ 'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
- 'pageSize' => array(
+ 'depth' => array(
'location' => 'query',
'type' => 'integer',
),
- 'pageToken' => array(
+ 'indexPrefix' => array(
'location' => 'query',
'type' => 'string',
),
@@ -300,6 +262,10 @@ public function __construct(Google_Client $client)
'type' => 'string',
'required' => true,
),
+ 'pageToken' => array(
+ 'location' => 'query',
+ 'type' => 'string',
+ ),
'serviceName' => array(
'location' => 'query',
'type' => 'string',
@@ -312,10 +278,6 @@ public function __construct(Google_Client $client)
'location' => 'query',
'type' => 'integer',
),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
),
),
)
@@ -446,89 +408,6 @@ public function __construct(Google_Client $client)
)
)
);
- $this->projects_metrics = new Google_Service_Logging_ProjectsMetrics_Resource(
- $this,
- $this->serviceName,
- 'metrics',
- array(
- 'methods' => array(
- 'create' => array(
- 'path' => 'v1beta3/projects/{projectsId}/metrics',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'projectsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'delete' => array(
- 'path' => 'v1beta3/projects/{projectsId}/metrics/{metricsId}',
- 'httpMethod' => 'DELETE',
- 'parameters' => array(
- 'projectsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metricsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'get' => array(
- 'path' => 'v1beta3/projects/{projectsId}/metrics/{metricsId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'projectsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metricsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'v1beta3/projects/{projectsId}/metrics',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'projectsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'pageSize' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'update' => array(
- 'path' => 'v1beta3/projects/{projectsId}/metrics/{metricsId}',
- 'httpMethod' => 'PUT',
- 'parameters' => array(
- 'projectsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'metricsId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),
- )
- )
- );
}
}
@@ -545,46 +424,6 @@ class Google_Service_Logging_Projects_Resource extends Google_Service_Resource
{
}
-/**
- * The "logEntries" collection of methods.
- * Typical usage is:
- *
* Provides reliable, many-to-many, asynchronous messaging between applications.
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
* Manage your DoubleClick Campaign Manager ad campaigns and reports.
* The Google Cloud DNS API provides services for configuring and serving
@@ -55,8 +55,8 @@ class Google_Service_Dns extends Google_Service
public function __construct(Google_Client $client)
{
parent::__construct($client);
- $this->servicePath = 'dns/v1beta1/projects/';
- $this->version = 'v1beta1';
+ $this->servicePath = 'dns/v1/projects/';
+ $this->version = 'v1';
$this->serviceName = 'dns';
$this->changes = new Google_Service_Dns_Changes_Resource(
From ca2e3d5bd6d71860bd089ef148341f15330bda08 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* Google Dataflow API.
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
+ * For more information about this service, see the API
+ * Documentation
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
* Provides reliable, many-to-many, asynchronous messaging between applications.
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
+ * For more information about this service, see the API
+ * Documentation
+ *
* The Google Container Engine API is used for building and managing container
@@ -24,7 +24,7 @@
*
*
* For more information about this service, see the API
- * Documentation
+ * Documentation
*
+ * For more information about this service, see the API
+ * Documentation
+ *
+ * For more information about this service, see the API
+ * Documentation
+ *
- * $loggingService = new Google_Service_Logging(...);
- * $logEntries = $loggingService->logEntries;
- *
- */
-class Google_Service_Logging_ProjectsLogEntries_Resource extends Google_Service_Resource
-{
-
- /**
- * Lists log entries in the specified project.
- * (logEntries.listProjectsLogEntries)
- *
- * @param string $projectsId Part of `projectName`. The project resource from
- * which to retrieve log entries, for example: "projects/my_project_id".
- * @param array $optParams Optional parameters.
- *
- * @opt_param string filter Filter specification. Response includes only entries
- * which are selected by this filter. If empty, response is unfiltered.
- * @opt_param string orderBy Sort order. The only LogEntry field supported for
- * sorting is metadata.timestamp and the default order is ascending (from older
- * to newer). To have entries returned in the opposite (descending) order,
- * specify order_by="metadata.timestamp desc".
- * @opt_param int pageSize Maximum number of entries to return per request.
- * Fewer entries may be returned.
- * @opt_param string pageToken An opaque token obtained from a prior
- * ListLogEntries response (in next_page_token). If this is supplied, other
- * parameters in this request are ignored, in favor of the corresponding
- * parameters in the original request.
- * @return Google_Service_Logging_ListLogEntriesResponse
- */
- public function listProjectsLogEntries($projectsId, $optParams = array())
- {
- $params = array('projectsId' => $projectsId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Logging_ListLogEntriesResponse");
- }
-}
/**
* The "logServices" collection of methods.
* Typical usage is:
@@ -600,17 +439,18 @@ class Google_Service_Logging_ProjectsLogServices_Resource extends Google_Service
* Lists log services associated with log entries ingested for a project.
* (logServices.listProjectsLogServices)
*
- * @param string $projectsId Part of `projectName`. The project resource for
- * which to list the services.
+ * @param string $projectsId Part of `projectName`. The project resource whose
+ * services are to be listed.
* @param array $optParams Optional parameters.
*
- * @opt_param string log A log resource like /projects/project_id/logs/log_name
- * identifying the log for which to list services. When empty, all services will
- * be listed.
- * @opt_param int pageSize The maximum number of LogService objects to return.
- * @opt_param string pageToken An optional next_page_token from a previous
- * ListLogServicesResult. Other fields are ignored when the page_token is not
- * empty.
+ * @opt_param string pageToken An opaque token, returned as `nextPageToken` by a
+ * prior `ListLogServices` operation. If `pageToken` is supplied, then the other
+ * fields of this request are ignored, and instead the previous
+ * `ListLogServices` operation is continued.
+ * @opt_param string log The name of the log resource whose services are to be
+ * listed. log for which to list services. When empty, all services are listed.
+ * @opt_param int pageSize The maximum number of `LogService` objects to return
+ * in one operation.
* @return Google_Service_Logging_ListLogServicesResponse
*/
public function listProjectsLogServices($projectsId, $optParams = array())
@@ -636,33 +476,35 @@ class Google_Service_Logging_ProjectsLogServicesIndexes_Resource extends Google_
* Lists log service indexes associated with a log service.
* (indexes.listProjectsLogServicesIndexes)
*
- * @param string $projectsId Part of `serviceName`. A log service resource whose
- * service indexes to return (e.g.
- * /projects/myProj/logServices/appengine.googleapis.com).
+ * @param string $projectsId Part of `serviceName`. A log service resource of
+ * the form `/projects/logServices`. The service indexes of the log service are
+ * returned. Example: `"/projects/myProj/logServices/appengine.googleapis.com"`.
* @param string $logServicesId Part of `serviceName`. See documentation of
* `projectsId`.
* @param array $optParams Optional parameters.
*
- * @opt_param string indexPrefix A prefix of the log service indexes to be
- * returned. The prefix is a slash separated list of the label values in order
- * corresponding to the [LogService
- * index_keys][google.logging.v1.LogService.index_keys]. For example use
- * "/myModule/" to retrieve App Engine versions associated with myModule. The
- * trailing slash terminates the value, while "/myModule" would allow retrieval
- * of App Engine modules with names beginning with myModule. An prefix component
- * matches all log service indexes. A non-empty prefix must begin with "/".
- * @opt_param int depth A limit to the number of levels of the index hierarchy
- * that will be expanded. If the depth is 0, it will default to the level
- * specified by the prefix field (the number of slash separators). The default
- * empty prefix implies a depth of 1. It is an error for depth to be any non-
- * zero value less than the number of components in index_prefix.
- * @opt_param string log A log resource like /projects/project_id/logs/log_name
- * identifying the log for which to list services indexes.
+ * @opt_param string log A log resource like
+ * `/projects/project_id/logs/log_name`, identifying the log for which to list
+ * service indexes.
* @opt_param int pageSize The maximum number of log service index resources to
- * return.
- * @opt_param string pageToken An optional next_page_token from a previous
- * ListLogServicesIndexesResult. Other fields are ignored when the page_token is
- * not empty.
+ * return in one operation.
+ * @opt_param string pageToken An opaque token, returned as `nextPageToken` by a
+ * prior `ListLogServiceIndexes` operation. If `pageToken` is supplied, then the
+ * other fields of this request are ignored, and instead the previous
+ * `ListLogServiceIndexes` operation is continued.
+ * @opt_param int depth A limit to the number of levels of the index hierarchy
+ * that are expanded. If `depth` is 0, it defaults to the level specified by the
+ * prefix field (the number of slash separators). The default empty prefix
+ * implies a `depth` of 1. It is an error for `depth` to be any non-zero value
+ * less than the number of components in `indexPrefix`.
+ * @opt_param string indexPrefix Restricts the indexes returned to be those with
+ * a specified prefix. The prefix has the form `"/label_value/label_value/..."`,
+ * in order corresponding to the [`LogService
+ * indexKeys`][google.logging.v1.LogService.index_keys]. Non-empty prefixes must
+ * begin with `/` . Example prefixes: + `"/myModule/"` retrieves App Engine
+ * versions associated with `myModule`. The trailing slash terminates the value.
+ * + `"/myModule"` retrieves App Engine modules with names beginning with
+ * `myModule`. + `""` retrieves all indexes.
* @return Google_Service_Logging_ListLogServiceIndexesResponse
*/
public function listProjectsLogServicesIndexes($projectsId, $logServicesId, $optParams = array())
@@ -684,10 +526,10 @@ class Google_Service_Logging_ProjectsLogServicesSinks_Resource extends Google_Se
{
/**
- * Create the specified log service sink resource. (sinks.create)
+ * Creates the specified log service sink resource. (sinks.create)
*
- * @param string $projectsId Part of `serviceName`. The service in which to
- * create a sink.
+ * @param string $projectsId Part of `serviceName`. The name of the service in
+ * which to create a sink.
* @param string $logServicesId Part of `serviceName`. See documentation of
* `projectsId`.
* @param Google_LogSink $postBody
@@ -704,7 +546,7 @@ public function create($projectsId, $logServicesId, Google_Service_Logging_LogSi
/**
* Deletes the specified log service sink. (sinks.delete)
*
- * @param string $projectsId Part of `sinkName`. The sink to delete.
+ * @param string $projectsId Part of `sinkName`. The name of the sink to delete.
* @param string $logServicesId Part of `sinkName`. See documentation of
* `projectsId`.
* @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
@@ -719,9 +561,9 @@ public function delete($projectsId, $logServicesId, $sinksId, $optParams = array
}
/**
- * Get the specified log service sink resource. (sinks.get)
+ * Gets the specified log service sink resource. (sinks.get)
*
- * @param string $projectsId Part of `sinkName`. The sink to return.
+ * @param string $projectsId Part of `sinkName`. The name of the sink to return.
* @param string $logServicesId Part of `sinkName`. See documentation of
* `projectsId`.
* @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
@@ -736,11 +578,11 @@ public function get($projectsId, $logServicesId, $sinksId, $optParams = array())
}
/**
- * List log service sinks associated with the specified service.
+ * Lists log service sinks associated with the specified service.
* (sinks.listProjectsLogServicesSinks)
*
- * @param string $projectsId Part of `serviceName`. The service for which to
- * list sinks.
+ * @param string $projectsId Part of `serviceName`. The name of the service for
+ * which to list sinks.
* @param string $logServicesId Part of `serviceName`. See documentation of
* `projectsId`.
* @param array $optParams Optional parameters.
@@ -754,9 +596,9 @@ public function listProjectsLogServicesSinks($projectsId, $logServicesId, $optPa
}
/**
- * Create or update the specified log service sink resource. (sinks.update)
+ * Creates or update the specified log service sink resource. (sinks.update)
*
- * @param string $projectsId Part of `sinkName`. The sink to update.
+ * @param string $projectsId Part of `sinkName`. The name of the sink to update.
* @param string $logServicesId Part of `sinkName`. See documentation of
* `projectsId`.
* @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
@@ -806,22 +648,24 @@ public function delete($projectsId, $logsId, $optParams = array())
* to list the log resources.
* @param array $optParams Optional parameters.
*
+ * @opt_param string pageToken An opaque token, returned as `nextPageToken` by a
+ * prior `ListLogs` operation. If `pageToken` is supplied, then the other fields
+ * of this request are ignored, and instead the previous `ListLogs` operation is
+ * continued.
* @opt_param string serviceName A service name for which to list logs. Only
- * logs containing entries whose metadata included this service name will be
- * returned. If empty and service_index_prefix is also empty then all log names
- * are returned. To list all log names (regardless of service) leave both the
- * service_name and service_index_prefix empty. To list log names containing
- * entries with a particular service name (or explicitly empty service name) set
- * service_name to the desired value and service_index_prefix to "/".
+ * logs containing entries whose metadata includes this service name are
+ * returned. If `serviceName` and `serviceIndexPrefix` are both empty, then all
+ * log names are returned. To list all log names, regardless of service, leave
+ * both the `serviceName` and `serviceIndexPrefix` empty. To list log names
+ * containing entries with a particular service name (or explicitly empty
+ * service name) set `serviceName` to the desired value and `serviceIndexPrefix`
+ * to `"/"`.
* @opt_param string serviceIndexPrefix A log service index prefix for which to
- * list logs. Only logs containing entries whose metadata included these label
- * values (associated with index keys) will be returned. The prefix is a slash
+ * list logs. Only logs containing entries whose metadata that includes these
+ * label values (associated with index keys) are returned. The prefix is a slash
* separated list of values, and need not specify all index labels. An empty
* index (or a single slash) matches all log service indexes.
* @opt_param int pageSize The maximum number of results to return.
- * @opt_param string pageToken An optional next_page_token from a previous
- * ListLogsResponse. Other query parameters are ignored when page_token is not
- * empty.
* @return Google_Service_Logging_ListLogsResponse
*/
public function listProjectsLogs($projectsId, $optParams = array())
@@ -844,12 +688,16 @@ class Google_Service_Logging_ProjectsLogsEntries_Resource extends Google_Service
{
/**
- * Creates several log entries in a log. (entries.write)
+ * Creates one or more log entries in a log. You must supply a list of
+ * `LogEntry` objects, named `entries`. Each `LogEntry` object must contain a
+ * payload object and a `LogEntryMetadata` object that describes the entry. You
+ * must fill in all the fields of the entry, metadata, and payload. You can also
+ * supply a map, `commonLabels`, that supplies default (key, value) data for the
+ * `entries[].metadata.labels` maps, saving you the trouble of creating
+ * identical copies for each entry. (entries.write)
*
- * @param string $projectsId Part of `logName`. The log resource into which to
- * insert the log entries. If the log resource name contains characters that are
- * illegal in a URL (for example, "/") they must be URL-encoded (for example, as
- * "%2F").
+ * @param string $projectsId Part of `logName`. The name of the log resource
+ * into which to insert the log entries.
* @param string $logsId Part of `logName`. See documentation of `projectsId`.
* @param Google_WriteLogEntriesRequest $postBody
* @param array $optParams Optional parameters.
@@ -874,10 +722,10 @@ class Google_Service_Logging_ProjectsLogsSinks_Resource extends Google_Service_R
{
/**
- * Create the specified log sink resource. (sinks.create)
+ * Creates the specified log sink resource. (sinks.create)
*
* @param string $projectsId Part of `logName`. The log in which to create a
- * sink
+ * sink resource.
* @param string $logsId Part of `logName`. See documentation of `projectsId`.
* @param Google_LogSink $postBody
* @param array $optParams Optional parameters.
@@ -891,9 +739,9 @@ public function create($projectsId, $logsId, Google_Service_Logging_LogSink $pos
}
/**
- * Deletes the specified log sink. (sinks.delete)
+ * Deletes the specified log sink resource. (sinks.delete)
*
- * @param string $projectsId Part of `sinkName`. The sink to delete.
+ * @param string $projectsId Part of `sinkName`. The name of the sink to delete.
* @param string $logsId Part of `sinkName`. See documentation of `projectsId`.
* @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
* @param array $optParams Optional parameters.
@@ -907,9 +755,10 @@ public function delete($projectsId, $logsId, $sinksId, $optParams = array())
}
/**
- * Get the specified log sink resource. (sinks.get)
+ * Gets the specified log sink resource. (sinks.get)
*
- * @param string $projectsId Part of `sinkName`. The sink to return.
+ * @param string $projectsId Part of `sinkName`. The name of the sink resource
+ * to return.
* @param string $logsId Part of `sinkName`. See documentation of `projectsId`.
* @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
* @param array $optParams Optional parameters.
@@ -923,7 +772,7 @@ public function get($projectsId, $logsId, $sinksId, $optParams = array())
}
/**
- * List log sinks associated with the specified log.
+ * Lists log sinks associated with the specified log.
* (sinks.listProjectsLogsSinks)
*
* @param string $projectsId Part of `logName`. The log for which to list sinks.
@@ -939,9 +788,9 @@ public function listProjectsLogsSinks($projectsId, $logsId, $optParams = array()
}
/**
- * Create or update the specified log sink resource. (sinks.update)
+ * Creates or updates the specified log sink resource. (sinks.update)
*
- * @param string $projectsId Part of `sinkName`. The sink to update.
+ * @param string $projectsId Part of `sinkName`. The name of the sink to update.
* @param string $logsId Part of `sinkName`. See documentation of `projectsId`.
* @param string $sinksId Part of `sinkName`. See documentation of `projectsId`.
* @param Google_LogSink $postBody
@@ -955,103 +804,6 @@ public function update($projectsId, $logsId, $sinksId, Google_Service_Logging_Lo
return $this->call('update', array($params), "Google_Service_Logging_LogSink");
}
}
-/**
- * The "metrics" collection of methods.
- * Typical usage is:
- *
- * $loggingService = new Google_Service_Logging(...);
- * $metrics = $loggingService->metrics;
- *
- */
-class Google_Service_Logging_ProjectsMetrics_Resource extends Google_Service_Resource
-{
-
- /**
- * Create the specified log metric resource. (metrics.create)
- *
- * @param string $projectsId Part of `projectName`. The project in which to
- * create a metric.
- * @param Google_LogMetric $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Logging_LogMetric
- */
- public function create($projectsId, Google_Service_Logging_LogMetric $postBody, $optParams = array())
- {
- $params = array('projectsId' => $projectsId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Logging_LogMetric");
- }
-
- /**
- * Deletes the specified log metric. (metrics.delete)
- *
- * @param string $projectsId Part of `metricName`. The metric to delete.
- * @param string $metricsId Part of `metricName`. See documentation of
- * `projectsId`.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Logging_Empty
- */
- public function delete($projectsId, $metricsId, $optParams = array())
- {
- $params = array('projectsId' => $projectsId, 'metricsId' => $metricsId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Logging_Empty");
- }
-
- /**
- * Get the specified log metric resource. (metrics.get)
- *
- * @param string $projectsId Part of `metricName`. The metric to return.
- * @param string $metricsId Part of `metricName`. See documentation of
- * `projectsId`.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Logging_LogMetric
- */
- public function get($projectsId, $metricsId, $optParams = array())
- {
- $params = array('projectsId' => $projectsId, 'metricsId' => $metricsId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Logging_LogMetric");
- }
-
- /**
- * List log metrics associated with the specified project.
- * (metrics.listProjectsMetrics)
- *
- * @param string $projectsId Part of `projectName`. The project name for which
- * to list metrics.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken If non-empty, specifies from where to start
- * returning results. This page_token is from a previous call to
- * ListLogsMetrics.
- * @opt_param int pageSize Maximum number of results to return.
- * @return Google_Service_Logging_ListLogMetricsResponse
- */
- public function listProjectsMetrics($projectsId, $optParams = array())
- {
- $params = array('projectsId' => $projectsId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Logging_ListLogMetricsResponse");
- }
-
- /**
- * Create or update the specified log metric resource. (metrics.update)
- *
- * @param string $projectsId Part of `metricName`. The metric to update.
- * @param string $metricsId Part of `metricName`. See documentation of
- * `projectsId`.
- * @param Google_LogMetric $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Logging_LogMetric
- */
- public function update($projectsId, $metricsId, Google_Service_Logging_LogMetric $postBody, $optParams = array())
- {
- $params = array('projectsId' => $projectsId, 'metricsId' => $metricsId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('update', array($params), "Google_Service_Logging_LogMetric");
- }
-}
@@ -1060,62 +812,6 @@ class Google_Service_Logging_Empty extends Google_Model
{
}
-class Google_Service_Logging_ListLogEntriesResponse extends Google_Collection
-{
- protected $collection_key = 'entries';
- protected $internal_gapi_mappings = array(
- );
- protected $entriesType = 'Google_Service_Logging_LogEntry';
- protected $entriesDataType = 'array';
- public $nextPageToken;
-
-
- public function setEntries($entries)
- {
- $this->entries = $entries;
- }
- public function getEntries()
- {
- return $this->entries;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Logging_ListLogMetricsResponse extends Google_Collection
-{
- protected $collection_key = 'metrics';
- protected $internal_gapi_mappings = array(
- );
- protected $metricsType = 'Google_Service_Logging_LogMetric';
- protected $metricsDataType = 'array';
- public $nextPageToken;
-
-
- public function setMetrics($metrics)
- {
- $this->metrics = $metrics;
- }
- public function getMetrics()
- {
- return $this->metrics;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
class Google_Service_Logging_ListLogServiceIndexesResponse extends Google_Collection
{
protected $collection_key = 'serviceIndexPrefixes';
@@ -1341,11 +1037,9 @@ class Google_Service_Logging_LogEntryMetadata extends Google_Model
);
public $labels;
public $projectId;
- public $projectNumber;
public $region;
public $serviceName;
public $severity;
- public $timeNanos;
public $timestamp;
public $userId;
public $zone;
@@ -1367,14 +1061,6 @@ public function getProjectId()
{
return $this->projectId;
}
- public function setProjectNumber($projectNumber)
- {
- $this->projectNumber = $projectNumber;
- }
- public function getProjectNumber()
- {
- return $this->projectNumber;
- }
public function setRegion($region)
{
$this->region = $region;
@@ -1399,14 +1085,6 @@ public function getSeverity()
{
return $this->severity;
}
- public function setTimeNanos($timeNanos)
- {
- $this->timeNanos = $timeNanos;
- }
- public function getTimeNanos()
- {
- return $this->timeNanos;
- }
public function setTimestamp($timestamp)
{
$this->timestamp = $timestamp;
@@ -1481,50 +1159,6 @@ public function getTimeNanos()
}
}
-class Google_Service_Logging_LogMetric extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $description;
- public $filter;
- public $name;
- public $projectId;
-
-
- public function setDescription($description)
- {
- $this->description = $description;
- }
- public function getDescription()
- {
- return $this->description;
- }
- public function setFilter($filter)
- {
- $this->filter = $filter;
- }
- public function getFilter()
- {
- return $this->filter;
- }
- public function setName($name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
- public function getProjectId()
- {
- return $this->projectId;
- }
-}
-
class Google_Service_Logging_LogService extends Google_Collection
{
protected $collection_key = 'indexKeys';
From 2803454dd00a6fa999b8ec573ba62be6b04a8b46 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $projects = $pubsubService->projects;
+ *
+ */
+class Google_Service_Pubsub_Projects_Resource extends Google_Service_Resource
+{
+}
+
/**
* The "subscriptions" collection of methods.
* Typical usage is:
@@ -195,43 +272,43 @@ public function __construct(Google_Client $client)
* $subscriptions = $pubsubService->subscriptions;
*
*/
-class Google_Service_Pubsub_Subscriptions_Resource extends Google_Service_Resource
+class Google_Service_Pubsub_ProjectsSubscriptions_Resource extends Google_Service_Resource
{
/**
- * Acknowledges a particular received message: the Pub/Sub system can remove the
- * given message from the subscription. Acknowledging a message whose Ack
- * deadline has expired may succeed, but the message could have been already
- * redelivered. Acknowledging a message more than once will not result in an
- * error. This is only used for messages received via pull.
- * (subscriptions.acknowledge)
+ * Acknowledges the messages associated with the ack tokens in the
+ * AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from
+ * the subscription. Acknowledging a message whose ack deadline has expired may
+ * succeed, but such a message may be redelivered later. Acknowledging a message
+ * more than once will not result in an error. (subscriptions.acknowledge)
*
+ * @param string $subscription
* @param Google_AcknowledgeRequest $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Empty
*/
- public function acknowledge(Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
+ public function acknowledge($subscription, Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('acknowledge', array($params));
+ return $this->call('acknowledge', array($params), "Google_Service_Pubsub_Empty");
}
/**
- * Creates a subscription on a given topic for a given subscriber. If the
+ * Creates a subscription to a given topic for a given subscriber. If the
* subscription already exists, returns ALREADY_EXISTS. If the corresponding
- * topic doesn't exist, returns NOT_FOUND.
- *
- * If the name is not provided in the request, the server will assign a random
- * name for this subscription on the same project as the topic.
- * (subscriptions.create)
+ * topic doesn't exist, returns NOT_FOUND. If the name is not provided in the
+ * request, the server will assign a random name for this subscription on the
+ * same project as the topic. (subscriptions.create)
*
+ * @param string $name
* @param Google_Subscription $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Subscription
*/
- public function create(Google_Service_Pubsub_Subscription $postBody, $optParams = array())
+ public function create($name, Google_Service_Pubsub_Subscription $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Pubsub_Subscription");
}
@@ -239,22 +316,25 @@ public function create(Google_Service_Pubsub_Subscription $postBody, $optParams
/**
* Deletes an existing subscription. All pending messages in the subscription
* are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
- * (subscriptions.delete)
+ * After a subscription is deleted, a new one may be created with the same name,
+ * but the new one has no association with the old subscription, or its topic
+ * unless the same topic is specified. (subscriptions.delete)
*
- * @param string $subscription The subscription to delete.
+ * @param string $subscription
* @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Empty
*/
public function delete($subscription, $optParams = array())
{
$params = array('subscription' => $subscription);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('delete', array($params), "Google_Service_Pubsub_Empty");
}
/**
* Gets the configuration details of a subscription. (subscriptions.get)
*
- * @param string $subscription The name of the subscription to get.
+ * @param string $subscription
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Subscription
*/
@@ -266,90 +346,78 @@ public function get($subscription, $optParams = array())
}
/**
- * Lists matching subscriptions. (subscriptions.listSubscriptions)
+ * Lists matching subscriptions. (subscriptions.listProjectsSubscriptions)
*
+ * @param string $project
* @param array $optParams Optional parameters.
*
- * @opt_param string pageToken The value obtained in the last
- * ListSubscriptionsResponse for continuation.
- * @opt_param int maxResults Maximum number of subscriptions to return.
- * @opt_param string query A valid label query expression.
+ * @opt_param string pageToken
+ * @opt_param int pageSize
* @return Google_Service_Pubsub_ListSubscriptionsResponse
*/
- public function listSubscriptions($optParams = array())
+ public function listProjectsSubscriptions($project, $optParams = array())
{
- $params = array();
+ $params = array('project' => $project);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse");
}
/**
- * Modifies the Ack deadline for a message received from a pull request.
- * (subscriptions.modifyAckDeadline)
+ * Modifies the ack deadline for a specific message. This method is useful to
+ * indicate that more time is needed to process a message by the subscriber, or
+ * to make the message available for redelivery if the processing was
+ * interrupted. (subscriptions.modifyAckDeadline)
*
+ * @param string $subscription
* @param Google_ModifyAckDeadlineRequest $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Empty
*/
- public function modifyAckDeadline(Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
+ public function modifyAckDeadline($subscription, Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('modifyAckDeadline', array($params));
+ return $this->call('modifyAckDeadline', array($params), "Google_Service_Pubsub_Empty");
}
/**
- * Modifies the PushConfig for a specified subscription. This method can be used
- * to suspend the flow of messages to an endpoint by clearing the PushConfig
- * field in the request. Messages will be accumulated for delivery even if no
- * push configuration is defined or while the configuration is modified.
+ * Modifies the PushConfig for a specified subscription. This may be used to
+ * change a push subscription to a pull one (signified by an empty PushConfig)
+ * or vice versa, or change the endpoint URL and other attributes of a push
+ * subscription. Messages will accumulate for delivery continuously through the
+ * call regardless of changes to the PushConfig.
* (subscriptions.modifyPushConfig)
*
+ * @param string $subscription
* @param Google_ModifyPushConfigRequest $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Empty
*/
- public function modifyPushConfig(Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
+ public function modifyPushConfig($subscription, Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('modifyPushConfig', array($params));
+ return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_Empty");
}
/**
- * Pulls a single message from the server. If return_immediately is true, and no
- * messages are available in the subscription, this method returns
- * FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no
- * messages are available in a reasonable amount of time (to reduce system
- * load). (subscriptions.pull)
+ * Pulls messages from the server. Returns an empty list if there are no
+ * messages available in the backlog. The server may return UNAVAILABLE if there
+ * are too many concurrent pull requests pending for the given subscription.
+ * (subscriptions.pull)
*
+ * @param string $subscription
* @param Google_PullRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_PullResponse
*/
- public function pull(Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
+ public function pull($subscription, Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('subscription' => $subscription, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse");
}
-
- /**
- * Pulls messages from the server. Returns an empty list if there are no
- * messages available in the backlog. The system is free to return UNAVAILABLE
- * if there are too many pull requests outstanding for the given subscription.
- * (subscriptions.pullBatch)
- *
- * @param Google_PullBatchRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_PullBatchResponse
- */
- public function pullBatch(Google_Service_Pubsub_PullBatchRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('pullBatch', array($params), "Google_Service_Pubsub_PullBatchResponse");
- }
}
-
/**
* The "topics" collection of methods.
* Typical usage is:
@@ -358,45 +426,46 @@ public function pullBatch(Google_Service_Pubsub_PullBatchRequest $postBody, $opt
* $topics = $pubsubService->topics;
*
*/
-class Google_Service_Pubsub_Topics_Resource extends Google_Service_Resource
+class Google_Service_Pubsub_ProjectsTopics_Resource extends Google_Service_Resource
{
/**
* Creates the given topic with the given name. (topics.create)
*
+ * @param string $name
* @param Google_Topic $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Topic
*/
- public function create(Google_Service_Pubsub_Topic $postBody, $optParams = array())
+ public function create($name, Google_Service_Pubsub_Topic $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Pubsub_Topic");
}
/**
- * Deletes the topic with the given name. All subscriptions to this topic are
- * also deleted. Returns NOT_FOUND if the topic does not exist. After a topic is
- * deleted, a new topic may be created with the same name. (topics.delete)
+ * Deletes the topic with the given name. Returns NOT_FOUND if the topic does
+ * not exist. After a topic is deleted, a new topic may be created with the same
+ * name; this is an entirely new topic with none of the old configuration or
+ * subscriptions. Existing subscriptions to this topic are not deleted.
+ * (topics.delete)
*
- * @param string $topic Name of the topic to delete.
+ * @param string $topic
* @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_Empty
*/
public function delete($topic, $optParams = array())
{
$params = array('topic' => $topic);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('delete', array($params), "Google_Service_Pubsub_Empty");
}
/**
- * Gets the configuration of a topic. Since the topic only has the name
- * attribute, this method is only useful to check the existence of a topic. If
- * other attributes are added in the future, they will be returned here.
- * (topics.get)
+ * Gets the configuration of a topic. (topics.get)
*
- * @param string $topic The name of the topic to get.
+ * @param string $topic
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Topic
*/
@@ -408,50 +477,66 @@ public function get($topic, $optParams = array())
}
/**
- * Lists matching topics. (topics.listTopics)
+ * Lists matching topics. (topics.listProjectsTopics)
*
+ * @param string $project
* @param array $optParams Optional parameters.
*
- * @opt_param string pageToken The value obtained in the last ListTopicsResponse
- * for continuation.
- * @opt_param int maxResults Maximum number of topics to return.
- * @opt_param string query A valid label query expression.
+ * @opt_param string pageToken
+ * @opt_param int pageSize
* @return Google_Service_Pubsub_ListTopicsResponse
*/
- public function listTopics($optParams = array())
+ public function listProjectsTopics($project, $optParams = array())
{
- $params = array();
+ $params = array('project' => $project);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse");
}
/**
- * Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
- * (topics.publish)
+ * Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
+ * not exist. (topics.publish)
*
+ * @param string $topic
* @param Google_PublishRequest $postBody
* @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PublishResponse
*/
- public function publish(Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
+ public function publish($topic, Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('topic' => $topic, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('publish', array($params));
+ return $this->call('publish', array($params), "Google_Service_Pubsub_PublishResponse");
}
+}
+
+/**
+ * The "subscriptions" collection of methods.
+ * Typical usage is:
+ *
+ * $pubsubService = new Google_Service_Pubsub(...);
+ * $subscriptions = $pubsubService->subscriptions;
+ *
+ */
+class Google_Service_Pubsub_ProjectsTopicsSubscriptions_Resource extends Google_Service_Resource
+{
/**
- * Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
- * not exist. (topics.publishBatch)
+ * Lists the name of the subscriptions for this topic.
+ * (subscriptions.listProjectsTopicsSubscriptions)
*
- * @param Google_PublishBatchRequest $postBody
+ * @param string $topic
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_PublishBatchResponse
+ *
+ * @opt_param string pageToken
+ * @opt_param int pageSize
+ * @return Google_Service_Pubsub_ListTopicSubscriptionsResponse
*/
- public function publishBatch(Google_Service_Pubsub_PublishBatchRequest $postBody, $optParams = array())
+ public function listProjectsTopicsSubscriptions($topic, $optParams = array())
{
- $params = array('postBody' => $postBody);
+ $params = array('topic' => $topic);
$params = array_merge($params, $optParams);
- return $this->call('publishBatch', array($params), "Google_Service_Pubsub_PublishBatchResponse");
+ return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicSubscriptionsResponse");
}
}
@@ -460,74 +545,61 @@ public function publishBatch(Google_Service_Pubsub_PublishBatchRequest $postBody
class Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection
{
- protected $collection_key = 'ackId';
+ protected $collection_key = 'ackIds';
protected $internal_gapi_mappings = array(
);
- public $ackId;
- public $subscription;
+ public $ackIds;
- public function setAckId($ackId)
+ public function setAckIds($ackIds)
{
- $this->ackId = $ackId;
+ $this->ackIds = $ackIds;
}
- public function getAckId()
+ public function getAckIds()
{
- return $this->ackId;
- }
- public function setSubscription($subscription)
- {
- $this->subscription = $subscription;
- }
- public function getSubscription()
- {
- return $this->subscription;
+ return $this->ackIds;
}
}
-class Google_Service_Pubsub_Label extends Google_Model
+class Google_Service_Pubsub_Empty extends Google_Model
+{
+}
+
+class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
{
+ protected $collection_key = 'subscriptions';
protected $internal_gapi_mappings = array(
);
- public $key;
- public $numValue;
- public $strValue;
+ public $nextPageToken;
+ protected $subscriptionsType = 'Google_Service_Pubsub_Subscription';
+ protected $subscriptionsDataType = 'array';
- public function setKey($key)
- {
- $this->key = $key;
- }
- public function getKey()
- {
- return $this->key;
- }
- public function setNumValue($numValue)
+ public function setNextPageToken($nextPageToken)
{
- $this->numValue = $numValue;
+ $this->nextPageToken = $nextPageToken;
}
- public function getNumValue()
+ public function getNextPageToken()
{
- return $this->numValue;
+ return $this->nextPageToken;
}
- public function setStrValue($strValue)
+ public function setSubscriptions($subscriptions)
{
- $this->strValue = $strValue;
+ $this->subscriptions = $subscriptions;
}
- public function getStrValue()
+ public function getSubscriptions()
{
- return $this->strValue;
+ return $this->subscriptions;
}
}
-class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
+class Google_Service_Pubsub_ListTopicSubscriptionsResponse extends Google_Collection
{
- protected $collection_key = 'subscription';
+ protected $collection_key = 'subscriptions';
protected $internal_gapi_mappings = array(
);
public $nextPageToken;
- protected $subscriptionType = 'Google_Service_Pubsub_Subscription';
- protected $subscriptionDataType = 'array';
+ public $subscriptions;
public function setNextPageToken($nextPageToken)
@@ -538,24 +610,24 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
- public function setSubscription($subscription)
+ public function setSubscriptions($subscriptions)
{
- $this->subscription = $subscription;
+ $this->subscriptions = $subscriptions;
}
- public function getSubscription()
+ public function getSubscriptions()
{
- return $this->subscription;
+ return $this->subscriptions;
}
}
class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
{
- protected $collection_key = 'topic';
+ protected $collection_key = 'topics';
protected $internal_gapi_mappings = array(
);
public $nextPageToken;
- protected $topicType = 'Google_Service_Pubsub_Topic';
- protected $topicDataType = 'array';
+ protected $topicsType = 'Google_Service_Pubsub_Topic';
+ protected $topicsDataType = 'array';
public function setNextPageToken($nextPageToken)
@@ -566,13 +638,13 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
- public function setTopic($topic)
+ public function setTopics($topics)
{
- $this->topic = $topic;
+ $this->topics = $topics;
}
- public function getTopic()
+ public function getTopics()
{
- return $this->topic;
+ return $this->topics;
}
}
@@ -582,7 +654,6 @@ class Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Model
);
public $ackDeadlineSeconds;
public $ackId;
- public $subscription;
public function setAckDeadlineSeconds($ackDeadlineSeconds)
@@ -601,14 +672,6 @@ public function getAckId()
{
return $this->ackId;
}
- public function setSubscription($subscription)
- {
- $this->subscription = $subscription;
- }
- public function getSubscription()
- {
- return $this->subscription;
- }
}
class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
@@ -617,7 +680,6 @@ class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
);
protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
protected $pushConfigDataType = '';
- public $subscription;
public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
@@ -628,24 +690,15 @@ public function getPushConfig()
{
return $this->pushConfig;
}
- public function setSubscription($subscription)
- {
- $this->subscription = $subscription;
- }
- public function getSubscription()
- {
- return $this->subscription;
- }
}
-class Google_Service_Pubsub_PublishBatchRequest extends Google_Collection
+class Google_Service_Pubsub_PublishRequest extends Google_Collection
{
protected $collection_key = 'messages';
protected $internal_gapi_mappings = array(
);
protected $messagesType = 'Google_Service_Pubsub_PubsubMessage';
protected $messagesDataType = 'array';
- public $topic;
public function setMessages($messages)
@@ -656,17 +709,9 @@ public function getMessages()
{
return $this->messages;
}
- public function setTopic($topic)
- {
- $this->topic = $topic;
- }
- public function getTopic()
- {
- return $this->topic;
- }
}
-class Google_Service_Pubsub_PublishBatchResponse extends Google_Collection
+class Google_Service_Pubsub_PublishResponse extends Google_Collection
{
protected $collection_key = 'messageIds';
protected $internal_gapi_mappings = array(
@@ -684,89 +729,23 @@ public function getMessageIds()
}
}
-class Google_Service_Pubsub_PublishRequest extends Google_Model
+class Google_Service_Pubsub_PubsubMessage extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
- protected $messageDataType = '';
- public $topic;
-
-
- public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
- {
- $this->message = $message;
- }
- public function getMessage()
- {
- return $this->message;
- }
- public function setTopic($topic)
- {
- $this->topic = $topic;
- }
- public function getTopic()
- {
- return $this->topic;
- }
-}
-
-class Google_Service_Pubsub_PubsubEvent extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $deleted;
- protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
- protected $messageDataType = '';
- public $subscription;
- public $truncated;
+ public $attributes;
+ public $data;
+ public $messageId;
- public function setDeleted($deleted)
- {
- $this->deleted = $deleted;
- }
- public function getDeleted()
+ public function setAttributes($attributes)
{
- return $this->deleted;
+ $this->attributes = $attributes;
}
- public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ public function getAttributes()
{
- $this->message = $message;
+ return $this->attributes;
}
- public function getMessage()
- {
- return $this->message;
- }
- public function setSubscription($subscription)
- {
- $this->subscription = $subscription;
- }
- public function getSubscription()
- {
- return $this->subscription;
- }
- public function setTruncated($truncated)
- {
- $this->truncated = $truncated;
- }
- public function getTruncated()
- {
- return $this->truncated;
- }
-}
-
-class Google_Service_Pubsub_PubsubMessage extends Google_Collection
-{
- protected $collection_key = 'label';
- protected $internal_gapi_mappings = array(
- );
- public $data;
- protected $labelType = 'Google_Service_Pubsub_Label';
- protected $labelDataType = 'array';
- public $messageId;
-
-
public function setData($data)
{
$this->data = $data;
@@ -775,14 +754,6 @@ public function getData()
{
return $this->data;
}
- public function setLabel($label)
- {
- $this->label = $label;
- }
- public function getLabel()
- {
- return $this->label;
- }
public function setMessageId($messageId)
{
$this->messageId = $messageId;
@@ -793,22 +764,25 @@ public function getMessageId()
}
}
-class Google_Service_Pubsub_PullBatchRequest extends Google_Model
+class Google_Service_Pubsub_PubsubMessageAttributes extends Google_Model
+{
+}
+
+class Google_Service_Pubsub_PullRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $maxEvents;
+ public $maxMessages;
public $returnImmediately;
- public $subscription;
- public function setMaxEvents($maxEvents)
+ public function setMaxMessages($maxMessages)
{
- $this->maxEvents = $maxEvents;
+ $this->maxMessages = $maxMessages;
}
- public function getMaxEvents()
+ public function getMaxMessages()
{
- return $this->maxEvents;
+ return $this->maxMessages;
}
public function setReturnImmediately($returnImmediately)
{
@@ -818,68 +792,64 @@ public function getReturnImmediately()
{
return $this->returnImmediately;
}
- public function setSubscription($subscription)
- {
- $this->subscription = $subscription;
- }
- public function getSubscription()
- {
- return $this->subscription;
- }
}
-class Google_Service_Pubsub_PullBatchResponse extends Google_Collection
+class Google_Service_Pubsub_PullResponse extends Google_Collection
{
- protected $collection_key = 'pullResponses';
+ protected $collection_key = 'receivedMessages';
protected $internal_gapi_mappings = array(
);
- protected $pullResponsesType = 'Google_Service_Pubsub_PullResponse';
- protected $pullResponsesDataType = 'array';
+ protected $receivedMessagesType = 'Google_Service_Pubsub_ReceivedMessage';
+ protected $receivedMessagesDataType = 'array';
- public function setPullResponses($pullResponses)
+ public function setReceivedMessages($receivedMessages)
{
- $this->pullResponses = $pullResponses;
+ $this->receivedMessages = $receivedMessages;
}
- public function getPullResponses()
+ public function getReceivedMessages()
{
- return $this->pullResponses;
+ return $this->receivedMessages;
}
}
-class Google_Service_Pubsub_PullRequest extends Google_Model
+class Google_Service_Pubsub_PushConfig extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $returnImmediately;
- public $subscription;
+ public $attributes;
+ public $pushEndpoint;
- public function setReturnImmediately($returnImmediately)
+ public function setAttributes($attributes)
{
- $this->returnImmediately = $returnImmediately;
+ $this->attributes = $attributes;
}
- public function getReturnImmediately()
+ public function getAttributes()
{
- return $this->returnImmediately;
+ return $this->attributes;
}
- public function setSubscription($subscription)
+ public function setPushEndpoint($pushEndpoint)
{
- $this->subscription = $subscription;
+ $this->pushEndpoint = $pushEndpoint;
}
- public function getSubscription()
+ public function getPushEndpoint()
{
- return $this->subscription;
+ return $this->pushEndpoint;
}
}
-class Google_Service_Pubsub_PullResponse extends Google_Model
+class Google_Service_Pubsub_PushConfigAttributes extends Google_Model
+{
+}
+
+class Google_Service_Pubsub_ReceivedMessage extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $ackId;
- protected $pubsubEventType = 'Google_Service_Pubsub_PubsubEvent';
- protected $pubsubEventDataType = '';
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
public function setAckId($ackId)
@@ -890,30 +860,13 @@ public function getAckId()
{
return $this->ackId;
}
- public function setPubsubEvent(Google_Service_Pubsub_PubsubEvent $pubsubEvent)
- {
- $this->pubsubEvent = $pubsubEvent;
- }
- public function getPubsubEvent()
- {
- return $this->pubsubEvent;
- }
-}
-
-class Google_Service_Pubsub_PushConfig extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $pushEndpoint;
-
-
- public function setPushEndpoint($pushEndpoint)
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
{
- $this->pushEndpoint = $pushEndpoint;
+ $this->message = $message;
}
- public function getPushEndpoint()
+ public function getMessage()
{
- return $this->pushEndpoint;
+ return $this->message;
}
}
From c9235e8e7d28d7f0b45928fbf6251148f288f2a8 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $captions = $youtubeService->captions;
+ *
+ */
+class Google_Service_YouTube_Captions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a specified caption track. (captions.delete)
+ *
+ * @param string $id The id parameter identifies the caption track that is being
+ * deleted. The value is a caption track ID as identified by the id property in
+ * a caption resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter
+ * should be used for mimicking a request for a certain project ID
+ */
+ public function delete($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Downloads a caption track. The caption track is returned in its original
+ * format unless the request specifies a value for the tfmt parameter and in its
+ * original language unless the request specifies a value for the tlang
+ * parameter. (captions.download)
+ *
+ * @param string $id The id parameter identifies the caption track that is being
+ * retrieved. The value is a caption track ID as identified by the id property
+ * in a caption resource.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string tfmt The tfmt parameter specifies that the caption track
+ * should be returned in a specific format. If the parameter is not included in
+ * the request, the track is returned in its original format.
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @opt_param string tlang The tlang parameter specifies that the API response
+ * should return a translation of the specified caption track. The parameter
+ * value is an ISO 639-1 two-letter language code that identifies the desired
+ * caption language. The translation is generated by using machine translation,
+ * such as Google Translate.
+ * @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter
+ * should be used for mimicking a request for a certain project ID
+ */
+ public function download($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('download', array($params));
+ }
+
+ /**
+ * Uploads a caption track. (captions.insert)
+ *
+ * @param string $part The part parameter specifies the caption resource parts
+ * that the API response will include. Set the parameter value to snippet.
+ * @param Google_Caption $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter
+ * should be used for mimicking a request for a certain project ID.
+ * @opt_param bool sync The sync parameter indicates whether YouTube should
+ * automatically synchronize the caption file with the audio track of the video.
+ * If you set the value to true, YouTube will disregard any time codes that are
+ * in the uploaded caption file and generate new time codes for the captions.
+ *
+ * You should set the sync parameter to true if you are uploading a transcript,
+ * which has no time codes, or if you suspect the time codes in your file are
+ * incorrect and want YouTube to try to fix them.
+ * @return Google_Service_YouTube_Caption
+ */
+ public function insert($part, Google_Service_YouTube_Caption $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_Caption");
+ }
+
+ /**
+ * Returns a list of caption tracks that are associated with a specified video.
+ * Note that the API response does not contain the actual captions and that the
+ * captions.download method provides the ability to retrieve a caption track.
+ * (captions.listCaptions)
+ *
+ * @param string $part The part parameter specifies the caption resource parts
+ * that the API response will include.
+ * @param string $videoId The videoId parameter specifies the YouTube video ID
+ * of the video for which the API should return caption tracks.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is on behalf of.
+ * @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter
+ * should be used for mimicking a request for a certain project ID.
+ * @opt_param string id The id parameter specifies a comma-separated list of IDs
+ * that identify the caption resources that should be retrieved. Each ID must
+ * identify a caption track associated with the specified video.
+ * @return Google_Service_YouTube_CaptionListResponse
+ */
+ public function listCaptions($part, $videoId, $optParams = array())
+ {
+ $params = array('part' => $part, 'videoId' => $videoId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_CaptionListResponse");
+ }
+
+ /**
+ * Updates a caption track. When updating a caption track, you can change the
+ * track's draft status, upload a new caption file for the track, or both.
+ * (captions.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include. Set the property value to
+ * snippet if you are updating the track's draft status. Otherwise, set the
+ * property value to id.
+ * @param Google_Caption $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOf ID of the Google+ Page for the channel that the
+ * request is be on behalf of
+ * @opt_param string debugProjectIdOverride The debugProjectIdOverride parameter
+ * should be used for mimicking a request for a certain project ID.
+ * @opt_param bool sync Note: The API server only processes the parameter value
+ * if the request contains an updated caption file.
+ *
+ * The sync parameter indicates whether YouTube should automatically synchronize
+ * the caption file with the audio track of the video. If you set the value to
+ * true, YouTube will automatically synchronize the caption track with the audio
+ * track.
+ * @return Google_Service_YouTube_Caption
+ */
+ public function update($part, Google_Service_YouTube_Caption $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Caption");
+ }
+}
+
/**
* The "channelBanners" collection of methods.
* Typical usage is:
@@ -1589,12 +1884,19 @@ public function insert($part, Google_Service_YouTube_ChannelSection $postBody, $
* owner.
* @opt_param string channelId The channelId parameter specifies a YouTube
* channel ID. The API will only return that channel's channelSections.
+ * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
+ * the authenticated user's channelSections.
+ * @opt_param string hl The hl parameter indicates that the snippet.localized
+ * property values in the returned channelSection resources should be in the
+ * specified language if localized values for that language are available. For
+ * example, if the API request specifies hl=de, the snippet.localized properties
+ * in the API response will contain German titles if German titles are
+ * available. Channel owners can provide localized channel section titles using
+ * either the channelSections.insert or channelSections.update method.
* @opt_param string id The id parameter specifies a comma-separated list of the
* YouTube channelSection ID(s) for the resource(s) that are being retrieved. In
* a channelSection resource, the id property specifies the YouTube
* channelSection ID.
- * @opt_param bool mine Set this parameter's value to true to retrieve a feed of
- * the authenticated user's channelSections.
* @return Google_Service_YouTube_ChannelSectionListResponse
*/
public function listChannelSections($part, $optParams = array())
@@ -1693,6 +1995,9 @@ class Google_Service_YouTube_Channels_Resource extends Google_Service_Resource
* retrieved.
* @opt_param bool mySubscribers Set this parameter's value to true to retrieve
* a list of channels that subscribed to the authenticated user's channel.
+ * @opt_param string hl The hl parameter should be used for filter out the
+ * properties that are not in the given language. Used for the brandingSettings
+ * part.
* @opt_param string categoryId The categoryId parameter specifies a YouTube
* guide category, thereby requesting YouTube channels associated with that
* category.
@@ -2804,6 +3109,8 @@ public function insert($part, Google_Service_YouTube_Playlist $postBody, $optPar
* page in the result set that should be returned. In an API response, the
* nextPageToken and prevPageToken properties identify other pages that could be
* retrieved.
+ * @opt_param string hl The hl parameter should be used for filter out the
+ * properties that are not in the given language. Used for the snippet part.
* @opt_param string id The id parameter specifies a comma-separated list of the
* YouTube playlist ID(s) for the resource(s) that are being retrieved. In a
* playlist resource, the id property specifies the playlist's YouTube playlist
@@ -2894,6 +3201,12 @@ class Google_Service_YouTube_Search_Resource extends Google_Service_Resource
* broadcast events.
* @opt_param string channelId The channelId parameter indicates that the API
* response should only contain resources created by the channel
+ * @opt_param bool forDeveloper The forDeveloper parameter restricts the search
+ * to only retrieve videos uploaded via the developer's application or website.
+ * The API server uses the request's authorization credentials to identify the
+ * developer. Therefore, a developer can restrict results to videos uploaded
+ * through the developer's own app or website but not to videos uploaded through
+ * other apps or sites.
* @opt_param string videoSyndicated The videoSyndicated parameter lets you to
* restrict a search to only videos that can be played outside youtube.com.
* @opt_param string channelType The channelType parameter lets you restrict a
@@ -4281,6 +4594,231 @@ public function getType()
}
}
+class Google_Service_YouTube_Caption extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_CaptionSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Google_Service_YouTube_CaptionSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_CaptionListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Caption';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_CaptionSnippet extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $audioTrackType;
+ public $failureReason;
+ public $isAutoSynced;
+ public $isCC;
+ public $isDraft;
+ public $isEasyReader;
+ public $isLarge;
+ public $language;
+ public $lastUpdated;
+ public $name;
+ public $status;
+ public $trackKind;
+ public $videoId;
+
+
+ public function setAudioTrackType($audioTrackType)
+ {
+ $this->audioTrackType = $audioTrackType;
+ }
+ public function getAudioTrackType()
+ {
+ return $this->audioTrackType;
+ }
+ public function setFailureReason($failureReason)
+ {
+ $this->failureReason = $failureReason;
+ }
+ public function getFailureReason()
+ {
+ return $this->failureReason;
+ }
+ public function setIsAutoSynced($isAutoSynced)
+ {
+ $this->isAutoSynced = $isAutoSynced;
+ }
+ public function getIsAutoSynced()
+ {
+ return $this->isAutoSynced;
+ }
+ public function setIsCC($isCC)
+ {
+ $this->isCC = $isCC;
+ }
+ public function getIsCC()
+ {
+ return $this->isCC;
+ }
+ public function setIsDraft($isDraft)
+ {
+ $this->isDraft = $isDraft;
+ }
+ public function getIsDraft()
+ {
+ return $this->isDraft;
+ }
+ public function setIsEasyReader($isEasyReader)
+ {
+ $this->isEasyReader = $isEasyReader;
+ }
+ public function getIsEasyReader()
+ {
+ return $this->isEasyReader;
+ }
+ public function setIsLarge($isLarge)
+ {
+ $this->isLarge = $isLarge;
+ }
+ public function getIsLarge()
+ {
+ return $this->isLarge;
+ }
+ public function setLanguage($language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setLastUpdated($lastUpdated)
+ {
+ $this->lastUpdated = $lastUpdated;
+ }
+ public function getLastUpdated()
+ {
+ return $this->lastUpdated;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setTrackKind($trackKind)
+ {
+ $this->trackKind = $trackKind;
+ }
+ public function getTrackKind()
+ {
+ return $this->trackKind;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
class Google_Service_YouTube_CdnSettings extends Google_Model
{
protected $internal_gapi_mappings = array(
From d03954e7c6540f5abc5e53183eed20024c7adf6e Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $inventoryItems = $dfareportingService->inventoryItems;
+ *
+ */
+class Google_Service_Dfareporting_InventoryItems_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one inventory item by ID. (inventoryItems.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param string $id Inventory item ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_InventoryItem
+ */
+ public function get($profileId, $projectId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_InventoryItem");
+ }
+
+ /**
+ * Retrieves a list of inventory items, possibly filtered.
+ * (inventoryItems.listInventoryItems)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderId Select only inventory items that belong to
+ * specified orders.
+ * @opt_param string ids Select only inventory items with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string siteId Select only inventory items that are associated with
+ * these sites.
+ * @opt_param bool inPlan Select only inventory items that are in plan.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_InventoryItemsListResponse
+ */
+ public function listInventoryItems($profileId, $projectId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_InventoryItemsListResponse");
+ }
+}
+
/**
* The "landingPages" collection of methods.
* Typical usage is:
@@ -6389,6 +7128,21 @@ public function listMetros($profileId, $optParams = array())
class Google_Service_Dfareporting_MobileCarriers_Resource extends Google_Service_Resource
{
+ /**
+ * Gets one mobile carrier by ID. (mobileCarriers.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Mobile carrier ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_MobileCarrier
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_MobileCarrier");
+ }
+
/**
* Retrieves a list of mobile carriers. (mobileCarriers.listMobileCarriers)
*
@@ -6415,6 +7169,21 @@ public function listMobileCarriers($profileId, $optParams = array())
class Google_Service_Dfareporting_OperatingSystemVersions_Resource extends Google_Service_Resource
{
+ /**
+ * Gets one operating system version by ID. (operatingSystemVersions.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Operating system version ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystemVersion
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystemVersion");
+ }
+
/**
* Retrieves a list of operating system versions.
* (operatingSystemVersions.listOperatingSystemVersions)
@@ -6442,6 +7211,21 @@ public function listOperatingSystemVersions($profileId, $optParams = array())
class Google_Service_Dfareporting_OperatingSystems_Resource extends Google_Service_Resource
{
+ /**
+ * Gets one operating system by DART ID. (operatingSystems.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $dartId Operating system DART ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OperatingSystem
+ */
+ public function get($profileId, $dartId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'dartId' => $dartId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_OperatingSystem");
+ }
+
/**
* Retrieves a list of operating systems.
* (operatingSystems.listOperatingSystems)
@@ -6458,6 +7242,128 @@ public function listOperatingSystems($profileId, $optParams = array())
}
}
+/**
+ * The "orderDocuments" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $orderDocuments = $dfareportingService->orderDocuments;
+ *
+ */
+class Google_Service_Dfareporting_OrderDocuments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one order document by ID. (orderDocuments.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param string $id Order document ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_OrderDocument
+ */
+ public function get($profileId, $projectId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_OrderDocument");
+ }
+
+ /**
+ * Retrieves a list of order documents, possibly filtered.
+ * (orderDocuments.listOrderDocuments)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for order documents.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderId Select only order documents for specified orders.
+ * @opt_param string searchString Allows searching for order documents by name
+ * or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will
+ * return order documents with names like "orderdocument June 2015",
+ * "orderdocument April 2015", or simply "orderdocument 2015". Most of the
+ * searches also add wildcards implicitly at the start and the end of the search
+ * string. For example, a search string of "orderdocument" will match order
+ * documents with name "my orderdocument", "orderdocument 2015", or simply
+ * "orderdocument".
+ * @opt_param string ids Select only order documents with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string siteId Select only order documents that are associated with
+ * these sites.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param bool approved Select only order documents that have been approved
+ * by at least one user.
+ * @return Google_Service_Dfareporting_OrderDocumentsListResponse
+ */
+ public function listOrderDocuments($profileId, $projectId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OrderDocumentsListResponse");
+ }
+}
+
+/**
+ * The "orders" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $orders = $dfareportingService->orders;
+ *
+ */
+class Google_Service_Dfareporting_Orders_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one order by ID. (orders.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for orders.
+ * @param string $id Order ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Order
+ */
+ public function get($profileId, $projectId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Order");
+ }
+
+ /**
+ * Retrieves a list of orders, possibly filtered. (orders.listOrders)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $projectId Project ID for orders.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for orders by name or ID.
+ * Wildcards (*) are allowed. For example, "order*2015" will return orders with
+ * names like "order June 2015", "order April 2015", or simply "order 2015".
+ * Most of the searches also add wildcards implicitly at the start and the end
+ * of the search string. For example, a search string of "order" will match
+ * orders with name "my order", "order 2015", or simply "order".
+ * @opt_param string ids Select only orders with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string siteId Select only orders that are associated with these
+ * site IDs.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param string sortField Field by which to sort the list.
+ * @return Google_Service_Dfareporting_OrdersListResponse
+ */
+ public function listOrders($profileId, $projectId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_OrdersListResponse");
+ }
+}
+
/**
* The "placementGroups" collection of methods.
* Typical usage is:
@@ -6862,6 +7768,21 @@ public function update($profileId, Google_Service_Dfareporting_Placement $postBo
class Google_Service_Dfareporting_PlatformTypes_Resource extends Google_Service_Resource
{
+ /**
+ * Gets one platform type by ID. (platformTypes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Platform type ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PlatformType
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PlatformType");
+ }
+
/**
* Retrieves a list of platform types. (platformTypes.listPlatformTypes)
*
@@ -6888,6 +7809,21 @@ public function listPlatformTypes($profileId, $optParams = array())
class Google_Service_Dfareporting_PostalCodes_Resource extends Google_Service_Resource
{
+ /**
+ * Gets one postal code by ID. (postalCodes.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $code Postal code ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_PostalCode
+ */
+ public function get($profileId, $code, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'code' => $code);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_PostalCode");
+ }
+
/**
* Retrieves a list of postal codes. (postalCodes.listPostalCodes)
*
@@ -6903,6 +7839,62 @@ public function listPostalCodes($profileId, $optParams = array())
}
}
+/**
+ * The "projects" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $projects = $dfareportingService->projects;
+ *
+ */
+class Google_Service_Dfareporting_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one project by ID. (projects.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Project ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Project
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Project");
+ }
+
+ /**
+ * Retrieves a list of projects, possibly filtered. (projects.listProjects)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string searchString Allows searching for projects by name or ID.
+ * Wildcards (*) are allowed. For example, "project*2015" will return projects
+ * with names like "project June 2015", "project April 2015", or simply "project
+ * 2015". Most of the searches also add wildcards implicitly at the start and
+ * the end of the search string. For example, a search string of "project" will
+ * match projects with name "my project", "project 2015", or simply "project".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param string advertiserIds Select only projects with these advertiser
+ * IDs.
+ * @opt_param string ids Select only projects with these IDs.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @return Google_Service_Dfareporting_ProjectsListResponse
+ */
+ public function listProjects($profileId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_ProjectsListResponse");
+ }
+}
+
/**
* The "regions" collection of methods.
* Typical usage is:
@@ -6930,61 +7922,228 @@ public function listRegions($profileId, $optParams = array())
}
/**
- * The "reports" collection of methods.
+ * The "remarketingListShares" collection of methods.
* Typical usage is:
*
* $dfareportingService = new Google_Service_Dfareporting(...);
- * $reports = $dfareportingService->reports;
+ * $remarketingListShares = $dfareportingService->remarketingListShares;
*
*/
-class Google_Service_Dfareporting_Reports_Resource extends Google_Service_Resource
+class Google_Service_Dfareporting_RemarketingListShares_Resource extends Google_Service_Resource
{
/**
- * Deletes a report by its ID. (reports.delete)
+ * Gets one remarketing list share by remarketing list ID.
+ * (remarketingListShares.get)
*
- * @param string $profileId The DFA user profile ID.
- * @param string $reportId The ID of the report.
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $remarketingListId Remarketing list ID.
* @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingListShare
*/
- public function delete($profileId, $reportId, $optParams = array())
+ public function get($profileId, $remarketingListId, $optParams = array())
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params));
+ return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingListShare");
}
/**
- * Retrieves a report by its ID. (reports.get)
+ * Updates an existing remarketing list share. This method supports patch
+ * semantics. (remarketingListShares.patch)
*
- * @param string $profileId The DFA user profile ID.
- * @param string $reportId The ID of the report.
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $remarketingListId Remarketing list ID.
+ * @param Google_RemarketingListShare $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_Report
+ * @return Google_Service_Dfareporting_RemarketingListShare
*/
- public function get($profileId, $reportId, $optParams = array())
+ public function patch($profileId, $remarketingListId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array())
{
- $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array('profileId' => $profileId, 'remarketingListId' => $remarketingListId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Dfareporting_Report");
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingListShare");
}
/**
- * Creates a report. (reports.insert)
+ * Updates an existing remarketing list share. (remarketingListShares.update)
*
- * @param string $profileId The DFA user profile ID.
- * @param Google_Report $postBody
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_RemarketingListShare $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Dfareporting_Report
+ * @return Google_Service_Dfareporting_RemarketingListShare
*/
- public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ public function update($profileId, Google_Service_Dfareporting_RemarketingListShare $postBody, $optParams = array())
{
$params = array('profileId' => $profileId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Dfareporting_Report");
+ return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingListShare");
}
+}
- /**
+/**
+ * The "remarketingLists" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $remarketingLists = $dfareportingService->remarketingLists;
+ *
+ */
+class Google_Service_Dfareporting_RemarketingLists_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one remarketing list by ID. (remarketingLists.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Remarketing list ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+
+ /**
+ * Inserts a new remarketing list. (remarketingLists.insert)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_RemarketingList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function insert($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+
+ /**
+ * Retrieves a list of remarketing lists, possibly filtered.
+ * (remarketingLists.listRemarketingLists)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $advertiserId Select only remarketing lists owned by this
+ * advertiser.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string name Allows searching for objects by name or ID. Wildcards
+ * (*) are allowed. For example, "remarketing list*2015" will return objects
+ * with names like "remarketing list June 2015", "remarketing list April 2015",
+ * or simply "remarketing list 2015". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "remarketing list" will match objects with name "my
+ * remarketing list", "remarketing list 2015", or simply "remarketing list".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool active Select only active or only inactive remarketing lists.
+ * @opt_param string floodlightActivityId Select only remarketing lists that
+ * have this floodlight activity ID.
+ * @return Google_Service_Dfareporting_RemarketingListsListResponse
+ */
+ public function listRemarketingLists($profileId, $advertiserId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_RemarketingListsListResponse");
+ }
+
+ /**
+ * Updates an existing remarketing list. This method supports patch semantics.
+ * (remarketingLists.patch)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Remarketing list ID.
+ * @param Google_RemarketingList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function patch($profileId, $id, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+
+ /**
+ * Updates an existing remarketing list. (remarketingLists.update)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param Google_RemarketingList $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_RemarketingList
+ */
+ public function update($profileId, Google_Service_Dfareporting_RemarketingList $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dfareporting_RemarketingList");
+ }
+}
+
+/**
+ * The "reports" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $reports = $dfareportingService->reports;
+ *
+ */
+class Google_Service_Dfareporting_Reports_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a report by its ID. (reports.delete)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves a report by its ID. (reports.get)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param string $reportId The ID of the report.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function get($profileId, $reportId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'reportId' => $reportId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_Report");
+ }
+
+ /**
+ * Creates a report. (reports.insert)
+ *
+ * @param string $profileId The DFA user profile ID.
+ * @param Google_Report $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_Report
+ */
+ public function insert($profileId, Google_Service_Dfareporting_Report $postBody, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Dfareporting_Report");
+ }
+
+ /**
* Retrieves list of reports. (reports.listReports)
*
* @param string $profileId The DFA user profile ID.
@@ -7411,6 +8570,65 @@ public function update($profileId, Google_Service_Dfareporting_Subaccount $postB
}
}
+/**
+ * The "targetableRemarketingLists" collection of methods.
+ * Typical usage is:
+ *
+ * $dfareportingService = new Google_Service_Dfareporting(...);
+ * $targetableRemarketingLists = $dfareportingService->targetableRemarketingLists;
+ *
+ */
+class Google_Service_Dfareporting_TargetableRemarketingLists_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets one remarketing list by ID. (targetableRemarketingLists.get)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $id Remarketing list ID.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dfareporting_TargetableRemarketingList
+ */
+ public function get($profileId, $id, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dfareporting_TargetableRemarketingList");
+ }
+
+ /**
+ * Retrieves a list of targetable remarketing lists, possibly filtered.
+ * (targetableRemarketingLists.listTargetableRemarketingLists)
+ *
+ * @param string $profileId User profile ID associated with this request.
+ * @param string $advertiserId Select only targetable remarketing lists
+ * targetable by these advertisers.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string name Allows searching for objects by name or ID. Wildcards
+ * (*) are allowed. For example, "remarketing list*2015" will return objects
+ * with names like "remarketing list June 2015", "remarketing list April 2015",
+ * or simply "remarketing list 2015". Most of the searches also add wildcards
+ * implicitly at the start and the end of the search string. For example, a
+ * search string of "remarketing list" will match objects with name "my
+ * remarketing list", "remarketing list 2015", or simply "remarketing list".
+ * @opt_param string sortField Field by which to sort the list.
+ * @opt_param int maxResults Maximum number of results to return.
+ * @opt_param string pageToken Value of the nextPageToken from the previous
+ * result page.
+ * @opt_param string sortOrder Order of sorted results, default is ASCENDING.
+ * @opt_param bool active Select only active or only inactive targetable
+ * remarketing lists.
+ * @return Google_Service_Dfareporting_TargetableRemarketingListsListResponse
+ */
+ public function listTargetableRemarketingLists($profileId, $advertiserId, $optParams = array())
+ {
+ $params = array('profileId' => $profileId, 'advertiserId' => $advertiserId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dfareporting_TargetableRemarketingListsListResponse");
+ }
+}
+
/**
* The "userProfiles" collection of methods.
* Typical usage is:
@@ -8676,6 +9894,86 @@ public function getType()
}
}
+class Google_Service_Dfareporting_AdSlot extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $comment;
+ public $compatibility;
+ public $height;
+ public $linkedPlacementId;
+ public $name;
+ public $paymentSourceType;
+ public $primary;
+ public $width;
+
+
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
+ public function setHeight($height)
+ {
+ $this->height = $height;
+ }
+ public function getHeight()
+ {
+ return $this->height;
+ }
+ public function setLinkedPlacementId($linkedPlacementId)
+ {
+ $this->linkedPlacementId = $linkedPlacementId;
+ }
+ public function getLinkedPlacementId()
+ {
+ return $this->linkedPlacementId;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPaymentSourceType($paymentSourceType)
+ {
+ $this->paymentSourceType = $paymentSourceType;
+ }
+ public function getPaymentSourceType()
+ {
+ return $this->paymentSourceType;
+ }
+ public function setPrimary($primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setWidth($width)
+ {
+ $this->width = $width;
+ }
+ public function getWidth()
+ {
+ return $this->width;
+ }
+}
+
class Google_Service_Dfareporting_AdsListResponse extends Google_Collection
{
protected $collection_key = 'ads';
@@ -8730,6 +10028,7 @@ class Google_Service_Dfareporting_Advertiser extends Google_Model
protected $idDimensionValueDataType = '';
public $kind;
public $name;
+ public $originalFloodlightConfigurationId;
public $status;
public $subaccountId;
@@ -8822,6 +10121,14 @@ public function getName()
{
return $this->name;
}
+ public function setOriginalFloodlightConfigurationId($originalFloodlightConfigurationId)
+ {
+ $this->originalFloodlightConfigurationId = $originalFloodlightConfigurationId;
+ }
+ public function getOriginalFloodlightConfigurationId()
+ {
+ return $this->originalFloodlightConfigurationId;
+ }
public function setStatus($status)
{
$this->status = $status;
@@ -10075,7 +11382,6 @@ class Google_Service_Dfareporting_ContentCategory extends Google_Model
protected $internal_gapi_mappings = array(
);
public $accountId;
- public $description;
public $id;
public $kind;
public $name;
@@ -10089,14 +11395,6 @@ public function getAccountId()
{
return $this->accountId;
}
- public function setDescription($description)
- {
- $this->description = $description;
- }
- public function getDescription()
- {
- return $this->description;
- }
public function setId($id)
{
$this->id = $id;
@@ -10231,6 +11529,7 @@ class Google_Service_Dfareporting_Creative extends Google_Collection
public $commercialId;
public $companionCreatives;
public $compatibility;
+ public $convertFlashToHtml5;
protected $counterCustomEventsType = 'Google_Service_Dfareporting_CreativeCustomEvent';
protected $counterCustomEventsDataType = 'array';
protected $creativeAssetsType = 'Google_Service_Dfareporting_CreativeAsset';
@@ -10432,6 +11731,14 @@ public function getCompatibility()
{
return $this->compatibility;
}
+ public function setConvertFlashToHtml5($convertFlashToHtml5)
+ {
+ $this->convertFlashToHtml5 = $convertFlashToHtml5;
+ }
+ public function getConvertFlashToHtml5()
+ {
+ return $this->convertFlashToHtml5;
+ }
public function setCounterCustomEvents($counterCustomEvents)
{
$this->counterCustomEvents = $counterCustomEvents;
@@ -12718,15 +14025,26 @@ class Google_Service_Dfareporting_DirectorySiteContact extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ public $address;
public $email;
public $firstName;
public $id;
public $kind;
public $lastName;
+ public $phone;
public $role;
+ public $title;
public $type;
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
public function setEmail($email)
{
$this->email = $email;
@@ -12767,6 +14085,14 @@ public function getLastName()
{
return $this->lastName;
}
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+ }
+ public function getPhone()
+ {
+ return $this->phone;
+ }
public function setRole($role)
{
$this->role = $role;
@@ -12775,7 +14101,15 @@ public function getRole()
{
return $this->role;
}
- public function setType($type)
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+ public function setType($type)
{
$this->type = $type;
}
@@ -13223,6 +14557,50 @@ public function getNextPageToken()
}
}
+class Google_Service_Dfareporting_Flight extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $endDate;
+ public $rateOrCost;
+ public $startDate;
+ public $units;
+
+
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setRateOrCost($rateOrCost)
+ {
+ $this->rateOrCost = $rateOrCost;
+ }
+ public function getRateOrCost()
+ {
+ return $this->rateOrCost;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
+}
+
class Google_Service_Dfareporting_FloodlightActivitiesGenerateTagResponse extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -14198,6 +15576,226 @@ public function getRegions()
}
}
+class Google_Service_Dfareporting_InventoryItem extends Google_Collection
+{
+ protected $collection_key = 'adSlots';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ protected $adSlotsType = 'Google_Service_Dfareporting_AdSlot';
+ protected $adSlotsDataType = 'array';
+ public $advertiserId;
+ public $contentCategoryId;
+ public $estimatedClickThroughRate;
+ public $estimatedConversionRate;
+ public $id;
+ public $inPlan;
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $negotiationChannelId;
+ public $orderId;
+ public $placementStrategyId;
+ protected $pricingType = 'Google_Service_Dfareporting_Pricing';
+ protected $pricingDataType = '';
+ public $projectId;
+ public $rfpId;
+ public $siteId;
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdSlots($adSlots)
+ {
+ $this->adSlots = $adSlots;
+ }
+ public function getAdSlots()
+ {
+ return $this->adSlots;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setEstimatedClickThroughRate($estimatedClickThroughRate)
+ {
+ $this->estimatedClickThroughRate = $estimatedClickThroughRate;
+ }
+ public function getEstimatedClickThroughRate()
+ {
+ return $this->estimatedClickThroughRate;
+ }
+ public function setEstimatedConversionRate($estimatedConversionRate)
+ {
+ $this->estimatedConversionRate = $estimatedConversionRate;
+ }
+ public function getEstimatedConversionRate()
+ {
+ return $this->estimatedConversionRate;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInPlan($inPlan)
+ {
+ $this->inPlan = $inPlan;
+ }
+ public function getInPlan()
+ {
+ return $this->inPlan;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setNegotiationChannelId($negotiationChannelId)
+ {
+ $this->negotiationChannelId = $negotiationChannelId;
+ }
+ public function getNegotiationChannelId()
+ {
+ return $this->negotiationChannelId;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricing(Google_Service_Dfareporting_Pricing $pricing)
+ {
+ $this->pricing = $pricing;
+ }
+ public function getPricing()
+ {
+ return $this->pricing;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRfpId($rfpId)
+ {
+ $this->rfpId = $rfpId;
+ }
+ public function getRfpId()
+ {
+ return $this->rfpId;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_InventoryItemsListResponse extends Google_Collection
+{
+ protected $collection_key = 'inventoryItems';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inventoryItemsType = 'Google_Service_Dfareporting_InventoryItem';
+ protected $inventoryItemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+
+
+ public function setInventoryItems($inventoryItems)
+ {
+ $this->inventoryItems = $inventoryItems;
+ }
+ public function getInventoryItems()
+ {
+ return $this->inventoryItems;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
class Google_Service_Dfareporting_KeyValueTargetingExpression extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -14313,81 +15911,217 @@ public function getTime()
}
}
-class Google_Service_Dfareporting_ListTargetingExpression extends Google_Model
+class Google_Service_Dfareporting_ListPopulationClause extends Google_Collection
{
+ protected $collection_key = 'terms';
protected $internal_gapi_mappings = array(
);
- public $expression;
+ protected $termsType = 'Google_Service_Dfareporting_ListPopulationTerm';
+ protected $termsDataType = 'array';
- public function setExpression($expression)
+ public function setTerms($terms)
{
- $this->expression = $expression;
+ $this->terms = $terms;
}
- public function getExpression()
+ public function getTerms()
{
- return $this->expression;
+ return $this->terms;
}
}
-class Google_Service_Dfareporting_LookbackConfiguration extends Google_Model
+class Google_Service_Dfareporting_ListPopulationRule extends Google_Collection
{
+ protected $collection_key = 'listPopulationClauses';
protected $internal_gapi_mappings = array(
);
- public $clickDuration;
- public $postImpressionActivitiesDuration;
+ public $floodlightActivityId;
+ public $floodlightActivityName;
+ protected $listPopulationClausesType = 'Google_Service_Dfareporting_ListPopulationClause';
+ protected $listPopulationClausesDataType = 'array';
- public function setClickDuration($clickDuration)
+ public function setFloodlightActivityId($floodlightActivityId)
{
- $this->clickDuration = $clickDuration;
+ $this->floodlightActivityId = $floodlightActivityId;
}
- public function getClickDuration()
+ public function getFloodlightActivityId()
{
- return $this->clickDuration;
+ return $this->floodlightActivityId;
}
- public function setPostImpressionActivitiesDuration($postImpressionActivitiesDuration)
+ public function setFloodlightActivityName($floodlightActivityName)
{
- $this->postImpressionActivitiesDuration = $postImpressionActivitiesDuration;
+ $this->floodlightActivityName = $floodlightActivityName;
}
- public function getPostImpressionActivitiesDuration()
+ public function getFloodlightActivityName()
{
- return $this->postImpressionActivitiesDuration;
+ return $this->floodlightActivityName;
+ }
+ public function setListPopulationClauses($listPopulationClauses)
+ {
+ $this->listPopulationClauses = $listPopulationClauses;
+ }
+ public function getListPopulationClauses()
+ {
+ return $this->listPopulationClauses;
}
}
-class Google_Service_Dfareporting_Metric extends Google_Model
+class Google_Service_Dfareporting_ListPopulationTerm extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $kind;
- public $name;
+ public $contains;
+ public $negation;
+ public $operator;
+ public $remarketingListId;
+ public $type;
+ public $value;
+ public $variableFriendlyName;
+ public $variableName;
- public function setKind($kind)
+ public function setContains($contains)
{
- $this->kind = $kind;
+ $this->contains = $contains;
}
- public function getKind()
+ public function getContains()
{
- return $this->kind;
+ return $this->contains;
}
- public function setName($name)
+ public function setNegation($negation)
{
- $this->name = $name;
+ $this->negation = $negation;
}
- public function getName()
+ public function getNegation()
{
- return $this->name;
+ return $this->negation;
}
-}
-
-class Google_Service_Dfareporting_Metro extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $countryCode;
- public $countryDartId;
+ public function setOperator($operator)
+ {
+ $this->operator = $operator;
+ }
+ public function getOperator()
+ {
+ return $this->operator;
+ }
+ public function setRemarketingListId($remarketingListId)
+ {
+ $this->remarketingListId = $remarketingListId;
+ }
+ public function getRemarketingListId()
+ {
+ return $this->remarketingListId;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+ public function setVariableFriendlyName($variableFriendlyName)
+ {
+ $this->variableFriendlyName = $variableFriendlyName;
+ }
+ public function getVariableFriendlyName()
+ {
+ return $this->variableFriendlyName;
+ }
+ public function setVariableName($variableName)
+ {
+ $this->variableName = $variableName;
+ }
+ public function getVariableName()
+ {
+ return $this->variableName;
+ }
+}
+
+class Google_Service_Dfareporting_ListTargetingExpression extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $expression;
+
+
+ public function setExpression($expression)
+ {
+ $this->expression = $expression;
+ }
+ public function getExpression()
+ {
+ return $this->expression;
+ }
+}
+
+class Google_Service_Dfareporting_LookbackConfiguration extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $clickDuration;
+ public $postImpressionActivitiesDuration;
+
+
+ public function setClickDuration($clickDuration)
+ {
+ $this->clickDuration = $clickDuration;
+ }
+ public function getClickDuration()
+ {
+ return $this->clickDuration;
+ }
+ public function setPostImpressionActivitiesDuration($postImpressionActivitiesDuration)
+ {
+ $this->postImpressionActivitiesDuration = $postImpressionActivitiesDuration;
+ }
+ public function getPostImpressionActivitiesDuration()
+ {
+ return $this->postImpressionActivitiesDuration;
+ }
+}
+
+class Google_Service_Dfareporting_Metric extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_Metro extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $countryCode;
+ public $countryDartId;
public $dartId;
public $dmaId;
public $kind;
@@ -14858,118 +16592,33 @@ public function getWeight()
}
}
-class Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection
-{
- protected $collection_key = 'perInteractionDimensions';
- protected $internal_gapi_mappings = array(
- );
- protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $conversionDimensionsDataType = 'array';
- protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension';
- protected $customFloodlightVariablesDataType = 'array';
- public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
- protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $perInteractionDimensionsDataType = 'array';
-
-
- public function setConversionDimensions($conversionDimensions)
- {
- $this->conversionDimensions = $conversionDimensions;
- }
- public function getConversionDimensions()
- {
- return $this->conversionDimensions;
- }
- public function setCustomFloodlightVariables($customFloodlightVariables)
- {
- $this->customFloodlightVariables = $customFloodlightVariables;
- }
- public function getCustomFloodlightVariables()
- {
- return $this->customFloodlightVariables;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setMetrics($metrics)
- {
- $this->metrics = $metrics;
- }
- public function getMetrics()
- {
- return $this->metrics;
- }
- public function setPerInteractionDimensions($perInteractionDimensions)
- {
- $this->perInteractionDimensions = $perInteractionDimensions;
- }
- public function getPerInteractionDimensions()
- {
- return $this->perInteractionDimensions;
- }
-}
-
-class Google_Service_Dfareporting_Placement extends Google_Collection
+class Google_Service_Dfareporting_Order extends Google_Collection
{
- protected $collection_key = 'tagFormats';
+ protected $collection_key = 'siteNames';
protected $internal_gapi_mappings = array(
);
public $accountId;
public $advertiserId;
- protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $advertiserIdDimensionValueDataType = '';
- public $archived;
- public $campaignId;
- protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $campaignIdDimensionValueDataType = '';
- public $comment;
- public $compatibility;
- public $contentCategoryId;
- protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
- protected $createInfoDataType = '';
- public $directorySiteId;
- protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $directorySiteIdDimensionValueDataType = '';
- public $externalId;
+ public $approverUserProfileIds;
+ public $buyerInvoiceId;
+ public $buyerOrganizationName;
+ public $comments;
+ protected $contactsType = 'Google_Service_Dfareporting_OrderContact';
+ protected $contactsDataType = 'array';
public $id;
- protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $idDimensionValueDataType = '';
- public $keyName;
public $kind;
protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
protected $lastModifiedInfoDataType = '';
- protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
- protected $lookbackConfigurationDataType = '';
public $name;
- public $paymentApproved;
- public $paymentSource;
- public $placementGroupId;
- protected $placementGroupIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $placementGroupIdDimensionValueDataType = '';
- public $placementStrategyId;
- protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
- protected $pricingScheduleDataType = '';
- public $primary;
- protected $publisherUpdateInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
- protected $publisherUpdateInfoDataType = '';
+ public $notes;
+ public $planningTermId;
+ public $projectId;
+ public $sellerOrderId;
+ public $sellerOrganizationName;
public $siteId;
- protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $siteIdDimensionValueDataType = '';
- protected $sizeType = 'Google_Service_Dfareporting_Size';
- protected $sizeDataType = '';
- public $sslRequired;
- public $status;
+ public $siteNames;
public $subaccountId;
- public $tagFormats;
- protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting';
- protected $tagSettingDataType = '';
+ public $termsAndConditions;
public function setAccountId($accountId)
@@ -14988,253 +16637,323 @@ public function getAdvertiserId()
{
return $this->advertiserId;
}
- public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ public function setApproverUserProfileIds($approverUserProfileIds)
{
- $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ $this->approverUserProfileIds = $approverUserProfileIds;
}
- public function getAdvertiserIdDimensionValue()
+ public function getApproverUserProfileIds()
{
- return $this->advertiserIdDimensionValue;
+ return $this->approverUserProfileIds;
}
- public function setArchived($archived)
+ public function setBuyerInvoiceId($buyerInvoiceId)
{
- $this->archived = $archived;
+ $this->buyerInvoiceId = $buyerInvoiceId;
}
- public function getArchived()
+ public function getBuyerInvoiceId()
{
- return $this->archived;
+ return $this->buyerInvoiceId;
}
- public function setCampaignId($campaignId)
+ public function setBuyerOrganizationName($buyerOrganizationName)
{
- $this->campaignId = $campaignId;
+ $this->buyerOrganizationName = $buyerOrganizationName;
}
- public function getCampaignId()
+ public function getBuyerOrganizationName()
{
- return $this->campaignId;
+ return $this->buyerOrganizationName;
}
- public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ public function setComments($comments)
{
- $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ $this->comments = $comments;
}
- public function getCampaignIdDimensionValue()
+ public function getComments()
{
- return $this->campaignIdDimensionValue;
+ return $this->comments;
}
- public function setComment($comment)
+ public function setContacts($contacts)
{
- $this->comment = $comment;
+ $this->contacts = $contacts;
}
- public function getComment()
+ public function getContacts()
{
- return $this->comment;
+ return $this->contacts;
}
- public function setCompatibility($compatibility)
+ public function setId($id)
{
- $this->compatibility = $compatibility;
+ $this->id = $id;
}
- public function getCompatibility()
+ public function getId()
{
- return $this->compatibility;
+ return $this->id;
}
- public function setContentCategoryId($contentCategoryId)
+ public function setKind($kind)
{
- $this->contentCategoryId = $contentCategoryId;
+ $this->kind = $kind;
}
- public function getContentCategoryId()
+ public function getKind()
{
- return $this->contentCategoryId;
+ return $this->kind;
}
- public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
{
- $this->createInfo = $createInfo;
+ $this->lastModifiedInfo = $lastModifiedInfo;
}
- public function getCreateInfo()
+ public function getLastModifiedInfo()
{
- return $this->createInfo;
+ return $this->lastModifiedInfo;
}
- public function setDirectorySiteId($directorySiteId)
+ public function setName($name)
{
- $this->directorySiteId = $directorySiteId;
+ $this->name = $name;
}
- public function getDirectorySiteId()
+ public function getName()
{
- return $this->directorySiteId;
+ return $this->name;
}
- public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ public function setNotes($notes)
{
- $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ $this->notes = $notes;
}
- public function getDirectorySiteIdDimensionValue()
+ public function getNotes()
{
- return $this->directorySiteIdDimensionValue;
+ return $this->notes;
}
- public function setExternalId($externalId)
+ public function setPlanningTermId($planningTermId)
{
- $this->externalId = $externalId;
+ $this->planningTermId = $planningTermId;
}
- public function getExternalId()
+ public function getPlanningTermId()
{
- return $this->externalId;
+ return $this->planningTermId;
}
- public function setId($id)
+ public function setProjectId($projectId)
{
- $this->id = $id;
+ $this->projectId = $projectId;
}
- public function getId()
+ public function getProjectId()
{
- return $this->id;
+ return $this->projectId;
}
- public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ public function setSellerOrderId($sellerOrderId)
{
- $this->idDimensionValue = $idDimensionValue;
+ $this->sellerOrderId = $sellerOrderId;
}
- public function getIdDimensionValue()
+ public function getSellerOrderId()
{
- return $this->idDimensionValue;
+ return $this->sellerOrderId;
}
- public function setKeyName($keyName)
+ public function setSellerOrganizationName($sellerOrganizationName)
{
- $this->keyName = $keyName;
+ $this->sellerOrganizationName = $sellerOrganizationName;
}
- public function getKeyName()
+ public function getSellerOrganizationName()
{
- return $this->keyName;
+ return $this->sellerOrganizationName;
}
- public function setKind($kind)
+ public function setSiteId($siteId)
{
- $this->kind = $kind;
+ $this->siteId = $siteId;
}
- public function getKind()
+ public function getSiteId()
{
- return $this->kind;
+ return $this->siteId;
}
- public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ public function setSiteNames($siteNames)
{
- $this->lastModifiedInfo = $lastModifiedInfo;
+ $this->siteNames = $siteNames;
}
- public function getLastModifiedInfo()
+ public function getSiteNames()
{
- return $this->lastModifiedInfo;
+ return $this->siteNames;
}
- public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ public function setSubaccountId($subaccountId)
{
- $this->lookbackConfiguration = $lookbackConfiguration;
+ $this->subaccountId = $subaccountId;
}
- public function getLookbackConfiguration()
+ public function getSubaccountId()
{
- return $this->lookbackConfiguration;
+ return $this->subaccountId;
}
- public function setName($name)
+ public function setTermsAndConditions($termsAndConditions)
{
- $this->name = $name;
+ $this->termsAndConditions = $termsAndConditions;
}
- public function getName()
+ public function getTermsAndConditions()
{
- return $this->name;
+ return $this->termsAndConditions;
}
- public function setPaymentApproved($paymentApproved)
+}
+
+class Google_Service_Dfareporting_OrderContact extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $contactInfo;
+ public $contactName;
+ public $contactTitle;
+ public $contactType;
+ public $signatureUserProfileId;
+
+
+ public function setContactInfo($contactInfo)
{
- $this->paymentApproved = $paymentApproved;
+ $this->contactInfo = $contactInfo;
}
- public function getPaymentApproved()
+ public function getContactInfo()
{
- return $this->paymentApproved;
+ return $this->contactInfo;
}
- public function setPaymentSource($paymentSource)
+ public function setContactName($contactName)
{
- $this->paymentSource = $paymentSource;
+ $this->contactName = $contactName;
}
- public function getPaymentSource()
+ public function getContactName()
{
- return $this->paymentSource;
+ return $this->contactName;
}
- public function setPlacementGroupId($placementGroupId)
+ public function setContactTitle($contactTitle)
{
- $this->placementGroupId = $placementGroupId;
+ $this->contactTitle = $contactTitle;
}
- public function getPlacementGroupId()
+ public function getContactTitle()
{
- return $this->placementGroupId;
+ return $this->contactTitle;
}
- public function setPlacementGroupIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementGroupIdDimensionValue)
+ public function setContactType($contactType)
{
- $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue;
+ $this->contactType = $contactType;
}
- public function getPlacementGroupIdDimensionValue()
+ public function getContactType()
{
- return $this->placementGroupIdDimensionValue;
+ return $this->contactType;
}
- public function setPlacementStrategyId($placementStrategyId)
+ public function setSignatureUserProfileId($signatureUserProfileId)
{
- $this->placementStrategyId = $placementStrategyId;
+ $this->signatureUserProfileId = $signatureUserProfileId;
}
- public function getPlacementStrategyId()
+ public function getSignatureUserProfileId()
{
- return $this->placementStrategyId;
+ return $this->signatureUserProfileId;
}
- public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule)
+}
+
+class Google_Service_Dfareporting_OrderDocument extends Google_Collection
+{
+ protected $collection_key = 'approvedByUserProfileIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ public $amendedOrderDocumentId;
+ public $approvedByUserProfileIds;
+ public $cancelled;
+ protected $createdInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createdInfoDataType = '';
+ public $effectiveDate;
+ public $id;
+ public $kind;
+ public $orderId;
+ public $projectId;
+ public $signed;
+ public $subaccountId;
+ public $title;
+ public $type;
+
+
+ public function setAccountId($accountId)
{
- $this->pricingSchedule = $pricingSchedule;
+ $this->accountId = $accountId;
}
- public function getPricingSchedule()
+ public function getAccountId()
{
- return $this->pricingSchedule;
+ return $this->accountId;
}
- public function setPrimary($primary)
+ public function setAdvertiserId($advertiserId)
{
- $this->primary = $primary;
+ $this->advertiserId = $advertiserId;
}
- public function getPrimary()
+ public function getAdvertiserId()
{
- return $this->primary;
+ return $this->advertiserId;
}
- public function setPublisherUpdateInfo(Google_Service_Dfareporting_LastModifiedInfo $publisherUpdateInfo)
+ public function setAmendedOrderDocumentId($amendedOrderDocumentId)
{
- $this->publisherUpdateInfo = $publisherUpdateInfo;
+ $this->amendedOrderDocumentId = $amendedOrderDocumentId;
}
- public function getPublisherUpdateInfo()
+ public function getAmendedOrderDocumentId()
{
- return $this->publisherUpdateInfo;
+ return $this->amendedOrderDocumentId;
}
- public function setSiteId($siteId)
+ public function setApprovedByUserProfileIds($approvedByUserProfileIds)
{
- $this->siteId = $siteId;
+ $this->approvedByUserProfileIds = $approvedByUserProfileIds;
}
- public function getSiteId()
+ public function getApprovedByUserProfileIds()
{
- return $this->siteId;
+ return $this->approvedByUserProfileIds;
}
- public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ public function setCancelled($cancelled)
{
- $this->siteIdDimensionValue = $siteIdDimensionValue;
+ $this->cancelled = $cancelled;
}
- public function getSiteIdDimensionValue()
+ public function getCancelled()
{
- return $this->siteIdDimensionValue;
+ return $this->cancelled;
}
- public function setSize(Google_Service_Dfareporting_Size $size)
+ public function setCreatedInfo(Google_Service_Dfareporting_LastModifiedInfo $createdInfo)
{
- $this->size = $size;
+ $this->createdInfo = $createdInfo;
}
- public function getSize()
+ public function getCreatedInfo()
{
- return $this->size;
+ return $this->createdInfo;
}
- public function setSslRequired($sslRequired)
+ public function setEffectiveDate($effectiveDate)
{
- $this->sslRequired = $sslRequired;
+ $this->effectiveDate = $effectiveDate;
}
- public function getSslRequired()
+ public function getEffectiveDate()
{
- return $this->sslRequired;
+ return $this->effectiveDate;
}
- public function setStatus($status)
+ public function setId($id)
{
- $this->status = $status;
+ $this->id = $id;
}
- public function getStatus()
+ public function getId()
{
- return $this->status;
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setOrderId($orderId)
+ {
+ $this->orderId = $orderId;
+ }
+ public function getOrderId()
+ {
+ return $this->orderId;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setSigned($signed)
+ {
+ $this->signed = $signed;
+ }
+ public function getSigned()
+ {
+ return $this->signed;
}
public function setSubaccountId($subaccountId)
{
@@ -15244,84 +16963,171 @@ public function getSubaccountId()
{
return $this->subaccountId;
}
- public function setTagFormats($tagFormats)
+ public function setTitle($title)
{
- $this->tagFormats = $tagFormats;
+ $this->title = $title;
}
- public function getTagFormats()
+ public function getTitle()
{
- return $this->tagFormats;
+ return $this->title;
}
- public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting)
+ public function setType($type)
{
- $this->tagSetting = $tagSetting;
+ $this->type = $type;
}
- public function getTagSetting()
+ public function getType()
{
- return $this->tagSetting;
+ return $this->type;
}
}
-class Google_Service_Dfareporting_PlacementAssignment extends Google_Model
+class Google_Service_Dfareporting_OrderDocumentsListResponse extends Google_Collection
{
+ protected $collection_key = 'orderDocuments';
protected $internal_gapi_mappings = array(
);
- public $active;
- public $placementId;
- protected $placementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $placementIdDimensionValueDataType = '';
- public $sslRequired;
+ public $kind;
+ public $nextPageToken;
+ protected $orderDocumentsType = 'Google_Service_Dfareporting_OrderDocument';
+ protected $orderDocumentsDataType = 'array';
- public function setActive($active)
+ public function setKind($kind)
{
- $this->active = $active;
+ $this->kind = $kind;
}
- public function getActive()
+ public function getKind()
{
- return $this->active;
+ return $this->kind;
}
- public function setPlacementId($placementId)
+ public function setNextPageToken($nextPageToken)
{
- $this->placementId = $placementId;
+ $this->nextPageToken = $nextPageToken;
}
- public function getPlacementId()
+ public function getNextPageToken()
{
- return $this->placementId;
+ return $this->nextPageToken;
}
- public function setPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementIdDimensionValue)
+ public function setOrderDocuments($orderDocuments)
{
- $this->placementIdDimensionValue = $placementIdDimensionValue;
+ $this->orderDocuments = $orderDocuments;
}
- public function getPlacementIdDimensionValue()
+ public function getOrderDocuments()
{
- return $this->placementIdDimensionValue;
+ return $this->orderDocuments;
}
- public function setSslRequired($sslRequired)
+}
+
+class Google_Service_Dfareporting_OrdersListResponse extends Google_Collection
+{
+ protected $collection_key = 'orders';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $ordersType = 'Google_Service_Dfareporting_Order';
+ protected $ordersDataType = 'array';
+
+
+ public function setKind($kind)
{
- $this->sslRequired = $sslRequired;
+ $this->kind = $kind;
}
- public function getSslRequired()
+ public function getKind()
{
- return $this->sslRequired;
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOrders($orders)
+ {
+ $this->orders = $orders;
+ }
+ public function getOrders()
+ {
+ return $this->orders;
}
}
-class Google_Service_Dfareporting_PlacementGroup extends Google_Collection
+class Google_Service_Dfareporting_PathToConversionReportCompatibleFields extends Google_Collection
{
- protected $collection_key = 'childPlacementIds';
+ protected $collection_key = 'perInteractionDimensions';
protected $internal_gapi_mappings = array(
);
- public $accountId;
- public $advertiserId;
- protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $advertiserIdDimensionValueDataType = '';
- public $archived;
- public $campaignId;
- protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $campaignIdDimensionValueDataType = '';
- public $childPlacementIds;
- public $comment;
+ protected $conversionDimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $conversionDimensionsDataType = 'array';
+ protected $customFloodlightVariablesType = 'Google_Service_Dfareporting_Dimension';
+ protected $customFloodlightVariablesDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $perInteractionDimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $perInteractionDimensionsDataType = 'array';
+
+
+ public function setConversionDimensions($conversionDimensions)
+ {
+ $this->conversionDimensions = $conversionDimensions;
+ }
+ public function getConversionDimensions()
+ {
+ return $this->conversionDimensions;
+ }
+ public function setCustomFloodlightVariables($customFloodlightVariables)
+ {
+ $this->customFloodlightVariables = $customFloodlightVariables;
+ }
+ public function getCustomFloodlightVariables()
+ {
+ return $this->customFloodlightVariables;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+ public function setPerInteractionDimensions($perInteractionDimensions)
+ {
+ $this->perInteractionDimensions = $perInteractionDimensions;
+ }
+ public function getPerInteractionDimensions()
+ {
+ return $this->perInteractionDimensions;
+ }
+}
+
+class Google_Service_Dfareporting_Placement extends Google_Collection
+{
+ protected $collection_key = 'tagFormats';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $comment;
+ public $compatibility;
public $contentCategoryId;
protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
protected $createInfoDataType = '';
@@ -15332,23 +17138,35 @@ class Google_Service_Dfareporting_PlacementGroup extends Google_Collection
public $id;
protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
protected $idDimensionValueDataType = '';
+ public $keyName;
public $kind;
protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
protected $lastModifiedInfoDataType = '';
+ protected $lookbackConfigurationType = 'Google_Service_Dfareporting_LookbackConfiguration';
+ protected $lookbackConfigurationDataType = '';
public $name;
- public $placementGroupType;
+ public $paymentApproved;
+ public $paymentSource;
+ public $placementGroupId;
+ protected $placementGroupIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $placementGroupIdDimensionValueDataType = '';
public $placementStrategyId;
protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
protected $pricingScheduleDataType = '';
- public $primaryPlacementId;
- protected $primaryPlacementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
- protected $primaryPlacementIdDimensionValueDataType = '';
- protected $programmaticSettingType = 'Google_Service_Dfareporting_ProgrammaticSetting';
- protected $programmaticSettingDataType = '';
+ public $primary;
+ protected $publisherUpdateInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $publisherUpdateInfoDataType = '';
public $siteId;
protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
protected $siteIdDimensionValueDataType = '';
+ protected $sizeType = 'Google_Service_Dfareporting_Size';
+ protected $sizeDataType = '';
+ public $sslRequired;
+ public $status;
public $subaccountId;
+ public $tagFormats;
+ protected $tagSettingType = 'Google_Service_Dfareporting_TagSetting';
+ protected $tagSettingDataType = '';
public function setAccountId($accountId)
@@ -15399,14 +17217,6 @@ public function getCampaignIdDimensionValue()
{
return $this->campaignIdDimensionValue;
}
- public function setChildPlacementIds($childPlacementIds)
- {
- $this->childPlacementIds = $childPlacementIds;
- }
- public function getChildPlacementIds()
- {
- return $this->childPlacementIds;
- }
public function setComment($comment)
{
$this->comment = $comment;
@@ -15415,6 +17225,14 @@ public function getComment()
{
return $this->comment;
}
+ public function setCompatibility($compatibility)
+ {
+ $this->compatibility = $compatibility;
+ }
+ public function getCompatibility()
+ {
+ return $this->compatibility;
+ }
public function setContentCategoryId($contentCategoryId)
{
$this->contentCategoryId = $contentCategoryId;
@@ -15471,6 +17289,14 @@ public function getIdDimensionValue()
{
return $this->idDimensionValue;
}
+ public function setKeyName($keyName)
+ {
+ $this->keyName = $keyName;
+ }
+ public function getKeyName()
+ {
+ return $this->keyName;
+ }
public function setKind($kind)
{
$this->kind = $kind;
@@ -15487,6 +17313,14 @@ public function getLastModifiedInfo()
{
return $this->lastModifiedInfo;
}
+ public function setLookbackConfiguration(Google_Service_Dfareporting_LookbackConfiguration $lookbackConfiguration)
+ {
+ $this->lookbackConfiguration = $lookbackConfiguration;
+ }
+ public function getLookbackConfiguration()
+ {
+ return $this->lookbackConfiguration;
+ }
public function setName($name)
{
$this->name = $name;
@@ -15495,13 +17329,37 @@ public function getName()
{
return $this->name;
}
- public function setPlacementGroupType($placementGroupType)
+ public function setPaymentApproved($paymentApproved)
{
- $this->placementGroupType = $placementGroupType;
+ $this->paymentApproved = $paymentApproved;
}
- public function getPlacementGroupType()
+ public function getPaymentApproved()
{
- return $this->placementGroupType;
+ return $this->paymentApproved;
+ }
+ public function setPaymentSource($paymentSource)
+ {
+ $this->paymentSource = $paymentSource;
+ }
+ public function getPaymentSource()
+ {
+ return $this->paymentSource;
+ }
+ public function setPlacementGroupId($placementGroupId)
+ {
+ $this->placementGroupId = $placementGroupId;
+ }
+ public function getPlacementGroupId()
+ {
+ return $this->placementGroupId;
+ }
+ public function setPlacementGroupIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementGroupIdDimensionValue)
+ {
+ $this->placementGroupIdDimensionValue = $placementGroupIdDimensionValue;
+ }
+ public function getPlacementGroupIdDimensionValue()
+ {
+ return $this->placementGroupIdDimensionValue;
}
public function setPlacementStrategyId($placementStrategyId)
{
@@ -15519,29 +17377,21 @@ public function getPricingSchedule()
{
return $this->pricingSchedule;
}
- public function setPrimaryPlacementId($primaryPlacementId)
- {
- $this->primaryPlacementId = $primaryPlacementId;
- }
- public function getPrimaryPlacementId()
- {
- return $this->primaryPlacementId;
- }
- public function setPrimaryPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $primaryPlacementIdDimensionValue)
+ public function setPrimary($primary)
{
- $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue;
+ $this->primary = $primary;
}
- public function getPrimaryPlacementIdDimensionValue()
+ public function getPrimary()
{
- return $this->primaryPlacementIdDimensionValue;
+ return $this->primary;
}
- public function setProgrammaticSetting(Google_Service_Dfareporting_ProgrammaticSetting $programmaticSetting)
+ public function setPublisherUpdateInfo(Google_Service_Dfareporting_LastModifiedInfo $publisherUpdateInfo)
{
- $this->programmaticSetting = $programmaticSetting;
+ $this->publisherUpdateInfo = $publisherUpdateInfo;
}
- public function getProgrammaticSetting()
+ public function getPublisherUpdateInfo()
{
- return $this->programmaticSetting;
+ return $this->publisherUpdateInfo;
}
public function setSiteId($siteId)
{
@@ -15559,6 +17409,30 @@ public function getSiteIdDimensionValue()
{
return $this->siteIdDimensionValue;
}
+ public function setSize(Google_Service_Dfareporting_Size $size)
+ {
+ $this->size = $size;
+ }
+ public function getSize()
+ {
+ return $this->size;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
public function setSubaccountId($subaccountId)
{
$this->subaccountId = $subaccountId;
@@ -15567,54 +17441,757 @@ public function getSubaccountId()
{
return $this->subaccountId;
}
+ public function setTagFormats($tagFormats)
+ {
+ $this->tagFormats = $tagFormats;
+ }
+ public function getTagFormats()
+ {
+ return $this->tagFormats;
+ }
+ public function setTagSetting(Google_Service_Dfareporting_TagSetting $tagSetting)
+ {
+ $this->tagSetting = $tagSetting;
+ }
+ public function getTagSetting()
+ {
+ return $this->tagSetting;
+ }
}
-class Google_Service_Dfareporting_PlacementGroupsListResponse extends Google_Collection
+class Google_Service_Dfareporting_PlacementAssignment extends Google_Model
{
- protected $collection_key = 'placementGroups';
protected $internal_gapi_mappings = array(
);
- public $kind;
- public $nextPageToken;
- protected $placementGroupsType = 'Google_Service_Dfareporting_PlacementGroup';
- protected $placementGroupsDataType = 'array';
+ public $active;
+ public $placementId;
+ protected $placementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $placementIdDimensionValueDataType = '';
+ public $sslRequired;
- public function setKind($kind)
+ public function setActive($active)
{
- $this->kind = $kind;
+ $this->active = $active;
}
- public function getKind()
+ public function getActive()
{
- return $this->kind;
+ return $this->active;
}
- public function setNextPageToken($nextPageToken)
+ public function setPlacementId($placementId)
{
- $this->nextPageToken = $nextPageToken;
+ $this->placementId = $placementId;
}
- public function getNextPageToken()
+ public function getPlacementId()
{
- return $this->nextPageToken;
+ return $this->placementId;
}
- public function setPlacementGroups($placementGroups)
+ public function setPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $placementIdDimensionValue)
{
- $this->placementGroups = $placementGroups;
+ $this->placementIdDimensionValue = $placementIdDimensionValue;
}
- public function getPlacementGroups()
+ public function getPlacementIdDimensionValue()
{
- return $this->placementGroups;
+ return $this->placementIdDimensionValue;
+ }
+ public function setSslRequired($sslRequired)
+ {
+ $this->sslRequired = $sslRequired;
+ }
+ public function getSslRequired()
+ {
+ return $this->sslRequired;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementGroup extends Google_Collection
+{
+ protected $collection_key = 'childPlacementIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $archived;
+ public $campaignId;
+ protected $campaignIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $campaignIdDimensionValueDataType = '';
+ public $childPlacementIds;
+ public $comment;
+ public $contentCategoryId;
+ protected $createInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $createInfoDataType = '';
+ public $directorySiteId;
+ protected $directorySiteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $directorySiteIdDimensionValueDataType = '';
+ public $externalId;
+ public $id;
+ protected $idDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $idDimensionValueDataType = '';
+ public $kind;
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $placementGroupType;
+ public $placementStrategyId;
+ protected $pricingScheduleType = 'Google_Service_Dfareporting_PricingSchedule';
+ protected $pricingScheduleDataType = '';
+ public $primaryPlacementId;
+ protected $primaryPlacementIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $primaryPlacementIdDimensionValueDataType = '';
+ protected $programmaticSettingType = 'Google_Service_Dfareporting_ProgrammaticSetting';
+ protected $programmaticSettingDataType = '';
+ public $siteId;
+ protected $siteIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $siteIdDimensionValueDataType = '';
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setArchived($archived)
+ {
+ $this->archived = $archived;
+ }
+ public function getArchived()
+ {
+ return $this->archived;
+ }
+ public function setCampaignId($campaignId)
+ {
+ $this->campaignId = $campaignId;
+ }
+ public function getCampaignId()
+ {
+ return $this->campaignId;
+ }
+ public function setCampaignIdDimensionValue(Google_Service_Dfareporting_DimensionValue $campaignIdDimensionValue)
+ {
+ $this->campaignIdDimensionValue = $campaignIdDimensionValue;
+ }
+ public function getCampaignIdDimensionValue()
+ {
+ return $this->campaignIdDimensionValue;
+ }
+ public function setChildPlacementIds($childPlacementIds)
+ {
+ $this->childPlacementIds = $childPlacementIds;
+ }
+ public function getChildPlacementIds()
+ {
+ return $this->childPlacementIds;
+ }
+ public function setComment($comment)
+ {
+ $this->comment = $comment;
+ }
+ public function getComment()
+ {
+ return $this->comment;
+ }
+ public function setContentCategoryId($contentCategoryId)
+ {
+ $this->contentCategoryId = $contentCategoryId;
+ }
+ public function getContentCategoryId()
+ {
+ return $this->contentCategoryId;
+ }
+ public function setCreateInfo(Google_Service_Dfareporting_LastModifiedInfo $createInfo)
+ {
+ $this->createInfo = $createInfo;
+ }
+ public function getCreateInfo()
+ {
+ return $this->createInfo;
+ }
+ public function setDirectorySiteId($directorySiteId)
+ {
+ $this->directorySiteId = $directorySiteId;
+ }
+ public function getDirectorySiteId()
+ {
+ return $this->directorySiteId;
+ }
+ public function setDirectorySiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $directorySiteIdDimensionValue)
+ {
+ $this->directorySiteIdDimensionValue = $directorySiteIdDimensionValue;
+ }
+ public function getDirectorySiteIdDimensionValue()
+ {
+ return $this->directorySiteIdDimensionValue;
+ }
+ public function setExternalId($externalId)
+ {
+ $this->externalId = $externalId;
+ }
+ public function getExternalId()
+ {
+ return $this->externalId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setIdDimensionValue(Google_Service_Dfareporting_DimensionValue $idDimensionValue)
+ {
+ $this->idDimensionValue = $idDimensionValue;
+ }
+ public function getIdDimensionValue()
+ {
+ return $this->idDimensionValue;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
+ {
+ $this->lastModifiedInfo = $lastModifiedInfo;
+ }
+ public function getLastModifiedInfo()
+ {
+ return $this->lastModifiedInfo;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setPlacementGroupType($placementGroupType)
+ {
+ $this->placementGroupType = $placementGroupType;
+ }
+ public function getPlacementGroupType()
+ {
+ return $this->placementGroupType;
+ }
+ public function setPlacementStrategyId($placementStrategyId)
+ {
+ $this->placementStrategyId = $placementStrategyId;
+ }
+ public function getPlacementStrategyId()
+ {
+ return $this->placementStrategyId;
+ }
+ public function setPricingSchedule(Google_Service_Dfareporting_PricingSchedule $pricingSchedule)
+ {
+ $this->pricingSchedule = $pricingSchedule;
+ }
+ public function getPricingSchedule()
+ {
+ return $this->pricingSchedule;
+ }
+ public function setPrimaryPlacementId($primaryPlacementId)
+ {
+ $this->primaryPlacementId = $primaryPlacementId;
+ }
+ public function getPrimaryPlacementId()
+ {
+ return $this->primaryPlacementId;
+ }
+ public function setPrimaryPlacementIdDimensionValue(Google_Service_Dfareporting_DimensionValue $primaryPlacementIdDimensionValue)
+ {
+ $this->primaryPlacementIdDimensionValue = $primaryPlacementIdDimensionValue;
+ }
+ public function getPrimaryPlacementIdDimensionValue()
+ {
+ return $this->primaryPlacementIdDimensionValue;
+ }
+ public function setProgrammaticSetting(Google_Service_Dfareporting_ProgrammaticSetting $programmaticSetting)
+ {
+ $this->programmaticSetting = $programmaticSetting;
+ }
+ public function getProgrammaticSetting()
+ {
+ return $this->programmaticSetting;
+ }
+ public function setSiteId($siteId)
+ {
+ $this->siteId = $siteId;
+ }
+ public function getSiteId()
+ {
+ return $this->siteId;
+ }
+ public function setSiteIdDimensionValue(Google_Service_Dfareporting_DimensionValue $siteIdDimensionValue)
+ {
+ $this->siteIdDimensionValue = $siteIdDimensionValue;
+ }
+ public function getSiteIdDimensionValue()
+ {
+ return $this->siteIdDimensionValue;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementGroupsListResponse extends Google_Collection
+{
+ protected $collection_key = 'placementGroups';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $placementGroupsType = 'Google_Service_Dfareporting_PlacementGroup';
+ protected $placementGroupsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlacementGroups($placementGroups)
+ {
+ $this->placementGroups = $placementGroups;
+ }
+ public function getPlacementGroups()
+ {
+ return $this->placementGroups;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementStrategiesListResponse extends Google_Collection
+{
+ protected $collection_key = 'placementStrategies';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $placementStrategiesType = 'Google_Service_Dfareporting_PlacementStrategy';
+ protected $placementStrategiesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlacementStrategies($placementStrategies)
+ {
+ $this->placementStrategies = $placementStrategies;
+ }
+ public function getPlacementStrategies()
+ {
+ return $this->placementStrategies;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementStrategy extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementTag extends Google_Collection
+{
+ protected $collection_key = 'tagDatas';
+ protected $internal_gapi_mappings = array(
+ );
+ public $placementId;
+ protected $tagDatasType = 'Google_Service_Dfareporting_TagData';
+ protected $tagDatasDataType = 'array';
+
+
+ public function setPlacementId($placementId)
+ {
+ $this->placementId = $placementId;
+ }
+ public function getPlacementId()
+ {
+ return $this->placementId;
+ }
+ public function setTagDatas($tagDatas)
+ {
+ $this->tagDatas = $tagDatas;
+ }
+ public function getTagDatas()
+ {
+ return $this->tagDatas;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementsGenerateTagsResponse extends Google_Collection
+{
+ protected $collection_key = 'placementTags';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $placementTagsType = 'Google_Service_Dfareporting_PlacementTag';
+ protected $placementTagsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlacementTags($placementTags)
+ {
+ $this->placementTags = $placementTags;
+ }
+ public function getPlacementTags()
+ {
+ return $this->placementTags;
+ }
+}
+
+class Google_Service_Dfareporting_PlacementsListResponse extends Google_Collection
+{
+ protected $collection_key = 'placements';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $placementsType = 'Google_Service_Dfareporting_Placement';
+ protected $placementsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPlacements($placements)
+ {
+ $this->placements = $placements;
+ }
+ public function getPlacements()
+ {
+ return $this->placements;
+ }
+}
+
+class Google_Service_Dfareporting_PlatformType extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $kind;
+ public $name;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dfareporting_PlatformTypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'platformTypes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType';
+ protected $platformTypesDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setPlatformTypes($platformTypes)
+ {
+ $this->platformTypes = $platformTypes;
+ }
+ public function getPlatformTypes()
+ {
+ return $this->platformTypes;
+ }
+}
+
+class Google_Service_Dfareporting_PopupWindowProperties extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $dimensionType = 'Google_Service_Dfareporting_Size';
+ protected $dimensionDataType = '';
+ protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition';
+ protected $offsetDataType = '';
+ public $positionType;
+ public $showAddressBar;
+ public $showMenuBar;
+ public $showScrollBar;
+ public $showStatusBar;
+ public $showToolBar;
+ public $title;
+
+
+ public function setDimension(Google_Service_Dfareporting_Size $dimension)
+ {
+ $this->dimension = $dimension;
+ }
+ public function getDimension()
+ {
+ return $this->dimension;
+ }
+ public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset)
+ {
+ $this->offset = $offset;
+ }
+ public function getOffset()
+ {
+ return $this->offset;
+ }
+ public function setPositionType($positionType)
+ {
+ $this->positionType = $positionType;
+ }
+ public function getPositionType()
+ {
+ return $this->positionType;
+ }
+ public function setShowAddressBar($showAddressBar)
+ {
+ $this->showAddressBar = $showAddressBar;
+ }
+ public function getShowAddressBar()
+ {
+ return $this->showAddressBar;
+ }
+ public function setShowMenuBar($showMenuBar)
+ {
+ $this->showMenuBar = $showMenuBar;
+ }
+ public function getShowMenuBar()
+ {
+ return $this->showMenuBar;
+ }
+ public function setShowScrollBar($showScrollBar)
+ {
+ $this->showScrollBar = $showScrollBar;
+ }
+ public function getShowScrollBar()
+ {
+ return $this->showScrollBar;
+ }
+ public function setShowStatusBar($showStatusBar)
+ {
+ $this->showStatusBar = $showStatusBar;
+ }
+ public function getShowStatusBar()
+ {
+ return $this->showStatusBar;
+ }
+ public function setShowToolBar($showToolBar)
+ {
+ $this->showToolBar = $showToolBar;
+ }
+ public function getShowToolBar()
+ {
+ return $this->showToolBar;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
+}
+
+class Google_Service_Dfareporting_PostalCode extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $countryCode;
+ public $countryDartId;
+ public $id;
+ public $kind;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setCountryCode($countryCode)
+ {
+ $this->countryCode = $countryCode;
+ }
+ public function getCountryCode()
+ {
+ return $this->countryCode;
+ }
+ public function setCountryDartId($countryDartId)
+ {
+ $this->countryDartId = $countryDartId;
+ }
+ public function getCountryDartId()
+ {
+ return $this->countryDartId;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
}
}
-class Google_Service_Dfareporting_PlacementStrategiesListResponse extends Google_Collection
+class Google_Service_Dfareporting_PostalCodesListResponse extends Google_Collection
{
- protected $collection_key = 'placementStrategies';
+ protected $collection_key = 'postalCodes';
protected $internal_gapi_mappings = array(
);
public $kind;
- public $nextPageToken;
- protected $placementStrategiesType = 'Google_Service_Dfareporting_PlacementStrategy';
- protected $placementStrategiesDataType = 'array';
+ protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
+ protected $postalCodesDataType = 'array';
public function setKind($kind)
@@ -15625,367 +18202,494 @@ public function getKind()
{
return $this->kind;
}
- public function setNextPageToken($nextPageToken)
+ public function setPostalCodes($postalCodes)
{
- $this->nextPageToken = $nextPageToken;
+ $this->postalCodes = $postalCodes;
}
- public function getNextPageToken()
+ public function getPostalCodes()
{
- return $this->nextPageToken;
+ return $this->postalCodes;
}
- public function setPlacementStrategies($placementStrategies)
+}
+
+class Google_Service_Dfareporting_Pricing extends Google_Collection
+{
+ protected $collection_key = 'flights';
+ protected $internal_gapi_mappings = array(
+ );
+ public $capCostType;
+ public $endDate;
+ protected $flightsType = 'Google_Service_Dfareporting_Flight';
+ protected $flightsDataType = 'array';
+ public $groupType;
+ public $pricingType;
+ public $startDate;
+
+
+ public function setCapCostType($capCostType)
{
- $this->placementStrategies = $placementStrategies;
+ $this->capCostType = $capCostType;
}
- public function getPlacementStrategies()
+ public function getCapCostType()
{
- return $this->placementStrategies;
+ return $this->capCostType;
+ }
+ public function setEndDate($endDate)
+ {
+ $this->endDate = $endDate;
+ }
+ public function getEndDate()
+ {
+ return $this->endDate;
+ }
+ public function setFlights($flights)
+ {
+ $this->flights = $flights;
+ }
+ public function getFlights()
+ {
+ return $this->flights;
+ }
+ public function setGroupType($groupType)
+ {
+ $this->groupType = $groupType;
+ }
+ public function getGroupType()
+ {
+ return $this->groupType;
+ }
+ public function setPricingType($pricingType)
+ {
+ $this->pricingType = $pricingType;
+ }
+ public function getPricingType()
+ {
+ return $this->pricingType;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
}
}
-class Google_Service_Dfareporting_PlacementStrategy extends Google_Model
+class Google_Service_Dfareporting_PricingSchedule extends Google_Collection
{
+ protected $collection_key = 'pricingPeriods';
protected $internal_gapi_mappings = array(
);
- public $accountId;
- public $id;
- public $kind;
- public $name;
+ public $capCostOption;
+ public $disregardOverdelivery;
+ public $endDate;
+ public $flighted;
+ public $floodlightActivityId;
+ protected $pricingPeriodsType = 'Google_Service_Dfareporting_PricingSchedulePricingPeriod';
+ protected $pricingPeriodsDataType = 'array';
+ public $pricingType;
+ public $startDate;
+ public $testingStartDate;
- public function setAccountId($accountId)
+ public function setCapCostOption($capCostOption)
{
- $this->accountId = $accountId;
+ $this->capCostOption = $capCostOption;
}
- public function getAccountId()
+ public function getCapCostOption()
{
- return $this->accountId;
+ return $this->capCostOption;
}
- public function setId($id)
+ public function setDisregardOverdelivery($disregardOverdelivery)
{
- $this->id = $id;
+ $this->disregardOverdelivery = $disregardOverdelivery;
}
- public function getId()
+ public function getDisregardOverdelivery()
{
- return $this->id;
+ return $this->disregardOverdelivery;
}
- public function setKind($kind)
+ public function setEndDate($endDate)
{
- $this->kind = $kind;
+ $this->endDate = $endDate;
}
- public function getKind()
+ public function getEndDate()
{
- return $this->kind;
+ return $this->endDate;
}
- public function setName($name)
+ public function setFlighted($flighted)
{
- $this->name = $name;
+ $this->flighted = $flighted;
}
- public function getName()
+ public function getFlighted()
{
- return $this->name;
+ return $this->flighted;
+ }
+ public function setFloodlightActivityId($floodlightActivityId)
+ {
+ $this->floodlightActivityId = $floodlightActivityId;
+ }
+ public function getFloodlightActivityId()
+ {
+ return $this->floodlightActivityId;
+ }
+ public function setPricingPeriods($pricingPeriods)
+ {
+ $this->pricingPeriods = $pricingPeriods;
+ }
+ public function getPricingPeriods()
+ {
+ return $this->pricingPeriods;
+ }
+ public function setPricingType($pricingType)
+ {
+ $this->pricingType = $pricingType;
+ }
+ public function getPricingType()
+ {
+ return $this->pricingType;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setTestingStartDate($testingStartDate)
+ {
+ $this->testingStartDate = $testingStartDate;
+ }
+ public function getTestingStartDate()
+ {
+ return $this->testingStartDate;
}
}
-class Google_Service_Dfareporting_PlacementTag extends Google_Collection
+class Google_Service_Dfareporting_PricingSchedulePricingPeriod extends Google_Model
{
- protected $collection_key = 'tagDatas';
protected $internal_gapi_mappings = array(
);
- public $placementId;
- protected $tagDatasType = 'Google_Service_Dfareporting_TagData';
- protected $tagDatasDataType = 'array';
+ public $endDate;
+ public $pricingComment;
+ public $rateOrCostNanos;
+ public $startDate;
+ public $units;
- public function setPlacementId($placementId)
+ public function setEndDate($endDate)
{
- $this->placementId = $placementId;
+ $this->endDate = $endDate;
}
- public function getPlacementId()
+ public function getEndDate()
{
- return $this->placementId;
+ return $this->endDate;
}
- public function setTagDatas($tagDatas)
+ public function setPricingComment($pricingComment)
{
- $this->tagDatas = $tagDatas;
+ $this->pricingComment = $pricingComment;
}
- public function getTagDatas()
+ public function getPricingComment()
+ {
+ return $this->pricingComment;
+ }
+ public function setRateOrCostNanos($rateOrCostNanos)
+ {
+ $this->rateOrCostNanos = $rateOrCostNanos;
+ }
+ public function getRateOrCostNanos()
+ {
+ return $this->rateOrCostNanos;
+ }
+ public function setStartDate($startDate)
+ {
+ $this->startDate = $startDate;
+ }
+ public function getStartDate()
+ {
+ return $this->startDate;
+ }
+ public function setUnits($units)
+ {
+ $this->units = $units;
+ }
+ public function getUnits()
+ {
+ return $this->units;
+ }
+}
+
+class Google_Service_Dfareporting_ProgrammaticSetting extends Google_Collection
+{
+ protected $collection_key = 'traffickerEmails';
+ protected $internal_gapi_mappings = array(
+ );
+ public $adxDealIds;
+ public $insertionOrderId;
+ public $insertionOrderIdStatus;
+ public $mediaCostNanos;
+ public $programmatic;
+ public $traffickerEmails;
+
+
+ public function setAdxDealIds($adxDealIds)
+ {
+ $this->adxDealIds = $adxDealIds;
+ }
+ public function getAdxDealIds()
+ {
+ return $this->adxDealIds;
+ }
+ public function setInsertionOrderId($insertionOrderId)
+ {
+ $this->insertionOrderId = $insertionOrderId;
+ }
+ public function getInsertionOrderId()
+ {
+ return $this->insertionOrderId;
+ }
+ public function setInsertionOrderIdStatus($insertionOrderIdStatus)
+ {
+ $this->insertionOrderIdStatus = $insertionOrderIdStatus;
+ }
+ public function getInsertionOrderIdStatus()
+ {
+ return $this->insertionOrderIdStatus;
+ }
+ public function setMediaCostNanos($mediaCostNanos)
+ {
+ $this->mediaCostNanos = $mediaCostNanos;
+ }
+ public function getMediaCostNanos()
{
- return $this->tagDatas;
+ return $this->mediaCostNanos;
}
-}
-
-class Google_Service_Dfareporting_PlacementsGenerateTagsResponse extends Google_Collection
-{
- protected $collection_key = 'placementTags';
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- protected $placementTagsType = 'Google_Service_Dfareporting_PlacementTag';
- protected $placementTagsDataType = 'array';
-
-
- public function setKind($kind)
+ public function setProgrammatic($programmatic)
{
- $this->kind = $kind;
+ $this->programmatic = $programmatic;
}
- public function getKind()
+ public function getProgrammatic()
{
- return $this->kind;
+ return $this->programmatic;
}
- public function setPlacementTags($placementTags)
+ public function setTraffickerEmails($traffickerEmails)
{
- $this->placementTags = $placementTags;
+ $this->traffickerEmails = $traffickerEmails;
}
- public function getPlacementTags()
+ public function getTraffickerEmails()
{
- return $this->placementTags;
+ return $this->traffickerEmails;
}
}
-class Google_Service_Dfareporting_PlacementsListResponse extends Google_Collection
+class Google_Service_Dfareporting_Project extends Google_Model
{
- protected $collection_key = 'placements';
protected $internal_gapi_mappings = array(
);
+ public $accountId;
+ public $advertiserId;
+ public $audienceAgeGroup;
+ public $audienceGender;
+ public $budget;
+ public $clientBillingCode;
+ public $clientName;
+ public $endDate;
+ public $id;
public $kind;
- public $nextPageToken;
- protected $placementsType = 'Google_Service_Dfareporting_Placement';
- protected $placementsDataType = 'array';
+ protected $lastModifiedInfoType = 'Google_Service_Dfareporting_LastModifiedInfo';
+ protected $lastModifiedInfoDataType = '';
+ public $name;
+ public $overview;
+ public $startDate;
+ public $subaccountId;
+ public $targetClicks;
+ public $targetConversions;
+ public $targetCpaNanos;
+ public $targetCpcNanos;
+ public $targetCpmNanos;
+ public $targetImpressions;
- public function setKind($kind)
+ public function setAccountId($accountId)
{
- $this->kind = $kind;
+ $this->accountId = $accountId;
}
- public function getKind()
+ public function getAccountId()
{
- return $this->kind;
+ return $this->accountId;
}
- public function setNextPageToken($nextPageToken)
+ public function setAdvertiserId($advertiserId)
{
- $this->nextPageToken = $nextPageToken;
+ $this->advertiserId = $advertiserId;
}
- public function getNextPageToken()
+ public function getAdvertiserId()
{
- return $this->nextPageToken;
+ return $this->advertiserId;
}
- public function setPlacements($placements)
+ public function setAudienceAgeGroup($audienceAgeGroup)
{
- $this->placements = $placements;
+ $this->audienceAgeGroup = $audienceAgeGroup;
}
- public function getPlacements()
+ public function getAudienceAgeGroup()
{
- return $this->placements;
+ return $this->audienceAgeGroup;
}
-}
-
-class Google_Service_Dfareporting_PlatformType extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $id;
- public $kind;
- public $name;
-
-
- public function setId($id)
+ public function setAudienceGender($audienceGender)
{
- $this->id = $id;
+ $this->audienceGender = $audienceGender;
}
- public function getId()
+ public function getAudienceGender()
{
- return $this->id;
+ return $this->audienceGender;
}
- public function setKind($kind)
+ public function setBudget($budget)
{
- $this->kind = $kind;
+ $this->budget = $budget;
}
- public function getKind()
+ public function getBudget()
{
- return $this->kind;
+ return $this->budget;
}
- public function setName($name)
+ public function setClientBillingCode($clientBillingCode)
{
- $this->name = $name;
+ $this->clientBillingCode = $clientBillingCode;
}
- public function getName()
+ public function getClientBillingCode()
{
- return $this->name;
+ return $this->clientBillingCode;
}
-}
-
-class Google_Service_Dfareporting_PlatformTypesListResponse extends Google_Collection
-{
- protected $collection_key = 'platformTypes';
- protected $internal_gapi_mappings = array(
- );
- public $kind;
- protected $platformTypesType = 'Google_Service_Dfareporting_PlatformType';
- protected $platformTypesDataType = 'array';
-
-
- public function setKind($kind)
+ public function setClientName($clientName)
{
- $this->kind = $kind;
+ $this->clientName = $clientName;
}
- public function getKind()
+ public function getClientName()
{
- return $this->kind;
+ return $this->clientName;
}
- public function setPlatformTypes($platformTypes)
+ public function setEndDate($endDate)
{
- $this->platformTypes = $platformTypes;
+ $this->endDate = $endDate;
}
- public function getPlatformTypes()
+ public function getEndDate()
{
- return $this->platformTypes;
+ return $this->endDate;
}
-}
-
-class Google_Service_Dfareporting_PopupWindowProperties extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- protected $dimensionType = 'Google_Service_Dfareporting_Size';
- protected $dimensionDataType = '';
- protected $offsetType = 'Google_Service_Dfareporting_OffsetPosition';
- protected $offsetDataType = '';
- public $positionType;
- public $showAddressBar;
- public $showMenuBar;
- public $showScrollBar;
- public $showStatusBar;
- public $showToolBar;
- public $title;
-
-
- public function setDimension(Google_Service_Dfareporting_Size $dimension)
+ public function setId($id)
{
- $this->dimension = $dimension;
+ $this->id = $id;
}
- public function getDimension()
+ public function getId()
{
- return $this->dimension;
+ return $this->id;
}
- public function setOffset(Google_Service_Dfareporting_OffsetPosition $offset)
+ public function setKind($kind)
{
- $this->offset = $offset;
+ $this->kind = $kind;
}
- public function getOffset()
+ public function getKind()
{
- return $this->offset;
+ return $this->kind;
}
- public function setPositionType($positionType)
+ public function setLastModifiedInfo(Google_Service_Dfareporting_LastModifiedInfo $lastModifiedInfo)
{
- $this->positionType = $positionType;
+ $this->lastModifiedInfo = $lastModifiedInfo;
}
- public function getPositionType()
+ public function getLastModifiedInfo()
{
- return $this->positionType;
+ return $this->lastModifiedInfo;
}
- public function setShowAddressBar($showAddressBar)
+ public function setName($name)
{
- $this->showAddressBar = $showAddressBar;
+ $this->name = $name;
}
- public function getShowAddressBar()
+ public function getName()
{
- return $this->showAddressBar;
+ return $this->name;
}
- public function setShowMenuBar($showMenuBar)
+ public function setOverview($overview)
{
- $this->showMenuBar = $showMenuBar;
+ $this->overview = $overview;
}
- public function getShowMenuBar()
+ public function getOverview()
{
- return $this->showMenuBar;
+ return $this->overview;
}
- public function setShowScrollBar($showScrollBar)
+ public function setStartDate($startDate)
{
- $this->showScrollBar = $showScrollBar;
+ $this->startDate = $startDate;
}
- public function getShowScrollBar()
+ public function getStartDate()
{
- return $this->showScrollBar;
+ return $this->startDate;
}
- public function setShowStatusBar($showStatusBar)
+ public function setSubaccountId($subaccountId)
{
- $this->showStatusBar = $showStatusBar;
+ $this->subaccountId = $subaccountId;
}
- public function getShowStatusBar()
+ public function getSubaccountId()
{
- return $this->showStatusBar;
+ return $this->subaccountId;
}
- public function setShowToolBar($showToolBar)
+ public function setTargetClicks($targetClicks)
{
- $this->showToolBar = $showToolBar;
+ $this->targetClicks = $targetClicks;
}
- public function getShowToolBar()
+ public function getTargetClicks()
{
- return $this->showToolBar;
+ return $this->targetClicks;
}
- public function setTitle($title)
+ public function setTargetConversions($targetConversions)
{
- $this->title = $title;
+ $this->targetConversions = $targetConversions;
}
- public function getTitle()
+ public function getTargetConversions()
{
- return $this->title;
+ return $this->targetConversions;
}
-}
-
-class Google_Service_Dfareporting_PostalCode extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $countryCode;
- public $countryDartId;
- public $id;
- public $kind;
-
-
- public function setCountryCode($countryCode)
+ public function setTargetCpaNanos($targetCpaNanos)
{
- $this->countryCode = $countryCode;
+ $this->targetCpaNanos = $targetCpaNanos;
}
- public function getCountryCode()
+ public function getTargetCpaNanos()
{
- return $this->countryCode;
+ return $this->targetCpaNanos;
}
- public function setCountryDartId($countryDartId)
+ public function setTargetCpcNanos($targetCpcNanos)
{
- $this->countryDartId = $countryDartId;
+ $this->targetCpcNanos = $targetCpcNanos;
}
- public function getCountryDartId()
+ public function getTargetCpcNanos()
{
- return $this->countryDartId;
+ return $this->targetCpcNanos;
}
- public function setId($id)
+ public function setTargetCpmNanos($targetCpmNanos)
{
- $this->id = $id;
+ $this->targetCpmNanos = $targetCpmNanos;
}
- public function getId()
+ public function getTargetCpmNanos()
{
- return $this->id;
+ return $this->targetCpmNanos;
}
- public function setKind($kind)
+ public function setTargetImpressions($targetImpressions)
{
- $this->kind = $kind;
+ $this->targetImpressions = $targetImpressions;
}
- public function getKind()
+ public function getTargetImpressions()
{
- return $this->kind;
+ return $this->targetImpressions;
}
}
-class Google_Service_Dfareporting_PostalCodesListResponse extends Google_Collection
+class Google_Service_Dfareporting_ProjectsListResponse extends Google_Collection
{
- protected $collection_key = 'postalCodes';
+ protected $collection_key = 'projects';
protected $internal_gapi_mappings = array(
);
public $kind;
- protected $postalCodesType = 'Google_Service_Dfareporting_PostalCode';
- protected $postalCodesDataType = 'array';
+ public $nextPageToken;
+ protected $projectsType = 'Google_Service_Dfareporting_Project';
+ protected $projectsDataType = 'array';
public function setKind($kind)
@@ -15996,256 +18700,285 @@ public function getKind()
{
return $this->kind;
}
- public function setPostalCodes($postalCodes)
+ public function setNextPageToken($nextPageToken)
{
- $this->postalCodes = $postalCodes;
+ $this->nextPageToken = $nextPageToken;
}
- public function getPostalCodes()
+ public function getNextPageToken()
{
- return $this->postalCodes;
+ return $this->nextPageToken;
+ }
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+ public function getProjects()
+ {
+ return $this->projects;
}
}
-class Google_Service_Dfareporting_PricingSchedule extends Google_Collection
+class Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection
{
- protected $collection_key = 'pricingPeriods';
+ protected $collection_key = 'reachByFrequencyMetrics';
protected $internal_gapi_mappings = array(
);
- public $capCostOption;
- public $disregardOverdelivery;
- public $endDate;
- public $flighted;
- public $floodlightActivityId;
- protected $pricingPeriodsType = 'Google_Service_Dfareporting_PricingSchedulePricingPeriod';
- protected $pricingPeriodsDataType = 'array';
- public $pricingType;
- public $startDate;
- public $testingStartDate;
+ protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionFiltersDataType = 'array';
+ protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
+ protected $dimensionsDataType = 'array';
+ public $kind;
+ protected $metricsType = 'Google_Service_Dfareporting_Metric';
+ protected $metricsDataType = 'array';
+ protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $pivotedActivityMetricsDataType = 'array';
+ protected $reachByFrequencyMetricsType = 'Google_Service_Dfareporting_Metric';
+ protected $reachByFrequencyMetricsDataType = 'array';
- public function setCapCostOption($capCostOption)
+ public function setDimensionFilters($dimensionFilters)
{
- $this->capCostOption = $capCostOption;
+ $this->dimensionFilters = $dimensionFilters;
}
- public function getCapCostOption()
+ public function getDimensionFilters()
{
- return $this->capCostOption;
+ return $this->dimensionFilters;
}
- public function setDisregardOverdelivery($disregardOverdelivery)
+ public function setDimensions($dimensions)
{
- $this->disregardOverdelivery = $disregardOverdelivery;
+ $this->dimensions = $dimensions;
}
- public function getDisregardOverdelivery()
+ public function getDimensions()
{
- return $this->disregardOverdelivery;
+ return $this->dimensions;
}
- public function setEndDate($endDate)
+ public function setKind($kind)
{
- $this->endDate = $endDate;
+ $this->kind = $kind;
}
- public function getEndDate()
+ public function getKind()
{
- return $this->endDate;
+ return $this->kind;
}
- public function setFlighted($flighted)
+ public function setMetrics($metrics)
{
- $this->flighted = $flighted;
+ $this->metrics = $metrics;
}
- public function getFlighted()
+ public function getMetrics()
{
- return $this->flighted;
+ return $this->metrics;
}
- public function setFloodlightActivityId($floodlightActivityId)
+ public function setPivotedActivityMetrics($pivotedActivityMetrics)
{
- $this->floodlightActivityId = $floodlightActivityId;
+ $this->pivotedActivityMetrics = $pivotedActivityMetrics;
}
- public function getFloodlightActivityId()
+ public function getPivotedActivityMetrics()
{
- return $this->floodlightActivityId;
+ return $this->pivotedActivityMetrics;
}
- public function setPricingPeriods($pricingPeriods)
+ public function setReachByFrequencyMetrics($reachByFrequencyMetrics)
{
- $this->pricingPeriods = $pricingPeriods;
+ $this->reachByFrequencyMetrics = $reachByFrequencyMetrics;
}
- public function getPricingPeriods()
+ public function getReachByFrequencyMetrics()
{
- return $this->pricingPeriods;
+ return $this->reachByFrequencyMetrics;
}
- public function setPricingType($pricingType)
+}
+
+class Google_Service_Dfareporting_Recipient extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deliveryType;
+ public $email;
+ public $kind;
+
+
+ public function setDeliveryType($deliveryType)
{
- $this->pricingType = $pricingType;
+ $this->deliveryType = $deliveryType;
}
- public function getPricingType()
+ public function getDeliveryType()
{
- return $this->pricingType;
+ return $this->deliveryType;
}
- public function setStartDate($startDate)
+ public function setEmail($email)
{
- $this->startDate = $startDate;
+ $this->email = $email;
}
- public function getStartDate()
+ public function getEmail()
{
- return $this->startDate;
+ return $this->email;
}
- public function setTestingStartDate($testingStartDate)
+ public function setKind($kind)
{
- $this->testingStartDate = $testingStartDate;
+ $this->kind = $kind;
}
- public function getTestingStartDate()
+ public function getKind()
{
- return $this->testingStartDate;
+ return $this->kind;
}
}
-class Google_Service_Dfareporting_PricingSchedulePricingPeriod extends Google_Model
+class Google_Service_Dfareporting_Region extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $endDate;
- public $pricingComment;
- public $rateOrCostNanos;
- public $startDate;
- public $units;
+ public $countryCode;
+ public $countryDartId;
+ public $dartId;
+ public $kind;
+ public $name;
+ public $regionCode;
- public function setEndDate($endDate)
+ public function setCountryCode($countryCode)
{
- $this->endDate = $endDate;
+ $this->countryCode = $countryCode;
}
- public function getEndDate()
+ public function getCountryCode()
{
- return $this->endDate;
+ return $this->countryCode;
}
- public function setPricingComment($pricingComment)
+ public function setCountryDartId($countryDartId)
{
- $this->pricingComment = $pricingComment;
+ $this->countryDartId = $countryDartId;
}
- public function getPricingComment()
+ public function getCountryDartId()
{
- return $this->pricingComment;
+ return $this->countryDartId;
}
- public function setRateOrCostNanos($rateOrCostNanos)
+ public function setDartId($dartId)
{
- $this->rateOrCostNanos = $rateOrCostNanos;
+ $this->dartId = $dartId;
}
- public function getRateOrCostNanos()
+ public function getDartId()
{
- return $this->rateOrCostNanos;
+ return $this->dartId;
}
- public function setStartDate($startDate)
+ public function setKind($kind)
{
- $this->startDate = $startDate;
+ $this->kind = $kind;
}
- public function getStartDate()
+ public function getKind()
{
- return $this->startDate;
+ return $this->kind;
}
- public function setUnits($units)
+ public function setName($name)
{
- $this->units = $units;
+ $this->name = $name;
}
- public function getUnits()
+ public function getName()
{
- return $this->units;
+ return $this->name;
+ }
+ public function setRegionCode($regionCode)
+ {
+ $this->regionCode = $regionCode;
+ }
+ public function getRegionCode()
+ {
+ return $this->regionCode;
}
}
-class Google_Service_Dfareporting_ProgrammaticSetting extends Google_Collection
+class Google_Service_Dfareporting_RegionsListResponse extends Google_Collection
{
- protected $collection_key = 'traffickerEmails';
+ protected $collection_key = 'regions';
protected $internal_gapi_mappings = array(
);
- public $adxDealIds;
- public $insertionOrderId;
- public $insertionOrderIdStatus;
- public $mediaCostNanos;
- public $programmatic;
- public $traffickerEmails;
+ public $kind;
+ protected $regionsType = 'Google_Service_Dfareporting_Region';
+ protected $regionsDataType = 'array';
- public function setAdxDealIds($adxDealIds)
+ public function setKind($kind)
{
- $this->adxDealIds = $adxDealIds;
+ $this->kind = $kind;
}
- public function getAdxDealIds()
+ public function getKind()
{
- return $this->adxDealIds;
+ return $this->kind;
}
- public function setInsertionOrderId($insertionOrderId)
+ public function setRegions($regions)
{
- $this->insertionOrderId = $insertionOrderId;
+ $this->regions = $regions;
}
- public function getInsertionOrderId()
+ public function getRegions()
{
- return $this->insertionOrderId;
+ return $this->regions;
}
- public function setInsertionOrderIdStatus($insertionOrderIdStatus)
+}
+
+class Google_Service_Dfareporting_RemarketingList extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $active;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $lifeSpan;
+ protected $listPopulationRuleType = 'Google_Service_Dfareporting_ListPopulationRule';
+ protected $listPopulationRuleDataType = '';
+ public $listSize;
+ public $listSource;
+ public $name;
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
{
- $this->insertionOrderIdStatus = $insertionOrderIdStatus;
+ $this->accountId = $accountId;
}
- public function getInsertionOrderIdStatus()
+ public function getAccountId()
{
- return $this->insertionOrderIdStatus;
+ return $this->accountId;
}
- public function setMediaCostNanos($mediaCostNanos)
+ public function setActive($active)
{
- $this->mediaCostNanos = $mediaCostNanos;
+ $this->active = $active;
}
- public function getMediaCostNanos()
+ public function getActive()
{
- return $this->mediaCostNanos;
+ return $this->active;
}
- public function setProgrammatic($programmatic)
+ public function setAdvertiserId($advertiserId)
{
- $this->programmatic = $programmatic;
+ $this->advertiserId = $advertiserId;
}
- public function getProgrammatic()
+ public function getAdvertiserId()
{
- return $this->programmatic;
+ return $this->advertiserId;
}
- public function setTraffickerEmails($traffickerEmails)
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
{
- $this->traffickerEmails = $traffickerEmails;
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
}
- public function getTraffickerEmails()
+ public function getAdvertiserIdDimensionValue()
{
- return $this->traffickerEmails;
+ return $this->advertiserIdDimensionValue;
}
-}
-
-class Google_Service_Dfareporting_ReachReportCompatibleFields extends Google_Collection
-{
- protected $collection_key = 'reachByFrequencyMetrics';
- protected $internal_gapi_mappings = array(
- );
- protected $dimensionFiltersType = 'Google_Service_Dfareporting_Dimension';
- protected $dimensionFiltersDataType = 'array';
- protected $dimensionsType = 'Google_Service_Dfareporting_Dimension';
- protected $dimensionsDataType = 'array';
- public $kind;
- protected $metricsType = 'Google_Service_Dfareporting_Metric';
- protected $metricsDataType = 'array';
- protected $pivotedActivityMetricsType = 'Google_Service_Dfareporting_Metric';
- protected $pivotedActivityMetricsDataType = 'array';
- protected $reachByFrequencyMetricsType = 'Google_Service_Dfareporting_Metric';
- protected $reachByFrequencyMetricsDataType = 'array';
-
-
- public function setDimensionFilters($dimensionFilters)
+ public function setDescription($description)
{
- $this->dimensionFilters = $dimensionFilters;
+ $this->description = $description;
}
- public function getDimensionFilters()
+ public function getDescription()
{
- return $this->dimensionFilters;
+ return $this->description;
}
- public function setDimensions($dimensions)
+ public function setId($id)
{
- $this->dimensions = $dimensions;
+ $this->id = $id;
}
- public function getDimensions()
+ public function getId()
{
- return $this->dimensions;
+ return $this->id;
}
public function setKind($kind)
{
@@ -16255,103 +18988,67 @@ public function getKind()
{
return $this->kind;
}
- public function setMetrics($metrics)
+ public function setLifeSpan($lifeSpan)
{
- $this->metrics = $metrics;
+ $this->lifeSpan = $lifeSpan;
}
- public function getMetrics()
+ public function getLifeSpan()
{
- return $this->metrics;
+ return $this->lifeSpan;
}
- public function setPivotedActivityMetrics($pivotedActivityMetrics)
+ public function setListPopulationRule(Google_Service_Dfareporting_ListPopulationRule $listPopulationRule)
{
- $this->pivotedActivityMetrics = $pivotedActivityMetrics;
+ $this->listPopulationRule = $listPopulationRule;
}
- public function getPivotedActivityMetrics()
+ public function getListPopulationRule()
{
- return $this->pivotedActivityMetrics;
+ return $this->listPopulationRule;
}
- public function setReachByFrequencyMetrics($reachByFrequencyMetrics)
+ public function setListSize($listSize)
{
- $this->reachByFrequencyMetrics = $reachByFrequencyMetrics;
+ $this->listSize = $listSize;
}
- public function getReachByFrequencyMetrics()
+ public function getListSize()
{
- return $this->reachByFrequencyMetrics;
+ return $this->listSize;
}
-}
-
-class Google_Service_Dfareporting_Recipient extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $deliveryType;
- public $email;
- public $kind;
-
-
- public function setDeliveryType($deliveryType)
+ public function setListSource($listSource)
{
- $this->deliveryType = $deliveryType;
+ $this->listSource = $listSource;
}
- public function getDeliveryType()
+ public function getListSource()
{
- return $this->deliveryType;
+ return $this->listSource;
}
- public function setEmail($email)
+ public function setName($name)
{
- $this->email = $email;
+ $this->name = $name;
}
- public function getEmail()
+ public function getName()
{
- return $this->email;
+ return $this->name;
}
- public function setKind($kind)
+ public function setSubaccountId($subaccountId)
{
- $this->kind = $kind;
+ $this->subaccountId = $subaccountId;
}
- public function getKind()
+ public function getSubaccountId()
{
- return $this->kind;
+ return $this->subaccountId;
}
}
-class Google_Service_Dfareporting_Region extends Google_Model
+class Google_Service_Dfareporting_RemarketingListShare extends Google_Collection
{
+ protected $collection_key = 'sharedAdvertiserIds';
protected $internal_gapi_mappings = array(
);
- public $countryCode;
- public $countryDartId;
- public $dartId;
public $kind;
- public $name;
- public $regionCode;
+ public $remarketingListId;
+ public $sharedAccountIds;
+ public $sharedAdvertiserIds;
- public function setCountryCode($countryCode)
- {
- $this->countryCode = $countryCode;
- }
- public function getCountryCode()
- {
- return $this->countryCode;
- }
- public function setCountryDartId($countryDartId)
- {
- $this->countryDartId = $countryDartId;
- }
- public function getCountryDartId()
- {
- return $this->countryDartId;
- }
- public function setDartId($dartId)
- {
- $this->dartId = $dartId;
- }
- public function getDartId()
- {
- return $this->dartId;
- }
public function setKind($kind)
{
$this->kind = $kind;
@@ -16360,32 +19057,41 @@ public function getKind()
{
return $this->kind;
}
- public function setName($name)
+ public function setRemarketingListId($remarketingListId)
{
- $this->name = $name;
+ $this->remarketingListId = $remarketingListId;
}
- public function getName()
+ public function getRemarketingListId()
{
- return $this->name;
+ return $this->remarketingListId;
}
- public function setRegionCode($regionCode)
+ public function setSharedAccountIds($sharedAccountIds)
{
- $this->regionCode = $regionCode;
+ $this->sharedAccountIds = $sharedAccountIds;
}
- public function getRegionCode()
+ public function getSharedAccountIds()
{
- return $this->regionCode;
+ return $this->sharedAccountIds;
+ }
+ public function setSharedAdvertiserIds($sharedAdvertiserIds)
+ {
+ $this->sharedAdvertiserIds = $sharedAdvertiserIds;
+ }
+ public function getSharedAdvertiserIds()
+ {
+ return $this->sharedAdvertiserIds;
}
}
-class Google_Service_Dfareporting_RegionsListResponse extends Google_Collection
+class Google_Service_Dfareporting_RemarketingListsListResponse extends Google_Collection
{
- protected $collection_key = 'regions';
+ protected $collection_key = 'remarketingLists';
protected $internal_gapi_mappings = array(
);
public $kind;
- protected $regionsType = 'Google_Service_Dfareporting_Region';
- protected $regionsDataType = 'array';
+ public $nextPageToken;
+ protected $remarketingListsType = 'Google_Service_Dfareporting_RemarketingList';
+ protected $remarketingListsDataType = 'array';
public function setKind($kind)
@@ -16396,13 +19102,21 @@ public function getKind()
{
return $this->kind;
}
- public function setRegions($regions)
+ public function setNextPageToken($nextPageToken)
{
- $this->regions = $regions;
+ $this->nextPageToken = $nextPageToken;
}
- public function getRegions()
+ public function getNextPageToken()
{
- return $this->regions;
+ return $this->nextPageToken;
+ }
+ public function setRemarketingLists($remarketingLists)
+ {
+ $this->remarketingLists = $remarketingLists;
+ }
+ public function getRemarketingLists()
+ {
+ return $this->remarketingLists;
}
}
@@ -17530,13 +20244,24 @@ class Google_Service_Dfareporting_SiteContact extends Google_Model
{
protected $internal_gapi_mappings = array(
);
+ public $address;
public $contactType;
public $email;
public $firstName;
public $id;
public $lastName;
+ public $phone;
+ public $title;
+ public function setAddress($address)
+ {
+ $this->address = $address;
+ }
+ public function getAddress()
+ {
+ return $this->address;
+ }
public function setContactType($contactType)
{
$this->contactType = $contactType;
@@ -17577,6 +20302,22 @@ public function getLastName()
{
return $this->lastName;
}
+ public function setPhone($phone)
+ {
+ $this->phone = $phone;
+ }
+ public function getPhone()
+ {
+ return $this->phone;
+ }
+ public function setTitle($title)
+ {
+ $this->title = $title;
+ }
+ public function getTitle()
+ {
+ return $this->title;
+ }
}
class Google_Service_Dfareporting_SiteSettings extends Google_Model
@@ -18037,6 +20778,160 @@ public function getTargetWindowOption()
}
}
+class Google_Service_Dfareporting_TargetableRemarketingList extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accountId;
+ public $active;
+ public $advertiserId;
+ protected $advertiserIdDimensionValueType = 'Google_Service_Dfareporting_DimensionValue';
+ protected $advertiserIdDimensionValueDataType = '';
+ public $description;
+ public $id;
+ public $kind;
+ public $lifeSpan;
+ public $listSize;
+ public $listSource;
+ public $name;
+ public $subaccountId;
+
+
+ public function setAccountId($accountId)
+ {
+ $this->accountId = $accountId;
+ }
+ public function getAccountId()
+ {
+ return $this->accountId;
+ }
+ public function setActive($active)
+ {
+ $this->active = $active;
+ }
+ public function getActive()
+ {
+ return $this->active;
+ }
+ public function setAdvertiserId($advertiserId)
+ {
+ $this->advertiserId = $advertiserId;
+ }
+ public function getAdvertiserId()
+ {
+ return $this->advertiserId;
+ }
+ public function setAdvertiserIdDimensionValue(Google_Service_Dfareporting_DimensionValue $advertiserIdDimensionValue)
+ {
+ $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
+ }
+ public function getAdvertiserIdDimensionValue()
+ {
+ return $this->advertiserIdDimensionValue;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setLifeSpan($lifeSpan)
+ {
+ $this->lifeSpan = $lifeSpan;
+ }
+ public function getLifeSpan()
+ {
+ return $this->lifeSpan;
+ }
+ public function setListSize($listSize)
+ {
+ $this->listSize = $listSize;
+ }
+ public function getListSize()
+ {
+ return $this->listSize;
+ }
+ public function setListSource($listSource)
+ {
+ $this->listSource = $listSource;
+ }
+ public function getListSource()
+ {
+ return $this->listSource;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSubaccountId($subaccountId)
+ {
+ $this->subaccountId = $subaccountId;
+ }
+ public function getSubaccountId()
+ {
+ return $this->subaccountId;
+ }
+}
+
+class Google_Service_Dfareporting_TargetableRemarketingListsListResponse extends Google_Collection
+{
+ protected $collection_key = 'targetableRemarketingLists';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $nextPageToken;
+ protected $targetableRemarketingListsType = 'Google_Service_Dfareporting_TargetableRemarketingList';
+ protected $targetableRemarketingListsDataType = 'array';
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTargetableRemarketingLists($targetableRemarketingLists)
+ {
+ $this->targetableRemarketingLists = $targetableRemarketingLists;
+ }
+ public function getTargetableRemarketingLists()
+ {
+ return $this->targetableRemarketingLists;
+ }
+}
+
class Google_Service_Dfareporting_TechnologyTargeting extends Google_Collection
{
protected $collection_key = 'platformTypes';
From 8a316b7c6ed12be7b292e00e8efecb4ab40a1bd2 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $containerService = new Google_Service_Container(...);
+ * $tokens = $containerService->tokens;
+ *
+ */
+class Google_Service_Container_ProjectsZonesTokens_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a compute-rw scoped OAuth2 access token for . Authentication is
+ * performed to ensure that the caller is a member of and that the request is
+ * coming from the expected master VM for the specified cluster. See go/gke-
+ * cross-project-auth for more details. (tokens.get)
+ *
+ * @param string $masterProjectId The hosted master project from which this
+ * request is coming.
+ * @param string $zoneId The zone of the specified cluster.
+ * @param string $projectNumber The project number for which the access token is
+ * being requested.
+ * @param string $clusterName The name of the specified cluster.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Token
+ */
+ public function get($masterProjectId, $zoneId, $projectNumber, $clusterName, $optParams = array())
+ {
+ $params = array('masterProjectId' => $masterProjectId, 'zoneId' => $zoneId, 'projectNumber' => $projectNumber, 'clusterName' => $clusterName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Container_Token");
+ }
+}
@@ -875,3 +944,29 @@ public function getScopes()
return $this->scopes;
}
}
+
+class Google_Service_Container_Token extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $accessToken;
+ public $expiryTimeSeconds;
+
+
+ public function setAccessToken($accessToken)
+ {
+ $this->accessToken = $accessToken;
+ }
+ public function getAccessToken()
+ {
+ return $this->accessToken;
+ }
+ public function setExpiryTimeSeconds($expiryTimeSeconds)
+ {
+ $this->expiryTimeSeconds = $expiryTimeSeconds;
+ }
+ public function getExpiryTimeSeconds()
+ {
+ return $this->expiryTimeSeconds;
+ }
+}
From d2e026bd778f93a38d0bbe440c74f9fd4a018c89 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $genomicsService = new Google_Service_Genomics(...);
- * $streamingVariantStore = $genomicsService->streamingVariantStore;
- *
- */
-class Google_Service_Genomics_StreamingVariantStore_Resource extends Google_Service_Resource
-{
-
- /**
- * Returns a stream of all the variants matching the search request, ordered by
- * reference name, position, and ID. (streamingVariantStore.streamvariants)
- *
- * @param Google_StreamVariantsRequest $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Genomics_Variant
- */
- public function streamvariants(Google_Service_Genomics_StreamVariantsRequest $postBody, $optParams = array())
- {
- $params = array('postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('streamvariants', array($params), "Google_Service_Genomics_Variant");
- }
-}
-
/**
* The "variants" collection of methods.
* Typical usage is:
@@ -5040,60 +4998,6 @@ public function getVariants()
}
}
-class Google_Service_Genomics_StreamVariantsRequest extends Google_Collection
-{
- protected $collection_key = 'variantSetIds';
- protected $internal_gapi_mappings = array(
- );
- public $callSetIds;
- public $end;
- public $referenceName;
- public $start;
- public $variantSetIds;
-
-
- public function setCallSetIds($callSetIds)
- {
- $this->callSetIds = $callSetIds;
- }
- public function getCallSetIds()
- {
- return $this->callSetIds;
- }
- public function setEnd($end)
- {
- $this->end = $end;
- }
- public function getEnd()
- {
- return $this->end;
- }
- public function setReferenceName($referenceName)
- {
- $this->referenceName = $referenceName;
- }
- public function getReferenceName()
- {
- return $this->referenceName;
- }
- public function setStart($start)
- {
- $this->start = $start;
- }
- public function getStart()
- {
- return $this->start;
- }
- public function setVariantSetIds($variantSetIds)
- {
- $this->variantSetIds = $variantSetIds;
- }
- public function getVariantSetIds()
- {
- return $this->variantSetIds;
- }
-}
-
class Google_Service_Genomics_Transcript extends Google_Collection
{
protected $collection_key = 'exons';
From af453b5244e0ebb4d5b2c5ffaa156c7a674aa94d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
* $youtubeService = new Google_Service_YouTube(...);
- * $guideCategories = $youtubeService->guideCategories;
+ * $commentThreads = $youtubeService->commentThreads;
*
*/
-class Google_Service_YouTube_GuideCategories_Resource extends Google_Service_Resource
+class Google_Service_YouTube_CommentThreads_Resource extends Google_Service_Resource
{
/**
- * Returns a list of categories that can be associated with YouTube channels.
- * (guideCategories.listGuideCategories)
+ * Creates a new comment thread and top level comment. (commentThreads.insert)
*
- * @param string $part The part parameter specifies a comma-separated list of
- * one or more guideCategory resource properties that the API response will
- * include. The part names that you can include in the parameter value are id
- * and snippet.
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
*
- * If the parameter identifies a property that contains child properties, the
- * child properties will be included in the response. For example, in a
- * guideCategory resource, the snippet property contains other properties, such
- * as the category's title. If you set part=snippet, the API response will also
- * contain all of those nested properties.
+ * The part names that you can include in the parameter value are id and
+ * snippet. However only snippet contains properties that can be set.
+ * @param Google_CommentThread $postBody
* @param array $optParams Optional parameters.
*
- * @opt_param string regionCode The regionCode parameter instructs the API to
- * return the list of guide categories available in the specified country. The
- * parameter value is an ISO 3166-1 alpha-2 country code.
- * @opt_param string id The id parameter specifies a comma-separated list of the
- * YouTube channel category ID(s) for the resource(s) that are being retrieved.
- * In a guideCategory resource, the id property specifies the YouTube channel
- * category ID.
- * @opt_param string hl The hl parameter specifies the language that will be
- * used for text values in the API response.
- * @return Google_Service_YouTube_GuideCategoryListResponse
+ * @opt_param bool shareOnGooglePlus The shareOnGooglePlus determines whether
+ * this thread should also be posted on Google+.
+ * @return Google_Service_YouTube_CommentThread
*/
- public function listGuideCategories($part, $optParams = array())
+ public function insert($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array())
{
- $params = array('part' => $part);
+ $params = array('part' => $part, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_YouTube_GuideCategoryListResponse");
+ return $this->call('insert', array($params), "Google_Service_YouTube_CommentThread");
}
-}
-
-/**
- * The "i18nLanguages" collection of methods.
- * Typical usage is:
- *
- * $youtubeService = new Google_Service_YouTube(...);
- * $i18nLanguages = $youtubeService->i18nLanguages;
- *
- */
-class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource
-{
/**
- * Returns a list of supported languages. (i18nLanguages.listI18nLanguages)
+ * Returns a list of comment threads that match the API request parameters.
+ * (commentThreads.listCommentThreads)
*
- * @param string $part The part parameter specifies a comma-separated list of
- * one or more i18nLanguage resource properties that the API response will
- * include. The part names that you can include in the parameter value are id
- * and snippet.
+ * @param string $part The part parameter specifies the commentThread resource
+ * parts that the API response will include. Supported values are id, snippet
+ * and replies.
* @param array $optParams Optional parameters.
*
- * @opt_param string hl The hl parameter specifies the language that should be
- * used for text values in the API response.
- * @return Google_Service_YouTube_I18nLanguageListResponse
+ * @opt_param string searchTerms The searchTerms parameter instructs the API to
+ * limit the returned comments to those which contain the specified search
+ * terms.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string allThreadsRelatedToChannelId The
+ * allThreadsRelatedToChannelId parameter instructs the API to return the
+ * comment threads of all videos of the channel and the channel comments as
+ * well.
+ * @opt_param string channelId The channelId parameter instructs the API to
+ * return the comment threads for all the channel comments (not including
+ * comments left on videos).
+ * @opt_param string videoId The videoId parameter instructs the API to return
+ * the comment threads for the video specified by the video id.
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken property identifies the next page of the result that can be
+ * retrieved.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string moderationStatus Set this parameter to limit the returned
+ * comment threads to a particular moderation state.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string textFormat Set this parameter's value to html or plainText
+ * to instruct the API to return the comments left by users in html formatted or
+ * in plain text.
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * comment thread IDs for the resources that should be retrieved.
+ * @return Google_Service_YouTube_CommentThreadListResponse
*/
- public function listI18nLanguages($part, $optParams = array())
+ public function listCommentThreads($part, $optParams = array())
{
$params = array('part' => $part);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");
+ return $this->call('list', array($params), "Google_Service_YouTube_CommentThreadListResponse");
+ }
+
+ /**
+ * Modifies an existing comment. (commentThreads.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are id, snippet
+ * and replies. However only snippet contains properties that can be updated.
+ * @param Google_CommentThread $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_CommentThread
+ */
+ public function update($part, Google_Service_YouTube_CommentThread $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_CommentThread");
}
}
/**
- * The "i18nRegions" collection of methods.
+ * The "comments" collection of methods.
* Typical usage is:
*
* $youtubeService = new Google_Service_YouTube(...);
- * $i18nRegions = $youtubeService->i18nRegions;
+ * $comments = $youtubeService->comments;
*
*/
-class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource
+class Google_Service_YouTube_Comments_Resource extends Google_Service_Resource
{
/**
- * Returns a list of supported regions. (i18nRegions.listI18nRegions)
+ * Deletes a comment. (comments.delete)
*
- * @param string $part The part parameter specifies a comma-separated list of
- * one or more i18nRegion resource properties that the API response will
- * include. The part names that you can include in the parameter value are id
- * and snippet.
+ * @param string $id The id parameter specifies the comment ID for the resource
+ * that should be deleted.
* @param array $optParams Optional parameters.
- *
- * @opt_param string hl The hl parameter specifies the language that should be
- * used for text values in the API response.
- * @return Google_Service_YouTube_I18nRegionListResponse
*/
- public function listI18nRegions($part, $optParams = array())
+ public function delete($id, $optParams = array())
{
- $params = array('part' => $part);
+ $params = array('id' => $id);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse");
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Creates a new comment.
+ *
+ * Note: to create a top level comment it is also necessary to create a comment
+ * thread. Both are accomplished through the commentThreads resource.
+ * (comments.insert)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are id and
+ * snippet. However only snippet contains properties that can be set.
+ * @param Google_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_Comment
+ */
+ public function insert($part, Google_Service_YouTube_Comment $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_YouTube_Comment");
+ }
+
+ /**
+ * Returns a list of comments that match the API request parameters.
+ * (comments.listComments)
+ *
+ * @param string $part The part parameter specifies the comment resource parts
+ * that the API response will include. Supported values are id and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string maxResults The maxResults parameter specifies the maximum
+ * number of items that should be returned in the result set.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string pageToken The pageToken parameter identifies a specific
+ * page in the result set that should be returned. In an API response, the
+ * nextPageToken property identifies the next page of the result that can be
+ * retrieved.
+ *
+ * Note: This parameter is not supported for use in conjunction with the id
+ * parameter.
+ * @opt_param string parentId The parentId parameter specifies the ID of the
+ * comment for which replies should be retrieved.
+ *
+ * Note: Currently YouTube features only one level of replies (ie replies to top
+ * level comments). However replies to replies may be supported in the future.
+ * @opt_param string textFormat Set this parameter's value to html or plainText
+ * to instruct the API to return the comments left by users formatted as HTML or
+ * as plain text.
+ * @opt_param string id The id parameter specifies a comma-separated list of
+ * comment IDs for the resources that should be retrieved.
+ * @return Google_Service_YouTube_CommentListResponse
+ */
+ public function listComments($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_CommentListResponse");
+ }
+
+ /**
+ * Expresses the caller's opinion that a comment is spam. (comments.markAsSpam)
+ *
+ * @param string $id The id parameter specifies a comma-separated list of IDs of
+ * comments which should get flagged as spam.
+ * @param array $optParams Optional parameters.
+ */
+ public function markAsSpam($id, $optParams = array())
+ {
+ $params = array('id' => $id);
+ $params = array_merge($params, $optParams);
+ return $this->call('markAsSpam', array($params));
+ }
+
+ /**
+ * Sets the moderation status of one or more comments.
+ * (comments.setModerationStatus)
+ *
+ * @param string $id The id parameter specifies a comma-separated list of IDs of
+ * comments whose moderation status should be updated.
+ * @param string $moderationStatus Determines the new moderation status of the
+ * specified comments.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param bool banAuthor The banAuthor paramter, if set to true, adds the
+ * author of the comment to the ban list. This means all future comments of the
+ * author will autmomatically be rejected.
+ *
+ * Note: This parameter is only valid in combination with moderationStatus
+ * 'rejected'.
+ */
+ public function setModerationStatus($id, $moderationStatus, $optParams = array())
+ {
+ $params = array('id' => $id, 'moderationStatus' => $moderationStatus);
+ $params = array_merge($params, $optParams);
+ return $this->call('setModerationStatus', array($params));
+ }
+
+ /**
+ * Modifies an existing comment. (comments.update)
+ *
+ * @param string $part The part parameter serves two purposes in this operation.
+ * It identifies the properties that the write operation will set as well as the
+ * properties that the API response will include.
+ *
+ * The part names that you can include in the parameter value are id and
+ * snippet. However only snippet contains properties that can be updated.
+ * @param Google_Comment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_YouTube_Comment
+ */
+ public function update($part, Google_Service_YouTube_Comment $postBody, $optParams = array())
+ {
+ $params = array('part' => $part, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_YouTube_Comment");
+ }
+}
+
+/**
+ * The "guideCategories" collection of methods.
+ * Typical usage is:
+ *
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $guideCategories = $youtubeService->guideCategories;
+ *
+ */
+class Google_Service_YouTube_GuideCategories_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of categories that can be associated with YouTube channels.
+ * (guideCategories.listGuideCategories)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more guideCategory resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id
+ * and snippet.
+ *
+ * If the parameter identifies a property that contains child properties, the
+ * child properties will be included in the response. For example, in a
+ * guideCategory resource, the snippet property contains other properties, such
+ * as the category's title. If you set part=snippet, the API response will also
+ * contain all of those nested properties.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string regionCode The regionCode parameter instructs the API to
+ * return the list of guide categories available in the specified country. The
+ * parameter value is an ISO 3166-1 alpha-2 country code.
+ * @opt_param string id The id parameter specifies a comma-separated list of the
+ * YouTube channel category ID(s) for the resource(s) that are being retrieved.
+ * In a guideCategory resource, the id property specifies the YouTube channel
+ * category ID.
+ * @opt_param string hl The hl parameter specifies the language that will be
+ * used for text values in the API response.
+ * @return Google_Service_YouTube_GuideCategoryListResponse
+ */
+ public function listGuideCategories($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_GuideCategoryListResponse");
+ }
+}
+
+/**
+ * The "i18nLanguages" collection of methods.
+ * Typical usage is:
+ *
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $i18nLanguages = $youtubeService->i18nLanguages;
+ *
+ */
+class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of supported languages. (i18nLanguages.listI18nLanguages)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more i18nLanguage resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id
+ * and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Google_Service_YouTube_I18nLanguageListResponse
+ */
+ public function listI18nLanguages($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");
+ }
+}
+
+/**
+ * The "i18nRegions" collection of methods.
+ * Typical usage is:
+ *
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $i18nRegions = $youtubeService->i18nRegions;
+ *
+ */
+class Google_Service_YouTube_I18nRegions_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of supported regions. (i18nRegions.listI18nRegions)
+ *
+ * @param string $part The part parameter specifies a comma-separated list of
+ * one or more i18nRegion resource properties that the API response will
+ * include. The part names that you can include in the parameter value are id
+ * and snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Google_Service_YouTube_I18nRegionListResponse
+ */
+ public function listI18nRegions($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_I18nRegionListResponse");
}
}
@@ -5279,6 +5718,23 @@ public function getPings()
}
}
+class Google_Service_YouTube_ChannelId extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $value;
+
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
class Google_Service_YouTube_ChannelListResponse extends Google_Collection
{
protected $collection_key = 'items';
@@ -5938,6 +6394,509 @@ public function getTopicIds()
}
}
+class Google_Service_YouTube_Comment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_CommentSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Google_Service_YouTube_CommentSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_CommentListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_Comment';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_CommentSnippet extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $authorChannelIdType = 'Google_Service_YouTube_ChannelId';
+ protected $authorChannelIdDataType = '';
+ public $authorChannelUrl;
+ public $authorDisplayName;
+ public $authorGoogleplusProfileUrl;
+ public $authorProfileImageUrl;
+ public $canRate;
+ public $channelId;
+ public $likeCount;
+ public $moderationStatus;
+ public $parentId;
+ public $publishedAt;
+ public $textDisplay;
+ public $textOriginal;
+ public $updatedAt;
+ public $videoId;
+ public $viewerRating;
+
+
+ public function setAuthorChannelId(Google_Service_YouTube_ChannelId $authorChannelId)
+ {
+ $this->authorChannelId = $authorChannelId;
+ }
+ public function getAuthorChannelId()
+ {
+ return $this->authorChannelId;
+ }
+ public function setAuthorChannelUrl($authorChannelUrl)
+ {
+ $this->authorChannelUrl = $authorChannelUrl;
+ }
+ public function getAuthorChannelUrl()
+ {
+ return $this->authorChannelUrl;
+ }
+ public function setAuthorDisplayName($authorDisplayName)
+ {
+ $this->authorDisplayName = $authorDisplayName;
+ }
+ public function getAuthorDisplayName()
+ {
+ return $this->authorDisplayName;
+ }
+ public function setAuthorGoogleplusProfileUrl($authorGoogleplusProfileUrl)
+ {
+ $this->authorGoogleplusProfileUrl = $authorGoogleplusProfileUrl;
+ }
+ public function getAuthorGoogleplusProfileUrl()
+ {
+ return $this->authorGoogleplusProfileUrl;
+ }
+ public function setAuthorProfileImageUrl($authorProfileImageUrl)
+ {
+ $this->authorProfileImageUrl = $authorProfileImageUrl;
+ }
+ public function getAuthorProfileImageUrl()
+ {
+ return $this->authorProfileImageUrl;
+ }
+ public function setCanRate($canRate)
+ {
+ $this->canRate = $canRate;
+ }
+ public function getCanRate()
+ {
+ return $this->canRate;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setLikeCount($likeCount)
+ {
+ $this->likeCount = $likeCount;
+ }
+ public function getLikeCount()
+ {
+ return $this->likeCount;
+ }
+ public function setModerationStatus($moderationStatus)
+ {
+ $this->moderationStatus = $moderationStatus;
+ }
+ public function getModerationStatus()
+ {
+ return $this->moderationStatus;
+ }
+ public function setParentId($parentId)
+ {
+ $this->parentId = $parentId;
+ }
+ public function getParentId()
+ {
+ return $this->parentId;
+ }
+ public function setPublishedAt($publishedAt)
+ {
+ $this->publishedAt = $publishedAt;
+ }
+ public function getPublishedAt()
+ {
+ return $this->publishedAt;
+ }
+ public function setTextDisplay($textDisplay)
+ {
+ $this->textDisplay = $textDisplay;
+ }
+ public function getTextDisplay()
+ {
+ return $this->textDisplay;
+ }
+ public function setTextOriginal($textOriginal)
+ {
+ $this->textOriginal = $textOriginal;
+ }
+ public function getTextOriginal()
+ {
+ return $this->textOriginal;
+ }
+ public function setUpdatedAt($updatedAt)
+ {
+ $this->updatedAt = $updatedAt;
+ }
+ public function getUpdatedAt()
+ {
+ return $this->updatedAt;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+ public function setViewerRating($viewerRating)
+ {
+ $this->viewerRating = $viewerRating;
+ }
+ public function getViewerRating()
+ {
+ return $this->viewerRating;
+ }
+}
+
+class Google_Service_YouTube_CommentThread extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $repliesType = 'Google_Service_YouTube_CommentThreadReplies';
+ protected $repliesDataType = '';
+ protected $snippetType = 'Google_Service_YouTube_CommentThreadSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setReplies(Google_Service_YouTube_CommentThreadReplies $replies)
+ {
+ $this->replies = $replies;
+ }
+ public function getReplies()
+ {
+ return $this->replies;
+ }
+ public function setSnippet(Google_Service_YouTube_CommentThreadSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_CommentThreadListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_CommentThread';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ protected $pageInfoType = 'Google_Service_YouTube_PageInfo';
+ protected $pageInfoDataType = '';
+ protected $tokenPaginationType = 'Google_Service_YouTube_TokenPagination';
+ protected $tokenPaginationDataType = '';
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setPageInfo(Google_Service_YouTube_PageInfo $pageInfo)
+ {
+ $this->pageInfo = $pageInfo;
+ }
+ public function getPageInfo()
+ {
+ return $this->pageInfo;
+ }
+ public function setTokenPagination(Google_Service_YouTube_TokenPagination $tokenPagination)
+ {
+ $this->tokenPagination = $tokenPagination;
+ }
+ public function getTokenPagination()
+ {
+ return $this->tokenPagination;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_CommentThreadReplies extends Google_Collection
+{
+ protected $collection_key = 'comments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $commentsType = 'Google_Service_YouTube_Comment';
+ protected $commentsDataType = 'array';
+
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+}
+
+class Google_Service_YouTube_CommentThreadSnippet extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $canReply;
+ public $channelId;
+ public $isPublic;
+ protected $topLevelCommentType = 'Google_Service_YouTube_Comment';
+ protected $topLevelCommentDataType = '';
+ public $totalReplyCount;
+ public $videoId;
+
+
+ public function setCanReply($canReply)
+ {
+ $this->canReply = $canReply;
+ }
+ public function getCanReply()
+ {
+ return $this->canReply;
+ }
+ public function setChannelId($channelId)
+ {
+ $this->channelId = $channelId;
+ }
+ public function getChannelId()
+ {
+ return $this->channelId;
+ }
+ public function setIsPublic($isPublic)
+ {
+ $this->isPublic = $isPublic;
+ }
+ public function getIsPublic()
+ {
+ return $this->isPublic;
+ }
+ public function setTopLevelComment(Google_Service_YouTube_Comment $topLevelComment)
+ {
+ $this->topLevelComment = $topLevelComment;
+ }
+ public function getTopLevelComment()
+ {
+ return $this->topLevelComment;
+ }
+ public function setTotalReplyCount($totalReplyCount)
+ {
+ $this->totalReplyCount = $totalReplyCount;
+ }
+ public function getTotalReplyCount()
+ {
+ return $this->totalReplyCount;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
class Google_Service_YouTube_ContentRating extends Google_Collection
{
protected $collection_key = 'djctqRatingReasons';
From 9fd172612036f8282289ce0e6d3e18a4ece5dbea Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $genomicsService = new Google_Service_Genomics(...);
+ * $streamingReadstore = $genomicsService->streamingReadstore;
+ *
+ */
+class Google_Service_Genomics_StreamingReadstore_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets a stream of reads for one or more read group sets. Reads search operates
+ * over a genomic coordinate space of reference sequence & position defined over
+ * the reference sequences to which the requested read group sets are aligned.
+ *
+ * If a target positional range is specified, all reads whose alignment to the
+ * reference genome overlap the range are returned.
+ *
+ * All reads returned are ordered by genomic coordinate (reference sequence &
+ * position). Reads with equivalent genomic coordinates are returned in a
+ * deterministic order. (streamingReadstore.streamreads)
+ *
+ * @param Google_StreamReadsRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Genomics_StreamReadsResponse
+ */
+ public function streamreads(Google_Service_Genomics_StreamReadsRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('streamreads', array($params), "Google_Service_Genomics_StreamReadsResponse");
+ }
+}
+
/**
* The "variants" collection of methods.
* Typical usage is:
@@ -4998,6 +5048,70 @@ public function getVariants()
}
}
+class Google_Service_Genomics_StreamReadsRequest extends Google_Collection
+{
+ protected $collection_key = 'readGroupSetIds';
+ protected $internal_gapi_mappings = array(
+ );
+ public $end;
+ public $readGroupSetIds;
+ public $referenceName;
+ public $start;
+
+
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setReadGroupSetIds($readGroupSetIds)
+ {
+ $this->readGroupSetIds = $readGroupSetIds;
+ }
+ public function getReadGroupSetIds()
+ {
+ return $this->readGroupSetIds;
+ }
+ public function setReferenceName($referenceName)
+ {
+ $this->referenceName = $referenceName;
+ }
+ public function getReferenceName()
+ {
+ return $this->referenceName;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Genomics_StreamReadsResponse extends Google_Collection
+{
+ protected $collection_key = 'alignments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $alignmentsType = 'Google_Service_Genomics_Read';
+ protected $alignmentsDataType = 'array';
+
+
+ public function setAlignments($alignments)
+ {
+ $this->alignments = $alignments;
+ }
+ public function getAlignments()
+ {
+ return $this->alignments;
+ }
+}
+
class Google_Service_Genomics_Transcript extends Google_Collection
{
protected $collection_key = 'exons';
From 6c120db2b95f75dc4eae8d141407c762d698f3c0 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $youtubeService = new Google_Service_YouTube(...);
+ * $videoAbuseReportReasons = $youtubeService->videoAbuseReportReasons;
+ *
+ */
+class Google_Service_YouTube_VideoAbuseReportReasons_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of abuse reasons that can be used for reporting abusive
+ * videos. (videoAbuseReportReasons.listVideoAbuseReportReasons)
+ *
+ * @param string $part The part parameter specifies the videoCategory resource
+ * parts that the API response will include. Supported values are id and
+ * snippet.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string hl The hl parameter specifies the language that should be
+ * used for text values in the API response.
+ * @return Google_Service_YouTube_VideoAbuseReportReasonListResponse
+ */
+ public function listVideoAbuseReportReasons($part, $optParams = array())
+ {
+ $params = array('part' => $part);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_YouTube_VideoAbuseReportReasonListResponse");
+ }
+}
+
/**
* The "videoCategories" collection of methods.
* Typical usage is:
@@ -4193,6 +4259,32 @@ public function rate($id, $rating, $optParams = array())
return $this->call('rate', array($params));
}
+ /**
+ * Report abuse for a video. (videos.reportAbuse)
+ *
+ * @param Google_VideoAbuseReport $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string onBehalfOfContentOwner Note: This parameter is intended
+ * exclusively for YouTube content partners.
+ *
+ * The onBehalfOfContentOwner parameter indicates that the request's
+ * authorization credentials identify a YouTube CMS user who is acting on behalf
+ * of the content owner specified in the parameter value. This parameter is
+ * intended for YouTube content partners that own and manage many different
+ * YouTube channels. It allows content owners to authenticate once and get
+ * access to all their video and channel data, without having to provide
+ * authentication credentials for each individual channel. The CMS account that
+ * the user authenticates with must be linked to the specified YouTube content
+ * owner.
+ */
+ public function reportAbuse(Google_Service_YouTube_VideoAbuseReport $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportAbuse', array($params));
+ }
+
/**
* Updates a video's metadata. (videos.update)
*
@@ -5871,6 +5963,8 @@ class Google_Service_YouTube_ChannelSection extends Google_Model
protected $localizationsDataType = 'map';
protected $snippetType = 'Google_Service_YouTube_ChannelSectionSnippet';
protected $snippetDataType = '';
+ protected $targetingType = 'Google_Service_YouTube_ChannelSectionTargeting';
+ protected $targetingDataType = '';
public function setContentDetails(Google_Service_YouTube_ChannelSectionContentDetails $contentDetails)
@@ -5921,6 +6015,14 @@ public function getSnippet()
{
return $this->snippet;
}
+ public function setTargeting(Google_Service_YouTube_ChannelSectionTargeting $targeting)
+ {
+ $this->targeting = $targeting;
+ }
+ public function getTargeting()
+ {
+ return $this->targeting;
+ }
}
class Google_Service_YouTube_ChannelSectionContentDetails extends Google_Collection
@@ -6098,6 +6200,42 @@ public function getType()
}
}
+class Google_Service_YouTube_ChannelSectionTargeting extends Google_Collection
+{
+ protected $collection_key = 'regions';
+ protected $internal_gapi_mappings = array(
+ );
+ public $countrys;
+ public $languages;
+ public $regions;
+
+
+ public function setCountrys($countrys)
+ {
+ $this->countrys = $countrys;
+ }
+ public function getCountrys()
+ {
+ return $this->countrys;
+ }
+ public function setLanguages($languages)
+ {
+ $this->languages = $languages;
+ }
+ public function getLanguages()
+ {
+ return $this->languages;
+ }
+ public function setRegions($regions)
+ {
+ $this->regions = $regions;
+ }
+ public function getRegions()
+ {
+ return $this->regions;
+ }
+}
+
class Google_Service_YouTube_ChannelSettings extends Google_Collection
{
protected $collection_key = 'featuredChannelsUrls';
@@ -10803,6 +10941,234 @@ public function getTopicDetails()
}
}
+class Google_Service_YouTube_VideoAbuseReport extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $comments;
+ protected $languageType = 'Google_Service_YouTube_LanguageTag';
+ protected $languageDataType = '';
+ protected $reasonIdType = 'Google_Service_YouTube_VideoAbuseReportReasonId';
+ protected $reasonIdDataType = '';
+ protected $secondaryReasonIdType = 'Google_Service_YouTube_VideoAbuseReportReasonId';
+ protected $secondaryReasonIdDataType = '';
+ public $videoId;
+
+
+ public function setComments($comments)
+ {
+ $this->comments = $comments;
+ }
+ public function getComments()
+ {
+ return $this->comments;
+ }
+ public function setLanguage(Google_Service_YouTube_LanguageTag $language)
+ {
+ $this->language = $language;
+ }
+ public function getLanguage()
+ {
+ return $this->language;
+ }
+ public function setReasonId(Google_Service_YouTube_VideoAbuseReportReasonId $reasonId)
+ {
+ $this->reasonId = $reasonId;
+ }
+ public function getReasonId()
+ {
+ return $this->reasonId;
+ }
+ public function setSecondaryReasonId(Google_Service_YouTube_VideoAbuseReportReasonId $secondaryReasonId)
+ {
+ $this->secondaryReasonId = $secondaryReasonId;
+ }
+ public function getSecondaryReasonId()
+ {
+ return $this->secondaryReasonId;
+ }
+ public function setVideoId($videoId)
+ {
+ $this->videoId = $videoId;
+ }
+ public function getVideoId()
+ {
+ return $this->videoId;
+ }
+}
+
+class Google_Service_YouTube_VideoAbuseReportReason extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $id;
+ public $kind;
+ protected $snippetType = 'Google_Service_YouTube_VideoAbuseReportReasonSnippet';
+ protected $snippetDataType = '';
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSnippet(Google_Service_YouTube_VideoAbuseReportReasonSnippet $snippet)
+ {
+ $this->snippet = $snippet;
+ }
+ public function getSnippet()
+ {
+ return $this->snippet;
+ }
+}
+
+class Google_Service_YouTube_VideoAbuseReportReasonId extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $value;
+
+
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_YouTube_VideoAbuseReportReasonListResponse extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $etag;
+ public $eventId;
+ protected $itemsType = 'Google_Service_YouTube_VideoAbuseReportReason';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $visitorId;
+
+
+ public function setEtag($etag)
+ {
+ $this->etag = $etag;
+ }
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+ public function setEventId($eventId)
+ {
+ $this->eventId = $eventId;
+ }
+ public function getEventId()
+ {
+ return $this->eventId;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setVisitorId($visitorId)
+ {
+ $this->visitorId = $visitorId;
+ }
+ public function getVisitorId()
+ {
+ return $this->visitorId;
+ }
+}
+
+class Google_Service_YouTube_VideoAbuseReportReasonSnippet extends Google_Collection
+{
+ protected $collection_key = 'secondaryReasons';
+ protected $internal_gapi_mappings = array(
+ );
+ public $label;
+ protected $secondaryReasonsType = 'Google_Service_YouTube_VideoAbuseReportSecondaryReason';
+ protected $secondaryReasonsDataType = 'array';
+
+
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+ public function setSecondaryReasons($secondaryReasons)
+ {
+ $this->secondaryReasons = $secondaryReasons;
+ }
+ public function getSecondaryReasons()
+ {
+ return $this->secondaryReasons;
+ }
+}
+
+class Google_Service_YouTube_VideoAbuseReportSecondaryReason extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $idType = 'Google_Service_YouTube_VideoAbuseReportReasonId';
+ protected $idDataType = '';
+ public $label;
+
+
+ public function setId(Google_Service_YouTube_VideoAbuseReportReasonId $id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
+}
+
class Google_Service_YouTube_VideoAgeGating extends Google_Model
{
protected $internal_gapi_mappings = array(
From 13ab4fa8d3d2f2cab8e0d96085e5ec4c058966b9 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $cloudsearchService = new Google_Service_Cloudsearch(...);
- * $projects = $cloudsearchService->projects;
- *
- */
-class Google_Service_Cloudsearch_Projects_Resource extends Google_Service_Resource
-{
-}
-
-/**
- * The "indexes" collection of methods.
- * Typical usage is:
- *
- * $cloudsearchService = new Google_Service_Cloudsearch(...);
- * $indexes = $cloudsearchService->indexes;
- *
- */
-class Google_Service_Cloudsearch_ProjectsIndexes_Resource extends Google_Service_Resource
-{
-
- /**
- * Lists search indexes belonging to the specified project.
- * (indexes.listProjectsIndexes)
- *
- * @param string $projectId The project from which to retrieve indexes. It
- * cannot be the empty string.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string indexNamePrefix The prefix of the index name. It is used to
- * list all indexes with names that have this prefix.
- * @opt_param int pageSize The maximum number of indexes to return per page. If
- * not specified, 100 indexes are returned per page.
- * @opt_param string pageToken A `nextPageToken` returned from previous list
- * indexes call as the starting point for this call. If not specified, list
- * indexes from the beginning.
- * @opt_param string view Specifies which parts of the IndexInfo resource is
- * returned in the response. If not specified, `ID_ONLY` is used.
- * @return Google_Service_Cloudsearch_ListIndexesResponse
- */
- public function listProjectsIndexes($projectId, $optParams = array())
- {
- $params = array('projectId' => $projectId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudsearch_ListIndexesResponse");
- }
-
- /**
- * Lists the documents in the named index that match the query. (indexes.search)
- *
- * @param string $projectId The project associated with the index for searching
- * document. It cannot be the empty string.
- * @param string $indexId The index to search. It cannot be the empty string.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string query The query string in search query syntax. If the query
- * is missing or empty, all documents are returned.
- * @opt_param string fieldExpressions Customized expressions used in `orderBy`
- * or `returnFields`. The expression can contain fields in `Document`, the
- * built-in fields ( `_rank`, the document rank, and `_score` if scoring is
- * enabled) and fields defined in `fieldExpressions`. Each field expression is
- * represented in a json object with the following fields: * `name`: the name of
- * the field expression in string. * `expression`: the expression to be
- * computed. It can be a combination of supported functions encoded in string.
- * Expressions involving number fields can use the arithmetical operators (`+`,
- * `-`, `*`, `/`) and the built-in numeric functions (`max`, `min`, `pow`,
- * `count`, `log`, `abs`). Expressions involving geopoint fields can use the
- * `geopoint` and `distance` functions. Expressions for text and html fields can
- * use the `snippet` function. For example: ``` fieldExpressions={name:
- * "TotalPrice", expression: "(Price+Tax)"} ``` ``` fieldExpressions={name:
- * "snippet", expression: "snippet('good times', content)"} ``` The field
- * expression names can be used in `orderBy` and `returnFields` after they are
- * defined in `fieldExpressions`.
- * @opt_param int pageSize The maximum number of search results to return per
- * page. Searches perform best when the `pageSize` is kept as small as possible.
- * If not specified, 10 results are returned per page.
- * @opt_param string pageToken A `nextPageToken` returned from previous Search
- * call as the starting point for this call. Pagination tokens provide better
- * performance and consistency than offsets, and they cannot be used in
- * combination with offsets.
- * @opt_param int offset Offset is used to move to an arbitrary result,
- * independent of the previous results. Offsets are inefficient when compared to
- * `pageToken`. `pageToken` and `offset` cannot be both set. The default value
- * of `offset` is 0.
- * @opt_param int matchedCountAccuracy Minimum accuracy requirement for
- * `matchedCount` in search response. If specified, `matchedCount` will be
- * accurate up to at least that number. For example, when set to 100, any
- * `matchedCount <= 100` is accurate. This option may add considerable
- * latency/expense. By default (when it is not specified or set to 0), the
- * accuracy is the same as `pageSize`.
- * @opt_param string orderBy Comma-separated list of fields for sorting on the
- * search result, including fields from `Document`, the built-in fields (`_rank`
- * and `_score`), and fields defined in `fieldExpressions`. For example:
- * `orderBy="foo,bar"`. The default sorting order is ascending. To specify
- * descending order for a field, a suffix `" desc"` should be appended to the
- * field name. For example: `orderBy="foo desc,bar"`. The default value for text
- * sort is the empty string, and the default value for numeric sort is 0. If not
- * specified, the search results are automatically sorted by descending `_rank`.
- * Sorting by ascending `_rank` is not allowed.
- * @opt_param string scorer The scoring function to invoke on a search result
- * for this query. If `scorer` is not set, scoring is disabled and `_score` is 0
- * for all documents in the search result. To enable document relevancy score
- * based on term frequency, set `"scorer=generic"`.
- * @opt_param int scorerSize Maximum number of top retrieved results to score.
- * It is valid only when `scorer` is set. If not specified, 100 retrieved
- * results are scored.
- * @opt_param string returnFields List of fields to return in `SearchResult`
- * objects. It can be fields from `Document`, the built-in fields `_rank` and
- * `_score`, and fields defined in `fieldExpressions`. Use `"*"` to return all
- * fields from `Document`.
- * @return Google_Service_Cloudsearch_SearchResponse
- */
- public function search($projectId, $indexId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'indexId' => $indexId);
- $params = array_merge($params, $optParams);
- return $this->call('search', array($params), "Google_Service_Cloudsearch_SearchResponse");
- }
-}
-
-/**
- * The "documents" collection of methods.
- * Typical usage is:
- *
- * $cloudsearchService = new Google_Service_Cloudsearch(...);
- * $documents = $cloudsearchService->documents;
- *
- */
-class Google_Service_Cloudsearch_ProjectsIndexesDocuments_Resource extends Google_Service_Resource
-{
-
- /**
- * Inserts a document for indexing or updates an indexed document. The returned
- * document contains only the ID of the new document. When `docId` is absent
- * from the document, it is provided by the server. (documents.create)
- *
- * @param string $projectId The project associated with the index for adding
- * document. It cannot be the empty string.
- * @param string $indexId The index to add document to. It cannot be the empty
- * string.
- * @param Google_Document $postBody
- * @param array $optParams Optional parameters.
- * @return Google_Service_Cloudsearch_Document
- */
- public function create($projectId, $indexId, Google_Service_Cloudsearch_Document $postBody, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'indexId' => $indexId, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('create', array($params), "Google_Service_Cloudsearch_Document");
- }
-
- /**
- * Deletes a document from an index. (documents.delete)
- *
- * @param string $projectId The project associated with the index for deleting
- * document. It cannot be the empty string.
- * @param string $indexId The index from which to delete the document. It cannot
- * be the empty string.
- * @param string $docId The document to be deleted. It cannot be the empty
- * string.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Cloudsearch_Empty
- */
- public function delete($projectId, $indexId, $docId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'indexId' => $indexId, 'docId' => $docId);
- $params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Cloudsearch_Empty");
- }
-
- /**
- * Retrieves a document from an index. (documents.get)
- *
- * @param string $projectId The project associated with the index for retrieving
- * the document. It cannot be the empty string.
- * @param string $indexId The index from which to retrieve the document. It
- * cannot be the empty string.
- * @param string $docId The identifier of the document to retrieve. It cannot be
- * the empty string.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Cloudsearch_Document
- */
- public function get($projectId, $indexId, $docId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'indexId' => $indexId, 'docId' => $docId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Cloudsearch_Document");
- }
-
- /**
- * Lists documents in the specified search index. Intended for batch processing.
- * (documents.listProjectsIndexesDocuments)
- *
- * @param string $projectId The project associated with the index for listing
- * documents. It cannot be the empty string.
- * @param string $indexId The index from which to list the documents. It cannot
- * be the empty string.
- * @param array $optParams Optional parameters.
- *
- * @opt_param int pageSize The maximum number of documents to return per page.
- * If not specified, 100 documents are returned per page.
- * @opt_param string pageToken A `nextPageToken` returned from previous list
- * documents call as the starting point for this call. If not specified, list
- * documents from the beginning.
- * @opt_param string view Specifies which part of the document resource is
- * returned in the response. If not specified, `ID_ONLY` is used.
- * @return Google_Service_Cloudsearch_ListDocumentsResponse
- */
- public function listProjectsIndexesDocuments($projectId, $indexId, $optParams = array())
- {
- $params = array('projectId' => $projectId, 'indexId' => $indexId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Cloudsearch_ListDocumentsResponse");
- }
-}
-
-
-
-
-class Google_Service_Cloudsearch_Document extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $docId;
- protected $fieldsType = 'Google_Service_Cloudsearch_FieldValueList';
- protected $fieldsDataType = 'map';
- public $rank;
-
-
- public function setDocId($docId)
- {
- $this->docId = $docId;
- }
- public function getDocId()
- {
- return $this->docId;
- }
- public function setFields($fields)
- {
- $this->fields = $fields;
- }
- public function getFields()
- {
- return $this->fields;
- }
- public function setRank($rank)
- {
- $this->rank = $rank;
- }
- public function getRank()
- {
- return $this->rank;
- }
-}
-
-class Google_Service_Cloudsearch_DocumentFields extends Google_Model
-{
-}
-
-class Google_Service_Cloudsearch_Empty extends Google_Model
-{
-}
-
-class Google_Service_Cloudsearch_FieldNames extends Google_Collection
-{
- protected $collection_key = 'textFields';
- protected $internal_gapi_mappings = array(
- );
- public $atomFields;
- public $dateFields;
- public $geoFields;
- public $htmlFields;
- public $numberFields;
- public $textFields;
-
-
- public function setAtomFields($atomFields)
- {
- $this->atomFields = $atomFields;
- }
- public function getAtomFields()
- {
- return $this->atomFields;
- }
- public function setDateFields($dateFields)
- {
- $this->dateFields = $dateFields;
- }
- public function getDateFields()
- {
- return $this->dateFields;
- }
- public function setGeoFields($geoFields)
- {
- $this->geoFields = $geoFields;
- }
- public function getGeoFields()
- {
- return $this->geoFields;
- }
- public function setHtmlFields($htmlFields)
- {
- $this->htmlFields = $htmlFields;
- }
- public function getHtmlFields()
- {
- return $this->htmlFields;
- }
- public function setNumberFields($numberFields)
- {
- $this->numberFields = $numberFields;
- }
- public function getNumberFields()
- {
- return $this->numberFields;
- }
- public function setTextFields($textFields)
- {
- $this->textFields = $textFields;
- }
- public function getTextFields()
- {
- return $this->textFields;
- }
-}
-
-class Google_Service_Cloudsearch_FieldValue extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $geoValue;
- public $lang;
- public $numberValue;
- public $stringFormat;
- public $stringValue;
- public $timestampValue;
-
-
- public function setGeoValue($geoValue)
- {
- $this->geoValue = $geoValue;
- }
- public function getGeoValue()
- {
- return $this->geoValue;
- }
- public function setLang($lang)
- {
- $this->lang = $lang;
- }
- public function getLang()
- {
- return $this->lang;
- }
- public function setNumberValue($numberValue)
- {
- $this->numberValue = $numberValue;
- }
- public function getNumberValue()
- {
- return $this->numberValue;
- }
- public function setStringFormat($stringFormat)
- {
- $this->stringFormat = $stringFormat;
- }
- public function getStringFormat()
- {
- return $this->stringFormat;
- }
- public function setStringValue($stringValue)
- {
- $this->stringValue = $stringValue;
- }
- public function getStringValue()
- {
- return $this->stringValue;
- }
- public function setTimestampValue($timestampValue)
- {
- $this->timestampValue = $timestampValue;
- }
- public function getTimestampValue()
- {
- return $this->timestampValue;
- }
-}
-
-class Google_Service_Cloudsearch_FieldValueList extends Google_Collection
-{
- protected $collection_key = 'values';
- protected $internal_gapi_mappings = array(
- );
- protected $valuesType = 'Google_Service_Cloudsearch_FieldValue';
- protected $valuesDataType = 'array';
-
-
- public function setValues($values)
- {
- $this->values = $values;
- }
- public function getValues()
- {
- return $this->values;
}
}
-class Google_Service_Cloudsearch_IndexInfo extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $indexId;
- protected $indexedFieldType = 'Google_Service_Cloudsearch_FieldNames';
- protected $indexedFieldDataType = '';
- public $projectId;
-
-
- public function setIndexId($indexId)
- {
- $this->indexId = $indexId;
- }
- public function getIndexId()
- {
- return $this->indexId;
- }
- public function setIndexedField(Google_Service_Cloudsearch_FieldNames $indexedField)
- {
- $this->indexedField = $indexedField;
- }
- public function getIndexedField()
- {
- return $this->indexedField;
- }
- public function setProjectId($projectId)
- {
- $this->projectId = $projectId;
- }
- public function getProjectId()
- {
- return $this->projectId;
- }
-}
-class Google_Service_Cloudsearch_ListDocumentsResponse extends Google_Collection
-{
- protected $collection_key = 'documents';
- protected $internal_gapi_mappings = array(
- );
- protected $documentsType = 'Google_Service_Cloudsearch_Document';
- protected $documentsDataType = 'array';
- public $nextPageToken;
- public function setDocuments($documents)
- {
- $this->documents = $documents;
- }
- public function getDocuments()
- {
- return $this->documents;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Cloudsearch_ListIndexesResponse extends Google_Collection
-{
- protected $collection_key = 'indexes';
- protected $internal_gapi_mappings = array(
- );
- protected $indexesType = 'Google_Service_Cloudsearch_IndexInfo';
- protected $indexesDataType = 'array';
- public $nextPageToken;
-
-
- public function setIndexes($indexes)
- {
- $this->indexes = $indexes;
- }
- public function getIndexes()
- {
- return $this->indexes;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Cloudsearch_SearchResponse extends Google_Collection
-{
- protected $collection_key = 'results';
- protected $internal_gapi_mappings = array(
- );
- public $matchedCount;
- protected $resultsType = 'Google_Service_Cloudsearch_SearchResult';
- protected $resultsDataType = 'array';
-
-
- public function setMatchedCount($matchedCount)
- {
- $this->matchedCount = $matchedCount;
- }
- public function getMatchedCount()
- {
- return $this->matchedCount;
- }
- public function setResults($results)
- {
- $this->results = $results;
- }
- public function getResults()
- {
- return $this->results;
- }
-}
-
-class Google_Service_Cloudsearch_SearchResult extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $docId;
- protected $fieldsType = 'Google_Service_Cloudsearch_FieldValueList';
- protected $fieldsDataType = 'map';
- public $nextPageToken;
-
-
- public function setDocId($docId)
- {
- $this->docId = $docId;
- }
- public function getDocId()
- {
- return $this->docId;
- }
- public function setFields($fields)
- {
- $this->fields = $fields;
- }
- public function getFields()
- {
- return $this->fields;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
-}
-
-class Google_Service_Cloudsearch_SearchResultFields extends Google_Model
-{
-}
From 14077a8a9ff0c93c52d59960b0426343904b4027 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $projects = $dataflowService->projects;
+ *
+ */
+class Google_Service_Dataflow_Projects_Resource extends Google_Service_Resource
+{
+}
+
+/**
+ * The "jobs" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $jobs = $dataflowService->jobs;
+ *
+ */
+class Google_Service_Dataflow_ProjectsJobs_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a dataflow job. (jobs.create)
+ *
+ * @param string $projectId
+ * @param Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * @return Google_Service_Dataflow_Job
+ */
+ public function create($projectId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Dataflow_Job");
+ }
+
+ /**
+ * Gets the state of the specified dataflow job. (jobs.get)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string view
+ * @return Google_Service_Dataflow_Job
+ */
+ public function get($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Dataflow_Job");
+ }
+
+ /**
+ * Request the job status. (jobs.getMetrics)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string startTime
+ * @return Google_Service_Dataflow_JobMetrics
+ */
+ public function getMetrics($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('getMetrics', array($params), "Google_Service_Dataflow_JobMetrics");
+ }
+
+ /**
+ * List the jobs of a project (jobs.listProjectsJobs)
+ *
+ * @param string $projectId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken
+ * @opt_param string view
+ * @opt_param int pageSize
+ * @return Google_Service_Dataflow_ListJobsResponse
+ */
+ public function listProjectsJobs($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobsResponse");
+ }
+
+ /**
+ * Updates the state of an existing dataflow job. This method supports patch
+ * semantics. (jobs.patch)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function patch($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_Dataflow_Job");
+ }
+
+ /**
+ * Updates the state of an existing dataflow job. (jobs.update)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_Job $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_Job
+ */
+ public function update($projectId, $jobId, Google_Service_Dataflow_Job $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Dataflow_Job");
+ }
+}
+
+/**
+ * The "messages" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $messages = $dataflowService->messages;
+ *
+ */
+class Google_Service_Dataflow_ProjectsJobsMessages_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Request the job status. (messages.listProjectsJobsMessages)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param int pageSize
+ * @opt_param string pageToken
+ * @opt_param string startTime
+ * @opt_param string endTime
+ * @opt_param string minimumImportance
+ * @return Google_Service_Dataflow_ListJobMessagesResponse
+ */
+ public function listProjectsJobsMessages($projectId, $jobId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Dataflow_ListJobMessagesResponse");
+ }
+}
+/**
+ * The "workItems" collection of methods.
+ * Typical usage is:
+ *
+ * $dataflowService = new Google_Service_Dataflow(...);
+ * $workItems = $dataflowService->workItems;
+ *
+ */
+class Google_Service_Dataflow_ProjectsJobsWorkItems_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Leases a dataflow WorkItem to run. (workItems.lease)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_LeaseWorkItemRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_LeaseWorkItemResponse
+ */
+ public function lease($projectId, $jobId, Google_Service_Dataflow_LeaseWorkItemRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('lease', array($params), "Google_Service_Dataflow_LeaseWorkItemResponse");
+ }
+
+ /**
+ * Reports the status of dataflow WorkItems leased by a worker.
+ * (workItems.reportStatus)
+ *
+ * @param string $projectId
+ * @param string $jobId
+ * @param Google_ReportWorkItemStatusRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Dataflow_ReportWorkItemStatusResponse
+ */
+ public function reportStatus($projectId, $jobId, Google_Service_Dataflow_ReportWorkItemStatusRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'jobId' => $jobId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('reportStatus', array($params), "Google_Service_Dataflow_ReportWorkItemStatusResponse");
+ }
+}
+
+
+
+
+class Google_Service_Dataflow_ApproximateProgress extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $percentComplete;
+ protected $positionType = 'Google_Service_Dataflow_Position';
+ protected $positionDataType = '';
+ public $remainingTime;
+
+
+ public function setPercentComplete($percentComplete)
+ {
+ $this->percentComplete = $percentComplete;
+ }
+ public function getPercentComplete()
+ {
+ return $this->percentComplete;
+ }
+ public function setPosition(Google_Service_Dataflow_Position $position)
+ {
+ $this->position = $position;
+ }
+ public function getPosition()
+ {
+ return $this->position;
+ }
+ public function setRemainingTime($remainingTime)
+ {
+ $this->remainingTime = $remainingTime;
+ }
+ public function getRemainingTime()
+ {
+ return $this->remainingTime;
+ }
+}
+
+class Google_Service_Dataflow_AutoscalingSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $algorithm;
+ public $maxNumWorkers;
+
+
+ public function setAlgorithm($algorithm)
+ {
+ $this->algorithm = $algorithm;
+ }
+ public function getAlgorithm()
+ {
+ return $this->algorithm;
+ }
+ public function setMaxNumWorkers($maxNumWorkers)
+ {
+ $this->maxNumWorkers = $maxNumWorkers;
+ }
+ public function getMaxNumWorkers()
+ {
+ return $this->maxNumWorkers;
+ }
+}
+
+class Google_Service_Dataflow_ComputationTopology extends Google_Collection
+{
+ protected $collection_key = 'outputs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $computationId;
+ protected $inputsType = 'Google_Service_Dataflow_StreamLocation';
+ protected $inputsDataType = 'array';
+ protected $keyRangesType = 'Google_Service_Dataflow_KeyRangeLocation';
+ protected $keyRangesDataType = 'array';
+ protected $outputsType = 'Google_Service_Dataflow_StreamLocation';
+ protected $outputsDataType = 'array';
+
+
+ public function setComputationId($computationId)
+ {
+ $this->computationId = $computationId;
+ }
+ public function getComputationId()
+ {
+ return $this->computationId;
+ }
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+ public function setKeyRanges($keyRanges)
+ {
+ $this->keyRanges = $keyRanges;
+ }
+ public function getKeyRanges()
+ {
+ return $this->keyRanges;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+}
+
+class Google_Service_Dataflow_DataDiskAssignment extends Google_Collection
+{
+ protected $collection_key = 'dataDisks';
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataDisks;
+ public $vmInstance;
+
+
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setVmInstance($vmInstance)
+ {
+ $this->vmInstance = $vmInstance;
+ }
+ public function getVmInstance()
+ {
+ return $this->vmInstance;
+ }
+}
+
+class Google_Service_Dataflow_DerivedSource extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $derivationMode;
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setDerivationMode($derivationMode)
+ {
+ $this->derivationMode = $derivationMode;
+ }
+ public function getDerivationMode()
+ {
+ return $this->derivationMode;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_Disk extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $diskType;
+ public $mountPoint;
+ public $sizeGb;
+
+
+ public function setDiskType($diskType)
+ {
+ $this->diskType = $diskType;
+ }
+ public function getDiskType()
+ {
+ return $this->diskType;
+ }
+ public function setMountPoint($mountPoint)
+ {
+ $this->mountPoint = $mountPoint;
+ }
+ public function getMountPoint()
+ {
+ return $this->mountPoint;
+ }
+ public function setSizeGb($sizeGb)
+ {
+ $this->sizeGb = $sizeGb;
+ }
+ public function getSizeGb()
+ {
+ return $this->sizeGb;
+ }
+}
+
+class Google_Service_Dataflow_DynamicSourceSplit extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $primaryType = 'Google_Service_Dataflow_DerivedSource';
+ protected $primaryDataType = '';
+ protected $residualType = 'Google_Service_Dataflow_DerivedSource';
+ protected $residualDataType = '';
+
+
+ public function setPrimary(Google_Service_Dataflow_DerivedSource $primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setResidual(Google_Service_Dataflow_DerivedSource $residual)
+ {
+ $this->residual = $residual;
+ }
+ public function getResidual()
+ {
+ return $this->residual;
+ }
+}
+
+class Google_Service_Dataflow_Environment extends Google_Collection
+{
+ protected $collection_key = 'workerPools';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clusterManagerApiService;
+ public $dataset;
+ public $experiments;
+ public $sdkPipelineOptions;
+ public $tempStoragePrefix;
+ public $userAgent;
+ public $version;
+ protected $workerPoolsType = 'Google_Service_Dataflow_WorkerPool';
+ protected $workerPoolsDataType = 'array';
+
+
+ public function setClusterManagerApiService($clusterManagerApiService)
+ {
+ $this->clusterManagerApiService = $clusterManagerApiService;
+ }
+ public function getClusterManagerApiService()
+ {
+ return $this->clusterManagerApiService;
+ }
+ public function setDataset($dataset)
+ {
+ $this->dataset = $dataset;
+ }
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+ public function setExperiments($experiments)
+ {
+ $this->experiments = $experiments;
+ }
+ public function getExperiments()
+ {
+ return $this->experiments;
+ }
+ public function setSdkPipelineOptions($sdkPipelineOptions)
+ {
+ $this->sdkPipelineOptions = $sdkPipelineOptions;
+ }
+ public function getSdkPipelineOptions()
+ {
+ return $this->sdkPipelineOptions;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setUserAgent($userAgent)
+ {
+ $this->userAgent = $userAgent;
+ }
+ public function getUserAgent()
+ {
+ return $this->userAgent;
+ }
+ public function setVersion($version)
+ {
+ $this->version = $version;
+ }
+ public function getVersion()
+ {
+ return $this->version;
+ }
+ public function setWorkerPools($workerPools)
+ {
+ $this->workerPools = $workerPools;
+ }
+ public function getWorkerPools()
+ {
+ return $this->workerPools;
+ }
+}
+
+class Google_Service_Dataflow_EnvironmentSdkPipelineOptions extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_EnvironmentUserAgent extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_EnvironmentVersion extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_FlattenInstruction extends Google_Collection
+{
+ protected $collection_key = 'inputs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputsType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputsDataType = 'array';
+
+
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
}
}
+class Google_Service_Dataflow_InstructionInput extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $outputNum;
+ public $producerInstructionIndex;
+ public function setOutputNum($outputNum)
+ {
+ $this->outputNum = $outputNum;
+ }
+ public function getOutputNum()
+ {
+ return $this->outputNum;
+ }
+ public function setProducerInstructionIndex($producerInstructionIndex)
+ {
+ $this->producerInstructionIndex = $producerInstructionIndex;
+ }
+ public function getProducerInstructionIndex()
+ {
+ return $this->producerInstructionIndex;
+ }
+}
+class Google_Service_Dataflow_InstructionOutput extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $codec;
+ public $name;
+
+
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dataflow_InstructionOutputCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Job extends Google_Collection
+{
+ protected $collection_key = 'steps';
+ protected $internal_gapi_mappings = array(
+ );
+ public $createTime;
+ public $currentState;
+ public $currentStateTime;
+ protected $environmentType = 'Google_Service_Dataflow_Environment';
+ protected $environmentDataType = '';
+ protected $executionInfoType = 'Google_Service_Dataflow_JobExecutionInfo';
+ protected $executionInfoDataType = '';
+ public $id;
+ public $name;
+ public $projectId;
+ public $requestedState;
+ protected $stepsType = 'Google_Service_Dataflow_Step';
+ protected $stepsDataType = 'array';
+ public $type;
+
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setCurrentState($currentState)
+ {
+ $this->currentState = $currentState;
+ }
+ public function getCurrentState()
+ {
+ return $this->currentState;
+ }
+ public function setCurrentStateTime($currentStateTime)
+ {
+ $this->currentStateTime = $currentStateTime;
+ }
+ public function getCurrentStateTime()
+ {
+ return $this->currentStateTime;
+ }
+ public function setEnvironment(Google_Service_Dataflow_Environment $environment)
+ {
+ $this->environment = $environment;
+ }
+ public function getEnvironment()
+ {
+ return $this->environment;
+ }
+ public function setExecutionInfo(Google_Service_Dataflow_JobExecutionInfo $executionInfo)
+ {
+ $this->executionInfo = $executionInfo;
+ }
+ public function getExecutionInfo()
+ {
+ return $this->executionInfo;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setRequestedState($requestedState)
+ {
+ $this->requestedState = $requestedState;
+ }
+ public function getRequestedState()
+ {
+ return $this->requestedState;
+ }
+ public function setSteps($steps)
+ {
+ $this->steps = $steps;
+ }
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Dataflow_JobExecutionInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $stagesType = 'Google_Service_Dataflow_JobExecutionStageInfo';
+ protected $stagesDataType = 'map';
+
+
+ public function setStages($stages)
+ {
+ $this->stages = $stages;
+ }
+ public function getStages()
+ {
+ return $this->stages;
+ }
+}
+
+class Google_Service_Dataflow_JobExecutionInfoStages extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_JobExecutionStageInfo extends Google_Collection
+{
+ protected $collection_key = 'stepName';
+ protected $internal_gapi_mappings = array(
+ );
+ public $stepName;
+
+
+ public function setStepName($stepName)
+ {
+ $this->stepName = $stepName;
+ }
+ public function getStepName()
+ {
+ return $this->stepName;
+ }
+}
+
+class Google_Service_Dataflow_JobMessage extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ public $messageImportance;
+ public $messageText;
+ public $time;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setMessageImportance($messageImportance)
+ {
+ $this->messageImportance = $messageImportance;
+ }
+ public function getMessageImportance()
+ {
+ return $this->messageImportance;
+ }
+ public function setMessageText($messageText)
+ {
+ $this->messageText = $messageText;
+ }
+ public function getMessageText()
+ {
+ return $this->messageText;
+ }
+ public function setTime($time)
+ {
+ $this->time = $time;
+ }
+ public function getTime()
+ {
+ return $this->time;
+ }
+}
+
+class Google_Service_Dataflow_JobMetrics extends Google_Collection
+{
+ protected $collection_key = 'metrics';
+ protected $internal_gapi_mappings = array(
+ );
+ public $metricTime;
+ protected $metricsType = 'Google_Service_Dataflow_MetricUpdate';
+ protected $metricsDataType = 'array';
+
+
+ public function setMetricTime($metricTime)
+ {
+ $this->metricTime = $metricTime;
+ }
+ public function getMetricTime()
+ {
+ return $this->metricTime;
+ }
+ public function setMetrics($metrics)
+ {
+ $this->metrics = $metrics;
+ }
+ public function getMetrics()
+ {
+ return $this->metrics;
+ }
+}
+
+class Google_Service_Dataflow_KeyRangeDataDiskAssignment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataDisk;
+ public $end;
+ public $start;
+
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Dataflow_KeyRangeLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataDisk;
+ public $deliveryEndpoint;
+ public $end;
+ public $persistentDirectory;
+ public $start;
+
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+ public function setDeliveryEndpoint($deliveryEndpoint)
+ {
+ $this->deliveryEndpoint = $deliveryEndpoint;
+ }
+ public function getDeliveryEndpoint()
+ {
+ return $this->deliveryEndpoint;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setPersistentDirectory($persistentDirectory)
+ {
+ $this->persistentDirectory = $persistentDirectory;
+ }
+ public function getPersistentDirectory()
+ {
+ return $this->persistentDirectory;
+ }
+ public function setStart($start)
+ {
+ $this->start = $start;
+ }
+ public function getStart()
+ {
+ return $this->start;
+ }
+}
+
+class Google_Service_Dataflow_LeaseWorkItemRequest extends Google_Collection
+{
+ protected $collection_key = 'workerCapabilities';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentWorkerTime;
+ public $requestedLeaseDuration;
+ public $workItemTypes;
+ public $workerCapabilities;
+ public $workerId;
+
+
+ public function setCurrentWorkerTime($currentWorkerTime)
+ {
+ $this->currentWorkerTime = $currentWorkerTime;
+ }
+ public function getCurrentWorkerTime()
+ {
+ return $this->currentWorkerTime;
+ }
+ public function setRequestedLeaseDuration($requestedLeaseDuration)
+ {
+ $this->requestedLeaseDuration = $requestedLeaseDuration;
+ }
+ public function getRequestedLeaseDuration()
+ {
+ return $this->requestedLeaseDuration;
+ }
+ public function setWorkItemTypes($workItemTypes)
+ {
+ $this->workItemTypes = $workItemTypes;
+ }
+ public function getWorkItemTypes()
+ {
+ return $this->workItemTypes;
+ }
+ public function setWorkerCapabilities($workerCapabilities)
+ {
+ $this->workerCapabilities = $workerCapabilities;
+ }
+ public function getWorkerCapabilities()
+ {
+ return $this->workerCapabilities;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
+
+class Google_Service_Dataflow_LeaseWorkItemResponse extends Google_Collection
+{
+ protected $collection_key = 'workItems';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $workItemsType = 'Google_Service_Dataflow_WorkItem';
+ protected $workItemsDataType = 'array';
+
+
+ public function setWorkItems($workItems)
+ {
+ $this->workItems = $workItems;
+ }
+ public function getWorkItems()
+ {
+ return $this->workItems;
+ }
+}
+
+class Google_Service_Dataflow_ListJobMessagesResponse extends Google_Collection
+{
+ protected $collection_key = 'jobMessages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $jobMessagesType = 'Google_Service_Dataflow_JobMessage';
+ protected $jobMessagesDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setJobMessages($jobMessages)
+ {
+ $this->jobMessages = $jobMessages;
+ }
+ public function getJobMessages()
+ {
+ return $this->jobMessages;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dataflow_ListJobsResponse extends Google_Collection
+{
+ protected $collection_key = 'jobs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $jobsType = 'Google_Service_Dataflow_Job';
+ protected $jobsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setJobs($jobs)
+ {
+ $this->jobs = $jobs;
+ }
+ public function getJobs()
+ {
+ return $this->jobs;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_Dataflow_MapTask extends Google_Collection
+{
+ protected $collection_key = 'instructions';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $instructionsType = 'Google_Service_Dataflow_ParallelInstruction';
+ protected $instructionsDataType = 'array';
+ public $stageName;
+ public $systemName;
+
+
+ public function setInstructions($instructions)
+ {
+ $this->instructions = $instructions;
+ }
+ public function getInstructions()
+ {
+ return $this->instructions;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+}
+
+class Google_Service_Dataflow_MetricStructuredName extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $context;
+ public $name;
+ public $origin;
+
+
+ public function setContext($context)
+ {
+ $this->context = $context;
+ }
+ public function getContext()
+ {
+ return $this->context;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOrigin($origin)
+ {
+ $this->origin = $origin;
+ }
+ public function getOrigin()
+ {
+ return $this->origin;
+ }
+}
+
+class Google_Service_Dataflow_MetricStructuredNameContext extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_MetricUpdate extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $cumulative;
+ public $internal;
+ public $kind;
+ public $meanCount;
+ public $meanSum;
+ protected $nameType = 'Google_Service_Dataflow_MetricStructuredName';
+ protected $nameDataType = '';
+ public $scalar;
+ public $set;
+ public $updateTime;
+
+
+ public function setCumulative($cumulative)
+ {
+ $this->cumulative = $cumulative;
+ }
+ public function getCumulative()
+ {
+ return $this->cumulative;
+ }
+ public function setInternal($internal)
+ {
+ $this->internal = $internal;
+ }
+ public function getInternal()
+ {
+ return $this->internal;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMeanCount($meanCount)
+ {
+ $this->meanCount = $meanCount;
+ }
+ public function getMeanCount()
+ {
+ return $this->meanCount;
+ }
+ public function setMeanSum($meanSum)
+ {
+ $this->meanSum = $meanSum;
+ }
+ public function getMeanSum()
+ {
+ return $this->meanSum;
+ }
+ public function setName(Google_Service_Dataflow_MetricStructuredName $name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setScalar($scalar)
+ {
+ $this->scalar = $scalar;
+ }
+ public function getScalar()
+ {
+ return $this->scalar;
+ }
+ public function setSet($set)
+ {
+ $this->set = $set;
+ }
+ public function getSet()
+ {
+ return $this->set;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
+
+class Google_Service_Dataflow_MountedDataDisk extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataDisk;
+
+
+ public function setDataDisk($dataDisk)
+ {
+ $this->dataDisk = $dataDisk;
+ }
+ public function getDataDisk()
+ {
+ return $this->dataDisk;
+ }
+}
+
+class Google_Service_Dataflow_MultiOutputInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $tag;
+
+
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_Package extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $location;
+ public $name;
+
+
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_Dataflow_ParDoInstruction extends Google_Collection
+{
+ protected $collection_key = 'sideInputs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ protected $multiOutputInfosType = 'Google_Service_Dataflow_MultiOutputInfo';
+ protected $multiOutputInfosDataType = 'array';
+ public $numOutputs;
+ protected $sideInputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $sideInputsDataType = 'array';
+ public $userFn;
+
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setMultiOutputInfos($multiOutputInfos)
+ {
+ $this->multiOutputInfos = $multiOutputInfos;
+ }
+ public function getMultiOutputInfos()
+ {
+ return $this->multiOutputInfos;
+ }
+ public function setNumOutputs($numOutputs)
+ {
+ $this->numOutputs = $numOutputs;
+ }
+ public function getNumOutputs()
+ {
+ return $this->numOutputs;
+ }
+ public function setSideInputs($sideInputs)
+ {
+ $this->sideInputs = $sideInputs;
+ }
+ public function getSideInputs()
+ {
+ return $this->sideInputs;
+ }
+ public function setUserFn($userFn)
+ {
+ $this->userFn = $userFn;
+ }
+ public function getUserFn()
+ {
+ return $this->userFn;
+ }
+}
+
+class Google_Service_Dataflow_ParDoInstructionUserFn extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_ParallelInstruction extends Google_Collection
+{
+ protected $collection_key = 'outputs';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $flattenType = 'Google_Service_Dataflow_FlattenInstruction';
+ protected $flattenDataType = '';
+ public $name;
+ protected $outputsType = 'Google_Service_Dataflow_InstructionOutput';
+ protected $outputsDataType = 'array';
+ protected $parDoType = 'Google_Service_Dataflow_ParDoInstruction';
+ protected $parDoDataType = '';
+ protected $partialGroupByKeyType = 'Google_Service_Dataflow_PartialGroupByKeyInstruction';
+ protected $partialGroupByKeyDataType = '';
+ protected $readType = 'Google_Service_Dataflow_ReadInstruction';
+ protected $readDataType = '';
+ public $systemName;
+ protected $writeType = 'Google_Service_Dataflow_WriteInstruction';
+ protected $writeDataType = '';
+
+
+ public function setFlatten(Google_Service_Dataflow_FlattenInstruction $flatten)
+ {
+ $this->flatten = $flatten;
+ }
+ public function getFlatten()
+ {
+ return $this->flatten;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOutputs($outputs)
+ {
+ $this->outputs = $outputs;
+ }
+ public function getOutputs()
+ {
+ return $this->outputs;
+ }
+ public function setParDo(Google_Service_Dataflow_ParDoInstruction $parDo)
+ {
+ $this->parDo = $parDo;
+ }
+ public function getParDo()
+ {
+ return $this->parDo;
+ }
+ public function setPartialGroupByKey(Google_Service_Dataflow_PartialGroupByKeyInstruction $partialGroupByKey)
+ {
+ $this->partialGroupByKey = $partialGroupByKey;
+ }
+ public function getPartialGroupByKey()
+ {
+ return $this->partialGroupByKey;
+ }
+ public function setRead(Google_Service_Dataflow_ReadInstruction $read)
+ {
+ $this->read = $read;
+ }
+ public function getRead()
+ {
+ return $this->read;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+ public function setWrite(Google_Service_Dataflow_WriteInstruction $write)
+ {
+ $this->write = $write;
+ }
+ public function getWrite()
+ {
+ return $this->write;
+ }
+}
+
+class Google_Service_Dataflow_PartialGroupByKeyInstruction extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ public $inputElementCodec;
+ public $valueCombiningFn;
+
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setInputElementCodec($inputElementCodec)
+ {
+ $this->inputElementCodec = $inputElementCodec;
+ }
+ public function getInputElementCodec()
+ {
+ return $this->inputElementCodec;
+ }
+ public function setValueCombiningFn($valueCombiningFn)
+ {
+ $this->valueCombiningFn = $valueCombiningFn;
+ }
+ public function getValueCombiningFn()
+ {
+ return $this->valueCombiningFn;
+ }
+}
+
+class Google_Service_Dataflow_PartialGroupByKeyInstructionInputElementCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_PartialGroupByKeyInstructionValueCombiningFn extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Position extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $byteOffset;
+ public $end;
+ public $key;
+ public $recordIndex;
+ public $shufflePosition;
+
+
+ public function setByteOffset($byteOffset)
+ {
+ $this->byteOffset = $byteOffset;
+ }
+ public function getByteOffset()
+ {
+ return $this->byteOffset;
+ }
+ public function setEnd($end)
+ {
+ $this->end = $end;
+ }
+ public function getEnd()
+ {
+ return $this->end;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setRecordIndex($recordIndex)
+ {
+ $this->recordIndex = $recordIndex;
+ }
+ public function getRecordIndex()
+ {
+ return $this->recordIndex;
+ }
+ public function setShufflePosition($shufflePosition)
+ {
+ $this->shufflePosition = $shufflePosition;
+ }
+ public function getShufflePosition()
+ {
+ return $this->shufflePosition;
+ }
+}
+
+class Google_Service_Dataflow_PubsubLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dropLateData;
+ public $idLabel;
+ public $subscription;
+ public $timestampLabel;
+ public $topic;
+ public $trackingSubscription;
+
+
+ public function setDropLateData($dropLateData)
+ {
+ $this->dropLateData = $dropLateData;
+ }
+ public function getDropLateData()
+ {
+ return $this->dropLateData;
+ }
+ public function setIdLabel($idLabel)
+ {
+ $this->idLabel = $idLabel;
+ }
+ public function getIdLabel()
+ {
+ return $this->idLabel;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setTimestampLabel($timestampLabel)
+ {
+ $this->timestampLabel = $timestampLabel;
+ }
+ public function getTimestampLabel()
+ {
+ return $this->timestampLabel;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+ public function setTrackingSubscription($trackingSubscription)
+ {
+ $this->trackingSubscription = $trackingSubscription;
+ }
+ public function getTrackingSubscription()
+ {
+ return $this->trackingSubscription;
+ }
+}
+
+class Google_Service_Dataflow_ReadInstruction extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_ReportWorkItemStatusRequest extends Google_Collection
+{
+ protected $collection_key = 'workItemStatuses';
+ protected $internal_gapi_mappings = array(
+ );
+ public $currentWorkerTime;
+ protected $workItemStatusesType = 'Google_Service_Dataflow_WorkItemStatus';
+ protected $workItemStatusesDataType = 'array';
+ public $workerId;
+
+
+ public function setCurrentWorkerTime($currentWorkerTime)
+ {
+ $this->currentWorkerTime = $currentWorkerTime;
+ }
+ public function getCurrentWorkerTime()
+ {
+ return $this->currentWorkerTime;
+ }
+ public function setWorkItemStatuses($workItemStatuses)
+ {
+ $this->workItemStatuses = $workItemStatuses;
+ }
+ public function getWorkItemStatuses()
+ {
+ return $this->workItemStatuses;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
+
+class Google_Service_Dataflow_ReportWorkItemStatusResponse extends Google_Collection
+{
+ protected $collection_key = 'workItemServiceStates';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $workItemServiceStatesType = 'Google_Service_Dataflow_WorkItemServiceState';
+ protected $workItemServiceStatesDataType = 'array';
+
+
+ public function setWorkItemServiceStates($workItemServiceStates)
+ {
+ $this->workItemServiceStates = $workItemServiceStates;
+ }
+ public function getWorkItemServiceStates()
+ {
+ return $this->workItemServiceStates;
+ }
+}
+
+class Google_Service_Dataflow_SeqMapTask extends Google_Collection
+{
+ protected $collection_key = 'outputInfos';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputsType = 'Google_Service_Dataflow_SideInputInfo';
+ protected $inputsDataType = 'array';
+ public $name;
+ protected $outputInfosType = 'Google_Service_Dataflow_SeqMapTaskOutputInfo';
+ protected $outputInfosDataType = 'array';
+ public $stageName;
+ public $systemName;
+ public $userFn;
+
+
+ public function setInputs($inputs)
+ {
+ $this->inputs = $inputs;
+ }
+ public function getInputs()
+ {
+ return $this->inputs;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOutputInfos($outputInfos)
+ {
+ $this->outputInfos = $outputInfos;
+ }
+ public function getOutputInfos()
+ {
+ return $this->outputInfos;
+ }
+ public function setStageName($stageName)
+ {
+ $this->stageName = $stageName;
+ }
+ public function getStageName()
+ {
+ return $this->stageName;
+ }
+ public function setSystemName($systemName)
+ {
+ $this->systemName = $systemName;
+ }
+ public function getSystemName()
+ {
+ return $this->systemName;
+ }
+ public function setUserFn($userFn)
+ {
+ $this->userFn = $userFn;
+ }
+ public function getUserFn()
+ {
+ return $this->userFn;
+ }
+}
+
+class Google_Service_Dataflow_SeqMapTaskOutputInfo extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sinkType = 'Google_Service_Dataflow_Sink';
+ protected $sinkDataType = '';
+ public $tag;
+
+
+ public function setSink(Google_Service_Dataflow_Sink $sink)
+ {
+ $this->sink = $sink;
+ }
+ public function getSink()
+ {
+ return $this->sink;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_SeqMapTaskUserFn extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_ShellTask extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $command;
+ public $exitCode;
+
+
+ public function setCommand($command)
+ {
+ $this->command = $command;
+ }
+ public function getCommand()
+ {
+ return $this->command;
+ }
+ public function setExitCode($exitCode)
+ {
+ $this->exitCode = $exitCode;
+ }
+ public function getExitCode()
+ {
+ return $this->exitCode;
+ }
+}
+
+class Google_Service_Dataflow_SideInputInfo extends Google_Collection
+{
+ protected $collection_key = 'sources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ protected $sourcesType = 'Google_Service_Dataflow_Source';
+ protected $sourcesDataType = 'array';
+ public $tag;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setSources($sources)
+ {
+ $this->sources = $sources;
+ }
+ public function getSources()
+ {
+ return $this->sources;
+ }
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_SideInputInfoKind extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Sink extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $codec;
+ public $spec;
+
+
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setSpec($spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
+
+class Google_Service_Dataflow_SinkCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SinkSpec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Source extends Google_Collection
+{
+ protected $collection_key = 'baseSpecs';
+ protected $internal_gapi_mappings = array(
+ );
+ public $baseSpecs;
+ public $codec;
+ public $doesNotNeedSplitting;
+ protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
+ protected $metadataDataType = '';
+ public $spec;
+
+
+ public function setBaseSpecs($baseSpecs)
+ {
+ $this->baseSpecs = $baseSpecs;
+ }
+ public function getBaseSpecs()
+ {
+ return $this->baseSpecs;
+ }
+ public function setCodec($codec)
+ {
+ $this->codec = $codec;
+ }
+ public function getCodec()
+ {
+ return $this->codec;
+ }
+ public function setDoesNotNeedSplitting($doesNotNeedSplitting)
+ {
+ $this->doesNotNeedSplitting = $doesNotNeedSplitting;
+ }
+ public function getDoesNotNeedSplitting()
+ {
+ return $this->doesNotNeedSplitting;
+ }
+ public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setSpec($spec)
+ {
+ $this->spec = $spec;
+ }
+ public function getSpec()
+ {
+ return $this->spec;
+ }
+}
+
+class Google_Service_Dataflow_SourceBaseSpecs extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SourceCodec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SourceFork extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $primaryType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $primaryDataType = '';
+ protected $primarySourceType = 'Google_Service_Dataflow_DerivedSource';
+ protected $primarySourceDataType = '';
+ protected $residualType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $residualDataType = '';
+ protected $residualSourceType = 'Google_Service_Dataflow_DerivedSource';
+ protected $residualSourceDataType = '';
+
+
+ public function setPrimary(Google_Service_Dataflow_SourceSplitShard $primary)
+ {
+ $this->primary = $primary;
+ }
+ public function getPrimary()
+ {
+ return $this->primary;
+ }
+ public function setPrimarySource(Google_Service_Dataflow_DerivedSource $primarySource)
+ {
+ $this->primarySource = $primarySource;
+ }
+ public function getPrimarySource()
+ {
+ return $this->primarySource;
+ }
+ public function setResidual(Google_Service_Dataflow_SourceSplitShard $residual)
+ {
+ $this->residual = $residual;
+ }
+ public function getResidual()
+ {
+ return $this->residual;
+ }
+ public function setResidualSource(Google_Service_Dataflow_DerivedSource $residualSource)
+ {
+ $this->residualSource = $residualSource;
+ }
+ public function getResidualSource()
+ {
+ return $this->residualSource;
+ }
+}
+
+class Google_Service_Dataflow_SourceGetMetadataRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_SourceGetMetadataResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $metadataType = 'Google_Service_Dataflow_SourceMetadata';
+ protected $metadataDataType = '';
+
+
+ public function setMetadata(Google_Service_Dataflow_SourceMetadata $metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+}
+
+class Google_Service_Dataflow_SourceMetadata extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $estimatedSizeBytes;
+ public $infinite;
+ public $producesSortedKeys;
+
+
+ public function setEstimatedSizeBytes($estimatedSizeBytes)
+ {
+ $this->estimatedSizeBytes = $estimatedSizeBytes;
+ }
+ public function getEstimatedSizeBytes()
+ {
+ return $this->estimatedSizeBytes;
+ }
+ public function setInfinite($infinite)
+ {
+ $this->infinite = $infinite;
+ }
+ public function getInfinite()
+ {
+ return $this->infinite;
+ }
+ public function setProducesSortedKeys($producesSortedKeys)
+ {
+ $this->producesSortedKeys = $producesSortedKeys;
+ }
+ public function getProducesSortedKeys()
+ {
+ return $this->producesSortedKeys;
+ }
+}
+
+class Google_Service_Dataflow_SourceOperationRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataRequest';
+ protected $getMetadataDataType = '';
+ protected $splitType = 'Google_Service_Dataflow_SourceSplitRequest';
+ protected $splitDataType = '';
+
+
+ public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataRequest $getMetadata)
+ {
+ $this->getMetadata = $getMetadata;
+ }
+ public function getGetMetadata()
+ {
+ return $this->getMetadata;
+ }
+ public function setSplit(Google_Service_Dataflow_SourceSplitRequest $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
+
+class Google_Service_Dataflow_SourceOperationResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $getMetadataType = 'Google_Service_Dataflow_SourceGetMetadataResponse';
+ protected $getMetadataDataType = '';
+ protected $splitType = 'Google_Service_Dataflow_SourceSplitResponse';
+ protected $splitDataType = '';
+
+
+ public function setGetMetadata(Google_Service_Dataflow_SourceGetMetadataResponse $getMetadata)
+ {
+ $this->getMetadata = $getMetadata;
+ }
+ public function getGetMetadata()
+ {
+ return $this->getMetadata;
+ }
+ public function setSplit(Google_Service_Dataflow_SourceSplitResponse $split)
+ {
+ $this->split = $split;
+ }
+ public function getSplit()
+ {
+ return $this->split;
+ }
+}
+
+class Google_Service_Dataflow_SourceSpec extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_SourceSplitOptions extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $desiredBundleSizeBytes;
+ public $desiredShardSizeBytes;
+
+
+ public function setDesiredBundleSizeBytes($desiredBundleSizeBytes)
+ {
+ $this->desiredBundleSizeBytes = $desiredBundleSizeBytes;
+ }
+ public function getDesiredBundleSizeBytes()
+ {
+ return $this->desiredBundleSizeBytes;
+ }
+ public function setDesiredShardSizeBytes($desiredShardSizeBytes)
+ {
+ $this->desiredShardSizeBytes = $desiredShardSizeBytes;
+ }
+ public function getDesiredShardSizeBytes()
+ {
+ return $this->desiredShardSizeBytes;
+ }
+}
+
+class Google_Service_Dataflow_SourceSplitRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $optionsType = 'Google_Service_Dataflow_SourceSplitOptions';
+ protected $optionsDataType = '';
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setOptions(Google_Service_Dataflow_SourceSplitOptions $options)
+ {
+ $this->options = $options;
+ }
+ public function getOptions()
+ {
+ return $this->options;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_SourceSplitResponse extends Google_Collection
+{
+ protected $collection_key = 'shards';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bundlesType = 'Google_Service_Dataflow_DerivedSource';
+ protected $bundlesDataType = 'array';
+ public $outcome;
+ protected $shardsType = 'Google_Service_Dataflow_SourceSplitShard';
+ protected $shardsDataType = 'array';
+
+
+ public function setBundles($bundles)
+ {
+ $this->bundles = $bundles;
+ }
+ public function getBundles()
+ {
+ return $this->bundles;
+ }
+ public function setOutcome($outcome)
+ {
+ $this->outcome = $outcome;
+ }
+ public function getOutcome()
+ {
+ return $this->outcome;
+ }
+ public function setShards($shards)
+ {
+ $this->shards = $shards;
+ }
+ public function getShards()
+ {
+ return $this->shards;
+ }
+}
+
+class Google_Service_Dataflow_SourceSplitShard extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $derivationMode;
+ protected $sourceType = 'Google_Service_Dataflow_Source';
+ protected $sourceDataType = '';
+
+
+ public function setDerivationMode($derivationMode)
+ {
+ $this->derivationMode = $derivationMode;
+ }
+ public function getDerivationMode()
+ {
+ return $this->derivationMode;
+ }
+ public function setSource(Google_Service_Dataflow_Source $source)
+ {
+ $this->source = $source;
+ }
+ public function getSource()
+ {
+ return $this->source;
+ }
+}
+
+class Google_Service_Dataflow_Status extends Google_Collection
+{
+ protected $collection_key = 'details';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $details;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setDetails($details)
+ {
+ $this->details = $details;
+ }
+ public function getDetails()
+ {
+ return $this->details;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Dataflow_StatusDetails extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_Step extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $kind;
+ public $name;
+ public $properties;
+
+
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+}
+
+class Google_Service_Dataflow_StepProperties extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_StreamLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $pubsubLocationType = 'Google_Service_Dataflow_PubsubLocation';
+ protected $pubsubLocationDataType = '';
+ protected $sideInputLocationType = 'Google_Service_Dataflow_StreamingSideInputLocation';
+ protected $sideInputLocationDataType = '';
+ protected $streamingStageLocationType = 'Google_Service_Dataflow_StreamingStageLocation';
+ protected $streamingStageLocationDataType = '';
+
+
+ public function setPubsubLocation(Google_Service_Dataflow_PubsubLocation $pubsubLocation)
+ {
+ $this->pubsubLocation = $pubsubLocation;
+ }
+ public function getPubsubLocation()
+ {
+ return $this->pubsubLocation;
+ }
+ public function setSideInputLocation(Google_Service_Dataflow_StreamingSideInputLocation $sideInputLocation)
+ {
+ $this->sideInputLocation = $sideInputLocation;
+ }
+ public function getSideInputLocation()
+ {
+ return $this->sideInputLocation;
+ }
+ public function setStreamingStageLocation(Google_Service_Dataflow_StreamingStageLocation $streamingStageLocation)
+ {
+ $this->streamingStageLocation = $streamingStageLocation;
+ }
+ public function getStreamingStageLocation()
+ {
+ return $this->streamingStageLocation;
+ }
+}
+
+class Google_Service_Dataflow_StreamingComputationRanges extends Google_Collection
+{
+ protected $collection_key = 'rangeAssignments';
+ protected $internal_gapi_mappings = array(
+ );
+ public $computationId;
+ protected $rangeAssignmentsType = 'Google_Service_Dataflow_KeyRangeDataDiskAssignment';
+ protected $rangeAssignmentsDataType = 'array';
+
+
+ public function setComputationId($computationId)
+ {
+ $this->computationId = $computationId;
+ }
+ public function getComputationId()
+ {
+ return $this->computationId;
+ }
+ public function setRangeAssignments($rangeAssignments)
+ {
+ $this->rangeAssignments = $rangeAssignments;
+ }
+ public function getRangeAssignments()
+ {
+ return $this->rangeAssignments;
+ }
+}
+
+class Google_Service_Dataflow_StreamingComputationTask extends Google_Collection
+{
+ protected $collection_key = 'dataDisks';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $computationRangesType = 'Google_Service_Dataflow_StreamingComputationRanges';
+ protected $computationRangesDataType = 'array';
+ protected $dataDisksType = 'Google_Service_Dataflow_MountedDataDisk';
+ protected $dataDisksDataType = 'array';
+ public $taskType;
+
+
+ public function setComputationRanges($computationRanges)
+ {
+ $this->computationRanges = $computationRanges;
+ }
+ public function getComputationRanges()
+ {
+ return $this->computationRanges;
+ }
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setTaskType($taskType)
+ {
+ $this->taskType = $taskType;
+ }
+ public function getTaskType()
+ {
+ return $this->taskType;
+ }
+}
+
+class Google_Service_Dataflow_StreamingSetupTask extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $receiveWorkPort;
+ protected $streamingComputationTopologyType = 'Google_Service_Dataflow_TopologyConfig';
+ protected $streamingComputationTopologyDataType = '';
+ public $workerHarnessPort;
+
+
+ public function setReceiveWorkPort($receiveWorkPort)
+ {
+ $this->receiveWorkPort = $receiveWorkPort;
+ }
+ public function getReceiveWorkPort()
+ {
+ return $this->receiveWorkPort;
+ }
+ public function setStreamingComputationTopology(Google_Service_Dataflow_TopologyConfig $streamingComputationTopology)
+ {
+ $this->streamingComputationTopology = $streamingComputationTopology;
+ }
+ public function getStreamingComputationTopology()
+ {
+ return $this->streamingComputationTopology;
+ }
+ public function setWorkerHarnessPort($workerHarnessPort)
+ {
+ $this->workerHarnessPort = $workerHarnessPort;
+ }
+ public function getWorkerHarnessPort()
+ {
+ return $this->workerHarnessPort;
+ }
+}
+
+class Google_Service_Dataflow_StreamingSideInputLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $tag;
+
+
+ public function setTag($tag)
+ {
+ $this->tag = $tag;
+ }
+ public function getTag()
+ {
+ return $this->tag;
+ }
+}
+
+class Google_Service_Dataflow_StreamingStageLocation extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $streamId;
+
+
+ public function setStreamId($streamId)
+ {
+ $this->streamId = $streamId;
+ }
+ public function getStreamId()
+ {
+ return $this->streamId;
+ }
+}
+
+class Google_Service_Dataflow_TaskRunnerSettings extends Google_Collection
+{
+ protected $collection_key = 'oauthScopes';
+ protected $internal_gapi_mappings = array(
+ );
+ public $alsologtostderr;
+ public $baseTaskDir;
+ public $baseUrl;
+ public $commandlinesFileName;
+ public $continueOnException;
+ public $dataflowApiVersion;
+ public $harnessCommand;
+ public $languageHint;
+ public $logDir;
+ public $logToSerialconsole;
+ public $logUploadLocation;
+ public $oauthScopes;
+ protected $parallelWorkerSettingsType = 'Google_Service_Dataflow_WorkerSettings';
+ protected $parallelWorkerSettingsDataType = '';
+ public $streamingWorkerMainClass;
+ public $taskGroup;
+ public $taskUser;
+ public $tempStoragePrefix;
+ public $vmId;
+ public $workflowFileName;
+
+
+ public function setAlsologtostderr($alsologtostderr)
+ {
+ $this->alsologtostderr = $alsologtostderr;
+ }
+ public function getAlsologtostderr()
+ {
+ return $this->alsologtostderr;
+ }
+ public function setBaseTaskDir($baseTaskDir)
+ {
+ $this->baseTaskDir = $baseTaskDir;
+ }
+ public function getBaseTaskDir()
+ {
+ return $this->baseTaskDir;
+ }
+ public function setBaseUrl($baseUrl)
+ {
+ $this->baseUrl = $baseUrl;
+ }
+ public function getBaseUrl()
+ {
+ return $this->baseUrl;
+ }
+ public function setCommandlinesFileName($commandlinesFileName)
+ {
+ $this->commandlinesFileName = $commandlinesFileName;
+ }
+ public function getCommandlinesFileName()
+ {
+ return $this->commandlinesFileName;
+ }
+ public function setContinueOnException($continueOnException)
+ {
+ $this->continueOnException = $continueOnException;
+ }
+ public function getContinueOnException()
+ {
+ return $this->continueOnException;
+ }
+ public function setDataflowApiVersion($dataflowApiVersion)
+ {
+ $this->dataflowApiVersion = $dataflowApiVersion;
+ }
+ public function getDataflowApiVersion()
+ {
+ return $this->dataflowApiVersion;
+ }
+ public function setHarnessCommand($harnessCommand)
+ {
+ $this->harnessCommand = $harnessCommand;
+ }
+ public function getHarnessCommand()
+ {
+ return $this->harnessCommand;
+ }
+ public function setLanguageHint($languageHint)
+ {
+ $this->languageHint = $languageHint;
+ }
+ public function getLanguageHint()
+ {
+ return $this->languageHint;
+ }
+ public function setLogDir($logDir)
+ {
+ $this->logDir = $logDir;
+ }
+ public function getLogDir()
+ {
+ return $this->logDir;
+ }
+ public function setLogToSerialconsole($logToSerialconsole)
+ {
+ $this->logToSerialconsole = $logToSerialconsole;
+ }
+ public function getLogToSerialconsole()
+ {
+ return $this->logToSerialconsole;
+ }
+ public function setLogUploadLocation($logUploadLocation)
+ {
+ $this->logUploadLocation = $logUploadLocation;
+ }
+ public function getLogUploadLocation()
+ {
+ return $this->logUploadLocation;
+ }
+ public function setOauthScopes($oauthScopes)
+ {
+ $this->oauthScopes = $oauthScopes;
+ }
+ public function getOauthScopes()
+ {
+ return $this->oauthScopes;
+ }
+ public function setParallelWorkerSettings(Google_Service_Dataflow_WorkerSettings $parallelWorkerSettings)
+ {
+ $this->parallelWorkerSettings = $parallelWorkerSettings;
+ }
+ public function getParallelWorkerSettings()
+ {
+ return $this->parallelWorkerSettings;
+ }
+ public function setStreamingWorkerMainClass($streamingWorkerMainClass)
+ {
+ $this->streamingWorkerMainClass = $streamingWorkerMainClass;
+ }
+ public function getStreamingWorkerMainClass()
+ {
+ return $this->streamingWorkerMainClass;
+ }
+ public function setTaskGroup($taskGroup)
+ {
+ $this->taskGroup = $taskGroup;
+ }
+ public function getTaskGroup()
+ {
+ return $this->taskGroup;
+ }
+ public function setTaskUser($taskUser)
+ {
+ $this->taskUser = $taskUser;
+ }
+ public function getTaskUser()
+ {
+ return $this->taskUser;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setVmId($vmId)
+ {
+ $this->vmId = $vmId;
+ }
+ public function getVmId()
+ {
+ return $this->vmId;
+ }
+ public function setWorkflowFileName($workflowFileName)
+ {
+ $this->workflowFileName = $workflowFileName;
+ }
+ public function getWorkflowFileName()
+ {
+ return $this->workflowFileName;
+ }
+}
+
+class Google_Service_Dataflow_TopologyConfig extends Google_Collection
+{
+ protected $collection_key = 'dataDiskAssignments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $computationsType = 'Google_Service_Dataflow_ComputationTopology';
+ protected $computationsDataType = 'array';
+ protected $dataDiskAssignmentsType = 'Google_Service_Dataflow_DataDiskAssignment';
+ protected $dataDiskAssignmentsDataType = 'array';
+
+
+ public function setComputations($computations)
+ {
+ $this->computations = $computations;
+ }
+ public function getComputations()
+ {
+ return $this->computations;
+ }
+ public function setDataDiskAssignments($dataDiskAssignments)
+ {
+ $this->dataDiskAssignments = $dataDiskAssignments;
+ }
+ public function getDataDiskAssignments()
+ {
+ return $this->dataDiskAssignments;
+ }
+}
+
+class Google_Service_Dataflow_WorkItem extends Google_Collection
+{
+ protected $collection_key = 'packages';
+ protected $internal_gapi_mappings = array(
+ );
+ public $configuration;
+ public $id;
+ public $initialReportIndex;
+ public $jobId;
+ public $leaseExpireTime;
+ protected $mapTaskType = 'Google_Service_Dataflow_MapTask';
+ protected $mapTaskDataType = '';
+ protected $packagesType = 'Google_Service_Dataflow_Package';
+ protected $packagesDataType = 'array';
+ public $projectId;
+ public $reportStatusInterval;
+ protected $seqMapTaskType = 'Google_Service_Dataflow_SeqMapTask';
+ protected $seqMapTaskDataType = '';
+ protected $shellTaskType = 'Google_Service_Dataflow_ShellTask';
+ protected $shellTaskDataType = '';
+ protected $sourceOperationTaskType = 'Google_Service_Dataflow_SourceOperationRequest';
+ protected $sourceOperationTaskDataType = '';
+ protected $streamingComputationTaskType = 'Google_Service_Dataflow_StreamingComputationTask';
+ protected $streamingComputationTaskDataType = '';
+ protected $streamingSetupTaskType = 'Google_Service_Dataflow_StreamingSetupTask';
+ protected $streamingSetupTaskDataType = '';
+
+
+ public function setConfiguration($configuration)
+ {
+ $this->configuration = $configuration;
+ }
+ public function getConfiguration()
+ {
+ return $this->configuration;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInitialReportIndex($initialReportIndex)
+ {
+ $this->initialReportIndex = $initialReportIndex;
+ }
+ public function getInitialReportIndex()
+ {
+ return $this->initialReportIndex;
+ }
+ public function setJobId($jobId)
+ {
+ $this->jobId = $jobId;
+ }
+ public function getJobId()
+ {
+ return $this->jobId;
+ }
+ public function setLeaseExpireTime($leaseExpireTime)
+ {
+ $this->leaseExpireTime = $leaseExpireTime;
+ }
+ public function getLeaseExpireTime()
+ {
+ return $this->leaseExpireTime;
+ }
+ public function setMapTask(Google_Service_Dataflow_MapTask $mapTask)
+ {
+ $this->mapTask = $mapTask;
+ }
+ public function getMapTask()
+ {
+ return $this->mapTask;
+ }
+ public function setPackages($packages)
+ {
+ $this->packages = $packages;
+ }
+ public function getPackages()
+ {
+ return $this->packages;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setReportStatusInterval($reportStatusInterval)
+ {
+ $this->reportStatusInterval = $reportStatusInterval;
+ }
+ public function getReportStatusInterval()
+ {
+ return $this->reportStatusInterval;
+ }
+ public function setSeqMapTask(Google_Service_Dataflow_SeqMapTask $seqMapTask)
+ {
+ $this->seqMapTask = $seqMapTask;
+ }
+ public function getSeqMapTask()
+ {
+ return $this->seqMapTask;
+ }
+ public function setShellTask(Google_Service_Dataflow_ShellTask $shellTask)
+ {
+ $this->shellTask = $shellTask;
+ }
+ public function getShellTask()
+ {
+ return $this->shellTask;
+ }
+ public function setSourceOperationTask(Google_Service_Dataflow_SourceOperationRequest $sourceOperationTask)
+ {
+ $this->sourceOperationTask = $sourceOperationTask;
+ }
+ public function getSourceOperationTask()
+ {
+ return $this->sourceOperationTask;
+ }
+ public function setStreamingComputationTask(Google_Service_Dataflow_StreamingComputationTask $streamingComputationTask)
+ {
+ $this->streamingComputationTask = $streamingComputationTask;
+ }
+ public function getStreamingComputationTask()
+ {
+ return $this->streamingComputationTask;
+ }
+ public function setStreamingSetupTask(Google_Service_Dataflow_StreamingSetupTask $streamingSetupTask)
+ {
+ $this->streamingSetupTask = $streamingSetupTask;
+ }
+ public function getStreamingSetupTask()
+ {
+ return $this->streamingSetupTask;
+ }
+}
+
+class Google_Service_Dataflow_WorkItemServiceState extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $harnessData;
+ public $leaseExpireTime;
+ public $nextReportIndex;
+ public $reportStatusInterval;
+ protected $suggestedStopPointType = 'Google_Service_Dataflow_ApproximateProgress';
+ protected $suggestedStopPointDataType = '';
+ protected $suggestedStopPositionType = 'Google_Service_Dataflow_Position';
+ protected $suggestedStopPositionDataType = '';
+
+
+ public function setHarnessData($harnessData)
+ {
+ $this->harnessData = $harnessData;
+ }
+ public function getHarnessData()
+ {
+ return $this->harnessData;
+ }
+ public function setLeaseExpireTime($leaseExpireTime)
+ {
+ $this->leaseExpireTime = $leaseExpireTime;
+ }
+ public function getLeaseExpireTime()
+ {
+ return $this->leaseExpireTime;
+ }
+ public function setNextReportIndex($nextReportIndex)
+ {
+ $this->nextReportIndex = $nextReportIndex;
+ }
+ public function getNextReportIndex()
+ {
+ return $this->nextReportIndex;
+ }
+ public function setReportStatusInterval($reportStatusInterval)
+ {
+ $this->reportStatusInterval = $reportStatusInterval;
+ }
+ public function getReportStatusInterval()
+ {
+ return $this->reportStatusInterval;
+ }
+ public function setSuggestedStopPoint(Google_Service_Dataflow_ApproximateProgress $suggestedStopPoint)
+ {
+ $this->suggestedStopPoint = $suggestedStopPoint;
+ }
+ public function getSuggestedStopPoint()
+ {
+ return $this->suggestedStopPoint;
+ }
+ public function setSuggestedStopPosition(Google_Service_Dataflow_Position $suggestedStopPosition)
+ {
+ $this->suggestedStopPosition = $suggestedStopPosition;
+ }
+ public function getSuggestedStopPosition()
+ {
+ return $this->suggestedStopPosition;
+ }
+}
+
+class Google_Service_Dataflow_WorkItemServiceStateHarnessData extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_WorkItemStatus extends Google_Collection
+{
+ protected $collection_key = 'metricUpdates';
+ protected $internal_gapi_mappings = array(
+ );
+ public $completed;
+ protected $dynamicSourceSplitType = 'Google_Service_Dataflow_DynamicSourceSplit';
+ protected $dynamicSourceSplitDataType = '';
+ protected $errorsType = 'Google_Service_Dataflow_Status';
+ protected $errorsDataType = 'array';
+ protected $metricUpdatesType = 'Google_Service_Dataflow_MetricUpdate';
+ protected $metricUpdatesDataType = 'array';
+ protected $progressType = 'Google_Service_Dataflow_ApproximateProgress';
+ protected $progressDataType = '';
+ public $reportIndex;
+ public $requestedLeaseDuration;
+ protected $sourceForkType = 'Google_Service_Dataflow_SourceFork';
+ protected $sourceForkDataType = '';
+ protected $sourceOperationResponseType = 'Google_Service_Dataflow_SourceOperationResponse';
+ protected $sourceOperationResponseDataType = '';
+ protected $stopPositionType = 'Google_Service_Dataflow_Position';
+ protected $stopPositionDataType = '';
+ public $workItemId;
+
+
+ public function setCompleted($completed)
+ {
+ $this->completed = $completed;
+ }
+ public function getCompleted()
+ {
+ return $this->completed;
+ }
+ public function setDynamicSourceSplit(Google_Service_Dataflow_DynamicSourceSplit $dynamicSourceSplit)
+ {
+ $this->dynamicSourceSplit = $dynamicSourceSplit;
+ }
+ public function getDynamicSourceSplit()
+ {
+ return $this->dynamicSourceSplit;
+ }
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setMetricUpdates($metricUpdates)
+ {
+ $this->metricUpdates = $metricUpdates;
+ }
+ public function getMetricUpdates()
+ {
+ return $this->metricUpdates;
+ }
+ public function setProgress(Google_Service_Dataflow_ApproximateProgress $progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setReportIndex($reportIndex)
+ {
+ $this->reportIndex = $reportIndex;
+ }
+ public function getReportIndex()
+ {
+ return $this->reportIndex;
+ }
+ public function setRequestedLeaseDuration($requestedLeaseDuration)
+ {
+ $this->requestedLeaseDuration = $requestedLeaseDuration;
+ }
+ public function getRequestedLeaseDuration()
+ {
+ return $this->requestedLeaseDuration;
+ }
+ public function setSourceFork(Google_Service_Dataflow_SourceFork $sourceFork)
+ {
+ $this->sourceFork = $sourceFork;
+ }
+ public function getSourceFork()
+ {
+ return $this->sourceFork;
+ }
+ public function setSourceOperationResponse(Google_Service_Dataflow_SourceOperationResponse $sourceOperationResponse)
+ {
+ $this->sourceOperationResponse = $sourceOperationResponse;
+ }
+ public function getSourceOperationResponse()
+ {
+ return $this->sourceOperationResponse;
+ }
+ public function setStopPosition(Google_Service_Dataflow_Position $stopPosition)
+ {
+ $this->stopPosition = $stopPosition;
+ }
+ public function getStopPosition()
+ {
+ return $this->stopPosition;
+ }
+ public function setWorkItemId($workItemId)
+ {
+ $this->workItemId = $workItemId;
+ }
+ public function getWorkItemId()
+ {
+ return $this->workItemId;
+ }
+}
+
+class Google_Service_Dataflow_WorkerPool extends Google_Collection
+{
+ protected $collection_key = 'packages';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $autoscalingSettingsType = 'Google_Service_Dataflow_AutoscalingSettings';
+ protected $autoscalingSettingsDataType = '';
+ protected $dataDisksType = 'Google_Service_Dataflow_Disk';
+ protected $dataDisksDataType = 'array';
+ public $defaultPackageSet;
+ public $diskSizeGb;
+ public $diskSourceImage;
+ public $kind;
+ public $machineType;
+ public $metadata;
+ public $numWorkers;
+ public $onHostMaintenance;
+ protected $packagesType = 'Google_Service_Dataflow_Package';
+ protected $packagesDataType = 'array';
+ public $poolArgs;
+ protected $taskrunnerSettingsType = 'Google_Service_Dataflow_TaskRunnerSettings';
+ protected $taskrunnerSettingsDataType = '';
+ public $teardownPolicy;
+ public $zone;
+
+
+ public function setAutoscalingSettings(Google_Service_Dataflow_AutoscalingSettings $autoscalingSettings)
+ {
+ $this->autoscalingSettings = $autoscalingSettings;
+ }
+ public function getAutoscalingSettings()
+ {
+ return $this->autoscalingSettings;
+ }
+ public function setDataDisks($dataDisks)
+ {
+ $this->dataDisks = $dataDisks;
+ }
+ public function getDataDisks()
+ {
+ return $this->dataDisks;
+ }
+ public function setDefaultPackageSet($defaultPackageSet)
+ {
+ $this->defaultPackageSet = $defaultPackageSet;
+ }
+ public function getDefaultPackageSet()
+ {
+ return $this->defaultPackageSet;
+ }
+ public function setDiskSizeGb($diskSizeGb)
+ {
+ $this->diskSizeGb = $diskSizeGb;
+ }
+ public function getDiskSizeGb()
+ {
+ return $this->diskSizeGb;
+ }
+ public function setDiskSourceImage($diskSourceImage)
+ {
+ $this->diskSourceImage = $diskSourceImage;
+ }
+ public function getDiskSourceImage()
+ {
+ return $this->diskSourceImage;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMachineType($machineType)
+ {
+ $this->machineType = $machineType;
+ }
+ public function getMachineType()
+ {
+ return $this->machineType;
+ }
+ public function setMetadata($metadata)
+ {
+ $this->metadata = $metadata;
+ }
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+ public function setNumWorkers($numWorkers)
+ {
+ $this->numWorkers = $numWorkers;
+ }
+ public function getNumWorkers()
+ {
+ return $this->numWorkers;
+ }
+ public function setOnHostMaintenance($onHostMaintenance)
+ {
+ $this->onHostMaintenance = $onHostMaintenance;
+ }
+ public function getOnHostMaintenance()
+ {
+ return $this->onHostMaintenance;
+ }
+ public function setPackages($packages)
+ {
+ $this->packages = $packages;
+ }
+ public function getPackages()
+ {
+ return $this->packages;
+ }
+ public function setPoolArgs($poolArgs)
+ {
+ $this->poolArgs = $poolArgs;
+ }
+ public function getPoolArgs()
+ {
+ return $this->poolArgs;
+ }
+ public function setTaskrunnerSettings(Google_Service_Dataflow_TaskRunnerSettings $taskrunnerSettings)
+ {
+ $this->taskrunnerSettings = $taskrunnerSettings;
+ }
+ public function getTaskrunnerSettings()
+ {
+ return $this->taskrunnerSettings;
+ }
+ public function setTeardownPolicy($teardownPolicy)
+ {
+ $this->teardownPolicy = $teardownPolicy;
+ }
+ public function getTeardownPolicy()
+ {
+ return $this->teardownPolicy;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Dataflow_WorkerPoolMetadata extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_WorkerPoolPoolArgs extends Google_Model
+{
+}
+
+class Google_Service_Dataflow_WorkerSettings extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $baseUrl;
+ public $reportingEnabled;
+ public $servicePath;
+ public $shuffleServicePath;
+ public $tempStoragePrefix;
+ public $workerId;
+
+
+ public function setBaseUrl($baseUrl)
+ {
+ $this->baseUrl = $baseUrl;
+ }
+ public function getBaseUrl()
+ {
+ return $this->baseUrl;
+ }
+ public function setReportingEnabled($reportingEnabled)
+ {
+ $this->reportingEnabled = $reportingEnabled;
+ }
+ public function getReportingEnabled()
+ {
+ return $this->reportingEnabled;
+ }
+ public function setServicePath($servicePath)
+ {
+ $this->servicePath = $servicePath;
+ }
+ public function getServicePath()
+ {
+ return $this->servicePath;
+ }
+ public function setShuffleServicePath($shuffleServicePath)
+ {
+ $this->shuffleServicePath = $shuffleServicePath;
+ }
+ public function getShuffleServicePath()
+ {
+ return $this->shuffleServicePath;
+ }
+ public function setTempStoragePrefix($tempStoragePrefix)
+ {
+ $this->tempStoragePrefix = $tempStoragePrefix;
+ }
+ public function getTempStoragePrefix()
+ {
+ return $this->tempStoragePrefix;
+ }
+ public function setWorkerId($workerId)
+ {
+ $this->workerId = $workerId;
+ }
+ public function getWorkerId()
+ {
+ return $this->workerId;
+ }
+}
+
+class Google_Service_Dataflow_WriteInstruction extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $inputType = 'Google_Service_Dataflow_InstructionInput';
+ protected $inputDataType = '';
+ protected $sinkType = 'Google_Service_Dataflow_Sink';
+ protected $sinkDataType = '';
+
+
+ public function setInput(Google_Service_Dataflow_InstructionInput $input)
+ {
+ $this->input = $input;
+ }
+ public function getInput()
+ {
+ return $this->input;
+ }
+ public function setSink(Google_Service_Dataflow_Sink $sink)
+ {
+ $this->sink = $sink;
+ }
+ public function getSink()
+ {
+ return $this->sink;
+ }
+}
From bd93ed4f58712f67a6019fb0f17b6e1d5ce471e0 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $computeaccountsService = new Google_Service_Computeaccounts(...);
+ * $globalAccountsOperations = $computeaccountsService->globalAccountsOperations;
+ *
+ */
+class Google_Service_Computeaccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified operation resource. (globalAccountsOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the operation resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified operation resource. (globalAccountsOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the operation resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalAccountsOperations.listGlobalAccountsOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Computeaccounts_OperationList
+ */
+ public function listGlobalAccountsOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Computeaccounts_OperationList");
+ }
+}
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ *
+ * $computeaccountsService = new Google_Service_Computeaccounts(...);
+ * $groups = $computeaccountsService->groups;
+ *
+ */
+class Google_Service_Computeaccounts_Groups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds users to the specified group. (groups.addMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_GroupsAddMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function addMember($project, $groupName, Google_Service_Computeaccounts_GroupsAddMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addMember', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Deletes the specified group resource. (groups.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function delete($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Returns the specified group resource. (groups.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Group
+ */
+ public function get($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Computeaccounts_Group");
+ }
+
+ /**
+ * Creates a group resource in the specified project using the data included in
+ * the request. (groups.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function insert($project, Google_Service_Computeaccounts_Group $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of groups contained within the specified project.
+ * (groups.listGroups)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Computeaccounts_GroupList
+ */
+ public function listGroups($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Computeaccounts_GroupList");
+ }
+
+ /**
+ * Removes users from the specified group. (groups.removeMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_GroupsRemoveMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function removeMember($project, $groupName, Google_Service_Computeaccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeMember', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+}
+
+/**
+ * The "linux" collection of methods.
+ * Typical usage is:
+ *
+ * $computeaccountsService = new Google_Service_Computeaccounts(...);
+ * $linux = $computeaccountsService->linux;
+ *
+ */
+class Google_Service_Computeaccounts_Linux_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns the AuthorizedKeysView of the specified user.
+ * (linux.getAuthorizedKeysView)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $user Username of the AuthorizedKeysView to return.
+ * @param string $instance The fully-qualified URL of the instance requesting
+ * the view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse
+ */
+ public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAuthorizedKeysView', array($params), "Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse");
+ }
+
+ /**
+ * Retrieves the Linux views for an instance contained within the specified
+ * project. (linux.getLinuxAccountViews)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $instance The fully-qualified URL of the instance requesting
+ * the views.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string user If provided, the user whose login is triggering an
+ * immediate refresh of the views.
+ * @return Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse
+ */
+ public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getLinuxAccountViews', array($params), "Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $computeaccountsService = new Google_Service_Computeaccounts(...);
+ * $users = $computeaccountsService->users;
+ *
+ */
+class Google_Service_Computeaccounts_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds a public key to the specified user using the data included in the
+ * request. (users.addPublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param Google_PublicKey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function addPublicKey($project, $user, Google_Service_Computeaccounts_PublicKey $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addPublicKey', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Deletes the specified user resource. (users.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function delete($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Returns the specified user resource. (users.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_User
+ */
+ public function get($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Computeaccounts_User");
+ }
+
+ /**
+ * Creates a user resource in the specified project using the data included in
+ * the request. (users.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function insert($project, Google_Service_Computeaccounts_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of users contained within the specified project.
+ * (users.listUsers)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Optional. Filter expression for filtering listed
+ * resources.
+ * @opt_param string pageToken Optional. Tag returned by a previous list request
+ * truncated by maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Optional. Maximum count of results to be
+ * returned. Maximum value is 500 and default value is 500.
+ * @return Google_Service_Computeaccounts_UserList
+ */
+ public function listUsers($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Computeaccounts_UserList");
+ }
+
+ /**
+ * Removes the specified public key from the user. (users.removePublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param string $fingerprint The fingerprint of the public key to delete.
+ * Public keys are identified by their fingerprint, which is defined by RFC4716
+ * to be the MD5 digest of the public key.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Computeaccounts_Operation
+ */
+ public function removePublicKey($project, $user, $fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('removePublicKey', array($params), "Google_Service_Computeaccounts_Operation");
+ }
+}
+
+
+
+
+class Google_Service_Computeaccounts_AuthorizedKeysView extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $keys;
+
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
+
+class Google_Service_Computeaccounts_Group extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $members;
+ public $name;
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Computeaccounts_GroupList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_Computeaccounts_Group';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Computeaccounts_GroupsAddMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $users;
+
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Google_Service_Computeaccounts_GroupsRemoveMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $users;
+
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Google_Service_Computeaccounts_LinuxAccountViews extends Google_Collection
+{
+ protected $collection_key = 'userViews';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $groupViewsType = 'Google_Service_Computeaccounts_LinuxGroupView';
+ protected $groupViewsDataType = 'array';
+ public $kind;
+ protected $userViewsType = 'Google_Service_Computeaccounts_LinuxUserView';
+ protected $userViewsDataType = 'array';
+
+
+ public function setGroupViews($groupViews)
+ {
+ $this->groupViews = $groupViews;
+ }
+ public function getGroupViews()
+ {
+ return $this->groupViews;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserViews($userViews)
+ {
+ $this->userViews = $userViews;
+ }
+ public function getUserViews()
+ {
+ return $this->userViews;
+ }
+}
+
+class Google_Service_Computeaccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_Computeaccounts_AuthorizedKeysView';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_Computeaccounts_AuthorizedKeysView $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Computeaccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_Computeaccounts_LinuxAccountViews';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_Computeaccounts_LinuxAccountViews $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_Computeaccounts_LinuxGroupView extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $gid;
+ public $groupName;
+ public $members;
+
+
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setGroupName($groupName)
+ {
+ $this->groupName = $groupName;
+ }
+ public function getGroupName()
+ {
+ return $this->groupName;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+}
+
+class Google_Service_Computeaccounts_LinuxUserView extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $gecos;
+ public $gid;
+ public $homeDirectory;
+ public $shell;
+ public $uid;
+ public $username;
+
+
+ public function setGecos($gecos)
+ {
+ $this->gecos = $gecos;
+ }
+ public function getGecos()
+ {
+ return $this->gecos;
+ }
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setHomeDirectory($homeDirectory)
+ {
+ $this->homeDirectory = $homeDirectory;
+ }
+ public function getHomeDirectory()
+ {
+ return $this->homeDirectory;
+ }
+ public function setShell($shell)
+ {
+ $this->shell = $shell;
+ }
+ public function getShell()
+ {
+ return $this->shell;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_Computeaccounts_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_Computeaccounts_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_Computeaccounts_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_Computeaccounts_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_Computeaccounts_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_Computeaccounts_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_Computeaccounts_OperationErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Computeaccounts_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_Computeaccounts_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Computeaccounts_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_Computeaccounts_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_Computeaccounts_OperationWarningsData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_Computeaccounts_PublicKey extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $expirationTimestamp;
+ public $fingerprint;
+ public $key;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExpirationTimestamp($expirationTimestamp)
+ {
+ $this->expirationTimestamp = $expirationTimestamp;
+ }
+ public function getExpirationTimestamp()
+ {
+ return $this->expirationTimestamp;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_Computeaccounts_User extends Google_Collection
+{
+ protected $collection_key = 'publicKeys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $groups;
+ public $id;
+ public $kind;
+ public $name;
+ public $owner;
+ protected $publicKeysType = 'Google_Service_Computeaccounts_PublicKey';
+ protected $publicKeysDataType = 'array';
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setPublicKeys($publicKeys)
+ {
+ $this->publicKeys = $publicKeys;
+ }
+ public function getPublicKeys()
+ {
+ return $this->publicKeys;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_Computeaccounts_UserList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_Computeaccounts_User';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
From a73b5b2d4e71890ed6ada2881fefb0c3405ff648 Mon Sep 17 00:00:00 2001
From: Tim Smith
+ * $computeaccountsService = new Google_Service_ComputeAccounts(...);
+ * $globalAccountsOperations = $computeaccountsService->globalAccountsOperations;
+ *
+ */
+class Google_Service_ComputeAccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified operation resource. (globalAccountsOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified operation resource. (globalAccountsOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalAccountsOperations.listGlobalAccountsOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @return Google_Service_ComputeAccounts_OperationList
+ */
+ public function listGlobalAccountsOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ComputeAccounts_OperationList");
+ }
+}
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ *
+ * $computeaccountsService = new Google_Service_ComputeAccounts(...);
+ * $groups = $computeaccountsService->groups;
+ *
+ */
+class Google_Service_ComputeAccounts_Groups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds users to the specified group. (groups.addMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_GroupsAddMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function addMember($project, $groupName, Google_Service_ComputeAccounts_GroupsAddMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addMember', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Deletes the specified Group resource. (groups.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the Group resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function delete($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Returns the specified Group resource. (groups.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the Group resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Group
+ */
+ public function get($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ComputeAccounts_Group");
+ }
+
+ /**
+ * Creates a Group resource in the specified project using the data included in
+ * the request. (groups.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function insert($project, Google_Service_ComputeAccounts_Group $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of groups contained within the specified project.
+ * (groups.listGroups)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @return Google_Service_ComputeAccounts_GroupList
+ */
+ public function listGroups($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ComputeAccounts_GroupList");
+ }
+
+ /**
+ * Removes users from the specified group. (groups.removeMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_GroupsRemoveMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function removeMember($project, $groupName, Google_Service_ComputeAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeMember', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+}
+
+/**
+ * The "linux" collection of methods.
+ * Typical usage is:
+ *
+ * $computeaccountsService = new Google_Service_ComputeAccounts(...);
+ * $linux = $computeaccountsService->linux;
+ *
+ */
+class Google_Service_ComputeAccounts_Linux_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of authorized public keys for a specific user account.
+ * (linux.getAuthorizedKeysView)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $user The user account for which you want to get a list of
+ * authorized public keys.
+ * @param string $instance The fully-qualified URL of the virtual machine
+ * requesting the view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_LinuxGetAuthorizedKeysViewResponse
+ */
+ public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAuthorizedKeysView', array($params), "Google_Service_ComputeAccounts_LinuxGetAuthorizedKeysViewResponse");
+ }
+
+ /**
+ * Retrieves a list of user accounts for an instance within a specific project.
+ * (linux.getLinuxAccountViews)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $instance The fully-qualified URL of the virtual machine
+ * requesting the views.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string user If provided, the user requesting the views. If left
+ * blank, the system is requesting the views, instead of a particular user.
+ * @return Google_Service_ComputeAccounts_LinuxGetLinuxAccountViewsResponse
+ */
+ public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getLinuxAccountViews', array($params), "Google_Service_ComputeAccounts_LinuxGetLinuxAccountViewsResponse");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $computeaccountsService = new Google_Service_ComputeAccounts(...);
+ * $users = $computeaccountsService->users;
+ *
+ */
+class Google_Service_ComputeAccounts_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds a public key to the specified User resource with the data included in
+ * the request. (users.addPublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param Google_PublicKey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function addPublicKey($project, $user, Google_Service_ComputeAccounts_PublicKey $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addPublicKey', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Deletes the specified User resource. (users.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function delete($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Returns the specified User resource. (users.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_User
+ */
+ public function get($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_ComputeAccounts_User");
+ }
+
+ /**
+ * Creates a User resource in the specified project using the data included in
+ * the request. (users.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function insert($project, Google_Service_ComputeAccounts_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+
+ /**
+ * Retrieves a list of users contained within the specified project.
+ * (users.listUsers)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @return Google_Service_ComputeAccounts_UserList
+ */
+ public function listUsers($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_ComputeAccounts_UserList");
+ }
+
+ /**
+ * Removes the specified public key from the user. (users.removePublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param string $fingerprint The fingerprint of the public key to delete.
+ * Public keys are identified by their fingerprint, which is defined by RFC4716
+ * to be the MD5 digest of the public key.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_ComputeAccounts_Operation
+ */
+ public function removePublicKey($project, $user, $fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('removePublicKey', array($params), "Google_Service_ComputeAccounts_Operation");
+ }
+}
+
+
+
+
+class Google_Service_ComputeAccounts_AuthorizedKeysView extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $keys;
+
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
+
+class Google_Service_ComputeAccounts_Group extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $members;
+ public $name;
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_ComputeAccounts_GroupList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_ComputeAccounts_Group';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_ComputeAccounts_GroupsAddMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $users;
+
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Google_Service_ComputeAccounts_GroupsRemoveMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $users;
+
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Google_Service_ComputeAccounts_LinuxAccountViews extends Google_Collection
+{
+ protected $collection_key = 'userViews';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $groupViewsType = 'Google_Service_ComputeAccounts_LinuxGroupView';
+ protected $groupViewsDataType = 'array';
+ public $kind;
+ protected $userViewsType = 'Google_Service_ComputeAccounts_LinuxUserView';
+ protected $userViewsDataType = 'array';
+
+
+ public function setGroupViews($groupViews)
+ {
+ $this->groupViews = $groupViews;
+ }
+ public function getGroupViews()
+ {
+ return $this->groupViews;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserViews($userViews)
+ {
+ $this->userViews = $userViews;
+ }
+ public function getUserViews()
+ {
+ return $this->userViews;
+ }
+}
+
+class Google_Service_ComputeAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_ComputeAccounts_AuthorizedKeysView';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_ComputeAccounts_AuthorizedKeysView $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ComputeAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_ComputeAccounts_LinuxAccountViews';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_ComputeAccounts_LinuxAccountViews $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_ComputeAccounts_LinuxGroupView extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $gid;
+ public $groupName;
+ public $members;
+
+
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setGroupName($groupName)
+ {
+ $this->groupName = $groupName;
+ }
+ public function getGroupName()
+ {
+ return $this->groupName;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+}
+
+class Google_Service_ComputeAccounts_LinuxUserView extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $gecos;
+ public $gid;
+ public $homeDirectory;
+ public $shell;
+ public $uid;
+ public $username;
+
+
+ public function setGecos($gecos)
+ {
+ $this->gecos = $gecos;
+ }
+ public function getGecos()
+ {
+ return $this->gecos;
+ }
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setHomeDirectory($homeDirectory)
+ {
+ $this->homeDirectory = $homeDirectory;
+ }
+ public function getHomeDirectory()
+ {
+ return $this->homeDirectory;
+ }
+ public function setShell($shell)
+ {
+ $this->shell = $shell;
+ }
+ public function getShell()
+ {
+ return $this->shell;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_ComputeAccounts_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_ComputeAccounts_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_ComputeAccounts_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_ComputeAccounts_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_ComputeAccounts_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_ComputeAccounts_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_ComputeAccounts_OperationErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_ComputeAccounts_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_ComputeAccounts_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_ComputeAccounts_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_ComputeAccounts_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_ComputeAccounts_OperationWarningsData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_ComputeAccounts_PublicKey extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $expirationTimestamp;
+ public $fingerprint;
+ public $key;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExpirationTimestamp($expirationTimestamp)
+ {
+ $this->expirationTimestamp = $expirationTimestamp;
+ }
+ public function getExpirationTimestamp()
+ {
+ return $this->expirationTimestamp;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_ComputeAccounts_User extends Google_Collection
+{
+ protected $collection_key = 'publicKeys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $groups;
+ public $id;
+ public $kind;
+ public $name;
+ public $owner;
+ protected $publicKeysType = 'Google_Service_ComputeAccounts_PublicKey';
+ protected $publicKeysDataType = 'array';
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setPublicKeys($publicKeys)
+ {
+ $this->publicKeys = $publicKeys;
+ }
+ public function getPublicKeys()
+ {
+ return $this->publicKeys;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_ComputeAccounts_UserList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_ComputeAccounts_User';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
From ae45e02ae9152e72b1756594bfe7f556543fe369 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $fitnessService = new Google_Service_Fitness(...);
+ * $dataset = $fitnessService->dataset;
+ *
+ */
+class Google_Service_Fitness_UsersDataset_Resource extends Google_Service_Resource
+{
+
+ /**
+ * (dataset.aggregate)
+ *
+ * @param string $userId
+ * @param Google_AggregateRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Fitness_AggregateResponse
+ */
+ public function aggregate($userId, Google_Service_Fitness_AggregateRequest $postBody, $optParams = array())
+ {
+ $params = array('userId' => $userId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('aggregate', array($params), "Google_Service_Fitness_AggregateResponse");
+ }
+}
/**
* The "sessions" collection of methods.
* Typical usage is:
@@ -660,6 +708,211 @@ public function update($userId, $sessionId, Google_Service_Fitness_Session $post
+class Google_Service_Fitness_AggregateBucket extends Google_Collection
+{
+ protected $collection_key = 'dataset';
+ protected $internal_gapi_mappings = array(
+ );
+ public $activity;
+ protected $datasetType = 'Google_Service_Fitness_Dataset';
+ protected $datasetDataType = 'array';
+ public $endTimeMillis;
+ protected $sessionType = 'Google_Service_Fitness_Session';
+ protected $sessionDataType = '';
+ public $startTimeMillis;
+ public $type;
+
+
+ public function setActivity($activity)
+ {
+ $this->activity = $activity;
+ }
+ public function getActivity()
+ {
+ return $this->activity;
+ }
+ public function setDataset($dataset)
+ {
+ $this->dataset = $dataset;
+ }
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+ public function setEndTimeMillis($endTimeMillis)
+ {
+ $this->endTimeMillis = $endTimeMillis;
+ }
+ public function getEndTimeMillis()
+ {
+ return $this->endTimeMillis;
+ }
+ public function setSession(Google_Service_Fitness_Session $session)
+ {
+ $this->session = $session;
+ }
+ public function getSession()
+ {
+ return $this->session;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+}
+
+class Google_Service_Fitness_AggregateBy extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $dataSourceId;
+ public $dataTypeName;
+ public $outputDataSourceId;
+ public $outputDataTypeName;
+
+
+ public function setDataSourceId($dataSourceId)
+ {
+ $this->dataSourceId = $dataSourceId;
+ }
+ public function getDataSourceId()
+ {
+ return $this->dataSourceId;
+ }
+ public function setDataTypeName($dataTypeName)
+ {
+ $this->dataTypeName = $dataTypeName;
+ }
+ public function getDataTypeName()
+ {
+ return $this->dataTypeName;
+ }
+ public function setOutputDataSourceId($outputDataSourceId)
+ {
+ $this->outputDataSourceId = $outputDataSourceId;
+ }
+ public function getOutputDataSourceId()
+ {
+ return $this->outputDataSourceId;
+ }
+ public function setOutputDataTypeName($outputDataTypeName)
+ {
+ $this->outputDataTypeName = $outputDataTypeName;
+ }
+ public function getOutputDataTypeName()
+ {
+ return $this->outputDataTypeName;
+ }
+}
+
+class Google_Service_Fitness_AggregateRequest extends Google_Collection
+{
+ protected $collection_key = 'aggregateBy';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $aggregateByType = 'Google_Service_Fitness_AggregateBy';
+ protected $aggregateByDataType = 'array';
+ protected $bucketByActivitySegmentType = 'Google_Service_Fitness_BucketByActivity';
+ protected $bucketByActivitySegmentDataType = '';
+ protected $bucketByActivityTypeType = 'Google_Service_Fitness_BucketByActivity';
+ protected $bucketByActivityTypeDataType = '';
+ protected $bucketBySessionType = 'Google_Service_Fitness_BucketBySession';
+ protected $bucketBySessionDataType = '';
+ protected $bucketByTimeType = 'Google_Service_Fitness_BucketByTime';
+ protected $bucketByTimeDataType = '';
+ public $endTimeMillis;
+ public $startTimeMillis;
+
+
+ public function setAggregateBy($aggregateBy)
+ {
+ $this->aggregateBy = $aggregateBy;
+ }
+ public function getAggregateBy()
+ {
+ return $this->aggregateBy;
+ }
+ public function setBucketByActivitySegment(Google_Service_Fitness_BucketByActivity $bucketByActivitySegment)
+ {
+ $this->bucketByActivitySegment = $bucketByActivitySegment;
+ }
+ public function getBucketByActivitySegment()
+ {
+ return $this->bucketByActivitySegment;
+ }
+ public function setBucketByActivityType(Google_Service_Fitness_BucketByActivity $bucketByActivityType)
+ {
+ $this->bucketByActivityType = $bucketByActivityType;
+ }
+ public function getBucketByActivityType()
+ {
+ return $this->bucketByActivityType;
+ }
+ public function setBucketBySession(Google_Service_Fitness_BucketBySession $bucketBySession)
+ {
+ $this->bucketBySession = $bucketBySession;
+ }
+ public function getBucketBySession()
+ {
+ return $this->bucketBySession;
+ }
+ public function setBucketByTime(Google_Service_Fitness_BucketByTime $bucketByTime)
+ {
+ $this->bucketByTime = $bucketByTime;
+ }
+ public function getBucketByTime()
+ {
+ return $this->bucketByTime;
+ }
+ public function setEndTimeMillis($endTimeMillis)
+ {
+ $this->endTimeMillis = $endTimeMillis;
+ }
+ public function getEndTimeMillis()
+ {
+ return $this->endTimeMillis;
+ }
+ public function setStartTimeMillis($startTimeMillis)
+ {
+ $this->startTimeMillis = $startTimeMillis;
+ }
+ public function getStartTimeMillis()
+ {
+ return $this->startTimeMillis;
+ }
+}
+
+class Google_Service_Fitness_AggregateResponse extends Google_Collection
+{
+ protected $collection_key = 'bucket';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $bucketType = 'Google_Service_Fitness_AggregateBucket';
+ protected $bucketDataType = 'array';
+
+
+ public function setBucket($bucket)
+ {
+ $this->bucket = $bucket;
+ }
+ public function getBucket()
+ {
+ return $this->bucket;
+ }
+}
+
class Google_Service_Fitness_Application extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -704,6 +957,66 @@ public function getVersion()
}
}
+class Google_Service_Fitness_BucketByActivity extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $activityDataSourceId;
+ public $minDurationMillis;
+
+
+ public function setActivityDataSourceId($activityDataSourceId)
+ {
+ $this->activityDataSourceId = $activityDataSourceId;
+ }
+ public function getActivityDataSourceId()
+ {
+ return $this->activityDataSourceId;
+ }
+ public function setMinDurationMillis($minDurationMillis)
+ {
+ $this->minDurationMillis = $minDurationMillis;
+ }
+ public function getMinDurationMillis()
+ {
+ return $this->minDurationMillis;
+ }
+}
+
+class Google_Service_Fitness_BucketBySession extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $minDurationMillis;
+
+
+ public function setMinDurationMillis($minDurationMillis)
+ {
+ $this->minDurationMillis = $minDurationMillis;
+ }
+ public function getMinDurationMillis()
+ {
+ return $this->minDurationMillis;
+ }
+}
+
+class Google_Service_Fitness_BucketByTime extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $durationMillis;
+
+
+ public function setDurationMillis($durationMillis)
+ {
+ $this->durationMillis = $durationMillis;
+ }
+ public function getDurationMillis()
+ {
+ return $this->durationMillis;
+ }
+}
+
class Google_Service_Fitness_DataPoint extends Google_Collection
{
protected $collection_key = 'value';
From 9ba0437c90243593ec628042a2e61339351b0cd1 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $pubsubService = new Google_Service_Pubsub(...);
- * $projects = $pubsubService->projects;
- *
- */
-class Google_Service_Pubsub_Projects_Resource extends Google_Service_Resource
-{
-}
-
/**
* The "subscriptions" collection of methods.
* Typical usage is:
@@ -272,43 +196,43 @@ class Google_Service_Pubsub_Projects_Resource extends Google_Service_Resource
* $subscriptions = $pubsubService->subscriptions;
*
*/
-class Google_Service_Pubsub_ProjectsSubscriptions_Resource extends Google_Service_Resource
+class Google_Service_Pubsub_Subscriptions_Resource extends Google_Service_Resource
{
/**
- * Acknowledges the messages associated with the ack tokens in the
- * AcknowledgeRequest. The Pub/Sub system can remove the relevant messages from
- * the subscription. Acknowledging a message whose ack deadline has expired may
- * succeed, but such a message may be redelivered later. Acknowledging a message
- * more than once will not result in an error. (subscriptions.acknowledge)
+ * Acknowledges a particular received message: the Pub/Sub system can remove the
+ * given message from the subscription. Acknowledging a message whose Ack
+ * deadline has expired may succeed, but the message could have been already
+ * redelivered. Acknowledging a message more than once will not result in an
+ * error. This is only used for messages received via pull.
+ * (subscriptions.acknowledge)
*
- * @param string $subscription
* @param Google_AcknowledgeRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_Empty
*/
- public function acknowledge($subscription, Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
+ public function acknowledge(Google_Service_Pubsub_AcknowledgeRequest $postBody, $optParams = array())
{
- $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('acknowledge', array($params), "Google_Service_Pubsub_Empty");
+ return $this->call('acknowledge', array($params));
}
/**
- * Creates a subscription to a given topic for a given subscriber. If the
+ * Creates a subscription on a given topic for a given subscriber. If the
* subscription already exists, returns ALREADY_EXISTS. If the corresponding
- * topic doesn't exist, returns NOT_FOUND. If the name is not provided in the
- * request, the server will assign a random name for this subscription on the
- * same project as the topic. (subscriptions.create)
+ * topic doesn't exist, returns NOT_FOUND.
+ *
+ * If the name is not provided in the request, the server will assign a random
+ * name for this subscription on the same project as the topic.
+ * (subscriptions.create)
*
- * @param string $name
* @param Google_Subscription $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Subscription
*/
- public function create($name, Google_Service_Pubsub_Subscription $postBody, $optParams = array())
+ public function create(Google_Service_Pubsub_Subscription $postBody, $optParams = array())
{
- $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Pubsub_Subscription");
}
@@ -316,25 +240,22 @@ public function create($name, Google_Service_Pubsub_Subscription $postBody, $opt
/**
* Deletes an existing subscription. All pending messages in the subscription
* are immediately dropped. Calls to Pull after deletion will return NOT_FOUND.
- * After a subscription is deleted, a new one may be created with the same name,
- * but the new one has no association with the old subscription, or its topic
- * unless the same topic is specified. (subscriptions.delete)
+ * (subscriptions.delete)
*
- * @param string $subscription
+ * @param string $subscription The subscription to delete.
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_Empty
*/
public function delete($subscription, $optParams = array())
{
$params = array('subscription' => $subscription);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Pubsub_Empty");
+ return $this->call('delete', array($params));
}
/**
* Gets the configuration details of a subscription. (subscriptions.get)
*
- * @param string $subscription
+ * @param string $subscription The name of the subscription to get.
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Subscription
*/
@@ -346,78 +267,90 @@ public function get($subscription, $optParams = array())
}
/**
- * Lists matching subscriptions. (subscriptions.listProjectsSubscriptions)
+ * Lists matching subscriptions. (subscriptions.listSubscriptions)
*
- * @param string $project
* @param array $optParams Optional parameters.
*
- * @opt_param string pageToken
- * @opt_param int pageSize
+ * @opt_param string pageToken The value obtained in the last
+ * ListSubscriptionsResponse for continuation.
+ * @opt_param int maxResults Maximum number of subscriptions to return.
+ * @opt_param string query A valid label query expression.
* @return Google_Service_Pubsub_ListSubscriptionsResponse
*/
- public function listProjectsSubscriptions($project, $optParams = array())
+ public function listSubscriptions($optParams = array())
{
- $params = array('project' => $project);
+ $params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Pubsub_ListSubscriptionsResponse");
}
/**
- * Modifies the ack deadline for a specific message. This method is useful to
- * indicate that more time is needed to process a message by the subscriber, or
- * to make the message available for redelivery if the processing was
- * interrupted. (subscriptions.modifyAckDeadline)
+ * Modifies the Ack deadline for a message received from a pull request.
+ * (subscriptions.modifyAckDeadline)
*
- * @param string $subscription
* @param Google_ModifyAckDeadlineRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_Empty
*/
- public function modifyAckDeadline($subscription, Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
+ public function modifyAckDeadline(Google_Service_Pubsub_ModifyAckDeadlineRequest $postBody, $optParams = array())
{
- $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('modifyAckDeadline', array($params), "Google_Service_Pubsub_Empty");
+ return $this->call('modifyAckDeadline', array($params));
}
/**
- * Modifies the PushConfig for a specified subscription. This may be used to
- * change a push subscription to a pull one (signified by an empty PushConfig)
- * or vice versa, or change the endpoint URL and other attributes of a push
- * subscription. Messages will accumulate for delivery continuously through the
- * call regardless of changes to the PushConfig.
+ * Modifies the PushConfig for a specified subscription. This method can be used
+ * to suspend the flow of messages to an endpoint by clearing the PushConfig
+ * field in the request. Messages will be accumulated for delivery even if no
+ * push configuration is defined or while the configuration is modified.
* (subscriptions.modifyPushConfig)
*
- * @param string $subscription
* @param Google_ModifyPushConfigRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_Empty
*/
- public function modifyPushConfig($subscription, Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
+ public function modifyPushConfig(Google_Service_Pubsub_ModifyPushConfigRequest $postBody, $optParams = array())
{
- $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('modifyPushConfig', array($params), "Google_Service_Pubsub_Empty");
+ return $this->call('modifyPushConfig', array($params));
}
/**
- * Pulls messages from the server. Returns an empty list if there are no
- * messages available in the backlog. The server may return UNAVAILABLE if there
- * are too many concurrent pull requests pending for the given subscription.
- * (subscriptions.pull)
+ * Pulls a single message from the server. If return_immediately is true, and no
+ * messages are available in the subscription, this method returns
+ * FAILED_PRECONDITION. The system is free to return an UNAVAILABLE error if no
+ * messages are available in a reasonable amount of time (to reduce system
+ * load). (subscriptions.pull)
*
- * @param string $subscription
* @param Google_PullRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_PullResponse
*/
- public function pull($subscription, Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
+ public function pull(Google_Service_Pubsub_PullRequest $postBody, $optParams = array())
{
- $params = array('subscription' => $subscription, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('pull', array($params), "Google_Service_Pubsub_PullResponse");
}
+
+ /**
+ * Pulls messages from the server. Returns an empty list if there are no
+ * messages available in the backlog. The system is free to return UNAVAILABLE
+ * if there are too many pull requests outstanding for the given subscription.
+ * (subscriptions.pullBatch)
+ *
+ * @param Google_PullBatchRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Pubsub_PullBatchResponse
+ */
+ public function pullBatch(Google_Service_Pubsub_PullBatchRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('pullBatch', array($params), "Google_Service_Pubsub_PullBatchResponse");
+ }
}
+
/**
* The "topics" collection of methods.
* Typical usage is:
@@ -426,20 +359,19 @@ public function pull($subscription, Google_Service_Pubsub_PullRequest $postBody,
* $topics = $pubsubService->topics;
*
*/
-class Google_Service_Pubsub_ProjectsTopics_Resource extends Google_Service_Resource
+class Google_Service_Pubsub_Topics_Resource extends Google_Service_Resource
{
/**
* Creates the given topic with the given name. (topics.create)
*
- * @param string $name
* @param Google_Topic $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Topic
*/
- public function create($name, Google_Service_Pubsub_Topic $postBody, $optParams = array())
+ public function create(Google_Service_Pubsub_Topic $postBody, $optParams = array())
{
- $params = array('name' => $name, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Pubsub_Topic");
}
@@ -447,25 +379,25 @@ public function create($name, Google_Service_Pubsub_Topic $postBody, $optParams
/**
* Deletes the topic with the given name. Returns NOT_FOUND if the topic does
* not exist. After a topic is deleted, a new topic may be created with the same
- * name; this is an entirely new topic with none of the old configuration or
- * subscriptions. Existing subscriptions to this topic are not deleted.
- * (topics.delete)
+ * name. (topics.delete)
*
- * @param string $topic
+ * @param string $topic Name of the topic to delete.
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_Empty
*/
public function delete($topic, $optParams = array())
{
$params = array('topic' => $topic);
$params = array_merge($params, $optParams);
- return $this->call('delete', array($params), "Google_Service_Pubsub_Empty");
+ return $this->call('delete', array($params));
}
/**
- * Gets the configuration of a topic. (topics.get)
+ * Gets the configuration of a topic. Since the topic only has the name
+ * attribute, this method is only useful to check the existence of a topic. If
+ * other attributes are added in the future, they will be returned here.
+ * (topics.get)
*
- * @param string $topic
+ * @param string $topic The name of the topic to get.
* @param array $optParams Optional parameters.
* @return Google_Service_Pubsub_Topic
*/
@@ -477,66 +409,50 @@ public function get($topic, $optParams = array())
}
/**
- * Lists matching topics. (topics.listProjectsTopics)
+ * Lists matching topics. (topics.listTopics)
*
- * @param string $project
* @param array $optParams Optional parameters.
*
- * @opt_param string pageToken
- * @opt_param int pageSize
+ * @opt_param string pageToken The value obtained in the last ListTopicsResponse
+ * for continuation.
+ * @opt_param int maxResults Maximum number of topics to return.
+ * @opt_param string query A valid label query expression.
* @return Google_Service_Pubsub_ListTopicsResponse
*/
- public function listProjectsTopics($project, $optParams = array())
+ public function listTopics($optParams = array())
{
- $params = array('project' => $project);
+ $params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicsResponse");
}
/**
- * Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
- * not exist. (topics.publish)
+ * Adds a message to the topic. Returns NOT_FOUND if the topic does not exist.
+ * (topics.publish)
*
- * @param string $topic
* @param Google_PublishRequest $postBody
* @param array $optParams Optional parameters.
- * @return Google_Service_Pubsub_PublishResponse
*/
- public function publish($topic, Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
+ public function publish(Google_Service_Pubsub_PublishRequest $postBody, $optParams = array())
{
- $params = array('topic' => $topic, 'postBody' => $postBody);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('publish', array($params), "Google_Service_Pubsub_PublishResponse");
+ return $this->call('publish', array($params));
}
-}
-
-/**
- * The "subscriptions" collection of methods.
- * Typical usage is:
- *
- * $pubsubService = new Google_Service_Pubsub(...);
- * $subscriptions = $pubsubService->subscriptions;
- *
- */
-class Google_Service_Pubsub_ProjectsTopicsSubscriptions_Resource extends Google_Service_Resource
-{
/**
- * Lists the name of the subscriptions for this topic.
- * (subscriptions.listProjectsTopicsSubscriptions)
+ * Adds one or more messages to the topic. Returns NOT_FOUND if the topic does
+ * not exist. (topics.publishBatch)
*
- * @param string $topic
+ * @param Google_PublishBatchRequest $postBody
* @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken
- * @opt_param int pageSize
- * @return Google_Service_Pubsub_ListTopicSubscriptionsResponse
+ * @return Google_Service_Pubsub_PublishBatchResponse
*/
- public function listProjectsTopicsSubscriptions($topic, $optParams = array())
+ public function publishBatch(Google_Service_Pubsub_PublishBatchRequest $postBody, $optParams = array())
{
- $params = array('topic' => $topic);
+ $params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Pubsub_ListTopicSubscriptionsResponse");
+ return $this->call('publishBatch', array($params), "Google_Service_Pubsub_PublishBatchResponse");
}
}
@@ -545,61 +461,74 @@ public function listProjectsTopicsSubscriptions($topic, $optParams = array())
class Google_Service_Pubsub_AcknowledgeRequest extends Google_Collection
{
- protected $collection_key = 'ackIds';
+ protected $collection_key = 'ackId';
protected $internal_gapi_mappings = array(
);
- public $ackIds;
+ public $ackId;
+ public $subscription;
- public function setAckIds($ackIds)
+ public function setAckId($ackId)
{
- $this->ackIds = $ackIds;
+ $this->ackId = $ackId;
}
- public function getAckIds()
+ public function getAckId()
{
- return $this->ackIds;
+ return $this->ackId;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
}
}
-class Google_Service_Pubsub_Empty extends Google_Model
-{
-}
-
-class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
+class Google_Service_Pubsub_Label extends Google_Model
{
- protected $collection_key = 'subscriptions';
protected $internal_gapi_mappings = array(
);
- public $nextPageToken;
- protected $subscriptionsType = 'Google_Service_Pubsub_Subscription';
- protected $subscriptionsDataType = 'array';
+ public $key;
+ public $numValue;
+ public $strValue;
- public function setNextPageToken($nextPageToken)
+ public function setKey($key)
{
- $this->nextPageToken = $nextPageToken;
+ $this->key = $key;
}
- public function getNextPageToken()
+ public function getKey()
{
- return $this->nextPageToken;
+ return $this->key;
+ }
+ public function setNumValue($numValue)
+ {
+ $this->numValue = $numValue;
}
- public function setSubscriptions($subscriptions)
+ public function getNumValue()
{
- $this->subscriptions = $subscriptions;
+ return $this->numValue;
}
- public function getSubscriptions()
+ public function setStrValue($strValue)
{
- return $this->subscriptions;
+ $this->strValue = $strValue;
+ }
+ public function getStrValue()
+ {
+ return $this->strValue;
}
}
-class Google_Service_Pubsub_ListTopicSubscriptionsResponse extends Google_Collection
+class Google_Service_Pubsub_ListSubscriptionsResponse extends Google_Collection
{
- protected $collection_key = 'subscriptions';
+ protected $collection_key = 'subscription';
protected $internal_gapi_mappings = array(
);
public $nextPageToken;
- public $subscriptions;
+ protected $subscriptionType = 'Google_Service_Pubsub_Subscription';
+ protected $subscriptionDataType = 'array';
public function setNextPageToken($nextPageToken)
@@ -610,24 +539,24 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
- public function setSubscriptions($subscriptions)
+ public function setSubscription($subscription)
{
- $this->subscriptions = $subscriptions;
+ $this->subscription = $subscription;
}
- public function getSubscriptions()
+ public function getSubscription()
{
- return $this->subscriptions;
+ return $this->subscription;
}
}
class Google_Service_Pubsub_ListTopicsResponse extends Google_Collection
{
- protected $collection_key = 'topics';
+ protected $collection_key = 'topic';
protected $internal_gapi_mappings = array(
);
public $nextPageToken;
- protected $topicsType = 'Google_Service_Pubsub_Topic';
- protected $topicsDataType = 'array';
+ protected $topicType = 'Google_Service_Pubsub_Topic';
+ protected $topicDataType = 'array';
public function setNextPageToken($nextPageToken)
@@ -638,22 +567,25 @@ public function getNextPageToken()
{
return $this->nextPageToken;
}
- public function setTopics($topics)
+ public function setTopic($topic)
{
- $this->topics = $topics;
+ $this->topic = $topic;
}
- public function getTopics()
+ public function getTopic()
{
- return $this->topics;
+ return $this->topic;
}
}
-class Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Model
+class Google_Service_Pubsub_ModifyAckDeadlineRequest extends Google_Collection
{
+ protected $collection_key = 'ackIds';
protected $internal_gapi_mappings = array(
);
public $ackDeadlineSeconds;
public $ackId;
+ public $ackIds;
+ public $subscription;
public function setAckDeadlineSeconds($ackDeadlineSeconds)
@@ -672,6 +604,22 @@ public function getAckId()
{
return $this->ackId;
}
+ public function setAckIds($ackIds)
+ {
+ $this->ackIds = $ackIds;
+ }
+ public function getAckIds()
+ {
+ return $this->ackIds;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
}
class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
@@ -680,6 +628,7 @@ class Google_Service_Pubsub_ModifyPushConfigRequest extends Google_Model
);
protected $pushConfigType = 'Google_Service_Pubsub_PushConfig';
protected $pushConfigDataType = '';
+ public $subscription;
public function setPushConfig(Google_Service_Pubsub_PushConfig $pushConfig)
@@ -690,15 +639,24 @@ public function getPushConfig()
{
return $this->pushConfig;
}
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
}
-class Google_Service_Pubsub_PublishRequest extends Google_Collection
+class Google_Service_Pubsub_PublishBatchRequest extends Google_Collection
{
protected $collection_key = 'messages';
protected $internal_gapi_mappings = array(
);
protected $messagesType = 'Google_Service_Pubsub_PubsubMessage';
protected $messagesDataType = 'array';
+ public $topic;
public function setMessages($messages)
@@ -709,9 +667,17 @@ public function getMessages()
{
return $this->messages;
}
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
}
-class Google_Service_Pubsub_PublishResponse extends Google_Collection
+class Google_Service_Pubsub_PublishBatchResponse extends Google_Collection
{
protected $collection_key = 'messageIds';
protected $internal_gapi_mappings = array(
@@ -729,23 +695,89 @@ public function getMessageIds()
}
}
-class Google_Service_Pubsub_PubsubMessage extends Google_Model
+class Google_Service_Pubsub_PublishRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $attributes;
- public $data;
- public $messageId;
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $topic;
+
+
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setTopic($topic)
+ {
+ $this->topic = $topic;
+ }
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+}
+class Google_Service_Pubsub_PubsubEvent extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $deleted;
+ protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
+ protected $messageDataType = '';
+ public $subscription;
+ public $truncated;
- public function setAttributes($attributes)
+
+ public function setDeleted($deleted)
{
- $this->attributes = $attributes;
+ $this->deleted = $deleted;
}
- public function getAttributes()
+ public function getDeleted()
{
- return $this->attributes;
+ return $this->deleted;
}
+ public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
+ public function setTruncated($truncated)
+ {
+ $this->truncated = $truncated;
+ }
+ public function getTruncated()
+ {
+ return $this->truncated;
+ }
+}
+
+class Google_Service_Pubsub_PubsubMessage extends Google_Collection
+{
+ protected $collection_key = 'label';
+ protected $internal_gapi_mappings = array(
+ );
+ public $data;
+ protected $labelType = 'Google_Service_Pubsub_Label';
+ protected $labelDataType = 'array';
+ public $messageId;
+
+
public function setData($data)
{
$this->data = $data;
@@ -754,6 +786,14 @@ public function getData()
{
return $this->data;
}
+ public function setLabel($label)
+ {
+ $this->label = $label;
+ }
+ public function getLabel()
+ {
+ return $this->label;
+ }
public function setMessageId($messageId)
{
$this->messageId = $messageId;
@@ -764,25 +804,22 @@ public function getMessageId()
}
}
-class Google_Service_Pubsub_PubsubMessageAttributes extends Google_Model
-{
-}
-
-class Google_Service_Pubsub_PullRequest extends Google_Model
+class Google_Service_Pubsub_PullBatchRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $maxMessages;
+ public $maxEvents;
public $returnImmediately;
+ public $subscription;
- public function setMaxMessages($maxMessages)
+ public function setMaxEvents($maxEvents)
{
- $this->maxMessages = $maxMessages;
+ $this->maxEvents = $maxEvents;
}
- public function getMaxMessages()
+ public function getMaxEvents()
{
- return $this->maxMessages;
+ return $this->maxEvents;
}
public function setReturnImmediately($returnImmediately)
{
@@ -792,64 +829,68 @@ public function getReturnImmediately()
{
return $this->returnImmediately;
}
+ public function setSubscription($subscription)
+ {
+ $this->subscription = $subscription;
+ }
+ public function getSubscription()
+ {
+ return $this->subscription;
+ }
}
-class Google_Service_Pubsub_PullResponse extends Google_Collection
+class Google_Service_Pubsub_PullBatchResponse extends Google_Collection
{
- protected $collection_key = 'receivedMessages';
+ protected $collection_key = 'pullResponses';
protected $internal_gapi_mappings = array(
);
- protected $receivedMessagesType = 'Google_Service_Pubsub_ReceivedMessage';
- protected $receivedMessagesDataType = 'array';
+ protected $pullResponsesType = 'Google_Service_Pubsub_PullResponse';
+ protected $pullResponsesDataType = 'array';
- public function setReceivedMessages($receivedMessages)
+ public function setPullResponses($pullResponses)
{
- $this->receivedMessages = $receivedMessages;
+ $this->pullResponses = $pullResponses;
}
- public function getReceivedMessages()
+ public function getPullResponses()
{
- return $this->receivedMessages;
+ return $this->pullResponses;
}
}
-class Google_Service_Pubsub_PushConfig extends Google_Model
+class Google_Service_Pubsub_PullRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $attributes;
- public $pushEndpoint;
+ public $returnImmediately;
+ public $subscription;
- public function setAttributes($attributes)
+ public function setReturnImmediately($returnImmediately)
{
- $this->attributes = $attributes;
+ $this->returnImmediately = $returnImmediately;
}
- public function getAttributes()
+ public function getReturnImmediately()
{
- return $this->attributes;
+ return $this->returnImmediately;
}
- public function setPushEndpoint($pushEndpoint)
+ public function setSubscription($subscription)
{
- $this->pushEndpoint = $pushEndpoint;
+ $this->subscription = $subscription;
}
- public function getPushEndpoint()
+ public function getSubscription()
{
- return $this->pushEndpoint;
+ return $this->subscription;
}
}
-class Google_Service_Pubsub_PushConfigAttributes extends Google_Model
-{
-}
-
-class Google_Service_Pubsub_ReceivedMessage extends Google_Model
+class Google_Service_Pubsub_PullResponse extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $ackId;
- protected $messageType = 'Google_Service_Pubsub_PubsubMessage';
- protected $messageDataType = '';
+ protected $pubsubEventType = 'Google_Service_Pubsub_PubsubEvent';
+ protected $pubsubEventDataType = '';
public function setAckId($ackId)
@@ -860,13 +901,30 @@ public function getAckId()
{
return $this->ackId;
}
- public function setMessage(Google_Service_Pubsub_PubsubMessage $message)
+ public function setPubsubEvent(Google_Service_Pubsub_PubsubEvent $pubsubEvent)
{
- $this->message = $message;
+ $this->pubsubEvent = $pubsubEvent;
}
- public function getMessage()
+ public function getPubsubEvent()
{
- return $this->message;
+ return $this->pubsubEvent;
+ }
+}
+
+class Google_Service_Pubsub_PushConfig extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $pushEndpoint;
+
+
+ public function setPushEndpoint($pushEndpoint)
+ {
+ $this->pushEndpoint = $pushEndpoint;
+ }
+ public function getPushEndpoint()
+ {
+ return $this->pushEndpoint;
}
}
From f2d811e9cb364fe28ba6ebb72ccc188630c8854d Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...);
+ * $projects = $cloudresourcemanagerService->projects;
+ *
+ */
+class Google_Service_Cloudresourcemanager_Projects_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Creates a project resource. Initially, the project resource is owned by its
+ * creator exclusively. The creator can later grant permission to others to read
+ * or update the project. Several APIs are activated automatically for the
+ * project, including Google Cloud Storage. (projects.create)
+ *
+ * @param Google_Project $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudresourcemanager_Project
+ */
+ public function create(Google_Service_Cloudresourcemanager_Project $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('create', array($params), "Google_Service_Cloudresourcemanager_Project");
+ }
+
+ /**
+ * Marks the project identified by the specified `project_id` (for example, `my-
+ * project-123`) for deletion. This method will only affect the project if it
+ * has a lifecycle state of
+ * [ACTIVE][cloudresourcemanager.projects.v1beta2.LifecycleState.ACTIVE] when
+ * this method is called. Otherwise this method does nothing (since all other
+ * states are phases of deletion). This method changes the project's lifecycle
+ * state from
+ * [ACTIVE][cloudresourcemanager.projects.v1beta2.LifecycleState.ACTIVE] to
+ * [DELETE_REQUESTED]
+ * [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_REQUESTED]. The
+ * deletion starts at an unspecified time, at which point the lifecycle state
+ * changes to [DELETE_IN_PROGRESS]
+ * [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_IN_PROGRESS].
+ * Until the deletion completes, you can check the lifecycle state checked by
+ * retrieving the project with [GetProject]
+ * [cloudresourcemanager.projects.v1beta2.Projects.GetProject], and the project
+ * remains visible to [ListProjects]
+ * [cloudresourcemanager.projects.v1beta2.Projects.ListProjects]. However, you
+ * cannot update the project. After the deletion completes, the project is not
+ * retrievable by the [GetProject]
+ * [cloudresourcemanager.projects.v1beta2.Projects.GetProject] and
+ * [ListProjects] [cloudresourcemanager.projects.v1beta2.Projects.ListProjects]
+ * methods. The caller must have modify permissions for this project.
+ * (projects.delete)
+ *
+ * @param string $projectId The project ID (for example, `foo-bar-123`).
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudresourcemanager_Empty
+ */
+ public function delete($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_Cloudresourcemanager_Empty");
+ }
+
+ /**
+ * Retrieves the project identified by the specified `project_id` (for example,
+ * `my-project-123`). The caller must have read permissions for this project.
+ * (projects.get)
+ *
+ * @param string $projectId The project ID (for example, `my-project-123`).
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudresourcemanager_Project
+ */
+ public function get($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_Cloudresourcemanager_Project");
+ }
+
+ /**
+ * Lists projects that are visible to the user and satisfy the specified filter.
+ * This method returns projects in an unspecified order. New projects do not
+ * necessarily appear at the end of the list. (projects.listProjects)
+ *
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter An expression for filtering the results of the
+ * request. Filter rules are case insensitive. The fields eligible for filtering
+ * are: name id labels. where is a the name of a label Examples: name:* ==> The
+ * project has a name. name:Howl ==> The project’s name is `Howl` or 'howl'.
+ * name:HOWL ==> Equivalent to above. NAME:howl ==> Equivalent to above.
+ * labels.color:* ==> The project has the label "color". labels.color:red ==>
+ * The project’s label `color` has the value `red`. labels.color:red
+ * label.size:big ==> The project's label `color` has the value `red` and its
+ * label `size` has the value `big`. Optional.
+ * @opt_param string pageToken A pagination token returned from a previous call
+ * to ListProject that indicates from where listing should continue. Note:
+ * pagination is not yet supported; the server ignores this field. Optional.
+ * @opt_param int pageSize The maximum number of Projects to return in the
+ * response. The server can return fewer projects than requested. If
+ * unspecified, server picks an appropriate default. Note: pagination is not yet
+ * supported; the server ignores this field. Optional.
+ * @return Google_Service_Cloudresourcemanager_ListProjectsResponse
+ */
+ public function listProjects($optParams = array())
+ {
+ $params = array();
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_Cloudresourcemanager_ListProjectsResponse");
+ }
+
+ /**
+ * Restores the project identified by the specified `project_id` (for example,
+ * `my-project-123`). You can only use this method for a project that has a
+ * lifecycle state of [DELETE_REQUESTED]
+ * [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_REQUESTED].
+ * After deletion starts, as indicated by a lifecycle state of
+ * [DELETE_IN_PROGRESS]
+ * [cloudresourcemanager.projects.v1beta2.LifecycleState.DELETE_IN_PROGRESS],
+ * the project cannot be restored. The caller must have modify permissions for
+ * this project. (projects.undelete)
+ *
+ * @param string $projectId The project ID (for example, `foo-bar-123`).
+ * Required.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudresourcemanager_Empty
+ */
+ public function undelete($projectId, $optParams = array())
+ {
+ $params = array('projectId' => $projectId);
+ $params = array_merge($params, $optParams);
+ return $this->call('undelete', array($params), "Google_Service_Cloudresourcemanager_Empty");
+ }
+
+ /**
+ * Updates the attributes of the project identified by the specified
+ * `project_id` (for example, `my-project-123`). The caller must have modify
+ * permissions for this project. (projects.update)
+ *
+ * @param string $projectId The project ID (for example, `my-project-123`).
+ * Required.
+ * @param Google_Project $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Cloudresourcemanager_Project
+ */
+ public function update($projectId, Google_Service_Cloudresourcemanager_Project $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Cloudresourcemanager_Project");
+ }
+}
+
+
+
+
+class Google_Service_Cloudresourcemanager_Empty extends Google_Model
+{
+}
+
+class Google_Service_Cloudresourcemanager_ListProjectsResponse extends Google_Collection
+{
+ protected $collection_key = 'projects';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $projectsType = 'Google_Service_Cloudresourcemanager_Project';
+ protected $projectsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setProjects($projects)
+ {
+ $this->projects = $projects;
+ }
+ public function getProjects()
+ {
+ return $this->projects;
+ }
+}
+
+class Google_Service_Cloudresourcemanager_Project extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $createTime;
+ public $labels;
+ public $lifecycleState;
+ public $name;
+ public $projectId;
+ public $projectNumber;
+
+
+ public function setCreateTime($createTime)
+ {
+ $this->createTime = $createTime;
+ }
+ public function getCreateTime()
+ {
+ return $this->createTime;
+ }
+ public function setLabels($labels)
+ {
+ $this->labels = $labels;
+ }
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+ public function setLifecycleState($lifecycleState)
+ {
+ $this->lifecycleState = $lifecycleState;
+ }
+ public function getLifecycleState()
+ {
+ return $this->lifecycleState;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProjectId($projectId)
+ {
+ $this->projectId = $projectId;
+ }
+ public function getProjectId()
+ {
+ return $this->projectId;
+ }
+ public function setProjectNumber($projectNumber)
+ {
+ $this->projectNumber = $projectNumber;
+ }
+ public function getProjectNumber()
+ {
+ return $this->projectNumber;
+ }
+}
+
+class Google_Service_Cloudresourcemanager_ProjectLabels extends Google_Model
+{
+}
From da350e19472f5711703a68a77c6df8d1f5ed4fd4 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
- * $containerService = new Google_Service_Container(...);
- * $clusters = $containerService->clusters;
- *
- */
-class Google_Service_Container_ProjectsClusters_Resource extends Google_Service_Resource
-{
-
- /**
- * Lists all clusters owned by a project across all zones.
- * (clusters.listProjectsClusters)
- *
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Container_ListAggregatedClustersResponse
- */
- public function listProjectsClusters($projectId, $optParams = array())
- {
- $params = array('projectId' => $projectId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Container_ListAggregatedClustersResponse");
- }
-}
-/**
- * The "operations" collection of methods.
- * Typical usage is:
- *
- * $containerService = new Google_Service_Container(...);
- * $operations = $containerService->operations;
- *
- */
-class Google_Service_Container_ProjectsOperations_Resource extends Google_Service_Resource
-{
-
- /**
- * Lists all operations in a project, across all zones.
- * (operations.listProjectsOperations)
- *
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Container_ListAggregatedOperationsResponse
- */
- public function listProjectsOperations($projectId, $optParams = array())
- {
- $params = array('projectId' => $projectId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Container_ListAggregatedOperationsResponse");
- }
-}
/**
* The "zones" collection of methods.
* Typical usage is:
@@ -349,50 +238,47 @@ class Google_Service_Container_ProjectsZonesClusters_Resource extends Google_Ser
/**
* Creates a cluster, consisting of the specified number and type of Google
- * Compute Engine instances, plus a Kubernetes master instance.
- *
- * The cluster is created in the project's default network.
- *
- * A firewall is added that allows traffic into port 443 on the master, which
- * enables HTTPS. A firewall and a route is added for each node to allow the
- * containers on that node to communicate with all other instances in the
- * cluster.
+ * Compute Engine instances, plus a Kubernetes master endpoint. By default, the
+ * cluster is created in the project's [default
+ * network]('/compute/docs/networking#networks_1'). One firewall is added for
+ * the cluster. After cluster creation, the cluster creates routes for each node
+ * to allow the containers on that node to communicate with all other instances
+ * in the cluster. Finally, an entry is added to the project's global metadata
+ * indicating which CIDR range is being used by the cluster. (clusters.create)
*
- * Finally, a route named k8s-iproute-10-xx-0-0 is created to track that the
- * cluster's 10.xx.0.0/16 CIDR has been assigned. (clusters.create)
- *
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param string $zoneId The name of the Google Compute Engine zone in which the
- * cluster resides.
+ * @param string $projectId The Google Developers Console [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
* @param Google_CreateClusterRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Container_Operation
*/
- public function create($projectId, $zoneId, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array())
+ public function create($projectId, $zone, Google_Service_Container_CreateClusterRequest $postBody, $optParams = array())
{
- $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'postBody' => $postBody);
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Container_Operation");
}
/**
- * Deletes the cluster, including the Kubernetes master and all worker nodes.
- *
- * Firewalls and routes that were configured at cluster creation are also
+ * Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
+ * Firewalls and routes that were configured during cluster creation are also
* deleted. (clusters.delete)
*
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param string $zoneId The name of the Google Compute Engine zone in which the
- * cluster resides.
+ * @param string $projectId The Google Developers Console [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
* @param string $clusterId The name of the cluster to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_Container_Operation
*/
- public function delete($projectId, $zoneId, $clusterId, $optParams = array())
+ public function delete($projectId, $zone, $clusterId, $optParams = array())
{
- $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId);
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_Container_Operation");
}
@@ -400,38 +286,61 @@ public function delete($projectId, $zoneId, $clusterId, $optParams = array())
/**
* Gets a specific cluster. (clusters.get)
*
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param string $zoneId The name of the Google Compute Engine zone in which the
- * cluster resides.
+ * @param string $projectId The Google Developers Console A [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
* @param string $clusterId The name of the cluster to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_Container_Cluster
*/
- public function get($projectId, $zoneId, $clusterId, $optParams = array())
+ public function get($projectId, $zone, $clusterId, $optParams = array())
{
- $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'clusterId' => $clusterId);
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Container_Cluster");
}
/**
- * Lists all clusters owned by a project in the specified zone.
- * (clusters.listProjectsZonesClusters)
+ * Lists all clusters owned by a project in either the specified zone or all
+ * zones. (clusters.listProjectsZonesClusters)
*
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param string $zoneId The name of the Google Compute Engine zone in which the
- * cluster resides.
+ * @param string $projectId The Google Developers Console [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides, or "-"
+ * for all zones.
* @param array $optParams Optional parameters.
* @return Google_Service_Container_ListClustersResponse
*/
- public function listProjectsZonesClusters($projectId, $zoneId, $optParams = array())
+ public function listProjectsZonesClusters($projectId, $zone, $optParams = array())
{
- $params = array('projectId' => $projectId, 'zoneId' => $zoneId);
+ $params = array('projectId' => $projectId, 'zone' => $zone);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Container_ListClustersResponse");
}
+
+ /**
+ * Update settings of a specific cluster. (clusters.update)
+ *
+ * @param string $projectId The Google Developers Console [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $clusterId The name of the cluster to upgrade.
+ * @param Google_UpdateClusterRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_Container_Operation
+ */
+ public function update($projectId, $zone, $clusterId, Google_Service_Container_UpdateClusterRequest $postBody, $optParams = array())
+ {
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'clusterId' => $clusterId, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_Container_Operation");
+ }
}
/**
* The "operations" collection of methods.
@@ -447,95 +356,69 @@ class Google_Service_Container_ProjectsZonesOperations_Resource extends Google_S
/**
* Gets the specified operation. (operations.get)
*
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param string $zoneId The name of the Google Compute Engine zone in which the
- * operation resides. This is always the same zone as the cluster with which the
- * operation is associated.
- * @param string $operationId The server-assigned name of the operation.
+ * @param string $projectId The Google Developers Console [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) in which the cluster resides.
+ * @param string $operationId The server-assigned `name` of the operation.
* @param array $optParams Optional parameters.
* @return Google_Service_Container_Operation
*/
- public function get($projectId, $zoneId, $operationId, $optParams = array())
+ public function get($projectId, $zone, $operationId, $optParams = array())
{
- $params = array('projectId' => $projectId, 'zoneId' => $zoneId, 'operationId' => $operationId);
+ $params = array('projectId' => $projectId, 'zone' => $zone, 'operationId' => $operationId);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_Container_Operation");
}
/**
- * Lists all operations in a project in a specific zone.
+ * Lists all operations in a project in a specific zone or all zones.
* (operations.listProjectsZonesOperations)
*
- * @param string $projectId The Google Developers Console project ID or project
- * number.
- * @param string $zoneId The name of the Google Compute Engine zone to return
- * operations for.
+ * @param string $projectId The Google Developers Console [project
+ * ID](https://console.developers.google.com/project) or [project
+ * number](https://developers.google.com/console/help/project-number)
+ * @param string $zone The name of the Google Compute Engine
+ * [zone](/compute/docs/zones#available) to return operations for, or "-" for
+ * all zones.
* @param array $optParams Optional parameters.
* @return Google_Service_Container_ListOperationsResponse
*/
- public function listProjectsZonesOperations($projectId, $zoneId, $optParams = array())
+ public function listProjectsZonesOperations($projectId, $zone, $optParams = array())
{
- $params = array('projectId' => $projectId, 'zoneId' => $zoneId);
+ $params = array('projectId' => $projectId, 'zone' => $zone);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse");
}
}
-/**
- * The "tokens" collection of methods.
- * Typical usage is:
- *
- * $containerService = new Google_Service_Container(...);
- * $tokens = $containerService->tokens;
- *
- */
-class Google_Service_Container_ProjectsZonesTokens_Resource extends Google_Service_Resource
-{
-
- /**
- * Gets a compute-rw scoped OAuth2 access token for . Authentication is
- * performed to ensure that the caller is a member of and that the request is
- * coming from the expected master VM for the specified cluster. See go/gke-
- * cross-project-auth for more details. (tokens.get)
- *
- * @param string $masterProjectId The hosted master project from which this
- * request is coming.
- * @param string $zoneId The zone of the specified cluster.
- * @param string $projectNumber The project number for which the access token is
- * being requested.
- * @param string $clusterName The name of the specified cluster.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Container_Token
- */
- public function get($masterProjectId, $zoneId, $projectNumber, $clusterName, $optParams = array())
- {
- $params = array('masterProjectId' => $masterProjectId, 'zoneId' => $zoneId, 'projectNumber' => $projectNumber, 'clusterName' => $clusterName);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Container_Token");
- }
-}
-class Google_Service_Container_Cluster extends Google_Model
+class Google_Service_Container_Cluster extends Google_Collection
{
+ protected $collection_key = 'instanceGroupUrls';
protected $internal_gapi_mappings = array(
);
- public $clusterApiVersion;
- public $containerIpv4Cidr;
- public $creationTimestamp;
+ public $clusterIpv4Cidr;
+ public $createTime;
+ public $currentMasterVersion;
+ public $currentNodeVersion;
public $description;
- public $enableCloudLogging;
public $endpoint;
+ public $initialClusterVersion;
+ public $initialNodeCount;
+ public $instanceGroupUrls;
+ public $loggingService;
protected $masterAuthType = 'Google_Service_Container_MasterAuth';
protected $masterAuthDataType = '';
+ public $monitoringService;
public $name;
public $network;
protected $nodeConfigType = 'Google_Service_Container_NodeConfig';
protected $nodeConfigDataType = '';
- public $nodeRoutingPrefixSize;
- public $numNodes;
+ public $nodeIpv4CidrSize;
public $selfLink;
public $servicesIpv4Cidr;
public $status;
@@ -543,45 +426,45 @@ class Google_Service_Container_Cluster extends Google_Model
public $zone;
- public function setClusterApiVersion($clusterApiVersion)
+ public function setClusterIpv4Cidr($clusterIpv4Cidr)
{
- $this->clusterApiVersion = $clusterApiVersion;
+ $this->clusterIpv4Cidr = $clusterIpv4Cidr;
}
- public function getClusterApiVersion()
+ public function getClusterIpv4Cidr()
{
- return $this->clusterApiVersion;
+ return $this->clusterIpv4Cidr;
}
- public function setContainerIpv4Cidr($containerIpv4Cidr)
+ public function setCreateTime($createTime)
{
- $this->containerIpv4Cidr = $containerIpv4Cidr;
+ $this->createTime = $createTime;
}
- public function getContainerIpv4Cidr()
+ public function getCreateTime()
{
- return $this->containerIpv4Cidr;
+ return $this->createTime;
}
- public function setCreationTimestamp($creationTimestamp)
+ public function setCurrentMasterVersion($currentMasterVersion)
{
- $this->creationTimestamp = $creationTimestamp;
+ $this->currentMasterVersion = $currentMasterVersion;
}
- public function getCreationTimestamp()
+ public function getCurrentMasterVersion()
{
- return $this->creationTimestamp;
+ return $this->currentMasterVersion;
}
- public function setDescription($description)
+ public function setCurrentNodeVersion($currentNodeVersion)
{
- $this->description = $description;
+ $this->currentNodeVersion = $currentNodeVersion;
}
- public function getDescription()
+ public function getCurrentNodeVersion()
{
- return $this->description;
+ return $this->currentNodeVersion;
}
- public function setEnableCloudLogging($enableCloudLogging)
+ public function setDescription($description)
{
- $this->enableCloudLogging = $enableCloudLogging;
+ $this->description = $description;
}
- public function getEnableCloudLogging()
+ public function getDescription()
{
- return $this->enableCloudLogging;
+ return $this->description;
}
public function setEndpoint($endpoint)
{
@@ -591,6 +474,38 @@ public function getEndpoint()
{
return $this->endpoint;
}
+ public function setInitialClusterVersion($initialClusterVersion)
+ {
+ $this->initialClusterVersion = $initialClusterVersion;
+ }
+ public function getInitialClusterVersion()
+ {
+ return $this->initialClusterVersion;
+ }
+ public function setInitialNodeCount($initialNodeCount)
+ {
+ $this->initialNodeCount = $initialNodeCount;
+ }
+ public function getInitialNodeCount()
+ {
+ return $this->initialNodeCount;
+ }
+ public function setInstanceGroupUrls($instanceGroupUrls)
+ {
+ $this->instanceGroupUrls = $instanceGroupUrls;
+ }
+ public function getInstanceGroupUrls()
+ {
+ return $this->instanceGroupUrls;
+ }
+ public function setLoggingService($loggingService)
+ {
+ $this->loggingService = $loggingService;
+ }
+ public function getLoggingService()
+ {
+ return $this->loggingService;
+ }
public function setMasterAuth(Google_Service_Container_MasterAuth $masterAuth)
{
$this->masterAuth = $masterAuth;
@@ -599,6 +514,14 @@ public function getMasterAuth()
{
return $this->masterAuth;
}
+ public function setMonitoringService($monitoringService)
+ {
+ $this->monitoringService = $monitoringService;
+ }
+ public function getMonitoringService()
+ {
+ return $this->monitoringService;
+ }
public function setName($name)
{
$this->name = $name;
@@ -623,21 +546,13 @@ public function getNodeConfig()
{
return $this->nodeConfig;
}
- public function setNodeRoutingPrefixSize($nodeRoutingPrefixSize)
+ public function setNodeIpv4CidrSize($nodeIpv4CidrSize)
{
- $this->nodeRoutingPrefixSize = $nodeRoutingPrefixSize;
+ $this->nodeIpv4CidrSize = $nodeIpv4CidrSize;
}
- public function getNodeRoutingPrefixSize()
+ public function getNodeIpv4CidrSize()
{
- return $this->nodeRoutingPrefixSize;
- }
- public function setNumNodes($numNodes)
- {
- $this->numNodes = $numNodes;
- }
- public function getNumNodes()
- {
- return $this->numNodes;
+ return $this->nodeIpv4CidrSize;
}
public function setSelfLink($selfLink)
{
@@ -681,59 +596,38 @@ public function getZone()
}
}
-class Google_Service_Container_CreateClusterRequest extends Google_Model
+class Google_Service_Container_ClusterUpdate extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- protected $clusterType = 'Google_Service_Container_Cluster';
- protected $clusterDataType = '';
+ public $desiredNodeVersion;
- public function setCluster(Google_Service_Container_Cluster $cluster)
+ public function setDesiredNodeVersion($desiredNodeVersion)
{
- $this->cluster = $cluster;
+ $this->desiredNodeVersion = $desiredNodeVersion;
}
- public function getCluster()
+ public function getDesiredNodeVersion()
{
- return $this->cluster;
+ return $this->desiredNodeVersion;
}
}
-class Google_Service_Container_ListAggregatedClustersResponse extends Google_Collection
-{
- protected $collection_key = 'clusters';
- protected $internal_gapi_mappings = array(
- );
- protected $clustersType = 'Google_Service_Container_Cluster';
- protected $clustersDataType = 'array';
-
-
- public function setClusters($clusters)
- {
- $this->clusters = $clusters;
- }
- public function getClusters()
- {
- return $this->clusters;
- }
-}
-
-class Google_Service_Container_ListAggregatedOperationsResponse extends Google_Collection
+class Google_Service_Container_CreateClusterRequest extends Google_Model
{
- protected $collection_key = 'operations';
protected $internal_gapi_mappings = array(
);
- protected $operationsType = 'Google_Service_Container_Operation';
- protected $operationsDataType = 'array';
+ protected $clusterType = 'Google_Service_Container_Cluster';
+ protected $clusterDataType = '';
- public function setOperations($operations)
+ public function setCluster(Google_Service_Container_Cluster $cluster)
{
- $this->operations = $operations;
+ $this->cluster = $cluster;
}
- public function getOperations()
+ public function getCluster()
{
- return $this->operations;
+ return $this->cluster;
}
}
@@ -779,18 +673,36 @@ class Google_Service_Container_MasterAuth extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $bearerToken;
+ public $clientCertificate;
+ public $clientKey;
+ public $clusterCaCertificate;
public $password;
- public $user;
+ public $username;
- public function setBearerToken($bearerToken)
+ public function setClientCertificate($clientCertificate)
+ {
+ $this->clientCertificate = $clientCertificate;
+ }
+ public function getClientCertificate()
+ {
+ return $this->clientCertificate;
+ }
+ public function setClientKey($clientKey)
+ {
+ $this->clientKey = $clientKey;
+ }
+ public function getClientKey()
+ {
+ return $this->clientKey;
+ }
+ public function setClusterCaCertificate($clusterCaCertificate)
{
- $this->bearerToken = $bearerToken;
+ $this->clusterCaCertificate = $clusterCaCertificate;
}
- public function getBearerToken()
+ public function getClusterCaCertificate()
{
- return $this->bearerToken;
+ return $this->clusterCaCertificate;
}
public function setPassword($password)
{
@@ -800,50 +712,49 @@ public function getPassword()
{
return $this->password;
}
- public function setUser($user)
+ public function setUsername($username)
{
- $this->user = $user;
+ $this->username = $username;
}
- public function getUser()
+ public function getUsername()
{
- return $this->user;
+ return $this->username;
}
}
class Google_Service_Container_NodeConfig extends Google_Collection
{
- protected $collection_key = 'serviceAccounts';
+ protected $collection_key = 'oauthScopes';
protected $internal_gapi_mappings = array(
);
+ public $diskSizeGb;
public $machineType;
- protected $serviceAccountsType = 'Google_Service_Container_ServiceAccount';
- protected $serviceAccountsDataType = 'array';
- public $sourceImage;
+ public $oauthScopes;
- public function setMachineType($machineType)
+ public function setDiskSizeGb($diskSizeGb)
{
- $this->machineType = $machineType;
+ $this->diskSizeGb = $diskSizeGb;
}
- public function getMachineType()
+ public function getDiskSizeGb()
{
- return $this->machineType;
+ return $this->diskSizeGb;
}
- public function setServiceAccounts($serviceAccounts)
+ public function setMachineType($machineType)
{
- $this->serviceAccounts = $serviceAccounts;
+ $this->machineType = $machineType;
}
- public function getServiceAccounts()
+ public function getMachineType()
{
- return $this->serviceAccounts;
+ return $this->machineType;
}
- public function setSourceImage($sourceImage)
+ public function setOauthScopes($oauthScopes)
{
- $this->sourceImage = $sourceImage;
+ $this->oauthScopes = $oauthScopes;
}
- public function getSourceImage()
+ public function getOauthScopes()
{
- return $this->sourceImage;
+ return $this->oauthScopes;
}
}
@@ -851,24 +762,15 @@ class Google_Service_Container_Operation extends Google_Model
{
protected $internal_gapi_mappings = array(
);
- public $errorMessage;
public $name;
public $operationType;
public $selfLink;
public $status;
- public $target;
+ public $statusMessage;
public $targetLink;
public $zone;
- public function setErrorMessage($errorMessage)
- {
- $this->errorMessage = $errorMessage;
- }
- public function getErrorMessage()
- {
- return $this->errorMessage;
- }
public function setName($name)
{
$this->name = $name;
@@ -901,13 +803,13 @@ public function getStatus()
{
return $this->status;
}
- public function setTarget($target)
+ public function setStatusMessage($statusMessage)
{
- $this->target = $target;
+ $this->statusMessage = $statusMessage;
}
- public function getTarget()
+ public function getStatusMessage()
{
- return $this->target;
+ return $this->statusMessage;
}
public function setTargetLink($targetLink)
{
@@ -927,55 +829,20 @@ public function getZone()
}
}
-class Google_Service_Container_ServiceAccount extends Google_Collection
+class Google_Service_Container_UpdateClusterRequest extends Google_Model
{
- protected $collection_key = 'scopes';
protected $internal_gapi_mappings = array(
);
- public $email;
- public $scopes;
+ protected $updateType = 'Google_Service_Container_ClusterUpdate';
+ protected $updateDataType = '';
- public function setEmail($email)
- {
- $this->email = $email;
- }
- public function getEmail()
- {
- return $this->email;
- }
- public function setScopes($scopes)
- {
- $this->scopes = $scopes;
- }
- public function getScopes()
- {
- return $this->scopes;
- }
-}
-
-class Google_Service_Container_Token extends Google_Model
-{
- protected $internal_gapi_mappings = array(
- );
- public $accessToken;
- public $expiryTimeSeconds;
-
-
- public function setAccessToken($accessToken)
- {
- $this->accessToken = $accessToken;
- }
- public function getAccessToken()
- {
- return $this->accessToken;
- }
- public function setExpiryTimeSeconds($expiryTimeSeconds)
+ public function setUpdate(Google_Service_Container_ClusterUpdate $update)
{
- $this->expiryTimeSeconds = $expiryTimeSeconds;
+ $this->update = $update;
}
- public function getExpiryTimeSeconds()
+ public function getUpdate()
{
- return $this->expiryTimeSeconds;
+ return $this->update;
}
}
From e43459288bfb34960cfca888e79288dfa3c39b99 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $deployments = $deploymentmanagerService->deployments;
+ *
+ */
+class Google_Service_DeploymentManager_Deployments_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes a deployment and all of the resources in the deployment.
+ * (deployments.delete)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function delete($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+
+ /**
+ * Gets information about a specific deployment. (deployments.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Deployment
+ */
+ public function get($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_Deployment");
+ }
+
+ /**
+ * Creates a deployment and all of the resources described by the deployment
+ * manifest. (deployments.insert)
+ *
+ * @param string $project The project ID for this request.
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function insert($project, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+
+ /**
+ * Lists all deployments for a given project. (deployments.listDeployments)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Filter expression for filtering listed resources.
+ * @opt_param string pageToken Tag returned by a previous list request when that
+ * list was truncated to maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @return Google_Service_DeploymentManager_DeploymentsListResponse
+ */
+ public function listDeployments($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_DeploymentsListResponse");
+ }
+
+ /**
+ * Updates a deployment and all of the resources described by the deployment
+ * manifest. This method supports patch semantics. (deployments.patch)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string deletePolicy Sets the policy to use for deleting resources.
+ * @opt_param string updatePolicy Sets the policy to use for updating resources.
+ * @opt_param string createPolicy Sets the policy to use for creating new
+ * resources.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function patch($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('patch', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+
+ /**
+ * Updates a deployment and all of the resources described by the deployment
+ * manifest. (deployments.update)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param Google_Deployment $postBody
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string deletePolicy Sets the policy to use for deleting resources.
+ * @opt_param string updatePolicy Sets the policy to use for updating resources.
+ * @opt_param string createPolicy Sets the policy to use for creating new
+ * resources.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function update($project, $deployment, Google_Service_DeploymentManager_Deployment $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('update', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+}
+
+/**
+ * The "manifests" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $manifests = $deploymentmanagerService->manifests;
+ *
+ */
+class Google_Service_DeploymentManager_Manifests_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a specific manifest. (manifests.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param string $manifest The name of the manifest for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Manifest
+ */
+ public function get($project, $deployment, $manifest, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'manifest' => $manifest);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_Manifest");
+ }
+
+ /**
+ * Lists all manifests for a given deployment. (manifests.listManifests)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Filter expression for filtering listed resources.
+ * @opt_param string pageToken Tag returned by a previous list request when that
+ * list was truncated to maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @return Google_Service_DeploymentManager_ManifestsListResponse
+ */
+ public function listManifests($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_ManifestsListResponse");
+ }
+}
+
+/**
+ * The "operations" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $operations = $deploymentmanagerService->operations;
+ *
+ */
+class Google_Service_DeploymentManager_Operations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a specific operation. (operations.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $operation The name of the operation for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_Operation");
+ }
+
+ /**
+ * Lists all operations for a project. (operations.listOperations)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Filter expression for filtering listed resources.
+ * @opt_param string pageToken Tag returned by a previous list request when that
+ * list was truncated to maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @return Google_Service_DeploymentManager_OperationsListResponse
+ */
+ public function listOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_OperationsListResponse");
+ }
+}
+
+/**
+ * The "resources" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $resources = $deploymentmanagerService->resources;
+ *
+ */
+class Google_Service_DeploymentManager_Resources_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Gets information about a single resource. (resources.get)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param string $resource The name of the resource for this request.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_DeploymentManager_DeploymentmanagerResource
+ */
+ public function get($project, $deployment, $resource, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment, 'resource' => $resource);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_DeploymentManager_DeploymentmanagerResource");
+ }
+
+ /**
+ * Lists all resources in a given deployment. (resources.listResources)
+ *
+ * @param string $project The project ID for this request.
+ * @param string $deployment The name of the deployment for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Filter expression for filtering listed resources.
+ * @opt_param string pageToken Tag returned by a previous list request when that
+ * list was truncated to maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @return Google_Service_DeploymentManager_ResourcesListResponse
+ */
+ public function listResources($project, $deployment, $optParams = array())
+ {
+ $params = array('project' => $project, 'deployment' => $deployment);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_ResourcesListResponse");
+ }
+}
+
+/**
+ * The "types" collection of methods.
+ * Typical usage is:
+ *
+ * $deploymentmanagerService = new Google_Service_DeploymentManager(...);
+ * $types = $deploymentmanagerService->types;
+ *
+ */
+class Google_Service_DeploymentManager_Types_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Lists all resource types for Deployment Manager. (types.listTypes)
+ *
+ * @param string $project The project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Filter expression for filtering listed resources.
+ * @opt_param string pageToken Tag returned by a previous list request when that
+ * list was truncated to maxResults. Used to continue a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @return Google_Service_DeploymentManager_TypesListResponse
+ */
+ public function listTypes($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_DeploymentManager_TypesListResponse");
+ }
+}
+
+
+
+
+class Google_Service_DeploymentManager_Deployment extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $description;
+ public $fingerprint;
+ public $id;
+ public $insertTime;
+ public $intent;
+ public $manifest;
+ public $name;
+ public $state;
+ protected $targetType = 'Google_Service_DeploymentManager_TargetConfiguration';
+ protected $targetDataType = '';
+ protected $updateType = 'Google_Service_DeploymentManager_DeploymentUpdate';
+ protected $updateDataType = '';
+ public $updateTime;
+
+
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setIntent($intent)
+ {
+ $this->intent = $intent;
+ }
+ public function getIntent()
+ {
+ return $this->intent;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+ public function setTarget(Google_Service_DeploymentManager_TargetConfiguration $target)
+ {
+ $this->target = $target;
+ }
+ public function getTarget()
+ {
+ return $this->target;
+ }
+ public function setUpdate(Google_Service_DeploymentManager_DeploymentUpdate $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+}
+
+class Google_Service_DeploymentManager_DeploymentUpdate extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $errors;
+ public $manifest;
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+}
+
+class Google_Service_DeploymentManager_DeploymentmanagerResource extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $finalProperties;
+ public $id;
+ public $insertTime;
+ public $manifest;
+ public $name;
+ public $properties;
+ public $type;
+ protected $updateType = 'Google_Service_DeploymentManager_ResourceUpdate';
+ protected $updateDataType = '';
+ public $updateTime;
+ public $url;
+
+
+ public function setFinalProperties($finalProperties)
+ {
+ $this->finalProperties = $finalProperties;
+ }
+ public function getFinalProperties()
+ {
+ return $this->finalProperties;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setType($type)
+ {
+ $this->type = $type;
+ }
+ public function getType()
+ {
+ return $this->type;
+ }
+ public function setUpdate(Google_Service_DeploymentManager_ResourceUpdate $update)
+ {
+ $this->update = $update;
+ }
+ public function getUpdate()
+ {
+ return $this->update;
+ }
+ public function setUpdateTime($updateTime)
+ {
+ $this->updateTime = $updateTime;
+ }
+ public function getUpdateTime()
+ {
+ return $this->updateTime;
+ }
+ public function setUrl($url)
+ {
+ $this->url = $url;
+ }
+ public function getUrl()
+ {
+ return $this->url;
+ }
+}
+
+class Google_Service_DeploymentManager_DeploymentsListResponse extends Google_Collection
+{
+ protected $collection_key = 'deployments';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $deploymentsType = 'Google_Service_DeploymentManager_Deployment';
+ protected $deploymentsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setDeployments($deployments)
+ {
+ $this->deployments = $deployments;
+ }
+ public function getDeployments()
+ {
+ return $this->deployments;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_DeploymentManager_ImportFile extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $content;
+ public $name;
+
+
+ public function setContent($content)
+ {
+ $this->content = $content;
+ }
+ public function getContent()
+ {
+ return $this->content;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_DeploymentManager_Manifest extends Google_Collection
+{
+ protected $collection_key = 'imports';
+ protected $internal_gapi_mappings = array(
+ );
+ public $config;
+ public $evaluatedConfig;
+ public $id;
+ protected $importsType = 'Google_Service_DeploymentManager_ImportFile';
+ protected $importsDataType = 'array';
+ public $insertTime;
+ public $layout;
+ public $name;
+ public $selfLink;
+
+
+ public function setConfig($config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setEvaluatedConfig($evaluatedConfig)
+ {
+ $this->evaluatedConfig = $evaluatedConfig;
+ }
+ public function getEvaluatedConfig()
+ {
+ return $this->evaluatedConfig;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setImports($imports)
+ {
+ $this->imports = $imports;
+ }
+ public function getImports()
+ {
+ return $this->imports;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setLayout($layout)
+ {
+ $this->layout = $layout;
+ }
+ public function getLayout()
+ {
+ return $this->layout;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_DeploymentManager_ManifestsListResponse extends Google_Collection
+{
+ protected $collection_key = 'manifests';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $manifestsType = 'Google_Service_DeploymentManager_Manifest';
+ protected $manifestsDataType = 'array';
+ public $nextPageToken;
+
+
+ public function setManifests($manifests)
+ {
+ $this->manifests = $manifests;
+ }
+ public function getManifests()
+ {
+ return $this->manifests;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+}
+
+class Google_Service_DeploymentManager_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_DeploymentManager_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_DeploymentManager_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_DeploymentManager_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_DeploymentManager_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_DeploymentManager_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_DeploymentManager_OperationErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_DeploymentManager_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_DeploymentManager_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_DeploymentManager_OperationWarningsData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_DeploymentManager_OperationsListResponse extends Google_Collection
+{
+ protected $collection_key = 'operations';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $operationsType = 'Google_Service_DeploymentManager_Operation';
+ protected $operationsDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setOperations($operations)
+ {
+ $this->operations = $operations;
+ }
+ public function getOperations()
+ {
+ return $this->operations;
+ }
+}
+
+class Google_Service_DeploymentManager_ResourceUpdate extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ public $errors;
+ public $finalProperties;
+ public $intent;
+ public $manifest;
+ public $properties;
+ public $state;
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+ public function setFinalProperties($finalProperties)
+ {
+ $this->finalProperties = $finalProperties;
+ }
+ public function getFinalProperties()
+ {
+ return $this->finalProperties;
+ }
+ public function setIntent($intent)
+ {
+ $this->intent = $intent;
+ }
+ public function getIntent()
+ {
+ return $this->intent;
+ }
+ public function setManifest($manifest)
+ {
+ $this->manifest = $manifest;
+ }
+ public function getManifest()
+ {
+ return $this->manifest;
+ }
+ public function setProperties($properties)
+ {
+ $this->properties = $properties;
+ }
+ public function getProperties()
+ {
+ return $this->properties;
+ }
+ public function setState($state)
+ {
+ $this->state = $state;
+ }
+ public function getState()
+ {
+ return $this->state;
+ }
+}
+
+class Google_Service_DeploymentManager_ResourcesListResponse extends Google_Collection
+{
+ protected $collection_key = 'resources';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $resourcesType = 'Google_Service_DeploymentManager_DeploymentmanagerResource';
+ protected $resourcesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setResources($resources)
+ {
+ $this->resources = $resources;
+ }
+ public function getResources()
+ {
+ return $this->resources;
+ }
+}
+
+class Google_Service_DeploymentManager_TargetConfiguration extends Google_Collection
+{
+ protected $collection_key = 'imports';
+ protected $internal_gapi_mappings = array(
+ );
+ public $config;
+ protected $importsType = 'Google_Service_DeploymentManager_ImportFile';
+ protected $importsDataType = 'array';
+
+
+ public function setConfig($config)
+ {
+ $this->config = $config;
+ }
+ public function getConfig()
+ {
+ return $this->config;
+ }
+ public function setImports($imports)
+ {
+ $this->imports = $imports;
+ }
+ public function getImports()
+ {
+ return $this->imports;
+ }
+}
+
+class Google_Service_DeploymentManager_Type extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $name;
+
+
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+}
+
+class Google_Service_DeploymentManager_TypesListResponse extends Google_Collection
+{
+ protected $collection_key = 'types';
+ protected $internal_gapi_mappings = array(
+ );
+ public $nextPageToken;
+ protected $typesType = 'Google_Service_DeploymentManager_Type';
+ protected $typesDataType = 'array';
+
+
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setTypes($types)
+ {
+ $this->types = $types;
+ }
+ public function getTypes()
+ {
+ return $this->types;
+ }
+}
From 6beb497f7b6ccb7cae2f1a43722ee34c39a75555 Mon Sep 17 00:00:00 2001
From: Silvano Luciani
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $globalAccountsOperations = $clouduseraccountsService->globalAccountsOperations;
+ *
+ */
+class Google_Service_CloudUserAccounts_GlobalAccountsOperations_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Deletes the specified operation resource. (globalAccountsOperations.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations resource to delete.
+ * @param array $optParams Optional parameters.
+ */
+ public function delete($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params));
+ }
+
+ /**
+ * Retrieves the specified operation resource. (globalAccountsOperations.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $operation Name of the Operations resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function get($project, $operation, $optParams = array())
+ {
+ $params = array('project' => $project, 'operation' => $operation);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of operation resources contained within the specified
+ * project. (globalAccountsOperations.listGlobalAccountsOperations)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @return Google_Service_CloudUserAccounts_OperationList
+ */
+ public function listGlobalAccountsOperations($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudUserAccounts_OperationList");
+ }
+}
+
+/**
+ * The "groups" collection of methods.
+ * Typical usage is:
+ *
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $groups = $clouduseraccountsService->groups;
+ *
+ */
+class Google_Service_CloudUserAccounts_Groups_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds users to the specified group. (groups.addMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_GroupsAddMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function addMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsAddMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addMember', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Deletes the specified Group resource. (groups.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the Group resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function delete($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Returns the specified Group resource. (groups.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the Group resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Group
+ */
+ public function get($project, $groupName, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudUserAccounts_Group");
+ }
+
+ /**
+ * Creates a Group resource in the specified project using the data included in
+ * the request. (groups.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_Group $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function insert($project, Google_Service_CloudUserAccounts_Group $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Retrieves the list of groups contained within the specified project.
+ * (groups.listGroups)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @return Google_Service_CloudUserAccounts_GroupList
+ */
+ public function listGroups($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudUserAccounts_GroupList");
+ }
+
+ /**
+ * Removes users from the specified group. (groups.removeMember)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $groupName Name of the group for this request.
+ * @param Google_GroupsRemoveMemberRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function removeMember($project, $groupName, Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'groupName' => $groupName, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('removeMember', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+}
+
+/**
+ * The "linux" collection of methods.
+ * Typical usage is:
+ *
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $linux = $clouduseraccountsService->linux;
+ *
+ */
+class Google_Service_CloudUserAccounts_Linux_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Returns a list of authorized public keys for a specific user account.
+ * (linux.getAuthorizedKeysView)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $user The user account for which you want to get a list of
+ * authorized public keys.
+ * @param string $instance The fully-qualified URL of the virtual machine
+ * requesting the view.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse
+ */
+ public function getAuthorizedKeysView($project, $zone, $user, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'user' => $user, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getAuthorizedKeysView', array($params), "Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse");
+ }
+
+ /**
+ * Retrieves a list of user accounts for an instance within a specific project.
+ * (linux.getLinuxAccountViews)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $zone Name of the zone for this request.
+ * @param string $instance The fully-qualified URL of the virtual machine
+ * requesting the views.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string user If provided, the user requesting the views. If left
+ * blank, the system is requesting the views, instead of a particular user.
+ * @return Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse
+ */
+ public function getLinuxAccountViews($project, $zone, $instance, $optParams = array())
+ {
+ $params = array('project' => $project, 'zone' => $zone, 'instance' => $instance);
+ $params = array_merge($params, $optParams);
+ return $this->call('getLinuxAccountViews', array($params), "Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse");
+ }
+}
+
+/**
+ * The "users" collection of methods.
+ * Typical usage is:
+ *
+ * $clouduseraccountsService = new Google_Service_CloudUserAccounts(...);
+ * $users = $clouduseraccountsService->users;
+ *
+ */
+class Google_Service_CloudUserAccounts_Users_Resource extends Google_Service_Resource
+{
+
+ /**
+ * Adds a public key to the specified User resource with the data included in
+ * the request. (users.addPublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param Google_PublicKey $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function addPublicKey($project, $user, Google_Service_CloudUserAccounts_PublicKey $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('addPublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Deletes the specified User resource. (users.delete)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to delete.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function delete($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('delete', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Returns the specified User resource. (users.get)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user resource to return.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_User
+ */
+ public function get($project, $user, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user);
+ $params = array_merge($params, $optParams);
+ return $this->call('get', array($params), "Google_Service_CloudUserAccounts_User");
+ }
+
+ /**
+ * Creates a User resource in the specified project using the data included in
+ * the request. (users.insert)
+ *
+ * @param string $project Project ID for this request.
+ * @param Google_User $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function insert($project, Google_Service_CloudUserAccounts_User $postBody, $optParams = array())
+ {
+ $params = array('project' => $project, 'postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('insert', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+
+ /**
+ * Retrieves a list of users contained within the specified project.
+ * (users.listUsers)
+ *
+ * @param string $project Project ID for this request.
+ * @param array $optParams Optional parameters.
+ *
+ * @opt_param string filter Sets a filter expression for filtering listed
+ * resources, in the form filter={expression}. Your {expression} must contain
+ * the following: FIELD_NAME COMPARISON_STRING LITERAL_STRING - FIELD_NAME:
+ * The name of the field you want to compare. The field name must be valid for
+ * the type of resource being filtered. Only atomic field types are supported
+ * (string, number, boolean). Array and object fields are not currently
+ * supported. - COMPARISON_STRING: The comparison string, either eq (equals) or
+ * ne (not equals). - LITERAL_STRING: The literal string value to filter to.
+ * The literal value must be valid for the type of field (string, number,
+ * boolean). For string fields, the literal value is interpreted as a regular
+ * expression using RE2 syntax. The literal value must match the entire field.
+ * For example, you can filter by the name of a resource: filter=name ne
+ * example-instance The above filter returns only results whose name field does
+ * not equal example-instance. You can also enclose your literal string in
+ * single, double, or no quotes.
+ * @opt_param string orderBy Sorts list results by a certain order. By default,
+ * results are returned in alphanumerical order based on the resource name.
+ *
+ * You can also sort results in descending order based on the creation timestamp
+ * using orderBy="creationTimestamp desc". This sorts results based on the
+ * creationTimestamp field in reverse chronological order (newest result first).
+ * Use this to sort resources like operations so that the newest operation is
+ * returned first.
+ *
+ * Currently, only sorting by name or creationTimestamp desc is supported.
+ * @opt_param string maxResults Maximum count of results to be returned.
+ * @opt_param string pageToken Specifies a page token to use. Use this parameter
+ * if you want to list the next page of results. Set pageToken to the
+ * nextPageToken returned by a previous list request.
+ * @return Google_Service_CloudUserAccounts_UserList
+ */
+ public function listUsers($project, $optParams = array())
+ {
+ $params = array('project' => $project);
+ $params = array_merge($params, $optParams);
+ return $this->call('list', array($params), "Google_Service_CloudUserAccounts_UserList");
+ }
+
+ /**
+ * Removes the specified public key from the user. (users.removePublicKey)
+ *
+ * @param string $project Project ID for this request.
+ * @param string $user Name of the user for this request.
+ * @param string $fingerprint The fingerprint of the public key to delete.
+ * Public keys are identified by their fingerprint, which is defined by RFC4716
+ * to be the MD5 digest of the public key.
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_CloudUserAccounts_Operation
+ */
+ public function removePublicKey($project, $user, $fingerprint, $optParams = array())
+ {
+ $params = array('project' => $project, 'user' => $user, 'fingerprint' => $fingerprint);
+ $params = array_merge($params, $optParams);
+ return $this->call('removePublicKey', array($params), "Google_Service_CloudUserAccounts_Operation");
+ }
+}
+
+
+
+
+class Google_Service_CloudUserAccounts_AuthorizedKeysView extends Google_Collection
+{
+ protected $collection_key = 'keys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $keys;
+
+
+ public function setKeys($keys)
+ {
+ $this->keys = $keys;
+ }
+ public function getKeys()
+ {
+ return $this->keys;
+ }
+}
+
+class Google_Service_CloudUserAccounts_Group extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $id;
+ public $kind;
+ public $members;
+ public $name;
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_CloudUserAccounts_GroupList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_CloudUserAccounts_Group';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_CloudUserAccounts_GroupsAddMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $users;
+
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Google_Service_CloudUserAccounts_GroupsRemoveMemberRequest extends Google_Collection
+{
+ protected $collection_key = 'users';
+ protected $internal_gapi_mappings = array(
+ );
+ public $users;
+
+
+ public function setUsers($users)
+ {
+ $this->users = $users;
+ }
+ public function getUsers()
+ {
+ return $this->users;
+ }
+}
+
+class Google_Service_CloudUserAccounts_LinuxAccountViews extends Google_Collection
+{
+ protected $collection_key = 'userViews';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $groupViewsType = 'Google_Service_CloudUserAccounts_LinuxGroupView';
+ protected $groupViewsDataType = 'array';
+ public $kind;
+ protected $userViewsType = 'Google_Service_CloudUserAccounts_LinuxUserView';
+ protected $userViewsDataType = 'array';
+
+
+ public function setGroupViews($groupViews)
+ {
+ $this->groupViews = $groupViews;
+ }
+ public function getGroupViews()
+ {
+ return $this->groupViews;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setUserViews($userViews)
+ {
+ $this->userViews = $userViews;
+ }
+ public function getUserViews()
+ {
+ return $this->userViews;
+ }
+}
+
+class Google_Service_CloudUserAccounts_LinuxGetAuthorizedKeysViewResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_CloudUserAccounts_AuthorizedKeysView';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_CloudUserAccounts_AuthorizedKeysView $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_CloudUserAccounts_LinuxGetLinuxAccountViewsResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $resourceType = 'Google_Service_CloudUserAccounts_LinuxAccountViews';
+ protected $resourceDataType = '';
+
+
+ public function setResource(Google_Service_CloudUserAccounts_LinuxAccountViews $resource)
+ {
+ $this->resource = $resource;
+ }
+ public function getResource()
+ {
+ return $this->resource;
+ }
+}
+
+class Google_Service_CloudUserAccounts_LinuxGroupView extends Google_Collection
+{
+ protected $collection_key = 'members';
+ protected $internal_gapi_mappings = array(
+ );
+ public $gid;
+ public $groupName;
+ public $members;
+
+
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setGroupName($groupName)
+ {
+ $this->groupName = $groupName;
+ }
+ public function getGroupName()
+ {
+ return $this->groupName;
+ }
+ public function setMembers($members)
+ {
+ $this->members = $members;
+ }
+ public function getMembers()
+ {
+ return $this->members;
+ }
+}
+
+class Google_Service_CloudUserAccounts_LinuxUserView extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $gecos;
+ public $gid;
+ public $homeDirectory;
+ public $shell;
+ public $uid;
+ public $username;
+
+
+ public function setGecos($gecos)
+ {
+ $this->gecos = $gecos;
+ }
+ public function getGecos()
+ {
+ return $this->gecos;
+ }
+ public function setGid($gid)
+ {
+ $this->gid = $gid;
+ }
+ public function getGid()
+ {
+ return $this->gid;
+ }
+ public function setHomeDirectory($homeDirectory)
+ {
+ $this->homeDirectory = $homeDirectory;
+ }
+ public function getHomeDirectory()
+ {
+ return $this->homeDirectory;
+ }
+ public function setShell($shell)
+ {
+ $this->shell = $shell;
+ }
+ public function getShell()
+ {
+ return $this->shell;
+ }
+ public function setUid($uid)
+ {
+ $this->uid = $uid;
+ }
+ public function getUid()
+ {
+ return $this->uid;
+ }
+ public function setUsername($username)
+ {
+ $this->username = $username;
+ }
+ public function getUsername()
+ {
+ return $this->username;
+ }
+}
+
+class Google_Service_CloudUserAccounts_Operation extends Google_Collection
+{
+ protected $collection_key = 'warnings';
+ protected $internal_gapi_mappings = array(
+ );
+ public $clientOperationId;
+ public $creationTimestamp;
+ public $endTime;
+ protected $errorType = 'Google_Service_CloudUserAccounts_OperationError';
+ protected $errorDataType = '';
+ public $httpErrorMessage;
+ public $httpErrorStatusCode;
+ public $id;
+ public $insertTime;
+ public $kind;
+ public $name;
+ public $operationType;
+ public $progress;
+ public $region;
+ public $selfLink;
+ public $startTime;
+ public $status;
+ public $statusMessage;
+ public $targetId;
+ public $targetLink;
+ public $user;
+ protected $warningsType = 'Google_Service_CloudUserAccounts_OperationWarnings';
+ protected $warningsDataType = 'array';
+ public $zone;
+
+
+ public function setClientOperationId($clientOperationId)
+ {
+ $this->clientOperationId = $clientOperationId;
+ }
+ public function getClientOperationId()
+ {
+ return $this->clientOperationId;
+ }
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setEndTime($endTime)
+ {
+ $this->endTime = $endTime;
+ }
+ public function getEndTime()
+ {
+ return $this->endTime;
+ }
+ public function setError(Google_Service_CloudUserAccounts_OperationError $error)
+ {
+ $this->error = $error;
+ }
+ public function getError()
+ {
+ return $this->error;
+ }
+ public function setHttpErrorMessage($httpErrorMessage)
+ {
+ $this->httpErrorMessage = $httpErrorMessage;
+ }
+ public function getHttpErrorMessage()
+ {
+ return $this->httpErrorMessage;
+ }
+ public function setHttpErrorStatusCode($httpErrorStatusCode)
+ {
+ $this->httpErrorStatusCode = $httpErrorStatusCode;
+ }
+ public function getHttpErrorStatusCode()
+ {
+ return $this->httpErrorStatusCode;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setInsertTime($insertTime)
+ {
+ $this->insertTime = $insertTime;
+ }
+ public function getInsertTime()
+ {
+ return $this->insertTime;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOperationType($operationType)
+ {
+ $this->operationType = $operationType;
+ }
+ public function getOperationType()
+ {
+ return $this->operationType;
+ }
+ public function setProgress($progress)
+ {
+ $this->progress = $progress;
+ }
+ public function getProgress()
+ {
+ return $this->progress;
+ }
+ public function setRegion($region)
+ {
+ $this->region = $region;
+ }
+ public function getRegion()
+ {
+ return $this->region;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+ public function setStartTime($startTime)
+ {
+ $this->startTime = $startTime;
+ }
+ public function getStartTime()
+ {
+ return $this->startTime;
+ }
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ }
+ public function getStatus()
+ {
+ return $this->status;
+ }
+ public function setStatusMessage($statusMessage)
+ {
+ $this->statusMessage = $statusMessage;
+ }
+ public function getStatusMessage()
+ {
+ return $this->statusMessage;
+ }
+ public function setTargetId($targetId)
+ {
+ $this->targetId = $targetId;
+ }
+ public function getTargetId()
+ {
+ return $this->targetId;
+ }
+ public function setTargetLink($targetLink)
+ {
+ $this->targetLink = $targetLink;
+ }
+ public function getTargetLink()
+ {
+ return $this->targetLink;
+ }
+ public function setUser($user)
+ {
+ $this->user = $user;
+ }
+ public function getUser()
+ {
+ return $this->user;
+ }
+ public function setWarnings($warnings)
+ {
+ $this->warnings = $warnings;
+ }
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+ public function setZone($zone)
+ {
+ $this->zone = $zone;
+ }
+ public function getZone()
+ {
+ return $this->zone;
+ }
+}
+
+class Google_Service_CloudUserAccounts_OperationError extends Google_Collection
+{
+ protected $collection_key = 'errors';
+ protected $internal_gapi_mappings = array(
+ );
+ protected $errorsType = 'Google_Service_CloudUserAccounts_OperationErrorErrors';
+ protected $errorsDataType = 'array';
+
+
+ public function setErrors($errors)
+ {
+ $this->errors = $errors;
+ }
+ public function getErrors()
+ {
+ return $this->errors;
+ }
+}
+
+class Google_Service_CloudUserAccounts_OperationErrorErrors extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ public $location;
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setLocation($location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_CloudUserAccounts_OperationList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_CloudUserAccounts_Operation';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_CloudUserAccounts_OperationWarnings extends Google_Collection
+{
+ protected $collection_key = 'data';
+ protected $internal_gapi_mappings = array(
+ );
+ public $code;
+ protected $dataType = 'Google_Service_CloudUserAccounts_OperationWarningsData';
+ protected $dataDataType = 'array';
+ public $message;
+
+
+ public function setCode($code)
+ {
+ $this->code = $code;
+ }
+ public function getCode()
+ {
+ return $this->code;
+ }
+ public function setData($data)
+ {
+ $this->data = $data;
+ }
+ public function getData()
+ {
+ return $this->data;
+ }
+ public function setMessage($message)
+ {
+ $this->message = $message;
+ }
+ public function getMessage()
+ {
+ return $this->message;
+ }
+}
+
+class Google_Service_CloudUserAccounts_OperationWarningsData extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $key;
+ public $value;
+
+
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+ public function setValue($value)
+ {
+ $this->value = $value;
+ }
+ public function getValue()
+ {
+ return $this->value;
+ }
+}
+
+class Google_Service_CloudUserAccounts_PublicKey extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $expirationTimestamp;
+ public $fingerprint;
+ public $key;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setExpirationTimestamp($expirationTimestamp)
+ {
+ $this->expirationTimestamp = $expirationTimestamp;
+ }
+ public function getExpirationTimestamp()
+ {
+ return $this->expirationTimestamp;
+ }
+ public function setFingerprint($fingerprint)
+ {
+ $this->fingerprint = $fingerprint;
+ }
+ public function getFingerprint()
+ {
+ return $this->fingerprint;
+ }
+ public function setKey($key)
+ {
+ $this->key = $key;
+ }
+ public function getKey()
+ {
+ return $this->key;
+ }
+}
+
+class Google_Service_CloudUserAccounts_User extends Google_Collection
+{
+ protected $collection_key = 'publicKeys';
+ protected $internal_gapi_mappings = array(
+ );
+ public $creationTimestamp;
+ public $description;
+ public $groups;
+ public $id;
+ public $kind;
+ public $name;
+ public $owner;
+ protected $publicKeysType = 'Google_Service_CloudUserAccounts_PublicKey';
+ protected $publicKeysDataType = 'array';
+ public $selfLink;
+
+
+ public function setCreationTimestamp($creationTimestamp)
+ {
+ $this->creationTimestamp = $creationTimestamp;
+ }
+ public function getCreationTimestamp()
+ {
+ return $this->creationTimestamp;
+ }
+ public function setDescription($description)
+ {
+ $this->description = $description;
+ }
+ public function getDescription()
+ {
+ return $this->description;
+ }
+ public function setGroups($groups)
+ {
+ $this->groups = $groups;
+ }
+ public function getGroups()
+ {
+ return $this->groups;
+ }
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setName($name)
+ {
+ $this->name = $name;
+ }
+ public function getName()
+ {
+ return $this->name;
+ }
+ public function setOwner($owner)
+ {
+ $this->owner = $owner;
+ }
+ public function getOwner()
+ {
+ return $this->owner;
+ }
+ public function setPublicKeys($publicKeys)
+ {
+ $this->publicKeys = $publicKeys;
+ }
+ public function getPublicKeys()
+ {
+ return $this->publicKeys;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
+
+class Google_Service_CloudUserAccounts_UserList extends Google_Collection
+{
+ protected $collection_key = 'items';
+ protected $internal_gapi_mappings = array(
+ );
+ public $id;
+ protected $itemsType = 'Google_Service_CloudUserAccounts_User';
+ protected $itemsDataType = 'array';
+ public $kind;
+ public $nextPageToken;
+ public $selfLink;
+
+
+ public function setId($id)
+ {
+ $this->id = $id;
+ }
+ public function getId()
+ {
+ return $this->id;
+ }
+ public function setItems($items)
+ {
+ $this->items = $items;
+ }
+ public function getItems()
+ {
+ return $this->items;
+ }
+ public function setKind($kind)
+ {
+ $this->kind = $kind;
+ }
+ public function getKind()
+ {
+ return $this->kind;
+ }
+ public function setNextPageToken($nextPageToken)
+ {
+ $this->nextPageToken = $nextPageToken;
+ }
+ public function getNextPageToken()
+ {
+ return $this->nextPageToken;
+ }
+ public function setSelfLink($selfLink)
+ {
+ $this->selfLink = $selfLink;
+ }
+ public function getSelfLink()
+ {
+ return $this->selfLink;
+ }
+}
From 1a397a5222477a3d4033a2e5709a651ebf4fec3b Mon Sep 17 00:00:00 2001
From: Silvano Luciani