1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18/** 19 * Service definition for CloudPrivateCatalog (v1beta1). 20 * 21 * <p> 22 * Enable cloud users to discover enterprise catalogs and products in their 23 * organizations.</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://cloud.google.com/private-catalog/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32class Google_Service_CloudPrivateCatalog extends Google_Service 33{ 34 /** View and manage your data across Google Cloud Platform services. */ 35 const CLOUD_PLATFORM = 36 "https://www.googleapis.com/auth/cloud-platform"; 37 38 public $folders_catalogs; 39 public $folders_products; 40 public $folders_versions; 41 public $organizations_catalogs; 42 public $organizations_products; 43 public $organizations_versions; 44 public $projects_catalogs; 45 public $projects_products; 46 public $projects_versions; 47 48 /** 49 * Constructs the internal representation of the CloudPrivateCatalog service. 50 * 51 * @param Google_Client $client 52 */ 53 public function __construct(Google_Client $client) 54 { 55 parent::__construct($client); 56 $this->rootUrl = 'https://cloudprivatecatalog.googleapis.com/'; 57 $this->servicePath = ''; 58 $this->batchPath = 'batch'; 59 $this->version = 'v1beta1'; 60 $this->serviceName = 'cloudprivatecatalog'; 61 62 $this->folders_catalogs = new Google_Service_CloudPrivateCatalog_Resource_FoldersCatalogs( 63 $this, 64 $this->serviceName, 65 'catalogs', 66 array( 67 'methods' => array( 68 'search' => array( 69 'path' => 'v1beta1/{+resource}/catalogs:search', 70 'httpMethod' => 'GET', 71 'parameters' => array( 72 'resource' => array( 73 'location' => 'path', 74 'type' => 'string', 75 'required' => true, 76 ), 77 'pageToken' => array( 78 'location' => 'query', 79 'type' => 'string', 80 ), 81 'pageSize' => array( 82 'location' => 'query', 83 'type' => 'integer', 84 ), 85 'query' => array( 86 'location' => 'query', 87 'type' => 'string', 88 ), 89 ), 90 ), 91 ) 92 ) 93 ); 94 $this->folders_products = new Google_Service_CloudPrivateCatalog_Resource_FoldersProducts( 95 $this, 96 $this->serviceName, 97 'products', 98 array( 99 'methods' => array( 100 'search' => array( 101 'path' => 'v1beta1/{+resource}/products:search', 102 'httpMethod' => 'GET', 103 'parameters' => array( 104 'resource' => array( 105 'location' => 'path', 106 'type' => 'string', 107 'required' => true, 108 ), 109 'pageToken' => array( 110 'location' => 'query', 111 'type' => 'string', 112 ), 113 'pageSize' => array( 114 'location' => 'query', 115 'type' => 'integer', 116 ), 117 'query' => array( 118 'location' => 'query', 119 'type' => 'string', 120 ), 121 ), 122 ), 123 ) 124 ) 125 ); 126 $this->folders_versions = new Google_Service_CloudPrivateCatalog_Resource_FoldersVersions( 127 $this, 128 $this->serviceName, 129 'versions', 130 array( 131 'methods' => array( 132 'search' => array( 133 'path' => 'v1beta1/{+resource}/versions:search', 134 'httpMethod' => 'GET', 135 'parameters' => array( 136 'resource' => array( 137 'location' => 'path', 138 'type' => 'string', 139 'required' => true, 140 ), 141 'query' => array( 142 'location' => 'query', 143 'type' => 'string', 144 ), 145 'pageToken' => array( 146 'location' => 'query', 147 'type' => 'string', 148 ), 149 'pageSize' => array( 150 'location' => 'query', 151 'type' => 'integer', 152 ), 153 ), 154 ), 155 ) 156 ) 157 ); 158 $this->organizations_catalogs = new Google_Service_CloudPrivateCatalog_Resource_OrganizationsCatalogs( 159 $this, 160 $this->serviceName, 161 'catalogs', 162 array( 163 'methods' => array( 164 'search' => array( 165 'path' => 'v1beta1/{+resource}/catalogs:search', 166 'httpMethod' => 'GET', 167 'parameters' => array( 168 'resource' => array( 169 'location' => 'path', 170 'type' => 'string', 171 'required' => true, 172 ), 173 'pageSize' => array( 174 'location' => 'query', 175 'type' => 'integer', 176 ), 177 'query' => array( 178 'location' => 'query', 179 'type' => 'string', 180 ), 181 'pageToken' => array( 182 'location' => 'query', 183 'type' => 'string', 184 ), 185 ), 186 ), 187 ) 188 ) 189 ); 190 $this->organizations_products = new Google_Service_CloudPrivateCatalog_Resource_OrganizationsProducts( 191 $this, 192 $this->serviceName, 193 'products', 194 array( 195 'methods' => array( 196 'search' => array( 197 'path' => 'v1beta1/{+resource}/products:search', 198 'httpMethod' => 'GET', 199 'parameters' => array( 200 'resource' => array( 201 'location' => 'path', 202 'type' => 'string', 203 'required' => true, 204 ), 205 'pageToken' => array( 206 'location' => 'query', 207 'type' => 'string', 208 ), 209 'pageSize' => array( 210 'location' => 'query', 211 'type' => 'integer', 212 ), 213 'query' => array( 214 'location' => 'query', 215 'type' => 'string', 216 ), 217 ), 218 ), 219 ) 220 ) 221 ); 222 $this->organizations_versions = new Google_Service_CloudPrivateCatalog_Resource_OrganizationsVersions( 223 $this, 224 $this->serviceName, 225 'versions', 226 array( 227 'methods' => array( 228 'search' => array( 229 'path' => 'v1beta1/{+resource}/versions:search', 230 'httpMethod' => 'GET', 231 'parameters' => array( 232 'resource' => array( 233 'location' => 'path', 234 'type' => 'string', 235 'required' => true, 236 ), 237 'pageToken' => array( 238 'location' => 'query', 239 'type' => 'string', 240 ), 241 'pageSize' => array( 242 'location' => 'query', 243 'type' => 'integer', 244 ), 245 'query' => array( 246 'location' => 'query', 247 'type' => 'string', 248 ), 249 ), 250 ), 251 ) 252 ) 253 ); 254 $this->projects_catalogs = new Google_Service_CloudPrivateCatalog_Resource_ProjectsCatalogs( 255 $this, 256 $this->serviceName, 257 'catalogs', 258 array( 259 'methods' => array( 260 'search' => array( 261 'path' => 'v1beta1/{+resource}/catalogs:search', 262 'httpMethod' => 'GET', 263 'parameters' => array( 264 'resource' => array( 265 'location' => 'path', 266 'type' => 'string', 267 'required' => true, 268 ), 269 'query' => array( 270 'location' => 'query', 271 'type' => 'string', 272 ), 273 'pageToken' => array( 274 'location' => 'query', 275 'type' => 'string', 276 ), 277 'pageSize' => array( 278 'location' => 'query', 279 'type' => 'integer', 280 ), 281 ), 282 ), 283 ) 284 ) 285 ); 286 $this->projects_products = new Google_Service_CloudPrivateCatalog_Resource_ProjectsProducts( 287 $this, 288 $this->serviceName, 289 'products', 290 array( 291 'methods' => array( 292 'search' => array( 293 'path' => 'v1beta1/{+resource}/products:search', 294 'httpMethod' => 'GET', 295 'parameters' => array( 296 'resource' => array( 297 'location' => 'path', 298 'type' => 'string', 299 'required' => true, 300 ), 301 'pageToken' => array( 302 'location' => 'query', 303 'type' => 'string', 304 ), 305 'pageSize' => array( 306 'location' => 'query', 307 'type' => 'integer', 308 ), 309 'query' => array( 310 'location' => 'query', 311 'type' => 'string', 312 ), 313 ), 314 ), 315 ) 316 ) 317 ); 318 $this->projects_versions = new Google_Service_CloudPrivateCatalog_Resource_ProjectsVersions( 319 $this, 320 $this->serviceName, 321 'versions', 322 array( 323 'methods' => array( 324 'search' => array( 325 'path' => 'v1beta1/{+resource}/versions:search', 326 'httpMethod' => 'GET', 327 'parameters' => array( 328 'resource' => array( 329 'location' => 'path', 330 'type' => 'string', 331 'required' => true, 332 ), 333 'pageToken' => array( 334 'location' => 'query', 335 'type' => 'string', 336 ), 337 'pageSize' => array( 338 'location' => 'query', 339 'type' => 'integer', 340 ), 341 'query' => array( 342 'location' => 'query', 343 'type' => 'string', 344 ), 345 ), 346 ), 347 ) 348 ) 349 ); 350 } 351} 352