License updated to GPLv3

🧲 New features
Custom user role permissions
Employee edit form updated
Employee daily task list
Attendance and employee distribution charts on dashboard
Improvements to company structure and company assets module
Improved tables for displaying data in several modules
Faster data loading (specially for employee module)
Initials based profile pictures
Re-designed login page
Re-designed user profile page
Improvements to filtering
New REST endpoints for employee qualifications

🐛 Bug fixes
Fixed, issue with managers being able to create performance reviews for employees who are not their direct reports
Fixed, issues related to using full profile image instead of using smaller version of profile image
Changing third gender to other
Improvements and fixes for internal frontend data caching
This commit is contained in:
Thilina Pituwala
2020-10-31 19:02:37 +01:00
parent 86b8345505
commit b1df0037db
29343 changed files with 867614 additions and 2191082 deletions

View File

@@ -1,4 +0,0 @@
vendor
composer.lock
src/Google/Service/Compute/HTTPHealthCheck.php
src/Google/Service/Compute/HTTPSHealthCheck.php

View File

@@ -1,15 +0,0 @@
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
install:
- composer install
script:
- phpunit

View File

@@ -1,22 +0,0 @@
# How to become a contributor and submit your own code
## Contributor License Agreements
We'd love to accept your code patches! However, before we can take them, we have to jump a couple of legal hurdles.
Please fill out either the individual or corporate Contributor License Agreement (CLA).
* If you are an individual writing original source code and you're sure you own the intellectual property, then you'll need to sign an [individual CLA](http://code.google.com/legal/individual-cla-v1.0.html).
* If you work for a company that wants to allow you to contribute your work to this client library, then you'll need to sign a[corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html).
Follow either of the two links above to access the appropriate CLA and instructions for how to sign and return it. Once we receive it, we'll add you to the official list of contributors and be able to accept your patches.
## Submitting Patches
1. Fork the PHP client library on GitHub
1. Decide which code you want to submit. A submission should be a set of changes that addresses one issue in the issue tracker. Please file one change per issue, and address one issue per change. If you want to make a change that doesn't have a corresponding issue in the issue tracker, please file a new ticket!
1. Ensure that your code adheres to standard PHP conventions, as used in the rest of the library.
1. Ensure that there are unit tests for your code.
1. Sign a Contributor License Agreement (see above).
1. Submit a pull request with your patch on Github.

View File

@@ -3,25 +3,18 @@ Google PHP API Client Services
## Requirements
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
[Google API PHP Client](https://github.com/googleapis/google-api-php-client/releases)
## Usage in v2 of Google API PHP Client
This library will be automatically installed with the
[Google API PHP Client](https://github.com/google/google-api-php-client/releases)
via composer. Composer will automatically pull down a monthly tag
from this repository.
If you'd like to always be up-to-date with the latest release, rather than
wait for monthly tagged releases, request the `dev-master` version in composer:
```sh
composer require google/apiclient-services:dev-master
```
This library is automatically updated daily with new API changes, and tagged weekly.
It is installed as part of the
[Google API PHP Client](https://github.com/googleapis/google-api-php-client/releases)
library via Composer, which will pull down the most recent tag.
## Usage in v1
If you are currently using the [`v1-master`](https://github.com/google/google-api-php-client/tree/v1-master)
If you are currently using the [`v1-master`](https://github.com/googleapis/google-api-php-client/tree/v1-master)
branch of the client library, but want to use the latest API services, you can
do so by requiring this library directly into your project via the same composer command:

View File

@@ -9,7 +9,7 @@
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
"phpunit/phpunit": "^4.8|^5"
},
"autoload": {
"psr-0": {

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/3.7/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Google PHP Client Unit Services Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
</phpunit>

View File

@@ -19,7 +19,7 @@
* Service definition for AbusiveExperienceReport (v1).
*
* <p>
* View Abusive Experience Report data, and get a list of sites that have a
* Views Abusive Experience Report data, and gets a list of sites that have a
* significant number of abusive experiences.</p>
*
* <p>
@@ -31,9 +31,7 @@
*/
class Google_Service_AbusiveExperienceReport extends Google_Service
{
/** Test scope for access to the Zoo service. */
const XAPI_ZOO =
"https://www.googleapis.com/auth/xapi.zoo";
public $sites;
public $violatingSites;
@@ -42,13 +40,15 @@ class Google_Service_AbusiveExperienceReport extends Google_Service
* Constructs the internal representation of the AbusiveExperienceReport
* service.
*
* @param Google_Client $client
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client)
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = 'https://abusiveexperiencereport.googleapis.com/';
$this->rootUrl = $rootUrl ?: 'https://abusiveexperiencereport.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'abusiveexperiencereport';

View File

@@ -26,15 +26,10 @@
class Google_Service_AbusiveExperienceReport_Resource_Sites extends Google_Service_Resource
{
/**
* Gets a summary of the abusive experience rating of a site. (sites.get)
* Gets a site's Abusive Experience Report summary. (sites.get)
*
* @param string $name The required site name. This is the site property whose
* abusive experiences have been reviewed, and it must be URL-encoded. For
* example, sites/https%3A%2F%2Fwww.google.com. The server will return an error
* of BAD_REQUEST if this field is not filled in. Note that if the site property
* is not yet verified in Search Console, the reportUrl field returned by the
* API will lead to the verification page, prompting the user to go through that
* process before they can gain access to the Abusive Experience Report.
* @param string $name Required. The name of the site whose summary to get, e.g.
* `sites/http%3A%2F%2Fwww.google.com%2F`. Format: `sites/{site}`
* @param array $optParams Optional parameters.
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/

View File

@@ -26,7 +26,7 @@
class Google_Service_AbusiveExperienceReport_Resource_ViolatingSites extends Google_Service_Resource
{
/**
* Lists sites with Abusive Experience Report statuses of "Failing".
* Lists sites that are failing in the Abusive Experience Report.
* (violatingSites.listViolatingSites)
*
* @param array $optParams Optional parameters.

View File

@@ -39,13 +39,15 @@ class Google_Service_Acceleratedmobilepageurl extends Google_Service
* Constructs the internal representation of the Acceleratedmobilepageurl
* service.
*
* @param Google_Client $client
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client)
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = 'https://acceleratedmobilepageurl.googleapis.com/';
$this->rootUrl = $rootUrl ?: 'https://acceleratedmobilepageurl.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'acceleratedmobilepageurl';

View File

@@ -0,0 +1,378 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for AccessApproval (v1).
*
* <p>
* An API for controlling access to data by Google personnel.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://cloud.google.com/access-approval/docs" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AccessApproval extends Google_Service
{
/** View and manage your data across Google Cloud Platform services. */
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
public $folders;
public $folders_approvalRequests;
public $organizations;
public $organizations_approvalRequests;
public $projects;
public $projects_approvalRequests;
/**
* Constructs the internal representation of the AccessApproval service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://accessapproval.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'accessapproval';
$this->folders = new Google_Service_AccessApproval_Resource_Folders(
$this,
$this->serviceName,
'folders',
array(
'methods' => array(
'deleteAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'getAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->folders_approvalRequests = new Google_Service_AccessApproval_Resource_FoldersApprovalRequests(
$this,
$this->serviceName,
'approvalRequests',
array(
'methods' => array(
'approve' => array(
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->organizations = new Google_Service_AccessApproval_Resource_Organizations(
$this,
$this->serviceName,
'organizations',
array(
'methods' => array(
'deleteAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'getAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->organizations_approvalRequests = new Google_Service_AccessApproval_Resource_OrganizationsApprovalRequests(
$this,
$this->serviceName,
'approvalRequests',
array(
'methods' => array(
'approve' => array(
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
)
);
$this->projects = new Google_Service_AccessApproval_Resource_Projects(
$this,
$this->serviceName,
'projects',
array(
'methods' => array(
'deleteAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'getAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->projects_approvalRequests = new Google_Service_AccessApproval_Resource_ProjectsApprovalRequests(
$this,
$this->serviceName,
'approvalRequests',
array(
'methods' => array(
'approve' => array(
'path' => 'v1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessApprovalSettings extends Google_Collection
{
protected $collection_key = 'notificationEmails';
public $enrolledAncestor;
protected $enrolledServicesType = 'Google_Service_AccessApproval_EnrolledService';
protected $enrolledServicesDataType = 'array';
public $name;
public $notificationEmails;
public function setEnrolledAncestor($enrolledAncestor)
{
$this->enrolledAncestor = $enrolledAncestor;
}
public function getEnrolledAncestor()
{
return $this->enrolledAncestor;
}
/**
* @param Google_Service_AccessApproval_EnrolledService
*/
public function setEnrolledServices($enrolledServices)
{
$this->enrolledServices = $enrolledServices;
}
/**
* @return Google_Service_AccessApproval_EnrolledService
*/
public function getEnrolledServices()
{
return $this->enrolledServices;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setNotificationEmails($notificationEmails)
{
$this->notificationEmails = $notificationEmails;
}
public function getNotificationEmails()
{
return $this->notificationEmails;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessLocations extends Google_Model
{
public $principalOfficeCountry;
public $principalPhysicalLocationCountry;
public function setPrincipalOfficeCountry($principalOfficeCountry)
{
$this->principalOfficeCountry = $principalOfficeCountry;
}
public function getPrincipalOfficeCountry()
{
return $this->principalOfficeCountry;
}
public function setPrincipalPhysicalLocationCountry($principalPhysicalLocationCountry)
{
$this->principalPhysicalLocationCountry = $principalPhysicalLocationCountry;
}
public function getPrincipalPhysicalLocationCountry()
{
return $this->principalPhysicalLocationCountry;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessReason extends Google_Model
{
public $detail;
public $type;
public function setDetail($detail)
{
$this->detail = $detail;
}
public function getDetail()
{
return $this->detail;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_AccessapprovalEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,137 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ApprovalRequest extends Google_Model
{
protected $approveType = 'Google_Service_AccessApproval_ApproveDecision';
protected $approveDataType = '';
protected $dismissType = 'Google_Service_AccessApproval_DismissDecision';
protected $dismissDataType = '';
public $name;
public $requestTime;
public $requestedExpiration;
protected $requestedLocationsType = 'Google_Service_AccessApproval_AccessLocations';
protected $requestedLocationsDataType = '';
protected $requestedReasonType = 'Google_Service_AccessApproval_AccessReason';
protected $requestedReasonDataType = '';
public $requestedResourceName;
protected $requestedResourcePropertiesType = 'Google_Service_AccessApproval_ResourceProperties';
protected $requestedResourcePropertiesDataType = '';
/**
* @param Google_Service_AccessApproval_ApproveDecision
*/
public function setApprove(Google_Service_AccessApproval_ApproveDecision $approve)
{
$this->approve = $approve;
}
/**
* @return Google_Service_AccessApproval_ApproveDecision
*/
public function getApprove()
{
return $this->approve;
}
/**
* @param Google_Service_AccessApproval_DismissDecision
*/
public function setDismiss(Google_Service_AccessApproval_DismissDecision $dismiss)
{
$this->dismiss = $dismiss;
}
/**
* @return Google_Service_AccessApproval_DismissDecision
*/
public function getDismiss()
{
return $this->dismiss;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setRequestTime($requestTime)
{
$this->requestTime = $requestTime;
}
public function getRequestTime()
{
return $this->requestTime;
}
public function setRequestedExpiration($requestedExpiration)
{
$this->requestedExpiration = $requestedExpiration;
}
public function getRequestedExpiration()
{
return $this->requestedExpiration;
}
/**
* @param Google_Service_AccessApproval_AccessLocations
*/
public function setRequestedLocations(Google_Service_AccessApproval_AccessLocations $requestedLocations)
{
$this->requestedLocations = $requestedLocations;
}
/**
* @return Google_Service_AccessApproval_AccessLocations
*/
public function getRequestedLocations()
{
return $this->requestedLocations;
}
/**
* @param Google_Service_AccessApproval_AccessReason
*/
public function setRequestedReason(Google_Service_AccessApproval_AccessReason $requestedReason)
{
$this->requestedReason = $requestedReason;
}
/**
* @return Google_Service_AccessApproval_AccessReason
*/
public function getRequestedReason()
{
return $this->requestedReason;
}
public function setRequestedResourceName($requestedResourceName)
{
$this->requestedResourceName = $requestedResourceName;
}
public function getRequestedResourceName()
{
return $this->requestedResourceName;
}
/**
* @param Google_Service_AccessApproval_ResourceProperties
*/
public function setRequestedResourceProperties(Google_Service_AccessApproval_ResourceProperties $requestedResourceProperties)
{
$this->requestedResourceProperties = $requestedResourceProperties;
}
/**
* @return Google_Service_AccessApproval_ResourceProperties
*/
public function getRequestedResourceProperties()
{
return $this->requestedResourceProperties;
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ApproveApprovalRequestMessage extends Google_Model
{
public $expireTime;
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
public function getExpireTime()
{
return $this->expireTime;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ApproveDecision extends Google_Model
{
public $approveTime;
public $expireTime;
public function setApproveTime($approveTime)
{
$this->approveTime = $approveTime;
}
public function getApproveTime()
{
return $this->approveTime;
}
public function setExpireTime($expireTime)
{
$this->expireTime = $expireTime;
}
public function getExpireTime()
{
return $this->expireTime;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_DismissApprovalRequestMessage extends Google_Model
{
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_DismissDecision extends Google_Model
{
public $dismissTime;
public $implicit;
public function setDismissTime($dismissTime)
{
$this->dismissTime = $dismissTime;
}
public function getDismissTime()
{
return $this->dismissTime;
}
public function setImplicit($implicit)
{
$this->implicit = $implicit;
}
public function getImplicit()
{
return $this->implicit;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_EnrolledService extends Google_Model
{
public $cloudProduct;
public $enrollmentLevel;
public function setCloudProduct($cloudProduct)
{
$this->cloudProduct = $cloudProduct;
}
public function getCloudProduct()
{
return $this->cloudProduct;
}
public function setEnrollmentLevel($enrollmentLevel)
{
$this->enrollmentLevel = $enrollmentLevel;
}
public function getEnrollmentLevel()
{
return $this->enrollmentLevel;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ListApprovalRequestsResponse extends Google_Collection
{
protected $collection_key = 'approvalRequests';
protected $approvalRequestsType = 'Google_Service_AccessApproval_ApprovalRequest';
protected $approvalRequestsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessApproval_ApprovalRequest
*/
public function setApprovalRequests($approvalRequests)
{
$this->approvalRequests = $approvalRequests;
}
/**
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function getApprovalRequests()
{
return $this->approvalRequests;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "folders" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $folders = $accessapprovalService->folders;
* </code>
*/
class Google_Service_AccessApproval_Resource_Folders extends Google_Service_Resource
{
/**
* Deletes the settings associated with a project, folder, or organization. This
* will have the effect of disabling Access Approval for the project, folder, or
* organization, but only if all ancestors also have Access Approval disabled.
* If Access Approval is enabled at a higher level of the hierarchy, then Access
* Approval will still be enabled at this level as the settings are inherited.
* (folders.deleteAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessapprovalEmpty
*/
public function deleteAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('deleteAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessapprovalEmpty");
}
/**
* Gets the settings associated with a project, folder, or organization.
* (folders.getAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function getAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
/**
* Updates the settings associated with a project, folder, or organization.
* Settings to update are determined by the value of field_mask.
* (folders.updateAccessApprovalSettings)
*
* @param string $name The resource name of the settings. Format is one of: *
* "projects/{project}/accessApprovalSettings" *
* "folders/{folder}/accessApprovalSettings" *
* "organizations/{organization}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. Only
* the top level fields of AccessApprovalSettings (notification_emails &
* enrolled_services) are supported. For each field, if it is included, the
* currently stored value will be entirely overwritten with the value of the
* field passed in this request. For the `FieldMask` definition, see
* https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask If this field is left unset,
* only the notification_emails field will be updated.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function updateAccessApprovalSettings($name, Google_Service_AccessApproval_AccessApprovalSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
}

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "approvalRequests" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $approvalRequests = $accessapprovalService->approvalRequests;
* </code>
*/
class Google_Service_AccessApproval_Resource_FoldersApprovalRequests extends Google_Service_Resource
{
/**
* Approves a request and returns the updated ApprovalRequest. Returns NOT_FOUND
* if the request does not exist. Returns FAILED_PRECONDITION if the request
* exists but is not in a pending state. (approvalRequests.approve)
*
* @param string $name Name of the approval request to approve.
* @param Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function approve($name, Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('approve', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not
* deny access to the resource if another request has been made and approved. It
* is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND
* if the request does not exist. Returns FAILED_PRECONDITION if the request
* exists but is not in a pending state. (approvalRequests.dismiss)
*
* @param string $name Name of the ApprovalRequest to dismiss.
* @param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Gets an approval request. Returns NOT_FOUND if the request does not exist.
* (approvalRequests.get)
*
* @param string $name Name of the approval request to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Lists approval requests associated with a project, folder, or organization.
* Approval requests can be filtered by state (pending, active, dismissed). The
* order is reverse chronological.
* (approvalRequests.listFoldersApprovalRequests)
*
* @param string $parent The parent resource. This may be "projects/{project}",
* "folders/{folder}", or "organizations/{organization}".
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values: * [not set]: Requests that are
* pending or have active approvals. * ALL: All requests. * PENDING: Only
* pending requests. * ACTIVE: Only active (i.e. currently approved) requests. *
* DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active and
* dismissed (including expired) requests.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listFoldersApprovalRequests($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessApproval_ListApprovalRequestsResponse");
}
}

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $organizations = $accessapprovalService->organizations;
* </code>
*/
class Google_Service_AccessApproval_Resource_Organizations extends Google_Service_Resource
{
/**
* Deletes the settings associated with a project, folder, or organization. This
* will have the effect of disabling Access Approval for the project, folder, or
* organization, but only if all ancestors also have Access Approval disabled.
* If Access Approval is enabled at a higher level of the hierarchy, then Access
* Approval will still be enabled at this level as the settings are inherited.
* (organizations.deleteAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessapprovalEmpty
*/
public function deleteAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('deleteAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessapprovalEmpty");
}
/**
* Gets the settings associated with a project, folder, or organization.
* (organizations.getAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function getAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
/**
* Updates the settings associated with a project, folder, or organization.
* Settings to update are determined by the value of field_mask.
* (organizations.updateAccessApprovalSettings)
*
* @param string $name The resource name of the settings. Format is one of: *
* "projects/{project}/accessApprovalSettings" *
* "folders/{folder}/accessApprovalSettings" *
* "organizations/{organization}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. Only
* the top level fields of AccessApprovalSettings (notification_emails &
* enrolled_services) are supported. For each field, if it is included, the
* currently stored value will be entirely overwritten with the value of the
* field passed in this request. For the `FieldMask` definition, see
* https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask If this field is left unset,
* only the notification_emails field will be updated.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function updateAccessApprovalSettings($name, Google_Service_AccessApproval_AccessApprovalSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
}

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "approvalRequests" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $approvalRequests = $accessapprovalService->approvalRequests;
* </code>
*/
class Google_Service_AccessApproval_Resource_OrganizationsApprovalRequests extends Google_Service_Resource
{
/**
* Approves a request and returns the updated ApprovalRequest. Returns NOT_FOUND
* if the request does not exist. Returns FAILED_PRECONDITION if the request
* exists but is not in a pending state. (approvalRequests.approve)
*
* @param string $name Name of the approval request to approve.
* @param Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function approve($name, Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('approve', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not
* deny access to the resource if another request has been made and approved. It
* is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND
* if the request does not exist. Returns FAILED_PRECONDITION if the request
* exists but is not in a pending state. (approvalRequests.dismiss)
*
* @param string $name Name of the ApprovalRequest to dismiss.
* @param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Gets an approval request. Returns NOT_FOUND if the request does not exist.
* (approvalRequests.get)
*
* @param string $name Name of the approval request to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Lists approval requests associated with a project, folder, or organization.
* Approval requests can be filtered by state (pending, active, dismissed). The
* order is reverse chronological.
* (approvalRequests.listOrganizationsApprovalRequests)
*
* @param string $parent The parent resource. This may be "projects/{project}",
* "folders/{folder}", or "organizations/{organization}".
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values: * [not set]: Requests that are
* pending or have active approvals. * ALL: All requests. * PENDING: Only
* pending requests. * ACTIVE: Only active (i.e. currently approved) requests. *
* DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active and
* dismissed (including expired) requests.
* @opt_param int pageSize Requested page size.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listOrganizationsApprovalRequests($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessApproval_ListApprovalRequestsResponse");
}
}

View File

@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $projects = $accessapprovalService->projects;
* </code>
*/
class Google_Service_AccessApproval_Resource_Projects extends Google_Service_Resource
{
/**
* Deletes the settings associated with a project, folder, or organization. This
* will have the effect of disabling Access Approval for the project, folder, or
* organization, but only if all ancestors also have Access Approval disabled.
* If Access Approval is enabled at a higher level of the hierarchy, then Access
* Approval will still be enabled at this level as the settings are inherited.
* (projects.deleteAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessapprovalEmpty
*/
public function deleteAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('deleteAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessapprovalEmpty");
}
/**
* Gets the settings associated with a project, folder, or organization.
* (projects.getAccessApprovalSettings)
*
* @param string $name Name of the AccessApprovalSettings to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function getAccessApprovalSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
/**
* Updates the settings associated with a project, folder, or organization.
* Settings to update are determined by the value of field_mask.
* (projects.updateAccessApprovalSettings)
*
* @param string $name The resource name of the settings. Format is one of: *
* "projects/{project}/accessApprovalSettings" *
* "folders/{folder}/accessApprovalSettings" *
* "organizations/{organization}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. Only
* the top level fields of AccessApprovalSettings (notification_emails &
* enrolled_services) are supported. For each field, if it is included, the
* currently stored value will be entirely overwritten with the value of the
* field passed in this request. For the `FieldMask` definition, see
* https://developers.google.com/protocol-
* buffers/docs/reference/google.protobuf#fieldmask If this field is left unset,
* only the notification_emails field will be updated.
* @return Google_Service_AccessApproval_AccessApprovalSettings
*/
public function updateAccessApprovalSettings($name, Google_Service_AccessApproval_AccessApprovalSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateAccessApprovalSettings', array($params), "Google_Service_AccessApproval_AccessApprovalSettings");
}
}

View File

@@ -0,0 +1,103 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "approvalRequests" collection of methods.
* Typical usage is:
* <code>
* $accessapprovalService = new Google_Service_AccessApproval(...);
* $approvalRequests = $accessapprovalService->approvalRequests;
* </code>
*/
class Google_Service_AccessApproval_Resource_ProjectsApprovalRequests extends Google_Service_Resource
{
/**
* Approves a request and returns the updated ApprovalRequest. Returns NOT_FOUND
* if the request does not exist. Returns FAILED_PRECONDITION if the request
* exists but is not in a pending state. (approvalRequests.approve)
*
* @param string $name Name of the approval request to approve.
* @param Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function approve($name, Google_Service_AccessApproval_ApproveApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('approve', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Dismisses a request. Returns the updated ApprovalRequest. NOTE: This does not
* deny access to the resource if another request has been made and approved. It
* is equivalent in effect to ignoring the request altogether. Returns NOT_FOUND
* if the request does not exist. Returns FAILED_PRECONDITION if the request
* exists but is not in a pending state. (approvalRequests.dismiss)
*
* @param string $name Name of the ApprovalRequest to dismiss.
* @param Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function dismiss($name, Google_Service_AccessApproval_DismissApprovalRequestMessage $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('dismiss', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Gets an approval request. Returns NOT_FOUND if the request does not exist.
* (approvalRequests.get)
*
* @param string $name Name of the approval request to retrieve.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessApproval_ApprovalRequest
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessApproval_ApprovalRequest");
}
/**
* Lists approval requests associated with a project, folder, or organization.
* Approval requests can be filtered by state (pending, active, dismissed). The
* order is reverse chronological.
* (approvalRequests.listProjectsApprovalRequests)
*
* @param string $parent The parent resource. This may be "projects/{project}",
* "folders/{folder}", or "organizations/{organization}".
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Requested page size.
* @opt_param string filter A filter on the type of approval requests to
* retrieve. Must be one of the following values: * [not set]: Requests that are
* pending or have active approvals. * ALL: All requests. * PENDING: Only
* pending requests. * ACTIVE: Only active (i.e. currently approved) requests. *
* DISMISSED: Only dismissed (including expired) requests. * HISTORY: Active and
* dismissed (including expired) requests.
* @opt_param string pageToken A token identifying the page of results to
* return.
* @return Google_Service_AccessApproval_ListApprovalRequestsResponse
*/
public function listProjectsApprovalRequests($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessApproval_ListApprovalRequestsResponse");
}
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessApproval_ResourceProperties extends Google_Model
{
public $excludesDescendants;
public function setExcludesDescendants($excludesDescendants)
{
$this->excludesDescendants = $excludesDescendants;
}
public function getExcludesDescendants()
{
return $this->excludesDescendants;
}
}

View File

@@ -0,0 +1,441 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for AccessContextManager (v1).
*
* <p>
* An API for setting attribute based access control to requests to GCP
* services.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://cloud.google.com/access-context-manager/docs/reference/rest/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AccessContextManager extends Google_Service
{
/** View and manage your data across Google Cloud Platform services. */
const CLOUD_PLATFORM =
"https://www.googleapis.com/auth/cloud-platform";
public $accessPolicies;
public $accessPolicies_accessLevels;
public $accessPolicies_servicePerimeters;
public $operations;
public $organizations_gcpUserAccessBindings;
/**
* Constructs the internal representation of the AccessContextManager service.
*
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = $rootUrl ?: 'https://accesscontextmanager.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'accesscontextmanager';
$this->accessPolicies = new Google_Service_AccessContextManager_Resource_AccessPolicies(
$this,
$this->serviceName,
'accessPolicies',
array(
'methods' => array(
'create' => array(
'path' => 'v1/accessPolicies',
'httpMethod' => 'POST',
'parameters' => array(),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/accessPolicies',
'httpMethod' => 'GET',
'parameters' => array(
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'parent' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->accessPolicies_accessLevels = new Google_Service_AccessContextManager_Resource_AccessPoliciesAccessLevels(
$this,
$this->serviceName,
'accessLevels',
array(
'methods' => array(
'create' => array(
'path' => 'v1/{+parent}/accessLevels',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
),
),'list' => array(
'path' => 'v1/{+parent}/accessLevels',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'accessLevelFormat' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),'replaceAll' => array(
'path' => 'v1/{+parent}/accessLevels:replaceAll',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->accessPolicies_servicePerimeters = new Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters(
$this,
$this->serviceName,
'servicePerimeters',
array(
'methods' => array(
'commit' => array(
'path' => 'v1/{+parent}/servicePerimeters:commit',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'create' => array(
'path' => 'v1/{+parent}/servicePerimeters',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+parent}/servicePerimeters',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),'replaceAll' => array(
'path' => 'v1/{+parent}/servicePerimeters:replaceAll',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->operations = new Google_Service_AccessContextManager_Resource_Operations(
$this,
$this->serviceName,
'operations',
array(
'methods' => array(
'cancel' => array(
'path' => 'v1/{+name}:cancel',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->organizations_gcpUserAccessBindings = new Google_Service_AccessContextManager_Resource_OrganizationsGcpUserAccessBindings(
$this,
$this->serviceName,
'gcpUserAccessBindings',
array(
'methods' => array(
'create' => array(
'path' => 'v1/{+parent}/gcpUserAccessBindings',
'httpMethod' => 'POST',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'delete' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'DELETE',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1/{+parent}/gcpUserAccessBindings',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_AccessLevel extends Google_Model
{
protected $basicType = 'Google_Service_AccessContextManager_BasicLevel';
protected $basicDataType = '';
protected $customType = 'Google_Service_AccessContextManager_CustomLevel';
protected $customDataType = '';
public $description;
public $name;
public $title;
/**
* @param Google_Service_AccessContextManager_BasicLevel
*/
public function setBasic(Google_Service_AccessContextManager_BasicLevel $basic)
{
$this->basic = $basic;
}
/**
* @return Google_Service_AccessContextManager_BasicLevel
*/
public function getBasic()
{
return $this->basic;
}
/**
* @param Google_Service_AccessContextManager_CustomLevel
*/
public function setCustom(Google_Service_AccessContextManager_CustomLevel $custom)
{
$this->custom = $custom;
}
/**
* @return Google_Service_AccessContextManager_CustomLevel
*/
public function getCustom()
{
return $this->custom;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_AccessPolicy extends Google_Model
{
public $etag;
public $name;
public $parent;
public $title;
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setParent($parent)
{
$this->parent = $parent;
}
public function getParent()
{
return $this->parent;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_AccesscontextmanagerEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_BasicLevel extends Google_Collection
{
protected $collection_key = 'conditions';
public $combiningFunction;
protected $conditionsType = 'Google_Service_AccessContextManager_Condition';
protected $conditionsDataType = 'array';
public function setCombiningFunction($combiningFunction)
{
$this->combiningFunction = $combiningFunction;
}
public function getCombiningFunction()
{
return $this->combiningFunction;
}
/**
* @param Google_Service_AccessContextManager_Condition
*/
public function setConditions($conditions)
{
$this->conditions = $conditions;
}
/**
* @return Google_Service_AccessContextManager_Condition
*/
public function getConditions()
{
return $this->conditions;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_CancelOperationRequest extends Google_Model
{
}

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_CommitServicePerimetersRequest extends Google_Model
{
public $etag;
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_CommitServicePerimetersResponse extends Google_Collection
{
protected $collection_key = 'servicePerimeters';
protected $servicePerimetersType = 'Google_Service_AccessContextManager_ServicePerimeter';
protected $servicePerimetersDataType = 'array';
/**
* @param Google_Service_AccessContextManager_ServicePerimeter
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Condition extends Google_Collection
{
protected $collection_key = 'requiredAccessLevels';
protected $devicePolicyType = 'Google_Service_AccessContextManager_DevicePolicy';
protected $devicePolicyDataType = '';
public $ipSubnetworks;
public $members;
public $negate;
public $regions;
public $requiredAccessLevels;
/**
* @param Google_Service_AccessContextManager_DevicePolicy
*/
public function setDevicePolicy(Google_Service_AccessContextManager_DevicePolicy $devicePolicy)
{
$this->devicePolicy = $devicePolicy;
}
/**
* @return Google_Service_AccessContextManager_DevicePolicy
*/
public function getDevicePolicy()
{
return $this->devicePolicy;
}
public function setIpSubnetworks($ipSubnetworks)
{
$this->ipSubnetworks = $ipSubnetworks;
}
public function getIpSubnetworks()
{
return $this->ipSubnetworks;
}
public function setMembers($members)
{
$this->members = $members;
}
public function getMembers()
{
return $this->members;
}
public function setNegate($negate)
{
$this->negate = $negate;
}
public function getNegate()
{
return $this->negate;
}
public function setRegions($regions)
{
$this->regions = $regions;
}
public function getRegions()
{
return $this->regions;
}
public function setRequiredAccessLevels($requiredAccessLevels)
{
$this->requiredAccessLevels = $requiredAccessLevels;
}
public function getRequiredAccessLevels()
{
return $this->requiredAccessLevels;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_CustomLevel extends Google_Model
{
protected $exprType = 'Google_Service_AccessContextManager_Expr';
protected $exprDataType = '';
/**
* @param Google_Service_AccessContextManager_Expr
*/
public function setExpr(Google_Service_AccessContextManager_Expr $expr)
{
$this->expr = $expr;
}
/**
* @return Google_Service_AccessContextManager_Expr
*/
public function getExpr()
{
return $this->expr;
}
}

View File

@@ -0,0 +1,83 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_DevicePolicy extends Google_Collection
{
protected $collection_key = 'osConstraints';
public $allowedDeviceManagementLevels;
public $allowedEncryptionStatuses;
protected $osConstraintsType = 'Google_Service_AccessContextManager_OsConstraint';
protected $osConstraintsDataType = 'array';
public $requireAdminApproval;
public $requireCorpOwned;
public $requireScreenlock;
public function setAllowedDeviceManagementLevels($allowedDeviceManagementLevels)
{
$this->allowedDeviceManagementLevels = $allowedDeviceManagementLevels;
}
public function getAllowedDeviceManagementLevels()
{
return $this->allowedDeviceManagementLevels;
}
public function setAllowedEncryptionStatuses($allowedEncryptionStatuses)
{
$this->allowedEncryptionStatuses = $allowedEncryptionStatuses;
}
public function getAllowedEncryptionStatuses()
{
return $this->allowedEncryptionStatuses;
}
/**
* @param Google_Service_AccessContextManager_OsConstraint
*/
public function setOsConstraints($osConstraints)
{
$this->osConstraints = $osConstraints;
}
/**
* @return Google_Service_AccessContextManager_OsConstraint
*/
public function getOsConstraints()
{
return $this->osConstraints;
}
public function setRequireAdminApproval($requireAdminApproval)
{
$this->requireAdminApproval = $requireAdminApproval;
}
public function getRequireAdminApproval()
{
return $this->requireAdminApproval;
}
public function setRequireCorpOwned($requireCorpOwned)
{
$this->requireCorpOwned = $requireCorpOwned;
}
public function getRequireCorpOwned()
{
return $this->requireCorpOwned;
}
public function setRequireScreenlock($requireScreenlock)
{
$this->requireScreenlock = $requireScreenlock;
}
public function getRequireScreenlock()
{
return $this->requireScreenlock;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Expr extends Google_Model
{
public $description;
public $expression;
public $location;
public $title;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setExpression($expression)
{
$this->expression = $expression;
}
public function getExpression()
{
return $this->expression;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_GcpUserAccessBinding extends Google_Collection
{
protected $collection_key = 'accessLevels';
public $accessLevels;
public $groupKey;
public $name;
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setGroupKey($groupKey)
{
$this->groupKey = $groupKey;
}
public function getGroupKey()
{
return $this->groupKey;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListAccessLevelsResponse extends Google_Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = 'Google_Service_AccessContextManager_AccessLevel';
protected $accessLevelsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_AccessLevel
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListAccessPoliciesResponse extends Google_Collection
{
protected $collection_key = 'accessPolicies';
protected $accessPoliciesType = 'Google_Service_AccessContextManager_AccessPolicy';
protected $accessPoliciesDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_AccessPolicy
*/
public function setAccessPolicies($accessPolicies)
{
$this->accessPolicies = $accessPolicies;
}
/**
* @return Google_Service_AccessContextManager_AccessPolicy
*/
public function getAccessPolicies()
{
return $this->accessPolicies;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListGcpUserAccessBindingsResponse extends Google_Collection
{
protected $collection_key = 'gcpUserAccessBindings';
protected $gcpUserAccessBindingsType = 'Google_Service_AccessContextManager_GcpUserAccessBinding';
protected $gcpUserAccessBindingsDataType = 'array';
public $nextPageToken;
/**
* @param Google_Service_AccessContextManager_GcpUserAccessBinding
*/
public function setGcpUserAccessBindings($gcpUserAccessBindings)
{
$this->gcpUserAccessBindings = $gcpUserAccessBindings;
}
/**
* @return Google_Service_AccessContextManager_GcpUserAccessBinding
*/
public function getGcpUserAccessBindings()
{
return $this->gcpUserAccessBindings;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListOperationsResponse extends Google_Collection
{
protected $collection_key = 'operations';
public $nextPageToken;
protected $operationsType = 'Google_Service_AccessContextManager_Operation';
protected $operationsDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AccessContextManager_Operation
*/
public function setOperations($operations)
{
$this->operations = $operations;
}
/**
* @return Google_Service_AccessContextManager_Operation
*/
public function getOperations()
{
return $this->operations;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ListServicePerimetersResponse extends Google_Collection
{
protected $collection_key = 'servicePerimeters';
public $nextPageToken;
protected $servicePerimetersType = 'Google_Service_AccessContextManager_ServicePerimeter';
protected $servicePerimetersDataType = 'array';
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeter
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}

View File

@@ -0,0 +1,73 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Operation extends Google_Model
{
public $done;
protected $errorType = 'Google_Service_AccessContextManager_Status';
protected $errorDataType = '';
public $metadata;
public $name;
public $response;
public function setDone($done)
{
$this->done = $done;
}
public function getDone()
{
return $this->done;
}
/**
* @param Google_Service_AccessContextManager_Status
*/
public function setError(Google_Service_AccessContextManager_Status $error)
{
$this->error = $error;
}
/**
* @return Google_Service_AccessContextManager_Status
*/
public function getError()
{
return $this->error;
}
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResponse($response)
{
$this->response = $response;
}
public function getResponse()
{
return $this->response;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_OsConstraint extends Google_Model
{
public $minimumVersion;
public $osType;
public $requireVerifiedChromeOs;
public function setMinimumVersion($minimumVersion)
{
$this->minimumVersion = $minimumVersion;
}
public function getMinimumVersion()
{
return $this->minimumVersion;
}
public function setOsType($osType)
{
$this->osType = $osType;
}
public function getOsType()
{
return $this->osType;
}
public function setRequireVerifiedChromeOs($requireVerifiedChromeOs)
{
$this->requireVerifiedChromeOs = $requireVerifiedChromeOs;
}
public function getRequireVerifiedChromeOs()
{
return $this->requireVerifiedChromeOs;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ReplaceAccessLevelsRequest extends Google_Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = 'Google_Service_AccessContextManager_AccessLevel';
protected $accessLevelsDataType = 'array';
public $etag;
/**
* @param Google_Service_AccessContextManager_AccessLevel
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ReplaceAccessLevelsResponse extends Google_Collection
{
protected $collection_key = 'accessLevels';
protected $accessLevelsType = 'Google_Service_AccessContextManager_AccessLevel';
protected $accessLevelsDataType = 'array';
/**
* @param Google_Service_AccessContextManager_AccessLevel
*/
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
/**
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function getAccessLevels()
{
return $this->accessLevels;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ReplaceServicePerimetersRequest extends Google_Collection
{
protected $collection_key = 'servicePerimeters';
public $etag;
protected $servicePerimetersType = 'Google_Service_AccessContextManager_ServicePerimeter';
protected $servicePerimetersDataType = 'array';
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeter
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}

View File

@@ -0,0 +1,38 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ReplaceServicePerimetersResponse extends Google_Collection
{
protected $collection_key = 'servicePerimeters';
protected $servicePerimetersType = 'Google_Service_AccessContextManager_ServicePerimeter';
protected $servicePerimetersDataType = 'array';
/**
* @param Google_Service_AccessContextManager_ServicePerimeter
*/
public function setServicePerimeters($servicePerimeters)
{
$this->servicePerimeters = $servicePerimeters;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function getServicePerimeters()
{
return $this->servicePerimeters;
}
}

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accessPolicies" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $accessPolicies = $accesscontextmanagerService->accessPolicies;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPolicies extends Google_Service_Resource
{
/**
* Create an `AccessPolicy`. Fails if this organization already has a
* `AccessPolicy`. The longrunning Operation will have a successful status once
* the `AccessPolicy` has propagated to long-lasting storage. Syntactic and
* basic semantic errors will be returned in `metadata` as a BadRequest proto.
* (accessPolicies.create)
*
* @param Google_Service_AccessContextManager_AccessPolicy $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create(Google_Service_AccessContextManager_AccessPolicy $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an AccessPolicy by resource name. The longrunning Operation will have
* a successful status once the AccessPolicy has been removed from long-lasting
* storage. (accessPolicies.delete)
*
* @param string $name Required. Resource name for the access policy to delete.
* Format `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an AccessPolicy by name. (accessPolicies.get)
*
* @param string $name Required. Resource name for the access policy to get.
* Format `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccessPolicy
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_AccessPolicy");
}
/**
* List all AccessPolicies under a container.
* (accessPolicies.listAccessPolicies)
*
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of AccessPolicy instances to include in the
* list. Default 100.
* @opt_param string pageToken Next page token for the next batch of
* AccessPolicy instances. Defaults to the first page of results.
* @opt_param string parent Required. Resource name for the container to list
* AccessPolicy instances from. Format: `organizations/{org_id}`
* @return Google_Service_AccessContextManager_ListAccessPoliciesResponse
*/
public function listAccessPolicies($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListAccessPoliciesResponse");
}
/**
* Update an AccessPolicy. The longrunning Operation from this RPC will have a
* successful status once the changes to the AccessPolicy have propagated to
* long-lasting storage. Syntactic and basic semantic errors will be returned in
* `metadata` as a BadRequest proto. (accessPolicies.patch)
*
* @param string $name Output only. Resource name of the `AccessPolicy`. Format:
* `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_AccessPolicy $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_AccessPolicy $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "accessLevels" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $accessLevels = $accesscontextmanagerService->accessLevels;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPoliciesAccessLevels extends Google_Service_Resource
{
/**
* Create an Access Level. The longrunning operation from this RPC will have a
* successful status once the Access Level has propagated to long-lasting
* storage. Access Levels containing errors will result in an error response for
* the first error encountered. (accessLevels.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Access Level. Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_AccessLevel $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_AccessLevel $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete an Access Level by resource name. The longrunning operation from this
* RPC will have a successful status once the Access Level has been removed from
* long-lasting storage. (accessLevels.delete)
*
* @param string $name Required. Resource name for the Access Level. Format:
* `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get an Access Level by resource name. (accessLevels.get)
*
* @param string $name Required. Resource name for the Access Level. Format:
* `accessPolicies/{policy_id}/accessLevels/{access_level_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string accessLevelFormat Whether to return `BasicLevels` in the
* Cloud Common Expression Language rather than as `BasicLevels`. Defaults to
* AS_DEFINED, where Access Levels are returned as `BasicLevels` or
* `CustomLevels` based on how they were created. If set to CEL, all Access
* Levels are returned as `CustomLevels`. In the CEL case, `BasicLevels` are
* translated to equivalent `CustomLevels`.
* @return Google_Service_AccessContextManager_AccessLevel
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_AccessLevel");
}
/**
* List all Access Levels for an access policy.
* (accessLevels.listAccessPoliciesAccessLevels)
*
* @param string $parent Required. Resource name for the access policy to list
* Access Levels from. Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param string accessLevelFormat Whether to return `BasicLevels` in the
* Cloud Common Expression language, as `CustomLevels`, rather than as
* `BasicLevels`. Defaults to returning `AccessLevels` in the format they were
* defined.
* @opt_param int pageSize Number of Access Levels to include in the list.
* Default 100.
* @opt_param string pageToken Next page token for the next batch of Access
* Level instances. Defaults to the first page of results.
* @return Google_Service_AccessContextManager_ListAccessLevelsResponse
*/
public function listAccessPoliciesAccessLevels($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListAccessLevelsResponse");
}
/**
* Update an Access Level. The longrunning operation from this RPC will have a
* successful status once the changes to the Access Level have propagated to
* long-lasting storage. Access Levels containing errors will result in an error
* response for the first error encountered. (accessLevels.patch)
*
* @param string $name Required. Resource name for the Access Level. The
* `short_name` component must begin with a letter and only include alphanumeric
* and '_'. Format: `accessPolicies/{policy_id}/accessLevels/{short_name}`. The
* maximum length of the `short_name` component is 50 characters.
* @param Google_Service_AccessContextManager_AccessLevel $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_AccessLevel $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Replace all existing Access Levels in an Access Policy with the Access Levels
* provided. This is done atomically. The longrunning operation from this RPC
* will have a successful status once all replacements have propagated to long-
* lasting storage. Replacements containing errors will result in an error
* response for the first error encountered. Replacement will be cancelled on
* error, existing Access Levels will not be affected. Operation.response field
* will contain ReplaceAccessLevelsResponse. Removing Access Levels contained in
* existing Service Perimeters will result in error. (accessLevels.replaceAll)
*
* @param string $parent Required. Resource name for the access policy which
* owns these Access Levels. Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_ReplaceAccessLevelsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function replaceAll($parent, Google_Service_AccessContextManager_ReplaceAccessLevelsRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('replaceAll', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,167 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "servicePerimeters" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $servicePerimeters = $accesscontextmanagerService->servicePerimeters;
* </code>
*/
class Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters extends Google_Service_Resource
{
/**
* Commit the dry-run spec for all the Service Perimeters in an Access Policy. A
* commit operation on a Service Perimeter involves copying its `spec` field to
* that Service Perimeter's `status` field. Only Service Perimeters with
* `use_explicit_dry_run_spec` field set to true are affected by a commit
* operation. The longrunning operation from this RPC will have a successful
* status once the dry-run specs for all the Service Perimeters have been
* committed. If a commit fails, it will cause the longrunning operation to
* return an error response and the entire commit operation will be cancelled.
* When successful, Operation.response field will contain
* CommitServicePerimetersResponse. The `dry_run` and the `spec` fields will be
* cleared after a successful commit operation. (servicePerimeters.commit)
*
* @param string $parent Required. Resource name for the parent Access Policy
* which owns all Service Perimeters in scope for the commit operation. Format:
* `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_CommitServicePerimetersRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function commit($parent, Google_Service_AccessContextManager_CommitServicePerimetersRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('commit', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Create a Service Perimeter. The longrunning operation from this RPC will have
* a successful status once the Service Perimeter has propagated to long-lasting
* storage. Service Perimeters containing errors will result in an error
* response for the first error encountered. (servicePerimeters.create)
*
* @param string $parent Required. Resource name for the access policy which
* owns this Service Perimeter. Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_ServicePerimeter $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_ServicePerimeter $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Delete a Service Perimeter by resource name. The longrunning operation from
* this RPC will have a successful status once the Service Perimeter has been
* removed from long-lasting storage. (servicePerimeters.delete)
*
* @param string $name Required. Resource name for the Service Perimeter.
* Format: `accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Get a Service Perimeter by resource name. (servicePerimeters.get)
*
* @param string $name Required. Resource name for the Service Perimeter.
* Format:
* `accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_ServicePerimeter
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_ServicePerimeter");
}
/**
* List all Service Perimeters for an access policy.
* (servicePerimeters.listAccessPoliciesServicePerimeters)
*
* @param string $parent Required. Resource name for the access policy to list
* Service Perimeters from. Format: `accessPolicies/{policy_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Number of Service Perimeters to include in the list.
* Default 100.
* @opt_param string pageToken Next page token for the next batch of Service
* Perimeter instances. Defaults to the first page of results.
* @return Google_Service_AccessContextManager_ListServicePerimetersResponse
*/
public function listAccessPoliciesServicePerimeters($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListServicePerimetersResponse");
}
/**
* Update a Service Perimeter. The longrunning operation from this RPC will have
* a successful status once the changes to the Service Perimeter have propagated
* to long-lasting storage. Service Perimeter containing errors will result in
* an error response for the first error encountered. (servicePerimeters.patch)
*
* @param string $name Required. Resource name for the ServicePerimeter. The
* `short_name` component must begin with a letter and only include alphanumeric
* and '_'. Format: `accessPolicies/{policy_id}/servicePerimeters/{short_name}`
* @param Google_Service_AccessContextManager_ServicePerimeter $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Mask to control which fields get
* updated. Must be non-empty.
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_ServicePerimeter $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Replace all existing Service Perimeters in an Access Policy with the Service
* Perimeters provided. This is done atomically. The longrunning operation from
* this RPC will have a successful status once all replacements have propagated
* to long-lasting storage. Replacements containing errors will result in an
* error response for the first error encountered. Replacement will be cancelled
* on error, existing Service Perimeters will not be affected.
* Operation.response field will contain ReplaceServicePerimetersResponse.
* (servicePerimeters.replaceAll)
*
* @param string $parent Required. Resource name for the access policy which
* owns these Service Perimeters. Format: `accessPolicies/{policy_id}`
* @param Google_Service_AccessContextManager_ReplaceServicePerimetersRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function replaceAll($parent, Google_Service_AccessContextManager_ReplaceServicePerimetersRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('replaceAll', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "operations" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $operations = $accesscontextmanagerService->operations;
* </code>
*/
class Google_Service_AccessContextManager_Resource_Operations extends Google_Service_Resource
{
/**
* Starts asynchronous cancellation on a long-running operation. The server
* makes a best effort to cancel the operation, but success is not guaranteed.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
* @param Google_Service_AccessContextManager_CancelOperationRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccesscontextmanagerEmpty
*/
public function cancel($name, Google_Service_AccessContextManager_CancelOperationRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_AccessContextManager_AccesscontextmanagerEmpty");
}
/**
* Deletes a long-running operation. This method indicates that the client is no
* longer interested in the operation result. It does not cancel the operation.
* If the server doesn't support this method, it returns
* `google.rpc.Code.UNIMPLEMENTED`. (operations.delete)
*
* @param string $name The name of the operation resource to be deleted.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_AccesscontextmanagerEmpty
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_AccesscontextmanagerEmpty");
}
/**
* Gets the latest state of a long-running operation. Clients can use this
* method to poll the operation result at intervals as recommended by the API
* service. (operations.get)
*
* @param string $name The name of the operation resource.
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Lists operations that match the specified filter in the request. If the
* server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the
* `name` binding allows API services to override the binding to use different
* resource name schemes, such as `users/operations`. To override the binding,
* API services can add a binding such as `"/v1/{name=users}/operations"` to
* their service configuration. For backwards compatibility, the default name
* includes the operations collection id, however overriding users must ensure
* the name binding is the parent resource, without the operations collection
* id. (operations.listOperations)
*
* @param string $name The name of the operation's parent resource.
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The standard list page size.
* @opt_param string filter The standard list filter.
* @opt_param string pageToken The standard list page token.
* @return Google_Service_AccessContextManager_ListOperationsResponse
*/
public function listOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListOperationsResponse");
}
}

View File

@@ -0,0 +1,28 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "organizations" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $organizations = $accesscontextmanagerService->organizations;
* </code>
*/
class Google_Service_AccessContextManager_Resource_Organizations extends Google_Service_Resource
{
}

View File

@@ -0,0 +1,123 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* The "gcpUserAccessBindings" collection of methods.
* Typical usage is:
* <code>
* $accesscontextmanagerService = new Google_Service_AccessContextManager(...);
* $gcpUserAccessBindings = $accesscontextmanagerService->gcpUserAccessBindings;
* </code>
*/
class Google_Service_AccessContextManager_Resource_OrganizationsGcpUserAccessBindings extends Google_Service_Resource
{
/**
* Creates a GcpUserAccessBinding. If the client specifies a name, the server
* will ignore it. Fails if a resource already exists with the same group_key.
* Completion of this long-running operation does not necessarily signify that
* the new binding is deployed onto all affected users, which may take more
* time. (gcpUserAccessBindings.create)
*
* @param string $parent Required. Example: "organizations/256"
* @param Google_Service_AccessContextManager_GcpUserAccessBinding $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function create($parent, Google_Service_AccessContextManager_GcpUserAccessBinding $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Deletes a GcpUserAccessBinding. Completion of this long-running operation
* does not necessarily signify that the binding deletion is deployed onto all
* affected users, which may take more time. (gcpUserAccessBindings.delete)
*
* @param string $name Required. Example:
* "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_Operation
*/
public function delete($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_AccessContextManager_Operation");
}
/**
* Gets the GcpUserAccessBinding with the given name.
* (gcpUserAccessBindings.get)
*
* @param string $name Required. Example:
* "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
* @param array $optParams Optional parameters.
* @return Google_Service_AccessContextManager_GcpUserAccessBinding
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AccessContextManager_GcpUserAccessBinding");
}
/**
* Lists all GcpUserAccessBindings for a Google Cloud organization.
* (gcpUserAccessBindings.listOrganizationsGcpUserAccessBindings)
*
* @param string $parent Required. Example: "organizations/256"
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize Optional. Maximum number of items to return. The
* server may return fewer items. If left blank, the server may return any
* number of items.
* @opt_param string pageToken Optional. If left blank, returns the first page.
* To enumerate all items, use the next_page_token from your previous list
* operation.
* @return Google_Service_AccessContextManager_ListGcpUserAccessBindingsResponse
*/
public function listOrganizationsGcpUserAccessBindings($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AccessContextManager_ListGcpUserAccessBindingsResponse");
}
/**
* Updates a GcpUserAccessBinding. Completion of this long-running operation
* does not necessarily signify that the changed binding is deployed onto all
* affected users, which may take more time. (gcpUserAccessBindings.patch)
*
* @param string $name Immutable. Assigned by the server during creation. The
* last segment has an arbitrary length and has only URI unreserved characters
* (as defined by [RFC 3986 Section
* 2.3](https://tools.ietf.org/html/rfc3986#section-2.3)). Should not be
* specified by the client during creation. Example:
* "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
* @param Google_Service_AccessContextManager_GcpUserAccessBinding $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask Required. Only the fields specified in this mask
* are updated. Because name and group_key cannot be changed, update_mask is
* required and must always be: update_mask { paths: "access_levels" }
* @return Google_Service_AccessContextManager_Operation
*/
public function patch($name, Google_Service_AccessContextManager_GcpUserAccessBinding $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('patch', array($params), "Google_Service_AccessContextManager_Operation");
}
}

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ServicePerimeter extends Google_Model
{
public $description;
public $name;
public $perimeterType;
protected $specType = 'Google_Service_AccessContextManager_ServicePerimeterConfig';
protected $specDataType = '';
protected $statusType = 'Google_Service_AccessContextManager_ServicePerimeterConfig';
protected $statusDataType = '';
public $title;
public $useExplicitDryRunSpec;
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPerimeterType($perimeterType)
{
$this->perimeterType = $perimeterType;
}
public function getPerimeterType()
{
return $this->perimeterType;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function setSpec(Google_Service_AccessContextManager_ServicePerimeterConfig $spec)
{
$this->spec = $spec;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function getSpec()
{
return $this->spec;
}
/**
* @param Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function setStatus(Google_Service_AccessContextManager_ServicePerimeterConfig $status)
{
$this->status = $status;
}
/**
* @return Google_Service_AccessContextManager_ServicePerimeterConfig
*/
public function getStatus()
{
return $this->status;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setUseExplicitDryRunSpec($useExplicitDryRunSpec)
{
$this->useExplicitDryRunSpec = $useExplicitDryRunSpec;
}
public function getUseExplicitDryRunSpec()
{
return $this->useExplicitDryRunSpec;
}
}

View File

@@ -0,0 +1,65 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_ServicePerimeterConfig extends Google_Collection
{
protected $collection_key = 'restrictedServices';
public $accessLevels;
public $resources;
public $restrictedServices;
protected $vpcAccessibleServicesType = 'Google_Service_AccessContextManager_VpcAccessibleServices';
protected $vpcAccessibleServicesDataType = '';
public function setAccessLevels($accessLevels)
{
$this->accessLevels = $accessLevels;
}
public function getAccessLevels()
{
return $this->accessLevels;
}
public function setResources($resources)
{
$this->resources = $resources;
}
public function getResources()
{
return $this->resources;
}
public function setRestrictedServices($restrictedServices)
{
$this->restrictedServices = $restrictedServices;
}
public function getRestrictedServices()
{
return $this->restrictedServices;
}
/**
* @param Google_Service_AccessContextManager_VpcAccessibleServices
*/
public function setVpcAccessibleServices(Google_Service_AccessContextManager_VpcAccessibleServices $vpcAccessibleServices)
{
$this->vpcAccessibleServices = $vpcAccessibleServices;
}
/**
* @return Google_Service_AccessContextManager_VpcAccessibleServices
*/
public function getVpcAccessibleServices()
{
return $this->vpcAccessibleServices;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_Status extends Google_Collection
{
protected $collection_key = 'details';
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;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AccessContextManager_VpcAccessibleServices extends Google_Collection
{
protected $collection_key = 'allowedServices';
public $allowedServices;
public $enableRestriction;
public function setAllowedServices($allowedServices)
{
$this->allowedServices = $allowedServices;
}
public function getAllowedServices()
{
return $this->allowedServices;
}
public function setEnableRestriction($enableRestriction)
{
$this->enableRestriction = $enableRestriction;
}
public function getEnableRestriction()
{
return $this->enableRestriction;
}
}

View File

@@ -51,13 +51,15 @@ class Google_Service_AdExchangeBuyer extends Google_Service
/**
* Constructs the internal representation of the AdExchangeBuyer service.
*
* @param Google_Client $client
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client)
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = 'https://www.googleapis.com/';
$this->rootUrl = $rootUrl ?: 'https://www.googleapis.com/';
$this->servicePath = 'adexchangebuyer/v1.4/';
$this->batchPath = 'batch/adexchangebuyer/v1.4';
$this->version = 'v1.4';
$this->serviceName = 'adexchangebuyer';

View File

@@ -24,6 +24,8 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
public $hTMLSnippet;
public $accountId;
public $adChoicesDestinationUrl;
protected $adTechnologyProvidersType = 'Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders';
protected $adTechnologyProvidersDataType = '';
public $advertiserId;
public $advertiserName;
public $agencyId;
@@ -33,6 +35,7 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
public $clickThroughUrl;
protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
protected $correctionsDataType = 'array';
public $creativeStatusIdentityType;
public $dealsStatus;
public $detectedDomains;
protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
@@ -79,6 +82,20 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
return $this->adChoicesDestinationUrl;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
*/
public function setAdTechnologyProviders(Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders $adTechnologyProviders)
{
$this->adTechnologyProviders = $adTechnologyProviders;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders
*/
public function getAdTechnologyProviders()
{
return $this->adTechnologyProviders;
}
public function setAdvertiserId($advertiserId)
{
$this->advertiserId = $advertiserId;
@@ -149,6 +166,14 @@ class Google_Service_AdExchangeBuyer_Creative extends Google_Collection
{
return $this->corrections;
}
public function setCreativeStatusIdentityType($creativeStatusIdentityType)
{
$this->creativeStatusIdentityType = $creativeStatusIdentityType;
}
public function getCreativeStatusIdentityType()
{
return $this->creativeStatusIdentityType;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders extends Google_Collection
{
protected $collection_key = 'detectedProviderIds';
public $detectedProviderIds;
public $hasUnidentifiedProvider;
public function setDetectedProviderIds($detectedProviderIds)
{
$this->detectedProviderIds = $detectedProviderIds;
}
public function getDetectedProviderIds()
{
return $this->detectedProviderIds;
}
public function setHasUnidentifiedProvider($hasUnidentifiedProvider)
{
$this->hasUnidentifiedProvider = $hasUnidentifiedProvider;
}
public function getHasUnidentifiedProvider()
{
return $this->hasUnidentifiedProvider;
}
}

View File

@@ -33,7 +33,6 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
protected $logoDataType = '';
public $price;
public $starRating;
public $store;
public $videoURL;
public function setAdvertiser($advertiser)
@@ -150,14 +149,6 @@ class Google_Service_AdExchangeBuyer_CreativeNativeAd extends Google_Collection
{
return $this->starRating;
}
public function setStore($store)
{
$this->store = $store;
}
public function getStore()
{
return $this->store;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;

View File

@@ -36,6 +36,7 @@ class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
public $isSetupComplete;
public $kind;
public $lastUpdateTimeMs;
public $makegoodRequestedReason;
public $name;
public $productId;
public $productRevisionNumber;
@@ -188,6 +189,14 @@ class Google_Service_AdExchangeBuyer_MarketplaceDeal extends Google_Collection
{
return $this->lastUpdateTimeMs;
}
public function setMakegoodRequestedReason($makegoodRequestedReason)
{
$this->makegoodRequestedReason = $makegoodRequestedReason;
}
public function getMakegoodRequestedReason()
{
return $this->makegoodRequestedReason;
}
public function setName($name)
{
$this->name = $name;

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_MobileApplication extends Google_Model
{
public $appStore;
public $externalAppId;
public function setAppStore($appStore)
{
$this->appStore = $appStore;
}
public function getAppStore()
{
return $this->appStore;
}
public function setExternalAppId($externalAppId)
{
$this->externalAppId = $externalAppId;
}
public function getExternalAppId()
{
return $this->externalAppId;
}
}

View File

@@ -34,6 +34,7 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collectio
public $isActive;
public $kind;
public $languages;
public $maximumQps;
public $minimumViewabilityDecile;
public $mobileCarriers;
public $mobileDevices;
@@ -173,6 +174,14 @@ class Google_Service_AdExchangeBuyer_PretargetingConfig extends Google_Collectio
{
return $this->languages;
}
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
public function getMaximumQps()
{
return $this->maximumQps;
}
public function setMinimumViewabilityDecile($minimumViewabilityDecile)
{
$this->minimumViewabilityDecile = $minimumViewabilityDecile;

View File

@@ -18,7 +18,6 @@
class Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Collection
{
protected $collection_key = 'topHeadlines';
public $accountId;
public $audience;
public $buyerPitchStatement;
public $directContact;
@@ -33,6 +32,9 @@ class Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Col
public $overview;
public $profileId;
public $programmaticContact;
public $publisherAppIds;
protected $publisherAppsType = 'Google_Service_AdExchangeBuyer_MobileApplication';
protected $publisherAppsDataType = 'array';
public $publisherDomains;
public $publisherProfileId;
protected $publisherProvidedForecastType = 'Google_Service_AdExchangeBuyer_PublisherProvidedForecast';
@@ -44,14 +46,6 @@ class Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Col
public $state;
public $topHeadlines;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAudience($audience)
{
$this->audience = $audience;
@@ -164,6 +158,28 @@ class Google_Service_AdExchangeBuyer_PublisherProfileApiProto extends Google_Col
{
return $this->programmaticContact;
}
public function setPublisherAppIds($publisherAppIds)
{
$this->publisherAppIds = $publisherAppIds;
}
public function getPublisherAppIds()
{
return $this->publisherAppIds;
}
/**
* @param Google_Service_AdExchangeBuyer_MobileApplication
*/
public function setPublisherApps($publisherApps)
{
$this->publisherApps = $publisherApps;
}
/**
* @return Google_Service_AdExchangeBuyer_MobileApplication
*/
public function getPublisherApps()
{
return $this->publisherApps;
}
public function setPublisherDomains($publisherDomains)
{
$this->publisherDomains = $publisherDomains;

View File

@@ -26,6 +26,8 @@ class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
protected $demogGenderCriteriaValueType = 'Google_Service_AdExchangeBuyer_TargetingValueDemogGenderCriteria';
protected $demogGenderCriteriaValueDataType = '';
public $longValue;
protected $requestPlatformTargetingValueType = 'Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting';
protected $requestPlatformTargetingValueDataType = '';
public $stringValue;
/**
@@ -92,6 +94,20 @@ class Google_Service_AdExchangeBuyer_TargetingValue extends Google_Model
{
return $this->longValue;
}
/**
* @param Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting
*/
public function setRequestPlatformTargetingValue(Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting $requestPlatformTargetingValue)
{
$this->requestPlatformTargetingValue = $requestPlatformTargetingValue;
}
/**
* @return Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting
*/
public function getRequestPlatformTargetingValue()
{
return $this->requestPlatformTargetingValue;
}
public function setStringValue($stringValue)
{
$this->stringValue = $stringValue;

View File

@@ -0,0 +1,31 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyer_TargetingValueRequestPlatformTargeting extends Google_Collection
{
protected $collection_key = 'requestPlatforms';
public $requestPlatforms;
public function setRequestPlatforms($requestPlatforms)
{
$this->requestPlatforms = $requestPlatforms;
}
public function getRequestPlatforms()
{
return $this->requestPlatforms;
}
}

View File

@@ -19,13 +19,13 @@
* Service definition for AdExchangeBuyerII (v2beta1).
*
* <p>
* Accesses the latest features for managing Ad Exchange accounts, Real-Time
* Bidding configurations and auction metrics, and Marketplace programmatic
* Accesses the latest features for managing Authorized Buyers accounts, Real-
* Time Bidding configurations and auction metrics, and Marketplace programmatic
* deals.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/ad-exchange/buyer-rest/reference/rest/" target="_blank">Documentation</a>
* <a href="https://developers.google.com/authorized-buyers/apis/reference/rest/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
@@ -41,6 +41,10 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
public $accounts_clients_users;
public $accounts_creatives;
public $accounts_creatives_dealAssociations;
public $accounts_finalizedProposals;
public $accounts_products;
public $accounts_proposals;
public $accounts_publisherProfiles;
public $bidders_accounts_filterSets;
public $bidders_accounts_filterSets_bidMetrics;
public $bidders_accounts_filterSets_bidResponseErrors;
@@ -67,13 +71,15 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
/**
* Constructs the internal representation of the AdExchangeBuyerII service.
*
* @param Google_Client $client
* @param Google_Client $client The client used to deliver requests.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct(Google_Client $client)
public function __construct(Google_Client $client, $rootUrl = null)
{
parent::__construct($client);
$this->rootUrl = 'https://adexchangebuyer.googleapis.com/';
$this->rootUrl = $rootUrl ?: 'https://adexchangebuyer.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v2beta1';
$this->serviceName = 'adexchangebuyer2';
@@ -117,10 +123,6 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'partnerClientId' => array(
'location' => 'query',
'type' => 'string',
@@ -129,6 +131,10 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'update' => array(
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}',
@@ -257,14 +263,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'update' => array(
'path' => 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}',
@@ -334,6 +340,10 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'query' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
@@ -342,10 +352,6 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'location' => 'query',
'type' => 'integer',
),
'query' => array(
'location' => 'query',
'type' => 'string',
),
),
),'stopWatching' => array(
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching',
@@ -431,6 +437,10 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'query' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
@@ -439,10 +449,6 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'location' => 'query',
'type' => 'integer',
),
'query' => array(
'location' => 'query',
'type' => 'string',
),
),
),'remove' => array(
'path' => 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove',
@@ -463,6 +469,298 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
)
)
);
$this->accounts_finalizedProposals = new Google_Service_AdExchangeBuyerII_Resource_AccountsFinalizedProposals(
$this,
$this->serviceName,
'finalizedProposals',
array(
'methods' => array(
'list' => array(
'path' => 'v2beta1/accounts/{accountId}/finalizedProposals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'filterSyntax' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->accounts_products = new Google_Service_AdExchangeBuyerII_Resource_AccountsProducts(
$this,
$this->serviceName,
'products',
array(
'methods' => array(
'get' => array(
'path' => 'v2beta1/accounts/{accountId}/products/{productId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'productId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v2beta1/accounts/{accountId}/products',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->accounts_proposals = new Google_Service_AdExchangeBuyerII_Resource_AccountsProposals(
$this,
$this->serviceName,
'proposals',
array(
'methods' => array(
'accept' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:accept',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'addNote' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'cancelNegotiation' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'completeSetup' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'create' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'filterSyntax' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'pause' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:pause',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'resume' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}:resume',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'v2beta1/accounts/{accountId}/proposals/{proposalId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->accounts_publisherProfiles = new Google_Service_AdExchangeBuyerII_Resource_AccountsPublisherProfiles(
$this,
$this->serviceName,
'publisherProfiles',
array(
'methods' => array(
'get' => array(
'path' => 'v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'publisherProfileId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v2beta1/accounts/{accountId}/publisherProfiles',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->bidders_accounts_filterSets = new Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSets(
$this,
$this->serviceName,
@@ -512,14 +810,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -540,14 +838,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -624,14 +922,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -746,14 +1044,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -864,14 +1162,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -920,14 +1218,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -948,14 +1246,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -1004,14 +1302,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -1070,14 +1368,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'integer',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
@@ -1154,14 +1452,14 @@ class Google_Service_AdExchangeBuyerII extends Google_Service
'type' => 'string',
'required' => true,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_AcceptProposalRequest extends Google_Model
{
public $proposalRevision;
public function setProposalRevision($proposalRevision)
{
$this->proposalRevision = $proposalRevision;
}
public function getProposalRevision()
{
return $this->proposalRevision;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_AdSize extends Google_Model
{
public $height;
public $sizeType;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setSizeType($sizeType)
{
$this->sizeType = $sizeType;
}
public function getSizeType()
{
return $this->sizeType;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_AdTechnologyProviders extends Google_Collection
{
protected $collection_key = 'detectedProviderIds';
public $detectedProviderIds;
public $hasUnidentifiedProvider;
public function setDetectedProviderIds($detectedProviderIds)
{
$this->detectedProviderIds = $detectedProviderIds;
}
public function getDetectedProviderIds()
{
return $this->detectedProviderIds;
}
public function setHasUnidentifiedProvider($hasUnidentifiedProvider)
{
$this->hasUnidentifiedProvider = $hasUnidentifiedProvider;
}
public function getHasUnidentifiedProvider()
{
return $this->hasUnidentifiedProvider;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_AddNoteRequest extends Google_Model
{
protected $noteType = 'Google_Service_AdExchangeBuyerII_Note';
protected $noteDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_Note
*/
public function setNote(Google_Service_AdExchangeBuyerII_Note $note)
{
$this->note = $note;
}
/**
* @return Google_Service_AdExchangeBuyerII_Note
*/
public function getNote()
{
return $this->note;
}
}

View File

@@ -27,6 +27,8 @@ class Google_Service_AdExchangeBuyerII_BidMetricsRow extends Google_Model
protected $impressionsWonDataType = '';
protected $measurableImpressionsType = 'Google_Service_AdExchangeBuyerII_MetricValue';
protected $measurableImpressionsDataType = '';
protected $reachedQueriesType = 'Google_Service_AdExchangeBuyerII_MetricValue';
protected $reachedQueriesDataType = '';
protected $rowDimensionsType = 'Google_Service_AdExchangeBuyerII_RowDimensions';
protected $rowDimensionsDataType = '';
protected $viewableImpressionsType = 'Google_Service_AdExchangeBuyerII_MetricValue';
@@ -102,6 +104,20 @@ class Google_Service_AdExchangeBuyerII_BidMetricsRow extends Google_Model
{
return $this->measurableImpressions;
}
/**
* @param Google_Service_AdExchangeBuyerII_MetricValue
*/
public function setReachedQueries(Google_Service_AdExchangeBuyerII_MetricValue $reachedQueries)
{
$this->reachedQueries = $reachedQueries;
}
/**
* @return Google_Service_AdExchangeBuyerII_MetricValue
*/
public function getReachedQueries()
{
return $this->reachedQueries;
}
/**
* @param Google_Service_AdExchangeBuyerII_RowDimensions
*/

View File

@@ -0,0 +1,30 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_Buyer extends Google_Model
{
public $accountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_CancelNegotiationRequest extends Google_Model
{
}

View File

@@ -0,0 +1,20 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_CompleteSetupRequest extends Google_Model
{
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_ContactInformation extends Google_Model
{
public $email;
public $name;
public function setEmail($email)
{
$this->email = $email;
}
public function getEmail()
{
return $this->email;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}

View File

@@ -20,6 +20,8 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
protected $collection_key = 'vendorIds';
public $accountId;
public $adChoicesDestinationUrl;
protected $adTechnologyProvidersType = 'Google_Service_AdExchangeBuyerII_AdTechnologyProviders';
protected $adTechnologyProvidersDataType = '';
public $advertiserName;
public $agencyId;
public $apiUpdateTime;
@@ -29,13 +31,12 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
protected $correctionsDataType = 'array';
public $creativeId;
public $dealsStatus;
public $declaredClickThroughUrls;
public $detectedAdvertiserIds;
public $detectedDomains;
public $detectedLanguages;
public $detectedProductCategories;
public $detectedSensitiveCategories;
protected $filteringStatsType = 'Google_Service_AdExchangeBuyerII_FilteringStats';
protected $filteringStatsDataType = '';
protected $htmlType = 'Google_Service_AdExchangeBuyerII_HtmlContent';
protected $htmlDataType = '';
public $impressionTrackingUrls;
@@ -66,6 +67,20 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
{
return $this->adChoicesDestinationUrl;
}
/**
* @param Google_Service_AdExchangeBuyerII_AdTechnologyProviders
*/
public function setAdTechnologyProviders(Google_Service_AdExchangeBuyerII_AdTechnologyProviders $adTechnologyProviders)
{
$this->adTechnologyProviders = $adTechnologyProviders;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdTechnologyProviders
*/
public function getAdTechnologyProviders()
{
return $this->adTechnologyProviders;
}
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
@@ -136,6 +151,14 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
{
return $this->dealsStatus;
}
public function setDeclaredClickThroughUrls($declaredClickThroughUrls)
{
$this->declaredClickThroughUrls = $declaredClickThroughUrls;
}
public function getDeclaredClickThroughUrls()
{
return $this->declaredClickThroughUrls;
}
public function setDetectedAdvertiserIds($detectedAdvertiserIds)
{
$this->detectedAdvertiserIds = $detectedAdvertiserIds;
@@ -176,20 +199,6 @@ class Google_Service_AdExchangeBuyerII_Creative extends Google_Collection
{
return $this->detectedSensitiveCategories;
}
/**
* @param Google_Service_AdExchangeBuyerII_FilteringStats
*/
public function setFilteringStats(Google_Service_AdExchangeBuyerII_FilteringStats $filteringStats)
{
$this->filteringStats = $filteringStats;
}
/**
* @return Google_Service_AdExchangeBuyerII_FilteringStats
*/
public function getFilteringStats()
{
return $this->filteringStats;
}
/**
* @param Google_Service_AdExchangeBuyerII_HtmlContent
*/

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_CreativeRestrictions extends Google_Collection
{
protected $collection_key = 'creativeSpecifications';
public $creativeFormat;
protected $creativeSpecificationsType = 'Google_Service_AdExchangeBuyerII_CreativeSpecification';
protected $creativeSpecificationsDataType = 'array';
public $skippableAdType;
public function setCreativeFormat($creativeFormat)
{
$this->creativeFormat = $creativeFormat;
}
public function getCreativeFormat()
{
return $this->creativeFormat;
}
/**
* @param Google_Service_AdExchangeBuyerII_CreativeSpecification
*/
public function setCreativeSpecifications($creativeSpecifications)
{
$this->creativeSpecifications = $creativeSpecifications;
}
/**
* @return Google_Service_AdExchangeBuyerII_CreativeSpecification
*/
public function getCreativeSpecifications()
{
return $this->creativeSpecifications;
}
public function setSkippableAdType($skippableAdType)
{
$this->skippableAdType = $skippableAdType;
}
public function getSkippableAdType()
{
return $this->skippableAdType;
}
}

View File

@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_CreativeSize extends Google_Collection
{
protected $collection_key = 'companionSizes';
public $allowedFormats;
protected $companionSizesType = 'Google_Service_AdExchangeBuyerII_Size';
protected $companionSizesDataType = 'array';
public $creativeSizeType;
public $nativeTemplate;
protected $sizeType = 'Google_Service_AdExchangeBuyerII_Size';
protected $sizeDataType = '';
public $skippableAdType;
public function setAllowedFormats($allowedFormats)
{
$this->allowedFormats = $allowedFormats;
}
public function getAllowedFormats()
{
return $this->allowedFormats;
}
/**
* @param Google_Service_AdExchangeBuyerII_Size
*/
public function setCompanionSizes($companionSizes)
{
$this->companionSizes = $companionSizes;
}
/**
* @return Google_Service_AdExchangeBuyerII_Size
*/
public function getCompanionSizes()
{
return $this->companionSizes;
}
public function setCreativeSizeType($creativeSizeType)
{
$this->creativeSizeType = $creativeSizeType;
}
public function getCreativeSizeType()
{
return $this->creativeSizeType;
}
public function setNativeTemplate($nativeTemplate)
{
$this->nativeTemplate = $nativeTemplate;
}
public function getNativeTemplate()
{
return $this->nativeTemplate;
}
/**
* @param Google_Service_AdExchangeBuyerII_Size
*/
public function setSize(Google_Service_AdExchangeBuyerII_Size $size)
{
$this->size = $size;
}
/**
* @return Google_Service_AdExchangeBuyerII_Size
*/
public function getSize()
{
return $this->size;
}
public function setSkippableAdType($skippableAdType)
{
$this->skippableAdType = $skippableAdType;
}
public function getSkippableAdType()
{
return $this->skippableAdType;
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_CreativeSpecification extends Google_Collection
{
protected $collection_key = 'creativeCompanionSizes';
protected $creativeCompanionSizesType = 'Google_Service_AdExchangeBuyerII_AdSize';
protected $creativeCompanionSizesDataType = 'array';
protected $creativeSizeType = 'Google_Service_AdExchangeBuyerII_AdSize';
protected $creativeSizeDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_AdSize
*/
public function setCreativeCompanionSizes($creativeCompanionSizes)
{
$this->creativeCompanionSizes = $creativeCompanionSizes;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdSize
*/
public function getCreativeCompanionSizes()
{
return $this->creativeCompanionSizes;
}
/**
* @param Google_Service_AdExchangeBuyerII_AdSize
*/
public function setCreativeSize(Google_Service_AdExchangeBuyerII_AdSize $creativeSize)
{
$this->creativeSize = $creativeSize;
}
/**
* @return Google_Service_AdExchangeBuyerII_AdSize
*/
public function getCreativeSize()
{
return $this->creativeSize;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_CriteriaTargeting extends Google_Collection
{
protected $collection_key = 'targetedCriteriaIds';
public $excludedCriteriaIds;
public $targetedCriteriaIds;
public function setExcludedCriteriaIds($excludedCriteriaIds)
{
$this->excludedCriteriaIds = $excludedCriteriaIds;
}
public function getExcludedCriteriaIds()
{
return $this->excludedCriteriaIds;
}
public function setTargetedCriteriaIds($targetedCriteriaIds)
{
$this->targetedCriteriaIds = $targetedCriteriaIds;
}
public function getTargetedCriteriaIds()
{
return $this->targetedCriteriaIds;
}
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_DayPart extends Google_Model
{
public $dayOfWeek;
protected $endTimeType = 'Google_Service_AdExchangeBuyerII_TimeOfDay';
protected $endTimeDataType = '';
protected $startTimeType = 'Google_Service_AdExchangeBuyerII_TimeOfDay';
protected $startTimeDataType = '';
public function setDayOfWeek($dayOfWeek)
{
$this->dayOfWeek = $dayOfWeek;
}
public function getDayOfWeek()
{
return $this->dayOfWeek;
}
/**
* @param Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function setEndTime(Google_Service_AdExchangeBuyerII_TimeOfDay $endTime)
{
$this->endTime = $endTime;
}
/**
* @return Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function setStartTime(Google_Service_AdExchangeBuyerII_TimeOfDay $startTime)
{
$this->startTime = $startTime;
}
/**
* @return Google_Service_AdExchangeBuyerII_TimeOfDay
*/
public function getStartTime()
{
return $this->startTime;
}
}

View File

@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_DayPartTargeting extends Google_Collection
{
protected $collection_key = 'dayParts';
protected $dayPartsType = 'Google_Service_AdExchangeBuyerII_DayPart';
protected $dayPartsDataType = 'array';
public $timeZoneType;
/**
* @param Google_Service_AdExchangeBuyerII_DayPart
*/
public function setDayParts($dayParts)
{
$this->dayParts = $dayParts;
}
/**
* @return Google_Service_AdExchangeBuyerII_DayPart
*/
public function getDayParts()
{
return $this->dayParts;
}
public function setTimeZoneType($timeZoneType)
{
$this->timeZoneType = $timeZoneType;
}
public function getTimeZoneType()
{
return $this->timeZoneType;
}
}

View File

@@ -0,0 +1,303 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_Deal extends Google_Collection
{
protected $collection_key = 'targetingCriterion';
public $availableEndTime;
public $availableStartTime;
protected $buyerPrivateDataType = 'Google_Service_AdExchangeBuyerII_PrivateData';
protected $buyerPrivateDataDataType = '';
public $createProductId;
public $createProductRevision;
public $createTime;
public $creativePreApprovalPolicy;
protected $creativeRestrictionsType = 'Google_Service_AdExchangeBuyerII_CreativeRestrictions';
protected $creativeRestrictionsDataType = '';
public $creativeSafeFrameCompatibility;
public $dealId;
protected $dealServingMetadataType = 'Google_Service_AdExchangeBuyerII_DealServingMetadata';
protected $dealServingMetadataDataType = '';
protected $dealTermsType = 'Google_Service_AdExchangeBuyerII_DealTerms';
protected $dealTermsDataType = '';
protected $deliveryControlType = 'Google_Service_AdExchangeBuyerII_DeliveryControl';
protected $deliveryControlDataType = '';
public $description;
public $displayName;
public $externalDealId;
public $isSetupComplete;
public $programmaticCreativeSource;
public $proposalId;
protected $sellerContactsType = 'Google_Service_AdExchangeBuyerII_ContactInformation';
protected $sellerContactsDataType = 'array';
public $syndicationProduct;
protected $targetingType = 'Google_Service_AdExchangeBuyerII_MarketplaceTargeting';
protected $targetingDataType = '';
protected $targetingCriterionType = 'Google_Service_AdExchangeBuyerII_TargetingCriteria';
protected $targetingCriterionDataType = 'array';
public $updateTime;
public $webPropertyCode;
public function setAvailableEndTime($availableEndTime)
{
$this->availableEndTime = $availableEndTime;
}
public function getAvailableEndTime()
{
return $this->availableEndTime;
}
public function setAvailableStartTime($availableStartTime)
{
$this->availableStartTime = $availableStartTime;
}
public function getAvailableStartTime()
{
return $this->availableStartTime;
}
/**
* @param Google_Service_AdExchangeBuyerII_PrivateData
*/
public function setBuyerPrivateData(Google_Service_AdExchangeBuyerII_PrivateData $buyerPrivateData)
{
$this->buyerPrivateData = $buyerPrivateData;
}
/**
* @return Google_Service_AdExchangeBuyerII_PrivateData
*/
public function getBuyerPrivateData()
{
return $this->buyerPrivateData;
}
public function setCreateProductId($createProductId)
{
$this->createProductId = $createProductId;
}
public function getCreateProductId()
{
return $this->createProductId;
}
public function setCreateProductRevision($createProductRevision)
{
$this->createProductRevision = $createProductRevision;
}
public function getCreateProductRevision()
{
return $this->createProductRevision;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
public function setCreativePreApprovalPolicy($creativePreApprovalPolicy)
{
$this->creativePreApprovalPolicy = $creativePreApprovalPolicy;
}
public function getCreativePreApprovalPolicy()
{
return $this->creativePreApprovalPolicy;
}
/**
* @param Google_Service_AdExchangeBuyerII_CreativeRestrictions
*/
public function setCreativeRestrictions(Google_Service_AdExchangeBuyerII_CreativeRestrictions $creativeRestrictions)
{
$this->creativeRestrictions = $creativeRestrictions;
}
/**
* @return Google_Service_AdExchangeBuyerII_CreativeRestrictions
*/
public function getCreativeRestrictions()
{
return $this->creativeRestrictions;
}
public function setCreativeSafeFrameCompatibility($creativeSafeFrameCompatibility)
{
$this->creativeSafeFrameCompatibility = $creativeSafeFrameCompatibility;
}
public function getCreativeSafeFrameCompatibility()
{
return $this->creativeSafeFrameCompatibility;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
/**
* @param Google_Service_AdExchangeBuyerII_DealServingMetadata
*/
public function setDealServingMetadata(Google_Service_AdExchangeBuyerII_DealServingMetadata $dealServingMetadata)
{
$this->dealServingMetadata = $dealServingMetadata;
}
/**
* @return Google_Service_AdExchangeBuyerII_DealServingMetadata
*/
public function getDealServingMetadata()
{
return $this->dealServingMetadata;
}
/**
* @param Google_Service_AdExchangeBuyerII_DealTerms
*/
public function setDealTerms(Google_Service_AdExchangeBuyerII_DealTerms $dealTerms)
{
$this->dealTerms = $dealTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_DealTerms
*/
public function getDealTerms()
{
return $this->dealTerms;
}
/**
* @param Google_Service_AdExchangeBuyerII_DeliveryControl
*/
public function setDeliveryControl(Google_Service_AdExchangeBuyerII_DeliveryControl $deliveryControl)
{
$this->deliveryControl = $deliveryControl;
}
/**
* @return Google_Service_AdExchangeBuyerII_DeliveryControl
*/
public function getDeliveryControl()
{
return $this->deliveryControl;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setExternalDealId($externalDealId)
{
$this->externalDealId = $externalDealId;
}
public function getExternalDealId()
{
return $this->externalDealId;
}
public function setIsSetupComplete($isSetupComplete)
{
$this->isSetupComplete = $isSetupComplete;
}
public function getIsSetupComplete()
{
return $this->isSetupComplete;
}
public function setProgrammaticCreativeSource($programmaticCreativeSource)
{
$this->programmaticCreativeSource = $programmaticCreativeSource;
}
public function getProgrammaticCreativeSource()
{
return $this->programmaticCreativeSource;
}
public function setProposalId($proposalId)
{
$this->proposalId = $proposalId;
}
public function getProposalId()
{
return $this->proposalId;
}
/**
* @param Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function setSellerContacts($sellerContacts)
{
$this->sellerContacts = $sellerContacts;
}
/**
* @return Google_Service_AdExchangeBuyerII_ContactInformation
*/
public function getSellerContacts()
{
return $this->sellerContacts;
}
public function setSyndicationProduct($syndicationProduct)
{
$this->syndicationProduct = $syndicationProduct;
}
public function getSyndicationProduct()
{
return $this->syndicationProduct;
}
/**
* @param Google_Service_AdExchangeBuyerII_MarketplaceTargeting
*/
public function setTargeting(Google_Service_AdExchangeBuyerII_MarketplaceTargeting $targeting)
{
$this->targeting = $targeting;
}
/**
* @return Google_Service_AdExchangeBuyerII_MarketplaceTargeting
*/
public function getTargeting()
{
return $this->targeting;
}
/**
* @param Google_Service_AdExchangeBuyerII_TargetingCriteria
*/
public function setTargetingCriterion($targetingCriterion)
{
$this->targetingCriterion = $targetingCriterion;
}
/**
* @return Google_Service_AdExchangeBuyerII_TargetingCriteria
*/
public function getTargetingCriterion()
{
return $this->targetingCriterion;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

View File

@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_DealPauseStatus extends Google_Model
{
public $buyerPauseReason;
public $firstPausedBy;
public $hasBuyerPaused;
public $hasSellerPaused;
public $sellerPauseReason;
public function setBuyerPauseReason($buyerPauseReason)
{
$this->buyerPauseReason = $buyerPauseReason;
}
public function getBuyerPauseReason()
{
return $this->buyerPauseReason;
}
public function setFirstPausedBy($firstPausedBy)
{
$this->firstPausedBy = $firstPausedBy;
}
public function getFirstPausedBy()
{
return $this->firstPausedBy;
}
public function setHasBuyerPaused($hasBuyerPaused)
{
$this->hasBuyerPaused = $hasBuyerPaused;
}
public function getHasBuyerPaused()
{
return $this->hasBuyerPaused;
}
public function setHasSellerPaused($hasSellerPaused)
{
$this->hasSellerPaused = $hasSellerPaused;
}
public function getHasSellerPaused()
{
return $this->hasSellerPaused;
}
public function setSellerPauseReason($sellerPauseReason)
{
$this->sellerPauseReason = $sellerPauseReason;
}
public function getSellerPauseReason()
{
return $this->sellerPauseReason;
}
}

View File

@@ -0,0 +1,37 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_DealServingMetadata extends Google_Model
{
protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyerII_DealPauseStatus';
protected $dealPauseStatusDataType = '';
/**
* @param Google_Service_AdExchangeBuyerII_DealPauseStatus
*/
public function setDealPauseStatus(Google_Service_AdExchangeBuyerII_DealPauseStatus $dealPauseStatus)
{
$this->dealPauseStatus = $dealPauseStatus;
}
/**
* @return Google_Service_AdExchangeBuyerII_DealPauseStatus
*/
public function getDealPauseStatus()
{
return $this->dealPauseStatus;
}
}

View File

@@ -0,0 +1,121 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_DealTerms extends Google_Model
{
public $brandingType;
public $description;
protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyerII_Price';
protected $estimatedGrossSpendDataType = '';
public $estimatedImpressionsPerDay;
protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms';
protected $guaranteedFixedPriceTermsDataType = '';
protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms';
protected $nonGuaranteedAuctionTermsDataType = '';
protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms';
protected $nonGuaranteedFixedPriceTermsDataType = '';
public $sellerTimeZone;
public function setBrandingType($brandingType)
{
$this->brandingType = $brandingType;
}
public function getBrandingType()
{
return $this->brandingType;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_AdExchangeBuyerII_Price
*/
public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyerII_Price $estimatedGrossSpend)
{
$this->estimatedGrossSpend = $estimatedGrossSpend;
}
/**
* @return Google_Service_AdExchangeBuyerII_Price
*/
public function getEstimatedGrossSpend()
{
return $this->estimatedGrossSpend;
}
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
{
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
}
public function getEstimatedImpressionsPerDay()
{
return $this->estimatedImpressionsPerDay;
}
/**
* @param Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms
*/
public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
{
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_GuaranteedFixedPriceTerms
*/
public function getGuaranteedFixedPriceTerms()
{
return $this->guaranteedFixedPriceTerms;
}
/**
* @param Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms
*/
public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
{
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_NonGuaranteedAuctionTerms
*/
public function getNonGuaranteedAuctionTerms()
{
return $this->nonGuaranteedAuctionTerms;
}
/**
* @param Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms
*/
public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
{
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyerII_NonGuaranteedFixedPriceTerms
*/
public function getNonGuaranteedFixedPriceTerms()
{
return $this->nonGuaranteedFixedPriceTerms;
}
public function setSellerTimeZone($sellerTimeZone)
{
$this->sellerTimeZone = $sellerTimeZone;
}
public function getSellerTimeZone()
{
return $this->sellerTimeZone;
}
}

View File

@@ -0,0 +1,56 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_DeliveryControl extends Google_Collection
{
protected $collection_key = 'frequencyCaps';
public $creativeBlockingLevel;
public $deliveryRateType;
protected $frequencyCapsType = 'Google_Service_AdExchangeBuyerII_FrequencyCap';
protected $frequencyCapsDataType = 'array';
public function setCreativeBlockingLevel($creativeBlockingLevel)
{
$this->creativeBlockingLevel = $creativeBlockingLevel;
}
public function getCreativeBlockingLevel()
{
return $this->creativeBlockingLevel;
}
public function setDeliveryRateType($deliveryRateType)
{
$this->deliveryRateType = $deliveryRateType;
}
public function getDeliveryRateType()
{
return $this->deliveryRateType;
}
/**
* @param Google_Service_AdExchangeBuyerII_FrequencyCap
*/
public function setFrequencyCaps($frequencyCaps)
{
$this->frequencyCaps = $frequencyCaps;
}
/**
* @return Google_Service_AdExchangeBuyerII_FrequencyCap
*/
public function getFrequencyCaps()
{
return $this->frequencyCaps;
}
}

View File

@@ -20,9 +20,11 @@ class Google_Service_AdExchangeBuyerII_FilterSet extends Google_Collection
protected $collection_key = 'sellerNetworkIds';
protected $absoluteDateRangeType = 'Google_Service_AdExchangeBuyerII_AbsoluteDateRange';
protected $absoluteDateRangeDataType = '';
public $breakdownDimensions;
public $creativeId;
public $dealId;
public $environment;
public $format;
public $formats;
public $name;
public $platforms;
@@ -48,6 +50,14 @@ class Google_Service_AdExchangeBuyerII_FilterSet extends Google_Collection
{
return $this->absoluteDateRange;
}
public function setBreakdownDimensions($breakdownDimensions)
{
$this->breakdownDimensions = $breakdownDimensions;
}
public function getBreakdownDimensions()
{
return $this->breakdownDimensions;
}
public function setCreativeId($creativeId)
{
$this->creativeId = $creativeId;
@@ -72,6 +82,14 @@ class Google_Service_AdExchangeBuyerII_FilterSet extends Google_Collection
{
return $this->environment;
}
public function setFormat($format)
{
$this->format = $format;
}
public function getFormat()
{
return $this->format;
}
public function setFormats($formats)
{
$this->formats = $formats;

View File

@@ -19,6 +19,7 @@ class Google_Service_AdExchangeBuyerII_FilteredBidDetailRow extends Google_Model
{
protected $bidCountType = 'Google_Service_AdExchangeBuyerII_MetricValue';
protected $bidCountDataType = '';
public $detail;
public $detailId;
protected $rowDimensionsType = 'Google_Service_AdExchangeBuyerII_RowDimensions';
protected $rowDimensionsDataType = '';
@@ -37,6 +38,14 @@ class Google_Service_AdExchangeBuyerII_FilteredBidDetailRow extends Google_Model
{
return $this->bidCount;
}
public function setDetail($detail)
{
$this->detail = $detail;
}
public function getDetail()
{
return $this->detail;
}
public function setDetailId($detailId)
{
$this->detailId = $detailId;

View File

@@ -1,54 +0,0 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_FilteringStats extends Google_Collection
{
protected $collection_key = 'reasons';
protected $dateType = 'Google_Service_AdExchangeBuyerII_Date';
protected $dateDataType = '';
protected $reasonsType = 'Google_Service_AdExchangeBuyerII_Reason';
protected $reasonsDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyerII_Date
*/
public function setDate(Google_Service_AdExchangeBuyerII_Date $date)
{
$this->date = $date;
}
/**
* @return Google_Service_AdExchangeBuyerII_Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param Google_Service_AdExchangeBuyerII_Reason
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return Google_Service_AdExchangeBuyerII_Reason
*/
public function getReasons()
{
return $this->reasons;
}
}

View File

@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_FirstPartyMobileApplicationTargeting extends Google_Collection
{
protected $collection_key = 'targetedAppIds';
public $excludedAppIds;
public $targetedAppIds;
public function setExcludedAppIds($excludedAppIds)
{
$this->excludedAppIds = $excludedAppIds;
}
public function getExcludedAppIds()
{
return $this->excludedAppIds;
}
public function setTargetedAppIds($targetedAppIds)
{
$this->targetedAppIds = $targetedAppIds;
}
public function getTargetedAppIds()
{
return $this->targetedAppIds;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
class Google_Service_AdExchangeBuyerII_FrequencyCap extends Google_Model
{
public $maxImpressions;
public $numTimeUnits;
public $timeUnitType;
public function setMaxImpressions($maxImpressions)
{
$this->maxImpressions = $maxImpressions;
}
public function getMaxImpressions()
{
return $this->maxImpressions;
}
public function setNumTimeUnits($numTimeUnits)
{
$this->numTimeUnits = $numTimeUnits;
}
public function getNumTimeUnits()
{
return $this->numTimeUnits;
}
public function setTimeUnitType($timeUnitType)
{
$this->timeUnitType = $timeUnitType;
}
public function getTimeUnitType()
{
return $this->timeUnitType;
}
}

Some files were not shown because too many files have changed in this diff Show More