JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "CustomersPoliciesNetworks.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/google/apiclient-services/src/ChromePolicy/Resource/CustomersPoliciesNetworks.php
File size: 4.76 KB
MIME-type: text/x-php
Charset: utf-8
<?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.
*/
namespace Google\Service\ChromePolicy\Resource;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineCertificateRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineCertificateResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineNetworkRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1DefineNetworkResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveCertificateRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveCertificateResponse;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveNetworkRequest;
use Google\Service\ChromePolicy\GoogleChromePolicyVersionsV1RemoveNetworkResponse;
/**
* The "networks" collection of methods.
* Typical usage is:
* <code>
* $chromepolicyService = new Google\Service\ChromePolicy(...);
* $networks = $chromepolicyService->customers_policies_networks;
* </code>
*/
class CustomersPoliciesNetworks extends \Google\Service\Resource
{
/**
* Creates a certificate at a specified OU for a customer.
* (networks.defineCertificate)
*
* @param string $customer Required. The customer for which the certificate will
* apply.
* @param GoogleChromePolicyVersionsV1DefineCertificateRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1DefineCertificateResponse
* @throws \Google\Service\Exception
*/
public function defineCertificate($customer, GoogleChromePolicyVersionsV1DefineCertificateRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('defineCertificate', [$params], GoogleChromePolicyVersionsV1DefineCertificateResponse::class);
}
/**
* Define a new network. (networks.defineNetwork)
*
* @param string $customer Required. The customer who will own this new network.
* @param GoogleChromePolicyVersionsV1DefineNetworkRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1DefineNetworkResponse
* @throws \Google\Service\Exception
*/
public function defineNetwork($customer, GoogleChromePolicyVersionsV1DefineNetworkRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('defineNetwork', [$params], GoogleChromePolicyVersionsV1DefineNetworkResponse::class);
}
/**
* Remove an existing certificate by guid. (networks.removeCertificate)
*
* @param string $customer Required. The customer whose certificate will be
* removed.
* @param GoogleChromePolicyVersionsV1RemoveCertificateRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1RemoveCertificateResponse
* @throws \Google\Service\Exception
*/
public function removeCertificate($customer, GoogleChromePolicyVersionsV1RemoveCertificateRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeCertificate', [$params], GoogleChromePolicyVersionsV1RemoveCertificateResponse::class);
}
/**
* Remove an existing network by guid. (networks.removeNetwork)
*
* @param string $customer Required. The customer whose network will be removed.
* @param GoogleChromePolicyVersionsV1RemoveNetworkRequest $postBody
* @param array $optParams Optional parameters.
* @return GoogleChromePolicyVersionsV1RemoveNetworkResponse
* @throws \Google\Service\Exception
*/
public function removeNetwork($customer, GoogleChromePolicyVersionsV1RemoveNetworkRequest $postBody, $optParams = [])
{
$params = ['customer' => $customer, 'postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('removeNetwork', [$params], GoogleChromePolicyVersionsV1RemoveNetworkResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CustomersPoliciesNetworks::class, 'Google_Service_ChromePolicy_Resource_CustomersPoliciesNetworks');