Initial commit

This commit is contained in:
2019-10-13 18:38:03 +02:00
commit 759eb88ef8
10124 changed files with 838037 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# 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

@@ -0,0 +1,36 @@
---
name: Bug report
about: Create a report to help us improve
---
Thanks for stopping by to let us know something could be better!
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
- Search the issues already opened: https://github.com/googleapis/google-api-php-client-services/issues
- Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+php
If you are still having issues, please be sure to include as much information as possible:
#### Environment details
- OS:
- PHP version:
- Package name and version:
#### Steps to reproduce
1. ...
#### Code example
```php
# example
```
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!

View File

@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for this library
---
Thanks for stopping by to let us know something could be better!
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.
---
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

View File

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

View File

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

View File

@@ -0,0 +1,43 @@
# Contributor Code of Conduct
As contributors and maintainers of this project,
and in the interest of fostering an open and welcoming community,
we pledge to respect all people who contribute through reporting issues,
posting feature requests, updating documentation,
submitting pull requests or patches, and other activities.
We are committed to making participation in this project
a harassment-free experience for everyone,
regardless of level of experience, gender, gender identity and expression,
sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information,
such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct.
By adopting this Code of Conduct,
project maintainers commit themselves to fairly and consistently
applying these principles to every aspect of managing this project.
Project maintainers who do not follow or enforce the Code of Conduct
may be permanently removed from the project team.
This code of conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.
Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by opening an issue
or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.2.0,
available at [http://contributor-covenant.org/version/1/2/0/](http://contributor-covenant.org/version/1/2/0/)

203
vendor/google/apiclient-services/LICENSE vendored Normal file
View File

@@ -0,0 +1,203 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.

View File

@@ -0,0 +1,23 @@
Google PHP API Client Services
==============================
## Requirements
[Google API PHP Client](https://github.com/googleapis/google-api-php-client/releases)
## Usage in v2 of Google API PHP Client
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/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:
```sh
composer require google/apiclient-services:dev-master
```

View File

@@ -0,0 +1,19 @@
{
"name": "google/apiclient-services",
"type": "library",
"description": "Client library for Google APIs",
"keywords": ["google"],
"homepage": "http://developers.google.com/api-client-library/php",
"license": "Apache-2.0",
"require": {
"php": ">=5.4"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"autoload": {
"psr-0": {
"Google_Service_": "src"
}
}
}

View File

@@ -0,0 +1,11 @@
<?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

@@ -0,0 +1,92 @@
<?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 AbusiveExperienceReport (v1).
*
* <p>
* Views Abusive Experience Report data, and gets a list of sites that have a
* significant number of abusive experiences.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/abusive-experience-report/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
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;
/**
* Constructs the internal representation of the AbusiveExperienceReport
* 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://abusiveexperiencereport.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'abusiveexperiencereport';
$this->sites = new Google_Service_AbusiveExperienceReport_Resource_Sites(
$this,
$this->serviceName,
'sites',
array(
'methods' => array(
'get' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->violatingSites = new Google_Service_AbusiveExperienceReport_Resource_ViolatingSites(
$this,
$this->serviceName,
'violatingSites',
array(
'methods' => array(
'list' => array(
'path' => 'v1/violatingSites',
'httpMethod' => 'GET',
'parameters' => array(),
),
)
)
);
}
}

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.
*/
/**
* The "sites" collection of methods.
* Typical usage is:
* <code>
* $abusiveexperiencereportService = new Google_Service_AbusiveExperienceReport(...);
* $sites = $abusiveexperiencereportService->sites;
* </code>
*/
class Google_Service_AbusiveExperienceReport_Resource_Sites extends Google_Service_Resource
{
/**
* Gets a summary of the abusive experience rating of a site. (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 array $optParams Optional parameters.
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/
public function get($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_AbusiveExperienceReport_SiteSummaryResponse");
}
}

View File

@@ -0,0 +1,41 @@
<?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 "violatingSites" collection of methods.
* Typical usage is:
* <code>
* $abusiveexperiencereportService = new Google_Service_AbusiveExperienceReport(...);
* $violatingSites = $abusiveexperiencereportService->violatingSites;
* </code>
*/
class Google_Service_AbusiveExperienceReport_Resource_ViolatingSites extends Google_Service_Resource
{
/**
* Lists sites with Abusive Experience Report statuses of "Failing".
* (violatingSites.listViolatingSites)
*
* @param array $optParams Optional parameters.
* @return Google_Service_AbusiveExperienceReport_ViolatingSitesResponse
*/
public function listViolatingSites($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AbusiveExperienceReport_ViolatingSitesResponse");
}
}

View File

@@ -0,0 +1,84 @@
<?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_AbusiveExperienceReport_SiteSummaryResponse extends Google_Model
{
public $abusiveStatus;
public $enforcementTime;
public $filterStatus;
public $lastChangeTime;
public $reportUrl;
public $reviewedSite;
public $underReview;
public function setAbusiveStatus($abusiveStatus)
{
$this->abusiveStatus = $abusiveStatus;
}
public function getAbusiveStatus()
{
return $this->abusiveStatus;
}
public function setEnforcementTime($enforcementTime)
{
$this->enforcementTime = $enforcementTime;
}
public function getEnforcementTime()
{
return $this->enforcementTime;
}
public function setFilterStatus($filterStatus)
{
$this->filterStatus = $filterStatus;
}
public function getFilterStatus()
{
return $this->filterStatus;
}
public function setLastChangeTime($lastChangeTime)
{
$this->lastChangeTime = $lastChangeTime;
}
public function getLastChangeTime()
{
return $this->lastChangeTime;
}
public function setReportUrl($reportUrl)
{
$this->reportUrl = $reportUrl;
}
public function getReportUrl()
{
return $this->reportUrl;
}
public function setReviewedSite($reviewedSite)
{
$this->reviewedSite = $reviewedSite;
}
public function getReviewedSite()
{
return $this->reviewedSite;
}
public function setUnderReview($underReview)
{
$this->underReview = $underReview;
}
public function getUnderReview()
{
return $this->underReview;
}
}

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_AbusiveExperienceReport_ViolatingSitesResponse extends Google_Collection
{
protected $collection_key = 'violatingSites';
protected $violatingSitesType = 'Google_Service_AbusiveExperienceReport_SiteSummaryResponse';
protected $violatingSitesDataType = 'array';
/**
* @param Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/
public function setViolatingSites($violatingSites)
{
$this->violatingSites = $violatingSites;
}
/**
* @return Google_Service_AbusiveExperienceReport_SiteSummaryResponse
*/
public function getViolatingSites()
{
return $this->violatingSites;
}
}

View File

@@ -0,0 +1,69 @@
<?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 Acceleratedmobilepageurl (v1).
*
* <p>
* Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given
* list of public URL(s).</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/amp/cache/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_Acceleratedmobilepageurl extends Google_Service
{
public $ampUrls;
/**
* Constructs the internal representation of the Acceleratedmobilepageurl
* 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://acceleratedmobilepageurl.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'acceleratedmobilepageurl';
$this->ampUrls = new Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls(
$this,
$this->serviceName,
'ampUrls',
array(
'methods' => array(
'batchGet' => array(
'path' => 'v1/ampUrls:batchGet',
'httpMethod' => 'POST',
'parameters' => array(),
),
)
)
);
}
}

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_Acceleratedmobilepageurl_AmpUrl extends Google_Model
{
public $ampUrl;
public $cdnAmpUrl;
public $originalUrl;
public function setAmpUrl($ampUrl)
{
$this->ampUrl = $ampUrl;
}
public function getAmpUrl()
{
return $this->ampUrl;
}
public function setCdnAmpUrl($cdnAmpUrl)
{
$this->cdnAmpUrl = $cdnAmpUrl;
}
public function getCdnAmpUrl()
{
return $this->cdnAmpUrl;
}
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
public function getOriginalUrl()
{
return $this->originalUrl;
}
}

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_Acceleratedmobilepageurl_AmpUrlError extends Google_Model
{
public $errorCode;
public $errorMessage;
public $originalUrl;
public function setErrorCode($errorCode)
{
$this->errorCode = $errorCode;
}
public function getErrorCode()
{
return $this->errorCode;
}
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
public function getErrorMessage()
{
return $this->errorMessage;
}
public function setOriginalUrl($originalUrl)
{
$this->originalUrl = $originalUrl;
}
public function getOriginalUrl()
{
return $this->originalUrl;
}
}

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_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest extends Google_Collection
{
protected $collection_key = 'urls';
public $lookupStrategy;
public $urls;
public function setLookupStrategy($lookupStrategy)
{
$this->lookupStrategy = $lookupStrategy;
}
public function getLookupStrategy()
{
return $this->lookupStrategy;
}
public function setUrls($urls)
{
$this->urls = $urls;
}
public function getUrls()
{
return $this->urls;
}
}

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_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse extends Google_Collection
{
protected $collection_key = 'urlErrors';
protected $ampUrlsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrl';
protected $ampUrlsDataType = 'array';
protected $urlErrorsType = 'Google_Service_Acceleratedmobilepageurl_AmpUrlError';
protected $urlErrorsDataType = 'array';
/**
* @param Google_Service_Acceleratedmobilepageurl_AmpUrl
*/
public function setAmpUrls($ampUrls)
{
$this->ampUrls = $ampUrls;
}
/**
* @return Google_Service_Acceleratedmobilepageurl_AmpUrl
*/
public function getAmpUrls()
{
return $this->ampUrls;
}
/**
* @param Google_Service_Acceleratedmobilepageurl_AmpUrlError
*/
public function setUrlErrors($urlErrors)
{
$this->urlErrors = $urlErrors;
}
/**
* @return Google_Service_Acceleratedmobilepageurl_AmpUrlError
*/
public function getUrlErrors()
{
return $this->urlErrors;
}
}

View File

@@ -0,0 +1,42 @@
<?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 "ampUrls" collection of methods.
* Typical usage is:
* <code>
* $acceleratedmobilepageurlService = new Google_Service_Acceleratedmobilepageurl(...);
* $ampUrls = $acceleratedmobilepageurlService->ampUrls;
* </code>
*/
class Google_Service_Acceleratedmobilepageurl_Resource_AmpUrls extends Google_Service_Resource
{
/**
* Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-
* cache-url-format). (ampUrls.batchGet)
*
* @param Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse
*/
public function batchGet(Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('batchGet', array($params), "Google_Service_Acceleratedmobilepageurl_BatchGetAmpUrlsResponse");
}
}

View File

@@ -0,0 +1,348 @@
<?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 (v1beta1).
*
* <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 = 'v1beta1';
$this->serviceName = 'accessapproval';
$this->folders = new Google_Service_AccessApproval_Resource_Folders(
$this,
$this->serviceName,
'folders',
array(
'methods' => array(
'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+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' => 'v1beta1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),
)
)
);
$this->organizations = new Google_Service_AccessApproval_Resource_Organizations(
$this,
$this->serviceName,
'organizations',
array(
'methods' => array(
'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+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' => 'v1beta1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta1/{+parent}/approvalRequests',
'httpMethod' => 'GET',
'parameters' => array(
'parent' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'filter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => 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(
'getAccessApprovalSettings' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'updateAccessApprovalSettings' => array(
'path' => 'v1beta1/{+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' => 'v1beta1/{+name}:approve',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'dismiss' => array(
'path' => 'v1beta1/{+name}:dismiss',
'httpMethod' => 'POST',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'v1beta1/{+name}',
'httpMethod' => 'GET',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'v1beta1/{+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',
),
),
),
)
)
);
}
}

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_AccessApproval_AccessApprovalSettings extends Google_Collection
{
protected $collection_key = 'notificationEmails';
protected $enrolledServicesType = 'Google_Service_AccessApproval_EnrolledService';
protected $enrolledServicesDataType = 'array';
public $name;
public $notificationEmails;
/**
* @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,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,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_DismissDecision extends Google_Model
{
public $dismissTime;
public function setDismissTime($dismissTime)
{
$this->dismissTime = $dismissTime;
}
public function getDismissTime()
{
return $this->dismissTime;
}
}

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,67 @@
<?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
{
/**
* 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_id}/accessApprovalSettings"
* "folders/{folder_id}/accessApprovalSettings"
* "organizations/{organization_id}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. 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,112 @@
<?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_id}", "folders/{folder_id}", or
* "organizations/{organization_id}".
* @param array $optParams Optional parameters.
*
* @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.
* @opt_param string pageToken A token identifying the page of results to
* return.
* @opt_param int pageSize Requested page size.
* @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,67 @@
<?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
{
/**
* 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_id}/accessApprovalSettings"
* "folders/{folder_id}/accessApprovalSettings"
* "organizations/{organization_id}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. 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,112 @@
<?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_id}", "folders/{folder_id}", or
* "organizations/{organization_id}".
* @param array $optParams Optional parameters.
*
* @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.
* @opt_param string pageToken A token identifying the page of results to
* return.
* @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,67 @@
<?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
{
/**
* 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_id}/accessApprovalSettings"
* "folders/{folder_id}/accessApprovalSettings"
* "organizations/{organization_id}/accessApprovalSettings"
* @param Google_Service_AccessApproval_AccessApprovalSettings $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updateMask The update mask applies to the settings. 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,112 @@
<?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_id}", "folders/{folder_id}", or
* "organizations/{organization_id}".
* @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.
* @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,338 @@
<?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;
/**
* 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(
'parent' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'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,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
'accessLevelFormat' => 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_servicePerimeters = new Google_Service_AccessContextManager_Resource_AccessPoliciesServicePerimeters(
$this,
$this->serviceName,
'servicePerimeters',
array(
'methods' => array(
'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,
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
'pageSize' => array(
'location' => 'query',
'type' => 'integer',
),
),
),'patch' => array(
'path' => 'v1/{+name}',
'httpMethod' => 'PATCH',
'parameters' => array(
'name' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateMask' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$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',
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,82 @@
<?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 = '';
public $createTime;
public $description;
public $name;
public $title;
public $updateTime;
/**
* @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;
}
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
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;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

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_AccessContextManager_AccessPolicy extends Google_Model
{
public $createTime;
public $name;
public $parent;
public $title;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
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;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

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,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,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,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_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,120 @@
<?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 string parent Required. Resource name for the container to list
* AccessPolicy instances from.
*
* Format: `organizations/{org_id}`
* @opt_param string pageToken Next page token for the next batch of
* AccessPolicy instances. Defaults to the first page of results.
* @opt_param int pageSize Number of AccessPolicy instances to include in the
* list. Default 100.
* @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,135 @@
<?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 pageToken Next page token for the next batch of Access
* Level instances. Defaults to the first page of results.
* @opt_param int pageSize Number of Access Levels to include in the list.
* Default 100.
* @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.
* @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}`
* @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");
}
}

View File

@@ -0,0 +1,126 @@
<?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
{
/**
* Create an 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 an 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 an 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 string pageToken Next page token for the next batch of Service
* Perimeter instances. Defaults to the first page of results.
* @opt_param int pageSize Number of Service Perimeters to include in the list.
* Default 100.
* @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 an 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");
}
}

View File

@@ -0,0 +1,107 @@
<?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,91 @@
<?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 $createTime;
public $description;
public $name;
public $perimeterType;
protected $statusType = 'Google_Service_AccessContextManager_ServicePerimeterConfig';
protected $statusDataType = '';
public $title;
public $updateTime;
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
public function getCreateTime()
{
return $this->createTime;
}
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 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 setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

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_ServicePerimeterConfig extends Google_Collection
{
protected $collection_key = 'restrictedServices';
public $accessLevels;
public $resources;
public $restrictedServices;
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;
}
}

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,681 @@
<?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 AdExchangeBuyer (v1.4).
*
* <p>
* Accesses your bidding-account information, submits creatives for validation,
* finds available direct deals, and retrieves performance reports.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/ad-exchange/buyer-rest" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class Google_Service_AdExchangeBuyer extends Google_Service
{
/** Manage your Ad Exchange buyer account configuration. */
const ADEXCHANGE_BUYER =
"https://www.googleapis.com/auth/adexchange.buyer";
public $accounts;
public $billingInfo;
public $budget;
public $creatives;
public $marketplacedeals;
public $marketplacenotes;
public $marketplaceprivateauction;
public $performanceReport;
public $pretargetingConfig;
public $products;
public $proposals;
public $pubprofiles;
/**
* Constructs the internal representation of the AdExchangeBuyer 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://www.googleapis.com/';
$this->servicePath = 'adexchangebuyer/v1.4/';
$this->batchPath = 'batch/adexchangebuyer/v1.4';
$this->version = 'v1.4';
$this->serviceName = 'adexchangebuyer';
$this->accounts = new Google_Service_AdExchangeBuyer_Resource_Accounts(
$this,
$this->serviceName,
'accounts',
array(
'methods' => array(
'get' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'GET',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),'list' => array(
'path' => 'accounts',
'httpMethod' => 'GET',
'parameters' => array(),
),'patch' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'PATCH',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'confirmUnsafeAccountChange' => array(
'location' => 'query',
'type' => 'boolean',
),
),
),'update' => array(
'path' => 'accounts/{id}',
'httpMethod' => 'PUT',
'parameters' => array(
'id' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'confirmUnsafeAccountChange' => array(
'location' => 'query',
'type' => 'boolean',
),
),
),
)
)
);
$this->billingInfo = new Google_Service_AdExchangeBuyer_Resource_BillingInfo(
$this,
$this->serviceName,
'billingInfo',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),'list' => array(
'path' => 'billinginfo',
'httpMethod' => 'GET',
'parameters' => array(),
),
)
)
);
$this->budget = new Google_Service_AdExchangeBuyer_Resource_Budget(
$this,
$this->serviceName,
'budget',
array(
'methods' => array(
'get' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'billinginfo/{accountId}/{billingId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'billingId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->creatives = new Google_Service_AdExchangeBuyer_Resource_Creatives(
$this,
$this->serviceName,
'creatives',
array(
'methods' => array(
'addDeal' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'dealId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'creatives',
'httpMethod' => 'POST',
'parameters' => array(),
),'list' => array(
'path' => 'creatives',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'query',
'type' => 'integer',
'repeated' => true,
),
'buyerCreativeId' => array(
'location' => 'query',
'type' => 'string',
'repeated' => true,
),
'dealsStatusFilter' => array(
'location' => 'query',
'type' => 'string',
),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
),
'openAuctionStatusFilter' => array(
'location' => 'query',
'type' => 'string',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),'listDeals' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/listDeals',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'removeDeal' => array(
'path' => 'creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
'buyerCreativeId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'dealId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->marketplacedeals = new Google_Service_AdExchangeBuyer_Resource_Marketplacedeals(
$this,
$this->serviceName,
'marketplacedeals',
array(
'methods' => array(
'delete' => array(
'path' => 'proposals/{proposalId}/deals/delete',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'proposals/{proposalId}/deals/insert',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'proposals/{proposalId}/deals',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),'update' => array(
'path' => 'proposals/{proposalId}/deals/update',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->marketplacenotes = new Google_Service_AdExchangeBuyer_Resource_Marketplacenotes(
$this,
$this->serviceName,
'marketplacenotes',
array(
'methods' => array(
'insert' => array(
'path' => 'proposals/{proposalId}/notes/insert',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'proposals/{proposalId}/notes',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->marketplaceprivateauction = new Google_Service_AdExchangeBuyer_Resource_Marketplaceprivateauction(
$this,
$this->serviceName,
'marketplaceprivateauction',
array(
'methods' => array(
'updateproposal' => array(
'path' => 'privateauction/{privateAuctionId}/updateproposal',
'httpMethod' => 'POST',
'parameters' => array(
'privateAuctionId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->performanceReport = new Google_Service_AdExchangeBuyer_Resource_PerformanceReport(
$this,
$this->serviceName,
'performanceReport',
array(
'methods' => array(
'list' => array(
'path' => 'performancereport',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'endDateTime' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'startDateTime' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'maxResults' => array(
'location' => 'query',
'type' => 'integer',
),
'pageToken' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->pretargetingConfig = new Google_Service_AdExchangeBuyer_Resource_PretargetingConfig(
$this,
$this->serviceName,
'pretargetingConfig',
array(
'methods' => array(
'delete' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'DELETE',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'get' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'pretargetingconfigs/{accountId}',
'httpMethod' => 'POST',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'list' => array(
'path' => 'pretargetingconfigs/{accountId}',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'patch' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'PATCH',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'pretargetingconfigs/{accountId}/{configId}',
'httpMethod' => 'PUT',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'configId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->products = new Google_Service_AdExchangeBuyer_Resource_Products(
$this,
$this->serviceName,
'products',
array(
'methods' => array(
'get' => array(
'path' => 'products/{productId}',
'httpMethod' => 'GET',
'parameters' => array(
'productId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'search' => array(
'path' => 'products/search',
'httpMethod' => 'GET',
'parameters' => array(
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->proposals = new Google_Service_AdExchangeBuyer_Resource_Proposals(
$this,
$this->serviceName,
'proposals',
array(
'methods' => array(
'get' => array(
'path' => 'proposals/{proposalId}',
'httpMethod' => 'GET',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'insert' => array(
'path' => 'proposals/insert',
'httpMethod' => 'POST',
'parameters' => array(),
),'patch' => array(
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
'httpMethod' => 'PATCH',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'revisionNumber' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateAction' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'search' => array(
'path' => 'proposals/search',
'httpMethod' => 'GET',
'parameters' => array(
'pqlQuery' => array(
'location' => 'query',
'type' => 'string',
),
),
),'setupcomplete' => array(
'path' => 'proposals/{proposalId}/setupcomplete',
'httpMethod' => 'POST',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),'update' => array(
'path' => 'proposals/{proposalId}/{revisionNumber}/{updateAction}',
'httpMethod' => 'PUT',
'parameters' => array(
'proposalId' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'revisionNumber' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
'updateAction' => array(
'location' => 'path',
'type' => 'string',
'required' => true,
),
),
),
)
)
);
$this->pubprofiles = new Google_Service_AdExchangeBuyer_Resource_Pubprofiles(
$this,
$this->serviceName,
'pubprofiles',
array(
'methods' => array(
'list' => array(
'path' => 'publisher/{accountId}/profiles',
'httpMethod' => 'GET',
'parameters' => array(
'accountId' => array(
'location' => 'path',
'type' => 'integer',
'required' => true,
),
),
),
)
)
);
}
}

View File

@@ -0,0 +1,110 @@
<?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_Account extends Google_Collection
{
protected $collection_key = 'bidderLocation';
public $applyPretargetingToNonGuaranteedDeals;
protected $bidderLocationType = 'Google_Service_AdExchangeBuyer_AccountBidderLocation';
protected $bidderLocationDataType = 'array';
public $cookieMatchingNid;
public $cookieMatchingUrl;
public $id;
public $kind;
public $maximumActiveCreatives;
public $maximumTotalQps;
public $numberActiveCreatives;
public function setApplyPretargetingToNonGuaranteedDeals($applyPretargetingToNonGuaranteedDeals)
{
$this->applyPretargetingToNonGuaranteedDeals = $applyPretargetingToNonGuaranteedDeals;
}
public function getApplyPretargetingToNonGuaranteedDeals()
{
return $this->applyPretargetingToNonGuaranteedDeals;
}
/**
* @param Google_Service_AdExchangeBuyer_AccountBidderLocation
*/
public function setBidderLocation($bidderLocation)
{
$this->bidderLocation = $bidderLocation;
}
/**
* @return Google_Service_AdExchangeBuyer_AccountBidderLocation
*/
public function getBidderLocation()
{
return $this->bidderLocation;
}
public function setCookieMatchingNid($cookieMatchingNid)
{
$this->cookieMatchingNid = $cookieMatchingNid;
}
public function getCookieMatchingNid()
{
return $this->cookieMatchingNid;
}
public function setCookieMatchingUrl($cookieMatchingUrl)
{
$this->cookieMatchingUrl = $cookieMatchingUrl;
}
public function getCookieMatchingUrl()
{
return $this->cookieMatchingUrl;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setMaximumActiveCreatives($maximumActiveCreatives)
{
$this->maximumActiveCreatives = $maximumActiveCreatives;
}
public function getMaximumActiveCreatives()
{
return $this->maximumActiveCreatives;
}
public function setMaximumTotalQps($maximumTotalQps)
{
$this->maximumTotalQps = $maximumTotalQps;
}
public function getMaximumTotalQps()
{
return $this->maximumTotalQps;
}
public function setNumberActiveCreatives($numberActiveCreatives)
{
$this->numberActiveCreatives = $numberActiveCreatives;
}
public function getNumberActiveCreatives()
{
return $this->numberActiveCreatives;
}
}

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_AdExchangeBuyer_AccountBidderLocation extends Google_Model
{
public $bidProtocol;
public $maximumQps;
public $region;
public $url;
public function setBidProtocol($bidProtocol)
{
$this->bidProtocol = $bidProtocol;
}
public function getBidProtocol()
{
return $this->bidProtocol;
}
public function setMaximumQps($maximumQps)
{
$this->maximumQps = $maximumQps;
}
public function getMaximumQps()
{
return $this->maximumQps;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

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_AdExchangeBuyer_AccountsList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Account';
protected $itemsDataType = 'array';
public $kind;
/**
* @param Google_Service_AdExchangeBuyer_Account
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Google_Service_AdExchangeBuyer_Account
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

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_AdExchangeBuyer_AddOrderDealsRequest extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
public $updateAction;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
public function setUpdateAction($updateAction)
{
$this->updateAction = $updateAction;
}
public function getUpdateAction()
{
return $this->updateAction;
}
}

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_AdExchangeBuyer_AddOrderDealsResponse extends Google_Collection
{
protected $collection_key = 'deals';
protected $dealsType = 'Google_Service_AdExchangeBuyer_MarketplaceDeal';
protected $dealsDataType = 'array';
public $proposalRevisionNumber;
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function setDeals($deals)
{
$this->deals = $deals;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceDeal
*/
public function getDeals()
{
return $this->deals;
}
public function setProposalRevisionNumber($proposalRevisionNumber)
{
$this->proposalRevisionNumber = $proposalRevisionNumber;
}
public function getProposalRevisionNumber()
{
return $this->proposalRevisionNumber;
}
}

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_AdExchangeBuyer_AddOrderNotesRequest extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function getNotes()
{
return $this->notes;
}
}

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_AdExchangeBuyer_AddOrderNotesResponse extends Google_Collection
{
protected $collection_key = 'notes';
protected $notesType = 'Google_Service_AdExchangeBuyer_MarketplaceNote';
protected $notesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function setNotes($notes)
{
$this->notes = $notes;
}
/**
* @return Google_Service_AdExchangeBuyer_MarketplaceNote
*/
public function getNotes()
{
return $this->notes;
}
}

View File

@@ -0,0 +1,58 @@
<?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_BillingInfo extends Google_Collection
{
protected $collection_key = 'billingId';
public $accountId;
public $accountName;
public $billingId;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAccountName($accountName)
{
$this->accountName = $accountName;
}
public function getAccountName()
{
return $this->accountName;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

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_AdExchangeBuyer_BillingInfoList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_BillingInfo';
protected $itemsDataType = 'array';
public $kind;
/**
* @param Google_Service_AdExchangeBuyer_BillingInfo
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Google_Service_AdExchangeBuyer_BillingInfo
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,75 @@
<?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_Budget extends Google_Model
{
public $accountId;
public $billingId;
public $budgetAmount;
public $currencyCode;
public $id;
public $kind;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setBillingId($billingId)
{
$this->billingId = $billingId;
}
public function getBillingId()
{
return $this->billingId;
}
public function setBudgetAmount($budgetAmount)
{
$this->budgetAmount = $budgetAmount;
}
public function getBudgetAmount()
{
return $this->budgetAmount;
}
public function setCurrencyCode($currencyCode)
{
$this->currencyCode = $currencyCode;
}
public function getCurrencyCode()
{
return $this->currencyCode;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

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_AdExchangeBuyer_Buyer extends Google_Model
{
public $accountId;
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
}

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_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

@@ -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_AdExchangeBuyer_CreateOrdersRequest extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
public $webPropertyCode;
/**
* @param Google_Service_AdExchangeBuyer_Proposal
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Google_Service_AdExchangeBuyer_Proposal
*/
public function getProposals()
{
return $this->proposals;
}
public function setWebPropertyCode($webPropertyCode)
{
$this->webPropertyCode = $webPropertyCode;
}
public function getWebPropertyCode()
{
return $this->webPropertyCode;
}
}

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_AdExchangeBuyer_CreateOrdersResponse extends Google_Collection
{
protected $collection_key = 'proposals';
protected $proposalsType = 'Google_Service_AdExchangeBuyer_Proposal';
protected $proposalsDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_Proposal
*/
public function setProposals($proposals)
{
$this->proposals = $proposals;
}
/**
* @return Google_Service_AdExchangeBuyer_Proposal
*/
public function getProposals()
{
return $this->proposals;
}
}

View File

@@ -0,0 +1,339 @@
<?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_Creative extends Google_Collection
{
protected $collection_key = 'vendorType';
protected $internal_gapi_mappings = array(
"hTMLSnippet" => "HTMLSnippet",
);
public $hTMLSnippet;
public $accountId;
public $adChoicesDestinationUrl;
protected $adTechnologyProvidersType = 'Google_Service_AdExchangeBuyer_CreativeAdTechnologyProviders';
protected $adTechnologyProvidersDataType = '';
public $advertiserId;
public $advertiserName;
public $agencyId;
public $apiUploadTimestamp;
public $attribute;
public $buyerCreativeId;
public $clickThroughUrl;
protected $correctionsType = 'Google_Service_AdExchangeBuyer_CreativeCorrections';
protected $correctionsDataType = 'array';
public $creativeStatusIdentityType;
public $dealsStatus;
public $detectedDomains;
protected $filteringReasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasons';
protected $filteringReasonsDataType = '';
public $height;
public $impressionTrackingUrl;
public $kind;
public $languages;
protected $nativeAdType = 'Google_Service_AdExchangeBuyer_CreativeNativeAd';
protected $nativeAdDataType = '';
public $openAuctionStatus;
public $productCategories;
public $restrictedCategories;
public $sensitiveCategories;
protected $servingRestrictionsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictions';
protected $servingRestrictionsDataType = 'array';
public $vendorType;
public $version;
public $videoURL;
public $videoVastXML;
public $width;
public function setHTMLSnippet($hTMLSnippet)
{
$this->hTMLSnippet = $hTMLSnippet;
}
public function getHTMLSnippet()
{
return $this->hTMLSnippet;
}
public function setAccountId($accountId)
{
$this->accountId = $accountId;
}
public function getAccountId()
{
return $this->accountId;
}
public function setAdChoicesDestinationUrl($adChoicesDestinationUrl)
{
$this->adChoicesDestinationUrl = $adChoicesDestinationUrl;
}
public function getAdChoicesDestinationUrl()
{
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;
}
public function getAdvertiserId()
{
return $this->advertiserId;
}
public function setAdvertiserName($advertiserName)
{
$this->advertiserName = $advertiserName;
}
public function getAdvertiserName()
{
return $this->advertiserName;
}
public function setAgencyId($agencyId)
{
$this->agencyId = $agencyId;
}
public function getAgencyId()
{
return $this->agencyId;
}
public function setApiUploadTimestamp($apiUploadTimestamp)
{
$this->apiUploadTimestamp = $apiUploadTimestamp;
}
public function getApiUploadTimestamp()
{
return $this->apiUploadTimestamp;
}
public function setAttribute($attribute)
{
$this->attribute = $attribute;
}
public function getAttribute()
{
return $this->attribute;
}
public function setBuyerCreativeId($buyerCreativeId)
{
$this->buyerCreativeId = $buyerCreativeId;
}
public function getBuyerCreativeId()
{
return $this->buyerCreativeId;
}
public function setClickThroughUrl($clickThroughUrl)
{
$this->clickThroughUrl = $clickThroughUrl;
}
public function getClickThroughUrl()
{
return $this->clickThroughUrl;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeCorrections
*/
public function setCorrections($corrections)
{
$this->corrections = $corrections;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeCorrections
*/
public function getCorrections()
{
return $this->corrections;
}
public function setCreativeStatusIdentityType($creativeStatusIdentityType)
{
$this->creativeStatusIdentityType = $creativeStatusIdentityType;
}
public function getCreativeStatusIdentityType()
{
return $this->creativeStatusIdentityType;
}
public function setDealsStatus($dealsStatus)
{
$this->dealsStatus = $dealsStatus;
}
public function getDealsStatus()
{
return $this->dealsStatus;
}
public function setDetectedDomains($detectedDomains)
{
$this->detectedDomains = $detectedDomains;
}
public function getDetectedDomains()
{
return $this->detectedDomains;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeFilteringReasons
*/
public function setFilteringReasons(Google_Service_AdExchangeBuyer_CreativeFilteringReasons $filteringReasons)
{
$this->filteringReasons = $filteringReasons;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeFilteringReasons
*/
public function getFilteringReasons()
{
return $this->filteringReasons;
}
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAd
*/
public function setNativeAd(Google_Service_AdExchangeBuyer_CreativeNativeAd $nativeAd)
{
$this->nativeAd = $nativeAd;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAd
*/
public function getNativeAd()
{
return $this->nativeAd;
}
public function setOpenAuctionStatus($openAuctionStatus)
{
$this->openAuctionStatus = $openAuctionStatus;
}
public function getOpenAuctionStatus()
{
return $this->openAuctionStatus;
}
public function setProductCategories($productCategories)
{
$this->productCategories = $productCategories;
}
public function getProductCategories()
{
return $this->productCategories;
}
public function setRestrictedCategories($restrictedCategories)
{
$this->restrictedCategories = $restrictedCategories;
}
public function getRestrictedCategories()
{
return $this->restrictedCategories;
}
public function setSensitiveCategories($sensitiveCategories)
{
$this->sensitiveCategories = $sensitiveCategories;
}
public function getSensitiveCategories()
{
return $this->sensitiveCategories;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeServingRestrictions
*/
public function setServingRestrictions($servingRestrictions)
{
$this->servingRestrictions = $servingRestrictions;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeServingRestrictions
*/
public function getServingRestrictions()
{
return $this->servingRestrictions;
}
public function setVendorType($vendorType)
{
$this->vendorType = $vendorType;
}
public function getVendorType()
{
return $this->vendorType;
}
public function setVersion($version)
{
$this->version = $version;
}
public function getVersion()
{
return $this->version;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
public function setVideoVastXML($videoVastXML)
{
$this->videoVastXML = $videoVastXML;
}
public function getVideoVastXML()
{
return $this->videoVastXML;
}
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_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

@@ -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_AdExchangeBuyer_CreativeCorrections extends Google_Collection
{
protected $collection_key = 'details';
protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts';
protected $contextsDataType = 'array';
public $details;
public $reason;
/**
* @param Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts
*/
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeCorrectionsContexts
*/
public function getContexts()
{
return $this->contexts;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View File

@@ -0,0 +1,58 @@
<?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_CreativeCorrectionsContexts extends Google_Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}

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_AdExchangeBuyer_CreativeDealIds extends Google_Collection
{
protected $collection_key = 'dealStatuses';
protected $dealStatusesType = 'Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses';
protected $dealStatusesDataType = 'array';
public $kind;
/**
* @param Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses
*/
public function setDealStatuses($dealStatuses)
{
$this->dealStatuses = $dealStatuses;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeDealIdsDealStatuses
*/
public function getDealStatuses()
{
return $this->dealStatuses;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

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_AdExchangeBuyer_CreativeDealIdsDealStatuses extends Google_Model
{
public $arcStatus;
public $dealId;
public $webPropertyId;
public function setArcStatus($arcStatus)
{
$this->arcStatus = $arcStatus;
}
public function getArcStatus()
{
return $this->arcStatus;
}
public function setDealId($dealId)
{
$this->dealId = $dealId;
}
public function getDealId()
{
return $this->dealId;
}
public function setWebPropertyId($webPropertyId)
{
$this->webPropertyId = $webPropertyId;
}
public function getWebPropertyId()
{
return $this->webPropertyId;
}
}

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_AdExchangeBuyer_CreativeFilteringReasons extends Google_Collection
{
protected $collection_key = 'reasons';
public $date;
protected $reasonsType = 'Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons';
protected $reasonsDataType = 'array';
public function setDate($date)
{
$this->date = $date;
}
public function getDate()
{
return $this->date;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons
*/
public function setReasons($reasons)
{
$this->reasons = $reasons;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeFilteringReasonsReasons
*/
public function getReasons()
{
return $this->reasons;
}
}

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_CreativeFilteringReasonsReasons extends Google_Model
{
public $filteringCount;
public $filteringStatus;
public function setFilteringCount($filteringCount)
{
$this->filteringCount = $filteringCount;
}
public function getFilteringCount()
{
return $this->filteringCount;
}
public function setFilteringStatus($filteringStatus)
{
$this->filteringStatus = $filteringStatus;
}
public function getFilteringStatus()
{
return $this->filteringStatus;
}
}

View File

@@ -0,0 +1,160 @@
<?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_CreativeNativeAd extends Google_Collection
{
protected $collection_key = 'impressionTrackingUrl';
public $advertiser;
protected $appIconType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon';
protected $appIconDataType = '';
public $body;
public $callToAction;
public $clickLinkUrl;
public $clickTrackingUrl;
public $headline;
protected $imageType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdImage';
protected $imageDataType = '';
public $impressionTrackingUrl;
protected $logoType = 'Google_Service_AdExchangeBuyer_CreativeNativeAdLogo';
protected $logoDataType = '';
public $price;
public $starRating;
public $videoURL;
public function setAdvertiser($advertiser)
{
$this->advertiser = $advertiser;
}
public function getAdvertiser()
{
return $this->advertiser;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon
*/
public function setAppIcon(Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon $appIcon)
{
$this->appIcon = $appIcon;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAdAppIcon
*/
public function getAppIcon()
{
return $this->appIcon;
}
public function setBody($body)
{
$this->body = $body;
}
public function getBody()
{
return $this->body;
}
public function setCallToAction($callToAction)
{
$this->callToAction = $callToAction;
}
public function getCallToAction()
{
return $this->callToAction;
}
public function setClickLinkUrl($clickLinkUrl)
{
$this->clickLinkUrl = $clickLinkUrl;
}
public function getClickLinkUrl()
{
return $this->clickLinkUrl;
}
public function setClickTrackingUrl($clickTrackingUrl)
{
$this->clickTrackingUrl = $clickTrackingUrl;
}
public function getClickTrackingUrl()
{
return $this->clickTrackingUrl;
}
public function setHeadline($headline)
{
$this->headline = $headline;
}
public function getHeadline()
{
return $this->headline;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAdImage
*/
public function setImage(Google_Service_AdExchangeBuyer_CreativeNativeAdImage $image)
{
$this->image = $image;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAdImage
*/
public function getImage()
{
return $this->image;
}
public function setImpressionTrackingUrl($impressionTrackingUrl)
{
$this->impressionTrackingUrl = $impressionTrackingUrl;
}
public function getImpressionTrackingUrl()
{
return $this->impressionTrackingUrl;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeNativeAdLogo
*/
public function setLogo(Google_Service_AdExchangeBuyer_CreativeNativeAdLogo $logo)
{
$this->logo = $logo;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeNativeAdLogo
*/
public function getLogo()
{
return $this->logo;
}
public function setPrice($price)
{
$this->price = $price;
}
public function getPrice()
{
return $this->price;
}
public function setStarRating($starRating)
{
$this->starRating = $starRating;
}
public function getStarRating()
{
return $this->starRating;
}
public function setVideoURL($videoURL)
{
$this->videoURL = $videoURL;
}
public function getVideoURL()
{
return $this->videoURL;
}
}

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_AdExchangeBuyer_CreativeNativeAdAppIcon extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

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_AdExchangeBuyer_CreativeNativeAdImage extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

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_AdExchangeBuyer_CreativeNativeAdLogo extends Google_Model
{
public $height;
public $url;
public $width;
public function setHeight($height)
{
$this->height = $height;
}
public function getHeight()
{
return $this->height;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
public function setWidth($width)
{
$this->width = $width;
}
public function getWidth()
{
return $this->width;
}
}

View File

@@ -0,0 +1,63 @@
<?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_CreativeServingRestrictions extends Google_Collection
{
protected $collection_key = 'disapprovalReasons';
protected $contextsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts';
protected $contextsDataType = 'array';
protected $disapprovalReasonsType = 'Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons';
protected $disapprovalReasonsDataType = 'array';
public $reason;
/**
* @param Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts
*/
public function setContexts($contexts)
{
$this->contexts = $contexts;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeServingRestrictionsContexts
*/
public function getContexts()
{
return $this->contexts;
}
/**
* @param Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons
*/
public function setDisapprovalReasons($disapprovalReasons)
{
$this->disapprovalReasons = $disapprovalReasons;
}
/**
* @return Google_Service_AdExchangeBuyer_CreativeServingRestrictionsDisapprovalReasons
*/
public function getDisapprovalReasons()
{
return $this->disapprovalReasons;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

View File

@@ -0,0 +1,58 @@
<?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_CreativeServingRestrictionsContexts extends Google_Collection
{
protected $collection_key = 'platform';
public $auctionType;
public $contextType;
public $geoCriteriaId;
public $platform;
public function setAuctionType($auctionType)
{
$this->auctionType = $auctionType;
}
public function getAuctionType()
{
return $this->auctionType;
}
public function setContextType($contextType)
{
$this->contextType = $contextType;
}
public function getContextType()
{
return $this->contextType;
}
public function setGeoCriteriaId($geoCriteriaId)
{
$this->geoCriteriaId = $geoCriteriaId;
}
public function getGeoCriteriaId()
{
return $this->geoCriteriaId;
}
public function setPlatform($platform)
{
$this->platform = $platform;
}
public function getPlatform()
{
return $this->platform;
}
}

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_CreativeServingRestrictionsDisapprovalReasons extends Google_Collection
{
protected $collection_key = 'details';
public $details;
public $reason;
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setReason($reason)
{
$this->reason = $reason;
}
public function getReason()
{
return $this->reason;
}
}

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_AdExchangeBuyer_CreativesList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_AdExchangeBuyer_Creative';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
/**
* @param Google_Service_AdExchangeBuyer_Creative
*/
public function setItems($items)
{
$this->items = $items;
}
/**
* @return Google_Service_AdExchangeBuyer_Creative
*/
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,46 @@
<?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_DealServingMetadata extends Google_Model
{
public $alcoholAdsAllowed;
protected $dealPauseStatusType = 'Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus';
protected $dealPauseStatusDataType = '';
public function setAlcoholAdsAllowed($alcoholAdsAllowed)
{
$this->alcoholAdsAllowed = $alcoholAdsAllowed;
}
public function getAlcoholAdsAllowed()
{
return $this->alcoholAdsAllowed;
}
/**
* @param Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus
*/
public function setDealPauseStatus(Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus $dealPauseStatus)
{
$this->dealPauseStatus = $dealPauseStatus;
}
/**
* @return Google_Service_AdExchangeBuyer_DealServingMetadataDealPauseStatus
*/
public function getDealPauseStatus()
{
return $this->dealPauseStatus;
}
}

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_AdExchangeBuyer_DealServingMetadataDealPauseStatus 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,146 @@
<?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_DealTerms extends Google_Model
{
public $brandingType;
public $crossListedExternalDealIdType;
public $description;
protected $estimatedGrossSpendType = 'Google_Service_AdExchangeBuyer_Price';
protected $estimatedGrossSpendDataType = '';
public $estimatedImpressionsPerDay;
protected $guaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms';
protected $guaranteedFixedPriceTermsDataType = '';
protected $nonGuaranteedAuctionTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms';
protected $nonGuaranteedAuctionTermsDataType = '';
protected $nonGuaranteedFixedPriceTermsType = 'Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms';
protected $nonGuaranteedFixedPriceTermsDataType = '';
protected $rubiconNonGuaranteedTermsType = 'Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms';
protected $rubiconNonGuaranteedTermsDataType = '';
public $sellerTimeZone;
public function setBrandingType($brandingType)
{
$this->brandingType = $brandingType;
}
public function getBrandingType()
{
return $this->brandingType;
}
public function setCrossListedExternalDealIdType($crossListedExternalDealIdType)
{
$this->crossListedExternalDealIdType = $crossListedExternalDealIdType;
}
public function getCrossListedExternalDealIdType()
{
return $this->crossListedExternalDealIdType;
}
public function setDescription($description)
{
$this->description = $description;
}
public function getDescription()
{
return $this->description;
}
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setEstimatedGrossSpend(Google_Service_AdExchangeBuyer_Price $estimatedGrossSpend)
{
$this->estimatedGrossSpend = $estimatedGrossSpend;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getEstimatedGrossSpend()
{
return $this->estimatedGrossSpend;
}
public function setEstimatedImpressionsPerDay($estimatedImpressionsPerDay)
{
$this->estimatedImpressionsPerDay = $estimatedImpressionsPerDay;
}
public function getEstimatedImpressionsPerDay()
{
return $this->estimatedImpressionsPerDay;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms
*/
public function setGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms $guaranteedFixedPriceTerms)
{
$this->guaranteedFixedPriceTerms = $guaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTerms
*/
public function getGuaranteedFixedPriceTerms()
{
return $this->guaranteedFixedPriceTerms;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms
*/
public function setNonGuaranteedAuctionTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms $nonGuaranteedAuctionTerms)
{
$this->nonGuaranteedAuctionTerms = $nonGuaranteedAuctionTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms
*/
public function getNonGuaranteedAuctionTerms()
{
return $this->nonGuaranteedAuctionTerms;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms
*/
public function setNonGuaranteedFixedPriceTerms(Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms $nonGuaranteedFixedPriceTerms)
{
$this->nonGuaranteedFixedPriceTerms = $nonGuaranteedFixedPriceTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms
*/
public function getNonGuaranteedFixedPriceTerms()
{
return $this->nonGuaranteedFixedPriceTerms;
}
/**
* @param Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms
*/
public function setRubiconNonGuaranteedTerms(Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms $rubiconNonGuaranteedTerms)
{
$this->rubiconNonGuaranteedTerms = $rubiconNonGuaranteedTerms;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsRubiconNonGuaranteedTerms
*/
public function getRubiconNonGuaranteedTerms()
{
return $this->rubiconNonGuaranteedTerms;
}
public function setSellerTimeZone($sellerTimeZone)
{
$this->sellerTimeZone = $sellerTimeZone;
}
public function getSellerTimeZone()
{
return $this->sellerTimeZone;
}
}

View File

@@ -0,0 +1,81 @@
<?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_DealTermsGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $billingInfoType = 'Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo';
protected $billingInfoDataType = '';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $fixedPricesDataType = 'array';
public $guaranteedImpressions;
public $guaranteedLooks;
public $minimumDailyLooks;
/**
* @param Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo
*/
public function setBillingInfo(Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo $billingInfo)
{
$this->billingInfo = $billingInfo;
}
/**
* @return Google_Service_AdExchangeBuyer_DealTermsGuaranteedFixedPriceTermsBillingInfo
*/
public function getBillingInfo()
{
return $this->billingInfo;
}
/**
* @param Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
public function setGuaranteedImpressions($guaranteedImpressions)
{
$this->guaranteedImpressions = $guaranteedImpressions;
}
public function getGuaranteedImpressions()
{
return $this->guaranteedImpressions;
}
public function setGuaranteedLooks($guaranteedLooks)
{
$this->guaranteedLooks = $guaranteedLooks;
}
public function getGuaranteedLooks()
{
return $this->guaranteedLooks;
}
public function setMinimumDailyLooks($minimumDailyLooks)
{
$this->minimumDailyLooks = $minimumDailyLooks;
}
public function getMinimumDailyLooks()
{
return $this->minimumDailyLooks;
}
}

View File

@@ -0,0 +1,64 @@
<?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_DealTermsGuaranteedFixedPriceTermsBillingInfo extends Google_Model
{
public $currencyConversionTimeMs;
public $dfpLineItemId;
public $originalContractedQuantity;
protected $priceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priceDataType = '';
public function setCurrencyConversionTimeMs($currencyConversionTimeMs)
{
$this->currencyConversionTimeMs = $currencyConversionTimeMs;
}
public function getCurrencyConversionTimeMs()
{
return $this->currencyConversionTimeMs;
}
public function setDfpLineItemId($dfpLineItemId)
{
$this->dfpLineItemId = $dfpLineItemId;
}
public function getDfpLineItemId()
{
return $this->dfpLineItemId;
}
public function setOriginalContractedQuantity($originalContractedQuantity)
{
$this->originalContractedQuantity = $originalContractedQuantity;
}
public function getOriginalContractedQuantity()
{
return $this->originalContractedQuantity;
}
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setPrice(Google_Service_AdExchangeBuyer_Price $price)
{
$this->price = $price;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getPrice()
{
return $this->price;
}
}

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_AdExchangeBuyer_DealTermsNonGuaranteedAuctionTerms extends Google_Collection
{
protected $collection_key = 'reservePricePerBuyers';
public $autoOptimizePrivateAuction;
protected $reservePricePerBuyersType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $reservePricePerBuyersDataType = 'array';
public function setAutoOptimizePrivateAuction($autoOptimizePrivateAuction)
{
$this->autoOptimizePrivateAuction = $autoOptimizePrivateAuction;
}
public function getAutoOptimizePrivateAuction()
{
return $this->autoOptimizePrivateAuction;
}
/**
* @param Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function setReservePricePerBuyers($reservePricePerBuyers)
{
$this->reservePricePerBuyers = $reservePricePerBuyers;
}
/**
* @return Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function getReservePricePerBuyers()
{
return $this->reservePricePerBuyers;
}
}

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_AdExchangeBuyer_DealTermsNonGuaranteedFixedPriceTerms extends Google_Collection
{
protected $collection_key = 'fixedPrices';
protected $fixedPricesType = 'Google_Service_AdExchangeBuyer_PricePerBuyer';
protected $fixedPricesDataType = 'array';
/**
* @param Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function setFixedPrices($fixedPrices)
{
$this->fixedPrices = $fixedPrices;
}
/**
* @return Google_Service_AdExchangeBuyer_PricePerBuyer
*/
public function getFixedPrices()
{
return $this->fixedPrices;
}
}

View File

@@ -0,0 +1,53 @@
<?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_DealTermsRubiconNonGuaranteedTerms extends Google_Model
{
protected $priorityPriceType = 'Google_Service_AdExchangeBuyer_Price';
protected $priorityPriceDataType = '';
protected $standardPriceType = 'Google_Service_AdExchangeBuyer_Price';
protected $standardPriceDataType = '';
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setPriorityPrice(Google_Service_AdExchangeBuyer_Price $priorityPrice)
{
$this->priorityPrice = $priorityPrice;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getPriorityPrice()
{
return $this->priorityPrice;
}
/**
* @param Google_Service_AdExchangeBuyer_Price
*/
public function setStandardPrice(Google_Service_AdExchangeBuyer_Price $standardPrice)
{
$this->standardPrice = $standardPrice;
}
/**
* @return Google_Service_AdExchangeBuyer_Price
*/
public function getStandardPrice()
{
return $this->standardPrice;
}
}

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