Best Python code snippet using tox_python
apis_map.py
Source:apis_map.py
1# -*- coding: utf-8 -*- #2# Copyright 2015 Google Inc. All Rights Reserved.3#4# Licensed under the Apache License, Version 2.0 (the "License");5# you may not use this file except in compliance with the License.6# You may obtain a copy of the License at7#8# http://www.apache.org/licenses/LICENSE-2.09#10# Unless required by applicable law or agreed to in writing, software11# distributed under the License is distributed on an "AS IS" BASIS,12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13# See the License for the specific language governing permissions and14# limitations under the License.15"""Base template using which the apis_map.py is generated."""16from __future__ import unicode_literals17class APIDef(object):18 """Struct for info required to instantiate clients/messages for API versions.19 Attributes:20 class_path: str, Path to the package containing api related modules.21 client_classpath: str, Relative path to the client class for an API version.22 messages_modulepath: str, Relative path to the messages module for an23 API version.24 default_version: bool, Whether this API version is the default version for25 the API.26 """27 def __init__(self,28 class_path,29 client_classpath,30 messages_modulepath,31 default_version=False):32 self.class_path = class_path33 self.client_classpath = client_classpath34 self.messages_modulepath = messages_modulepath35 self.default_version = default_version36 @property37 def client_full_classpath(self):38 return self.class_path + '.' + self.client_classpath39 @property40 def messages_full_modulepath(self):41 return self.class_path + '.' + self.messages_modulepath42 def __eq__(self, other):43 return (isinstance(other, self.__class__)44 and self.__dict__ == other.__dict__)45 def __ne__(self, other):46 return not self.__eq__(other)47 def get_init_source(self):48 src_fmt = 'APIDef("{0}", "{1}", "{2}", {3})'49 return src_fmt.format(self.class_path,50 self.client_classpath,51 self.messages_modulepath,52 self.default_version)53 def __repr__(self):54 return self.get_init_source()55MAP = {56 'accesscontextmanager': {57 'v1alpha': APIDef(58 class_path='googlecloudsdk.third_party.apis.accesscontextmanager.v1alpha',59 client_classpath='accesscontextmanager_v1alpha_client.AccesscontextmanagerV1alpha',60 messages_modulepath='accesscontextmanager_v1alpha_messages',61 default_version=False62 ),63 'v1beta': APIDef(64 class_path='googlecloudsdk.third_party.apis.accesscontextmanager.v1beta',65 client_classpath='accesscontextmanager_v1beta_client.AccesscontextmanagerV1beta',66 messages_modulepath='accesscontextmanager_v1beta_messages',67 default_version=True68 ),69 },70 'apikeys': {71 'v1': APIDef(72 class_path='googlecloudsdk.third_party.apis.apikeys.v1',73 client_classpath='apikeys_v1_client.ApikeysV1',74 messages_modulepath='apikeys_v1_messages',75 default_version=True76 ),77 },78 'appengine': {79 'v1': APIDef(80 class_path='googlecloudsdk.third_party.apis.appengine.v1',81 client_classpath='appengine_v1_client.AppengineV1',82 messages_modulepath='appengine_v1_messages',83 default_version=True84 ),85 'v1alpha': APIDef(86 class_path='googlecloudsdk.third_party.apis.appengine.v1alpha',87 client_classpath='appengine_v1alpha_client.AppengineV1alpha',88 messages_modulepath='appengine_v1alpha_messages',89 default_version=False90 ),91 'v1beta': APIDef(92 class_path='googlecloudsdk.third_party.apis.appengine.v1beta',93 client_classpath='appengine_v1beta_client.AppengineV1beta',94 messages_modulepath='appengine_v1beta_messages',95 default_version=False96 ),97 },98 'bigquery': {99 'v2': APIDef(100 class_path='googlecloudsdk.third_party.apis.bigquery.v2',101 client_classpath='bigquery_v2_client.BigqueryV2',102 messages_modulepath='bigquery_v2_messages',103 default_version=True104 ),105 },106 'bigquerydatatransfer': {107 'v1': APIDef(108 class_path='googlecloudsdk.third_party.apis.bigquerydatatransfer.v1',109 client_classpath='bigquerydatatransfer_v1_client.BigquerydatatransferV1',110 messages_modulepath='bigquerydatatransfer_v1_messages',111 default_version=True112 ),113 },114 'bigtableadmin': {115 'v2': APIDef(116 class_path='googlecloudsdk.third_party.apis.bigtableadmin.v2',117 client_classpath='bigtableadmin_v2_client.BigtableadminV2',118 messages_modulepath='bigtableadmin_v2_messages',119 default_version=True120 ),121 },122 'bigtableclusteradmin': {123 'v1': APIDef(124 class_path='googlecloudsdk.third_party.apis.bigtableclusteradmin.v1',125 client_classpath='bigtableclusteradmin_v1_client.BigtableclusteradminV1',126 messages_modulepath='bigtableclusteradmin_v1_messages',127 default_version=True128 ),129 },130 'binaryauthorization': {131 'v1alpha2': APIDef(132 class_path='googlecloudsdk.third_party.apis.binaryauthorization.v1alpha2',133 client_classpath='binaryauthorization_v1alpha2_client.BinaryauthorizationV1alpha2',134 messages_modulepath='binaryauthorization_v1alpha2_messages',135 default_version=True136 ),137 'v1beta1': APIDef(138 class_path='googlecloudsdk.third_party.apis.binaryauthorization.v1beta1',139 client_classpath='binaryauthorization_v1beta1_client.BinaryauthorizationV1beta1',140 messages_modulepath='binaryauthorization_v1beta1_messages',141 default_version=False142 ),143 },144 'bio': {145 'v1': APIDef(146 class_path='googlecloudsdk.third_party.apis.bio.v1',147 client_classpath='bio_v1_client.BioV1',148 messages_modulepath='bio_v1_messages',149 default_version=True150 ),151 },152 'cloudasset': {153 'v1': APIDef(154 class_path='googlecloudsdk.third_party.apis.cloudasset.v1',155 client_classpath='cloudasset_v1_client.CloudassetV1',156 messages_modulepath='cloudasset_v1_messages',157 default_version=False158 ),159 'v1beta1': APIDef(160 class_path='googlecloudsdk.third_party.apis.cloudasset.v1beta1',161 client_classpath='cloudasset_v1beta1_client.CloudassetV1beta1',162 messages_modulepath='cloudasset_v1beta1_messages',163 default_version=True164 ),165 },166 'cloudbilling': {167 'v1': APIDef(168 class_path='googlecloudsdk.third_party.apis.cloudbilling.v1',169 client_classpath='cloudbilling_v1_client.CloudbillingV1',170 messages_modulepath='cloudbilling_v1_messages',171 default_version=True172 ),173 },174 'cloudbuild': {175 'v1': APIDef(176 class_path='googlecloudsdk.third_party.apis.cloudbuild.v1',177 client_classpath='cloudbuild_v1_client.CloudbuildV1',178 messages_modulepath='cloudbuild_v1_messages',179 default_version=True180 ),181 'v1alpha1': APIDef(182 class_path='googlecloudsdk.third_party.apis.cloudbuild.v1alpha1',183 client_classpath='cloudbuild_v1alpha1_client.CloudbuildV1alpha1',184 messages_modulepath='cloudbuild_v1alpha1_messages',185 default_version=False186 ),187 },188 'clouddebugger': {189 'v2': APIDef(190 class_path='googlecloudsdk.third_party.apis.clouddebugger.v2',191 client_classpath='clouddebugger_v2_client.ClouddebuggerV2',192 messages_modulepath='clouddebugger_v2_messages',193 default_version=True194 ),195 },196 'clouderrorreporting': {197 'v1beta1': APIDef(198 class_path='googlecloudsdk.third_party.apis.clouderrorreporting.v1beta1',199 client_classpath='clouderrorreporting_v1beta1_client.ClouderrorreportingV1beta1',200 messages_modulepath='clouderrorreporting_v1beta1_messages',201 default_version=True202 ),203 },204 'cloudfunctions': {205 'v1': APIDef(206 class_path='googlecloudsdk.third_party.apis.cloudfunctions.v1',207 client_classpath='cloudfunctions_v1_client.CloudfunctionsV1',208 messages_modulepath='cloudfunctions_v1_messages',209 default_version=True210 ),211 },212 'cloudiot': {213 'v1': APIDef(214 class_path='googlecloudsdk.third_party.apis.cloudiot.v1',215 client_classpath='cloudiot_v1_client.CloudiotV1',216 messages_modulepath='cloudiot_v1_messages',217 default_version=True218 ),219 },220 'cloudkms': {221 'v1': APIDef(222 class_path='googlecloudsdk.third_party.apis.cloudkms.v1',223 client_classpath='cloudkms_v1_client.CloudkmsV1',224 messages_modulepath='cloudkms_v1_messages',225 default_version=True226 ),227 },228 'cloudresourcemanager': {229 'v1': APIDef(230 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v1',231 client_classpath='cloudresourcemanager_v1_client.CloudresourcemanagerV1',232 messages_modulepath='cloudresourcemanager_v1_messages',233 default_version=True234 ),235 'v1beta1': APIDef(236 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v1beta1',237 client_classpath='cloudresourcemanager_v1beta1_client.CloudresourcemanagerV1beta1',238 messages_modulepath='cloudresourcemanager_v1beta1_messages',239 default_version=False240 ),241 'v2alpha1': APIDef(242 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v2alpha1',243 client_classpath='cloudresourcemanager_v2alpha1_client.CloudresourcemanagerV2alpha1',244 messages_modulepath='cloudresourcemanager_v2alpha1_messages',245 default_version=False246 ),247 'v2beta1': APIDef(248 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v2beta1',249 client_classpath='cloudresourcemanager_v2beta1_client.CloudresourcemanagerV2beta1',250 messages_modulepath='cloudresourcemanager_v2beta1_messages',251 default_version=False252 ),253 },254 'cloudresourcesearch': {255 'v1': APIDef(256 class_path='googlecloudsdk.third_party.apis.cloudresourcesearch.v1',257 client_classpath='cloudresourcesearch_v1_client.CloudresourcesearchV1',258 messages_modulepath='cloudresourcesearch_v1_messages',259 default_version=True260 ),261 },262 'cloudscheduler': {263 'v1alpha1': APIDef(264 class_path='googlecloudsdk.third_party.apis.cloudscheduler.v1alpha1',265 client_classpath='cloudscheduler_v1alpha1_client.CloudschedulerV1alpha1',266 messages_modulepath='cloudscheduler_v1alpha1_messages',267 default_version=False268 ),269 'v1beta1': APIDef(270 class_path='googlecloudsdk.third_party.apis.cloudscheduler.v1beta1',271 client_classpath='cloudscheduler_v1beta1_client.CloudschedulerV1beta1',272 messages_modulepath='cloudscheduler_v1beta1_messages',273 default_version=True274 ),275 },276 'cloudshell': {277 'v1': APIDef(278 class_path='googlecloudsdk.third_party.apis.cloudshell.v1',279 client_classpath='cloudshell_v1_client.CloudshellV1',280 messages_modulepath='cloudshell_v1_messages',281 default_version=False282 ),283 'v1alpha1': APIDef(284 class_path='googlecloudsdk.third_party.apis.cloudshell.v1alpha1',285 client_classpath='cloudshell_v1alpha1_client.CloudshellV1alpha1',286 messages_modulepath='cloudshell_v1alpha1_messages',287 default_version=True288 ),289 },290 'cloudtasks': {291 'v2beta2': APIDef(292 class_path='googlecloudsdk.third_party.apis.cloudtasks.v2beta2',293 client_classpath='cloudtasks_v2beta2_client.CloudtasksV2beta2',294 messages_modulepath='cloudtasks_v2beta2_messages',295 default_version=True296 ),297 'v2beta3': APIDef(298 class_path='googlecloudsdk.third_party.apis.cloudtasks.v2beta3',299 client_classpath='cloudtasks_v2beta3_client.CloudtasksV2beta3',300 messages_modulepath='cloudtasks_v2beta3_messages',301 default_version=False302 ),303 },304 'composer': {305 'v1': APIDef(306 class_path='googlecloudsdk.third_party.apis.composer.v1',307 client_classpath='composer_v1_client.ComposerV1',308 messages_modulepath='composer_v1_messages',309 default_version=True310 ),311 'v1alpha2': APIDef(312 class_path='googlecloudsdk.third_party.apis.composer.v1alpha2',313 client_classpath='composer_v1alpha2_client.ComposerV1alpha2',314 messages_modulepath='composer_v1alpha2_messages',315 default_version=False316 ),317 'v1beta1': APIDef(318 class_path='googlecloudsdk.third_party.apis.composer.v1beta1',319 client_classpath='composer_v1beta1_client.ComposerV1beta1',320 messages_modulepath='composer_v1beta1_messages',321 default_version=False322 ),323 },324 'compute': {325 'alpha': APIDef(326 class_path='googlecloudsdk.third_party.apis.compute.alpha',327 client_classpath='compute_alpha_client.ComputeAlpha',328 messages_modulepath='compute_alpha_messages',329 default_version=False330 ),331 'beta': APIDef(332 class_path='googlecloudsdk.third_party.apis.compute.beta',333 client_classpath='compute_beta_client.ComputeBeta',334 messages_modulepath='compute_beta_messages',335 default_version=False336 ),337 'v1': APIDef(338 class_path='googlecloudsdk.third_party.apis.compute.v1',339 client_classpath='compute_v1_client.ComputeV1',340 messages_modulepath='compute_v1_messages',341 default_version=True342 ),343 },344 'container': {345 'v1': APIDef(346 class_path='googlecloudsdk.third_party.apis.container.v1',347 client_classpath='container_v1_client.ContainerV1',348 messages_modulepath='container_v1_messages',349 default_version=True350 ),351 'v1alpha1': APIDef(352 class_path='googlecloudsdk.third_party.apis.container.v1alpha1',353 client_classpath='container_v1alpha1_client.ContainerV1alpha1',354 messages_modulepath='container_v1alpha1_messages',355 default_version=False356 ),357 'v1beta1': APIDef(358 class_path='googlecloudsdk.third_party.apis.container.v1beta1',359 client_classpath='container_v1beta1_client.ContainerV1beta1',360 messages_modulepath='container_v1beta1_messages',361 default_version=False362 ),363 },364 'containeranalysis': {365 'v1alpha1': APIDef(366 class_path='googlecloudsdk.third_party.apis.containeranalysis.v1alpha1',367 client_classpath='containeranalysis_v1alpha1_client.ContaineranalysisV1alpha1',368 messages_modulepath='containeranalysis_v1alpha1_messages',369 default_version=True370 ),371 'v1beta1': APIDef(372 class_path='googlecloudsdk.third_party.apis.containeranalysis.v1beta1',373 client_classpath='containeranalysis_v1beta1_client.ContaineranalysisV1beta1',374 messages_modulepath='containeranalysis_v1beta1_messages',375 default_version=False376 ),377 },378 'datacatalog': {379 'v1alpha3': APIDef(380 class_path='googlecloudsdk.third_party.apis.datacatalog.v1alpha3',381 client_classpath='datacatalog_v1alpha3_client.DatacatalogV1alpha3',382 messages_modulepath='datacatalog_v1alpha3_messages',383 default_version=True384 ),385 },386 'dataflow': {387 'v1b3': APIDef(388 class_path='googlecloudsdk.third_party.apis.dataflow.v1b3',389 client_classpath='dataflow_v1b3_client.DataflowV1b3',390 messages_modulepath='dataflow_v1b3_messages',391 default_version=True392 ),393 },394 'dataproc': {395 'v1': APIDef(396 class_path='googlecloudsdk.third_party.apis.dataproc.v1',397 client_classpath='dataproc_v1_client.DataprocV1',398 messages_modulepath='dataproc_v1_messages',399 default_version=True400 ),401 'v1beta2': APIDef(402 class_path='googlecloudsdk.third_party.apis.dataproc.v1beta2',403 client_classpath='dataproc_v1beta2_client.DataprocV1beta2',404 messages_modulepath='dataproc_v1beta2_messages',405 default_version=False406 ),407 },408 'datastore': {409 'v1': APIDef(410 class_path='googlecloudsdk.third_party.apis.datastore.v1',411 client_classpath='datastore_v1_client.DatastoreV1',412 messages_modulepath='datastore_v1_messages',413 default_version=True414 ),415 'v1beta1': APIDef(416 class_path='googlecloudsdk.third_party.apis.datastore.v1beta1',417 client_classpath='datastore_v1beta1_client.DatastoreV1beta1',418 messages_modulepath='datastore_v1beta1_messages',419 default_version=False420 ),421 },422 'deploymentmanager': {423 'alpha': APIDef(424 class_path='googlecloudsdk.third_party.apis.deploymentmanager.alpha',425 client_classpath='deploymentmanager_alpha_client.DeploymentmanagerAlpha',426 messages_modulepath='deploymentmanager_alpha_messages',427 default_version=False428 ),429 'v2': APIDef(430 class_path='googlecloudsdk.third_party.apis.deploymentmanager.v2',431 client_classpath='deploymentmanager_v2_client.DeploymentmanagerV2',432 messages_modulepath='deploymentmanager_v2_messages',433 default_version=True434 ),435 'v2beta': APIDef(436 class_path='googlecloudsdk.third_party.apis.deploymentmanager.v2beta',437 client_classpath='deploymentmanager_v2beta_client.DeploymentmanagerV2beta',438 messages_modulepath='deploymentmanager_v2beta_messages',439 default_version=False440 ),441 },442 'discovery': {443 'v1': APIDef(444 class_path='googlecloudsdk.third_party.apis.discovery.v1',445 client_classpath='discovery_v1_client.DiscoveryV1',446 messages_modulepath='discovery_v1_messages',447 default_version=True448 ),449 },450 'dlp': {451 'v2': APIDef(452 class_path='googlecloudsdk.third_party.apis.dlp.v2',453 client_classpath='dlp_v2_client.DlpV2',454 messages_modulepath='dlp_v2_messages',455 default_version=True456 ),457 },458 'dns': {459 'v1': APIDef(460 class_path='googlecloudsdk.third_party.apis.dns.v1',461 client_classpath='dns_v1_client.DnsV1',462 messages_modulepath='dns_v1_messages',463 default_version=True464 ),465 'v1beta2': APIDef(466 class_path='googlecloudsdk.third_party.apis.dns.v1beta2',467 client_classpath='dns_v1beta2_client.DnsV1beta2',468 messages_modulepath='dns_v1beta2_messages',469 default_version=False470 ),471 },472 'eventflow': {473 'v1beta2': APIDef(474 class_path='googlecloudsdk.third_party.apis.eventflow.v1beta2',475 client_classpath='eventflow_v1beta2_client.EventflowV1beta2',476 messages_modulepath='eventflow_v1beta2_messages',477 default_version=True478 ),479 },480 'file': {481 'v1': APIDef(482 class_path='googlecloudsdk.third_party.apis.file.v1',483 client_classpath='file_v1_client.FileV1',484 messages_modulepath='file_v1_messages',485 default_version=False486 ),487 'v1alpha1': APIDef(488 class_path='googlecloudsdk.third_party.apis.file.v1alpha1',489 client_classpath='file_v1alpha1_client.FileV1alpha1',490 messages_modulepath='file_v1alpha1_messages',491 default_version=True492 ),493 'v1beta1': APIDef(494 class_path='googlecloudsdk.third_party.apis.file.v1beta1',495 client_classpath='file_v1beta1_client.FileV1beta1',496 messages_modulepath='file_v1beta1_messages',497 default_version=False498 ),499 },500 'firestore': {501 'v1': APIDef(502 class_path='googlecloudsdk.third_party.apis.firestore.v1',503 client_classpath='firestore_v1_client.FirestoreV1',504 messages_modulepath='firestore_v1_messages',505 default_version=False506 ),507 'v1beta1': APIDef(508 class_path='googlecloudsdk.third_party.apis.firestore.v1beta1',509 client_classpath='firestore_v1beta1_client.FirestoreV1beta1',510 messages_modulepath='firestore_v1beta1_messages',511 default_version=False512 ),513 'v1beta2': APIDef(514 class_path='googlecloudsdk.third_party.apis.firestore.v1beta2',515 client_classpath='firestore_v1beta2_client.FirestoreV1beta2',516 messages_modulepath='firestore_v1beta2_messages',517 default_version=True518 ),519 },520 'genomics': {521 'v1': APIDef(522 class_path='googlecloudsdk.third_party.apis.genomics.v1',523 client_classpath='genomics_v1_client.GenomicsV1',524 messages_modulepath='genomics_v1_messages',525 default_version=True526 ),527 'v1alpha2': APIDef(528 class_path='googlecloudsdk.third_party.apis.genomics.v1alpha2',529 client_classpath='genomics_v1alpha2_client.GenomicsV1alpha2',530 messages_modulepath='genomics_v1alpha2_messages',531 default_version=False532 ),533 'v2alpha1': APIDef(534 class_path='googlecloudsdk.third_party.apis.genomics.v2alpha1',535 client_classpath='genomics_v2alpha1_client.GenomicsV2alpha1',536 messages_modulepath='genomics_v2alpha1_messages',537 default_version=False538 ),539 },540 'gkehub': {541 'v1beta1': APIDef(542 class_path='googlecloudsdk.third_party.apis.gkehub.v1beta1',543 client_classpath='gkehub_v1beta1_client.GkehubV1beta1',544 messages_modulepath='gkehub_v1beta1_messages',545 default_version=True546 ),547 },548 'iam': {549 'v1': APIDef(550 class_path='googlecloudsdk.third_party.apis.iam.v1',551 client_classpath='iam_v1_client.IamV1',552 messages_modulepath='iam_v1_messages',553 default_version=True554 ),555 },556 'iamcredentials': {557 'v1': APIDef(558 class_path='googlecloudsdk.third_party.apis.iamcredentials.v1',559 client_classpath='iamcredentials_v1_client.IamcredentialsV1',560 messages_modulepath='iamcredentials_v1_messages',561 default_version=True562 ),563 },564 'iap': {565 'v1beta1': APIDef(566 class_path='googlecloudsdk.third_party.apis.iap.v1beta1',567 client_classpath='iap_v1beta1_client.IapV1beta1',568 messages_modulepath='iap_v1beta1_messages',569 default_version=True570 ),571 },572 'kubernetespolicy': {573 'v1alpha1': APIDef(574 class_path='googlecloudsdk.third_party.apis.kubernetespolicy.v1alpha1',575 client_classpath='kubernetespolicy_v1alpha1_client.KubernetespolicyV1alpha1',576 messages_modulepath='kubernetespolicy_v1alpha1_messages',577 default_version=True578 ),579 },580 'language': {581 'v1': APIDef(582 class_path='googlecloudsdk.third_party.apis.language.v1',583 client_classpath='language_v1_client.LanguageV1',584 messages_modulepath='language_v1_messages',585 default_version=True586 ),587 'v1beta2': APIDef(588 class_path='googlecloudsdk.third_party.apis.language.v1beta2',589 client_classpath='language_v1beta2_client.LanguageV1beta2',590 messages_modulepath='language_v1beta2_messages',591 default_version=False592 ),593 },594 'logging': {595 'v2': APIDef(596 class_path='googlecloudsdk.third_party.apis.logging.v2',597 client_classpath='logging_v2_client.LoggingV2',598 messages_modulepath='logging_v2_messages',599 default_version=True600 ),601 },602 'ml': {603 'v1': APIDef(604 class_path='googlecloudsdk.third_party.apis.ml.v1',605 client_classpath='ml_v1_client.MlV1',606 messages_modulepath='ml_v1_messages',607 default_version=True608 ),609 },610 'monitoring': {611 'v3': APIDef(612 class_path='googlecloudsdk.third_party.apis.monitoring.v3',613 client_classpath='monitoring_v3_client.MonitoringV3',614 messages_modulepath='monitoring_v3_messages',615 default_version=True616 ),617 },618 'oslogin': {619 'v1': APIDef(620 class_path='googlecloudsdk.third_party.apis.oslogin.v1',621 client_classpath='oslogin_v1_client.OsloginV1',622 messages_modulepath='oslogin_v1_messages',623 default_version=True624 ),625 'v1alpha': APIDef(626 class_path='googlecloudsdk.third_party.apis.oslogin.v1alpha',627 client_classpath='oslogin_v1alpha_client.OsloginV1alpha',628 messages_modulepath='oslogin_v1alpha_messages',629 default_version=False630 ),631 'v1beta': APIDef(632 class_path='googlecloudsdk.third_party.apis.oslogin.v1beta',633 client_classpath='oslogin_v1beta_client.OsloginV1beta',634 messages_modulepath='oslogin_v1beta_messages',635 default_version=False636 ),637 },638 'pubsub': {639 'v1': APIDef(640 class_path='googlecloudsdk.third_party.apis.pubsub.v1',641 client_classpath='pubsub_v1_client.PubsubV1',642 messages_modulepath='pubsub_v1_messages',643 default_version=True644 ),645 },646 'redis': {647 'v1': APIDef(648 class_path='googlecloudsdk.third_party.apis.redis.v1',649 client_classpath='redis_v1_client.RedisV1',650 messages_modulepath='redis_v1_messages',651 default_version=True652 ),653 'v1alpha1': APIDef(654 class_path='googlecloudsdk.third_party.apis.redis.v1alpha1',655 client_classpath='redis_v1alpha1_client.RedisV1alpha1',656 messages_modulepath='redis_v1alpha1_messages',657 default_version=False658 ),659 'v1beta1': APIDef(660 class_path='googlecloudsdk.third_party.apis.redis.v1beta1',661 client_classpath='redis_v1beta1_client.RedisV1beta1',662 messages_modulepath='redis_v1beta1_messages',663 default_version=False664 ),665 },666 'remotebuildexecution': {667 'v1alpha': APIDef(668 class_path='googlecloudsdk.third_party.apis.remotebuildexecution.v1alpha',669 client_classpath='remotebuildexecution_v1alpha_client.RemotebuildexecutionV1alpha',670 messages_modulepath='remotebuildexecution_v1alpha_messages',671 default_version=True672 ),673 },674 'runtimeconfig': {675 'v1beta1': APIDef(676 class_path='googlecloudsdk.third_party.apis.runtimeconfig.v1beta1',677 client_classpath='runtimeconfig_v1beta1_client.RuntimeconfigV1beta1',678 messages_modulepath='runtimeconfig_v1beta1_messages',679 default_version=True680 ),681 },682 'serverless': {683 'v1alpha1': APIDef(684 class_path='googlecloudsdk.third_party.apis.serverless.v1alpha1',685 client_classpath='serverless_v1alpha1_client.ServerlessV1alpha1',686 messages_modulepath='serverless_v1alpha1_messages',687 default_version=True688 ),689 },690 'servicemanagement': {691 'v1': APIDef(692 class_path='googlecloudsdk.third_party.apis.servicemanagement.v1',693 client_classpath='servicemanagement_v1_client.ServicemanagementV1',694 messages_modulepath='servicemanagement_v1_messages',695 default_version=True696 ),697 },698 'servicenetworking': {699 'v1beta': APIDef(700 class_path='googlecloudsdk.third_party.apis.servicenetworking.v1beta',701 client_classpath='servicenetworking_v1beta_client.ServicenetworkingV1beta',702 messages_modulepath='servicenetworking_v1beta_messages',703 default_version=True704 ),705 },706 'serviceusage': {707 'v1': APIDef(708 class_path='googlecloudsdk.third_party.apis.serviceusage.v1',709 client_classpath='serviceusage_v1_client.ServiceusageV1',710 messages_modulepath='serviceusage_v1_messages',711 default_version=True712 ),713 'v1beta1': APIDef(714 class_path='googlecloudsdk.third_party.apis.serviceusage.v1beta1',715 client_classpath='serviceusage_v1beta1_client.ServiceusageV1beta1',716 messages_modulepath='serviceusage_v1beta1_messages',717 default_version=False718 ),719 },720 'serviceuser': {721 'v1': APIDef(722 class_path='googlecloudsdk.third_party.apis.serviceuser.v1',723 client_classpath='serviceuser_v1_client.ServiceuserV1',724 messages_modulepath='serviceuser_v1_messages',725 default_version=True726 ),727 },728 'source': {729 'v1': APIDef(730 class_path='googlecloudsdk.third_party.apis.source.v1',731 client_classpath='source_v1_client.SourceV1',732 messages_modulepath='source_v1_messages',733 default_version=True734 ),735 },736 'sourcerepo': {737 'v1': APIDef(738 class_path='googlecloudsdk.third_party.apis.sourcerepo.v1',739 client_classpath='sourcerepo_v1_client.SourcerepoV1',740 messages_modulepath='sourcerepo_v1_messages',741 default_version=True742 ),743 },744 'spanner': {745 'v1': APIDef(746 class_path='googlecloudsdk.third_party.apis.spanner.v1',747 client_classpath='spanner_v1_client.SpannerV1',748 messages_modulepath='spanner_v1_messages',749 default_version=True750 ),751 },752 'speech': {753 'v1': APIDef(754 class_path='googlecloudsdk.third_party.apis.speech.v1',755 client_classpath='speech_v1_client.SpeechV1',756 messages_modulepath='speech_v1_messages',757 default_version=True758 ),759 'v1p1beta1': APIDef(760 class_path='googlecloudsdk.third_party.apis.speech.v1p1beta1',761 client_classpath='speech_v1p1beta1_client.SpeechV1p1beta1',762 messages_modulepath='speech_v1p1beta1_messages',763 default_version=False764 ),765 },766 'sqladmin': {767 'v1beta3': APIDef(768 class_path='googlecloudsdk.third_party.apis.sqladmin.v1beta3',769 client_classpath='sqladmin_v1beta3_client.SqladminV1beta3',770 messages_modulepath='sqladmin_v1beta3_messages',771 default_version=True772 ),773 'v1beta4': APIDef(774 class_path='googlecloudsdk.third_party.apis.sqladmin.v1beta4',775 client_classpath='sqladmin_v1beta4_client.SqladminV1beta4',776 messages_modulepath='sqladmin_v1beta4_messages',777 default_version=False778 ),779 },780 'storage': {781 'v1': APIDef(782 class_path='googlecloudsdk.third_party.apis.storage.v1',783 client_classpath='storage_v1_client.StorageV1',784 messages_modulepath='storage_v1_messages',785 default_version=True786 ),787 },788 'testing': {789 'v1': APIDef(790 class_path='googlecloudsdk.third_party.apis.testing.v1',791 client_classpath='testing_v1_client.TestingV1',792 messages_modulepath='testing_v1_messages',793 default_version=True794 ),795 },796 'toolresults': {797 'v1beta3': APIDef(798 class_path='googlecloudsdk.third_party.apis.toolresults.v1beta3',799 client_classpath='toolresults_v1beta3_client.ToolresultsV1beta3',800 messages_modulepath='toolresults_v1beta3_messages',801 default_version=True802 ),803 },804 'tpu': {805 'v1': APIDef(806 class_path='googlecloudsdk.third_party.apis.tpu.v1',807 client_classpath='tpu_v1_client.TpuV1',808 messages_modulepath='tpu_v1_messages',809 default_version=False810 ),811 'v1alpha1': APIDef(812 class_path='googlecloudsdk.third_party.apis.tpu.v1alpha1',813 client_classpath='tpu_v1alpha1_client.TpuV1alpha1',814 messages_modulepath='tpu_v1alpha1_messages',815 default_version=True816 ),817 },818 'videointelligence': {819 'v1': APIDef(820 class_path='googlecloudsdk.third_party.apis.videointelligence.v1',821 client_classpath='videointelligence_v1_client.VideointelligenceV1',822 messages_modulepath='videointelligence_v1_messages',823 default_version=True824 ),825 },826 'vision': {827 'v1': APIDef(828 class_path='googlecloudsdk.third_party.apis.vision.v1',829 client_classpath='vision_v1_client.VisionV1',830 messages_modulepath='vision_v1_messages',831 default_version=True832 ),833 },834 'vpcaccess': {835 'v1alpha1': APIDef(836 class_path='googlecloudsdk.third_party.apis.vpcaccess.v1alpha1',837 client_classpath='vpcaccess_v1alpha1_client.VpcaccessV1alpha1',838 messages_modulepath='vpcaccess_v1alpha1_messages',839 default_version=True840 ),841 },...
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!