How to use default_version method in localstack

Best Python code snippet using localstack_python

apis_map.py

Source:apis_map.py Github

copy

Full Screen

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 'v1': APIDef(58 class_path='googlecloudsdk.third_party.apis.accesscontextmanager.v1',59 client_classpath='accesscontextmanager_v1_client.AccesscontextmanagerV1',60 messages_modulepath='accesscontextmanager_v1_messages',61 default_version=True62 ),63 'v1alpha': APIDef(64 class_path='googlecloudsdk.third_party.apis.accesscontextmanager.v1alpha',65 client_classpath='accesscontextmanager_v1alpha_client.AccesscontextmanagerV1alpha',66 messages_modulepath='accesscontextmanager_v1alpha_messages',67 default_version=False68 ),69 'v1beta': APIDef(70 class_path='googlecloudsdk.third_party.apis.accesscontextmanager.v1beta',71 client_classpath='accesscontextmanager_v1beta_client.AccesscontextmanagerV1beta',72 messages_modulepath='accesscontextmanager_v1beta_messages',73 default_version=False74 ),75 },76 'appengine': {77 'v1': APIDef(78 class_path='googlecloudsdk.third_party.apis.appengine.v1',79 client_classpath='appengine_v1_client.AppengineV1',80 messages_modulepath='appengine_v1_messages',81 default_version=True82 ),83 'v1alpha': APIDef(84 class_path='googlecloudsdk.third_party.apis.appengine.v1alpha',85 client_classpath='appengine_v1alpha_client.AppengineV1alpha',86 messages_modulepath='appengine_v1alpha_messages',87 default_version=False88 ),89 'v1beta': APIDef(90 class_path='googlecloudsdk.third_party.apis.appengine.v1beta',91 client_classpath='appengine_v1beta_client.AppengineV1beta',92 messages_modulepath='appengine_v1beta_messages',93 default_version=False94 ),95 },96 'bigquery': {97 'v2': APIDef(98 class_path='googlecloudsdk.third_party.apis.bigquery.v2',99 client_classpath='bigquery_v2_client.BigqueryV2',100 messages_modulepath='bigquery_v2_messages',101 default_version=True102 ),103 },104 'bigquerydatatransfer': {105 'v1': APIDef(106 class_path='googlecloudsdk.third_party.apis.bigquerydatatransfer.v1',107 client_classpath='bigquerydatatransfer_v1_client.BigquerydatatransferV1',108 messages_modulepath='bigquerydatatransfer_v1_messages',109 default_version=True110 ),111 },112 'bigtableadmin': {113 'v2': APIDef(114 class_path='googlecloudsdk.third_party.apis.bigtableadmin.v2',115 client_classpath='bigtableadmin_v2_client.BigtableadminV2',116 messages_modulepath='bigtableadmin_v2_messages',117 default_version=True118 ),119 },120 'bigtableclusteradmin': {121 'v1': APIDef(122 class_path='googlecloudsdk.third_party.apis.bigtableclusteradmin.v1',123 client_classpath='bigtableclusteradmin_v1_client.BigtableclusteradminV1',124 messages_modulepath='bigtableclusteradmin_v1_messages',125 default_version=True126 ),127 },128 'binaryauthorization': {129 'v1alpha2': APIDef(130 class_path='googlecloudsdk.third_party.apis.binaryauthorization.v1alpha2',131 client_classpath='binaryauthorization_v1alpha2_client.BinaryauthorizationV1alpha2',132 messages_modulepath='binaryauthorization_v1alpha2_messages',133 default_version=True134 ),135 'v1beta1': APIDef(136 class_path='googlecloudsdk.third_party.apis.binaryauthorization.v1beta1',137 client_classpath='binaryauthorization_v1beta1_client.BinaryauthorizationV1beta1',138 messages_modulepath='binaryauthorization_v1beta1_messages',139 default_version=False140 ),141 },142 'bio': {143 'v1': APIDef(144 class_path='googlecloudsdk.third_party.apis.bio.v1',145 client_classpath='bio_v1_client.BioV1',146 messages_modulepath='bio_v1_messages',147 default_version=True148 ),149 },150 'cloudasset': {151 'v1': APIDef(152 class_path='googlecloudsdk.third_party.apis.cloudasset.v1',153 client_classpath='cloudasset_v1_client.CloudassetV1',154 messages_modulepath='cloudasset_v1_messages',155 default_version=False156 ),157 'v1beta1': APIDef(158 class_path='googlecloudsdk.third_party.apis.cloudasset.v1beta1',159 client_classpath='cloudasset_v1beta1_client.CloudassetV1beta1',160 messages_modulepath='cloudasset_v1beta1_messages',161 default_version=True162 ),163 },164 'cloudbilling': {165 'v1': APIDef(166 class_path='googlecloudsdk.third_party.apis.cloudbilling.v1',167 client_classpath='cloudbilling_v1_client.CloudbillingV1',168 messages_modulepath='cloudbilling_v1_messages',169 default_version=True170 ),171 },172 'cloudbuild': {173 'v1': APIDef(174 class_path='googlecloudsdk.third_party.apis.cloudbuild.v1',175 client_classpath='cloudbuild_v1_client.CloudbuildV1',176 messages_modulepath='cloudbuild_v1_messages',177 default_version=True178 ),179 'v1alpha1': APIDef(180 class_path='googlecloudsdk.third_party.apis.cloudbuild.v1alpha1',181 client_classpath='cloudbuild_v1alpha1_client.CloudbuildV1alpha1',182 messages_modulepath='cloudbuild_v1alpha1_messages',183 default_version=False184 ),185 },186 'clouddebugger': {187 'v2': APIDef(188 class_path='googlecloudsdk.third_party.apis.clouddebugger.v2',189 client_classpath='clouddebugger_v2_client.ClouddebuggerV2',190 messages_modulepath='clouddebugger_v2_messages',191 default_version=True192 ),193 },194 'clouderrorreporting': {195 'v1beta1': APIDef(196 class_path='googlecloudsdk.third_party.apis.clouderrorreporting.v1beta1',197 client_classpath='clouderrorreporting_v1beta1_client.ClouderrorreportingV1beta1',198 messages_modulepath='clouderrorreporting_v1beta1_messages',199 default_version=True200 ),201 },202 'cloudfunctions': {203 'v1': APIDef(204 class_path='googlecloudsdk.third_party.apis.cloudfunctions.v1',205 client_classpath='cloudfunctions_v1_client.CloudfunctionsV1',206 messages_modulepath='cloudfunctions_v1_messages',207 default_version=True208 ),209 },210 'cloudiot': {211 'v1': APIDef(212 class_path='googlecloudsdk.third_party.apis.cloudiot.v1',213 client_classpath='cloudiot_v1_client.CloudiotV1',214 messages_modulepath='cloudiot_v1_messages',215 default_version=True216 ),217 },218 'cloudkms': {219 'v1': APIDef(220 class_path='googlecloudsdk.third_party.apis.cloudkms.v1',221 client_classpath='cloudkms_v1_client.CloudkmsV1',222 messages_modulepath='cloudkms_v1_messages',223 default_version=True224 ),225 },226 'cloudresourcemanager': {227 'v1': APIDef(228 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v1',229 client_classpath='cloudresourcemanager_v1_client.CloudresourcemanagerV1',230 messages_modulepath='cloudresourcemanager_v1_messages',231 default_version=True232 ),233 'v1beta1': APIDef(234 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v1beta1',235 client_classpath='cloudresourcemanager_v1beta1_client.CloudresourcemanagerV1beta1',236 messages_modulepath='cloudresourcemanager_v1beta1_messages',237 default_version=False238 ),239 'v2': APIDef(240 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v2',241 client_classpath='cloudresourcemanager_v2_client.CloudresourcemanagerV2',242 messages_modulepath='cloudresourcemanager_v2_messages',243 default_version=False244 ),245 'v2alpha1': APIDef(246 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v2alpha1',247 client_classpath='cloudresourcemanager_v2alpha1_client.CloudresourcemanagerV2alpha1',248 messages_modulepath='cloudresourcemanager_v2alpha1_messages',249 default_version=False250 ),251 'v2beta1': APIDef(252 class_path='googlecloudsdk.third_party.apis.cloudresourcemanager.v2beta1',253 client_classpath='cloudresourcemanager_v2beta1_client.CloudresourcemanagerV2beta1',254 messages_modulepath='cloudresourcemanager_v2beta1_messages',255 default_version=False256 ),257 },258 'cloudresourcesearch': {259 'v1': APIDef(260 class_path='googlecloudsdk.third_party.apis.cloudresourcesearch.v1',261 client_classpath='cloudresourcesearch_v1_client.CloudresourcesearchV1',262 messages_modulepath='cloudresourcesearch_v1_messages',263 default_version=True264 ),265 },266 'cloudscheduler': {267 'v1alpha1': APIDef(268 class_path='googlecloudsdk.third_party.apis.cloudscheduler.v1alpha1',269 client_classpath='cloudscheduler_v1alpha1_client.CloudschedulerV1alpha1',270 messages_modulepath='cloudscheduler_v1alpha1_messages',271 default_version=False272 ),273 'v1beta1': APIDef(274 class_path='googlecloudsdk.third_party.apis.cloudscheduler.v1beta1',275 client_classpath='cloudscheduler_v1beta1_client.CloudschedulerV1beta1',276 messages_modulepath='cloudscheduler_v1beta1_messages',277 default_version=True278 ),279 },280 'cloudshell': {281 'v1': APIDef(282 class_path='googlecloudsdk.third_party.apis.cloudshell.v1',283 client_classpath='cloudshell_v1_client.CloudshellV1',284 messages_modulepath='cloudshell_v1_messages',285 default_version=False286 ),287 'v1alpha1': APIDef(288 class_path='googlecloudsdk.third_party.apis.cloudshell.v1alpha1',289 client_classpath='cloudshell_v1alpha1_client.CloudshellV1alpha1',290 messages_modulepath='cloudshell_v1alpha1_messages',291 default_version=True292 ),293 },294 'cloudtasks': {295 'v2beta2': APIDef(296 class_path='googlecloudsdk.third_party.apis.cloudtasks.v2beta2',297 client_classpath='cloudtasks_v2beta2_client.CloudtasksV2beta2',298 messages_modulepath='cloudtasks_v2beta2_messages',299 default_version=True300 ),301 'v2beta3': APIDef(302 class_path='googlecloudsdk.third_party.apis.cloudtasks.v2beta3',303 client_classpath='cloudtasks_v2beta3_client.CloudtasksV2beta3',304 messages_modulepath='cloudtasks_v2beta3_messages',305 default_version=False306 ),307 },308 'composer': {309 'v1': APIDef(310 class_path='googlecloudsdk.third_party.apis.composer.v1',311 client_classpath='composer_v1_client.ComposerV1',312 messages_modulepath='composer_v1_messages',313 default_version=True314 ),315 'v1alpha2': APIDef(316 class_path='googlecloudsdk.third_party.apis.composer.v1alpha2',317 client_classpath='composer_v1alpha2_client.ComposerV1alpha2',318 messages_modulepath='composer_v1alpha2_messages',319 default_version=False320 ),321 'v1beta1': APIDef(322 class_path='googlecloudsdk.third_party.apis.composer.v1beta1',323 client_classpath='composer_v1beta1_client.ComposerV1beta1',324 messages_modulepath='composer_v1beta1_messages',325 default_version=False326 ),327 },328 'compute': {329 'alpha': APIDef(330 class_path='googlecloudsdk.third_party.apis.compute.alpha',331 client_classpath='compute_alpha_client.ComputeAlpha',332 messages_modulepath='compute_alpha_messages',333 default_version=False334 ),335 'beta': APIDef(336 class_path='googlecloudsdk.third_party.apis.compute.beta',337 client_classpath='compute_beta_client.ComputeBeta',338 messages_modulepath='compute_beta_messages',339 default_version=False340 ),341 'v1': APIDef(342 class_path='googlecloudsdk.third_party.apis.compute.v1',343 client_classpath='compute_v1_client.ComputeV1',344 messages_modulepath='compute_v1_messages',345 default_version=True346 ),347 },348 'container': {349 'v1': APIDef(350 class_path='googlecloudsdk.third_party.apis.container.v1',351 client_classpath='container_v1_client.ContainerV1',352 messages_modulepath='container_v1_messages',353 default_version=True354 ),355 'v1alpha1': APIDef(356 class_path='googlecloudsdk.third_party.apis.container.v1alpha1',357 client_classpath='container_v1alpha1_client.ContainerV1alpha1',358 messages_modulepath='container_v1alpha1_messages',359 default_version=False360 ),361 'v1beta1': APIDef(362 class_path='googlecloudsdk.third_party.apis.container.v1beta1',363 client_classpath='container_v1beta1_client.ContainerV1beta1',364 messages_modulepath='container_v1beta1_messages',365 default_version=False366 ),367 },368 'containeranalysis': {369 'v1alpha1': APIDef(370 class_path='googlecloudsdk.third_party.apis.containeranalysis.v1alpha1',371 client_classpath='containeranalysis_v1alpha1_client.ContaineranalysisV1alpha1',372 messages_modulepath='containeranalysis_v1alpha1_messages',373 default_version=True374 ),375 'v1beta1': APIDef(376 class_path='googlecloudsdk.third_party.apis.containeranalysis.v1beta1',377 client_classpath='containeranalysis_v1beta1_client.ContaineranalysisV1beta1',378 messages_modulepath='containeranalysis_v1beta1_messages',379 default_version=False380 ),381 },382 'datacatalog': {383 'v1alpha3': APIDef(384 class_path='googlecloudsdk.third_party.apis.datacatalog.v1alpha3',385 client_classpath='datacatalog_v1alpha3_client.DatacatalogV1alpha3',386 messages_modulepath='datacatalog_v1alpha3_messages',387 default_version=False388 ),389 'v1beta1': APIDef(390 class_path='googlecloudsdk.third_party.apis.datacatalog.v1beta1',391 client_classpath='datacatalog_v1beta1_client.DatacatalogV1beta1',392 messages_modulepath='datacatalog_v1beta1_messages',393 default_version=True394 ),395 },396 'dataflow': {397 'v1b3': APIDef(398 class_path='googlecloudsdk.third_party.apis.dataflow.v1b3',399 client_classpath='dataflow_v1b3_client.DataflowV1b3',400 messages_modulepath='dataflow_v1b3_messages',401 default_version=True402 ),403 },404 'dataproc': {405 'v1': APIDef(406 class_path='googlecloudsdk.third_party.apis.dataproc.v1',407 client_classpath='dataproc_v1_client.DataprocV1',408 messages_modulepath='dataproc_v1_messages',409 default_version=True410 ),411 'v1beta2': APIDef(412 class_path='googlecloudsdk.third_party.apis.dataproc.v1beta2',413 client_classpath='dataproc_v1beta2_client.DataprocV1beta2',414 messages_modulepath='dataproc_v1beta2_messages',415 default_version=False416 ),417 },418 'datastore': {419 'v1': APIDef(420 class_path='googlecloudsdk.third_party.apis.datastore.v1',421 client_classpath='datastore_v1_client.DatastoreV1',422 messages_modulepath='datastore_v1_messages',423 default_version=True424 ),425 'v1beta1': APIDef(426 class_path='googlecloudsdk.third_party.apis.datastore.v1beta1',427 client_classpath='datastore_v1beta1_client.DatastoreV1beta1',428 messages_modulepath='datastore_v1beta1_messages',429 default_version=False430 ),431 },432 'deploymentmanager': {433 'alpha': APIDef(434 class_path='googlecloudsdk.third_party.apis.deploymentmanager.alpha',435 client_classpath='deploymentmanager_alpha_client.DeploymentmanagerAlpha',436 messages_modulepath='deploymentmanager_alpha_messages',437 default_version=False438 ),439 'v2': APIDef(440 class_path='googlecloudsdk.third_party.apis.deploymentmanager.v2',441 client_classpath='deploymentmanager_v2_client.DeploymentmanagerV2',442 messages_modulepath='deploymentmanager_v2_messages',443 default_version=True444 ),445 'v2beta': APIDef(446 class_path='googlecloudsdk.third_party.apis.deploymentmanager.v2beta',447 client_classpath='deploymentmanager_v2beta_client.DeploymentmanagerV2beta',448 messages_modulepath='deploymentmanager_v2beta_messages',449 default_version=False450 ),451 },452 'dialogflow': {453 'v2': APIDef(454 class_path='googlecloudsdk.third_party.apis.dialogflow.v2',455 client_classpath='dialogflow_v2_client.DialogflowV2',456 messages_modulepath='dialogflow_v2_messages',457 default_version=True458 ),459 },460 'discovery': {461 'v1': APIDef(462 class_path='googlecloudsdk.third_party.apis.discovery.v1',463 client_classpath='discovery_v1_client.DiscoveryV1',464 messages_modulepath='discovery_v1_messages',465 default_version=True466 ),467 },468 'dlp': {469 'v2': APIDef(470 class_path='googlecloudsdk.third_party.apis.dlp.v2',471 client_classpath='dlp_v2_client.DlpV2',472 messages_modulepath='dlp_v2_messages',473 default_version=True474 ),475 },476 'dns': {477 'v1': APIDef(478 class_path='googlecloudsdk.third_party.apis.dns.v1',479 client_classpath='dns_v1_client.DnsV1',480 messages_modulepath='dns_v1_messages',481 default_version=True482 ),483 'v1beta2': APIDef(484 class_path='googlecloudsdk.third_party.apis.dns.v1beta2',485 client_classpath='dns_v1beta2_client.DnsV1beta2',486 messages_modulepath='dns_v1beta2_messages',487 default_version=False488 ),489 },490 'domains': {491 'v1alpha1': APIDef(492 class_path='googlecloudsdk.third_party.apis.domains.v1alpha1',493 client_classpath='domains_v1alpha1_client.DomainsV1alpha1',494 messages_modulepath='domains_v1alpha1_messages',495 default_version=True496 ),497 },498 'edge': {499 'v1alpha1': APIDef(500 class_path='googlecloudsdk.third_party.apis.edge.v1alpha1',501 client_classpath='edge_v1alpha1_client.EdgeV1alpha1',502 messages_modulepath='edge_v1alpha1_messages',503 default_version=True504 ),505 },506 'edgeml': {507 'v1beta1': APIDef(508 class_path='googlecloudsdk.third_party.apis.edgeml.v1beta1',509 client_classpath='edgeml_v1beta1_client.EdgemlV1beta1',510 messages_modulepath='edgeml_v1beta1_messages',511 default_version=True512 ),513 },514 'eventflow': {515 'v1beta2': APIDef(516 class_path='googlecloudsdk.third_party.apis.eventflow.v1beta2',517 client_classpath='eventflow_v1beta2_client.EventflowV1beta2',518 messages_modulepath='eventflow_v1beta2_messages',519 default_version=True520 ),521 },522 'file': {523 'v1': APIDef(524 class_path='googlecloudsdk.third_party.apis.file.v1',525 client_classpath='file_v1_client.FileV1',526 messages_modulepath='file_v1_messages',527 default_version=False528 ),529 'v1beta1': APIDef(530 class_path='googlecloudsdk.third_party.apis.file.v1beta1',531 client_classpath='file_v1beta1_client.FileV1beta1',532 messages_modulepath='file_v1beta1_messages',533 default_version=False534 ),535 'v1p1alpha1': APIDef(536 class_path='googlecloudsdk.third_party.apis.file.v1p1alpha1',537 client_classpath='file_v1p1alpha1_client.FileV1p1alpha1',538 messages_modulepath='file_v1p1alpha1_messages',539 default_version=True540 ),541 },542 'firestore': {543 'v1': APIDef(544 class_path='googlecloudsdk.third_party.apis.firestore.v1',545 client_classpath='firestore_v1_client.FirestoreV1',546 messages_modulepath='firestore_v1_messages',547 default_version=False548 ),549 'v1beta1': APIDef(550 class_path='googlecloudsdk.third_party.apis.firestore.v1beta1',551 client_classpath='firestore_v1beta1_client.FirestoreV1beta1',552 messages_modulepath='firestore_v1beta1_messages',553 default_version=False554 ),555 'v1beta2': APIDef(556 class_path='googlecloudsdk.third_party.apis.firestore.v1beta2',557 client_classpath='firestore_v1beta2_client.FirestoreV1beta2',558 messages_modulepath='firestore_v1beta2_messages',559 default_version=True560 ),561 },562 'genomics': {563 'v1': APIDef(564 class_path='googlecloudsdk.third_party.apis.genomics.v1',565 client_classpath='genomics_v1_client.GenomicsV1',566 messages_modulepath='genomics_v1_messages',567 default_version=True568 ),569 'v1alpha2': APIDef(570 class_path='googlecloudsdk.third_party.apis.genomics.v1alpha2',571 client_classpath='genomics_v1alpha2_client.GenomicsV1alpha2',572 messages_modulepath='genomics_v1alpha2_messages',573 default_version=False574 ),575 'v2alpha1': APIDef(576 class_path='googlecloudsdk.third_party.apis.genomics.v2alpha1',577 client_classpath='genomics_v2alpha1_client.GenomicsV2alpha1',578 messages_modulepath='genomics_v2alpha1_messages',579 default_version=False580 ),581 },582 'gkehub': {583 'v1beta1': APIDef(584 class_path='googlecloudsdk.third_party.apis.gkehub.v1beta1',585 client_classpath='gkehub_v1beta1_client.GkehubV1beta1',586 messages_modulepath='gkehub_v1beta1_messages',587 default_version=True588 ),589 },590 'healthcare': {591 'v1alpha': APIDef(592 class_path='googlecloudsdk.third_party.apis.healthcare.v1alpha',593 client_classpath='healthcare_v1alpha_client.HealthcareV1alpha',594 messages_modulepath='healthcare_v1alpha_messages',595 default_version=False596 ),597 'v1alpha2': APIDef(598 class_path='googlecloudsdk.third_party.apis.healthcare.v1alpha2',599 client_classpath='healthcare_v1alpha2_client.HealthcareV1alpha2',600 messages_modulepath='healthcare_v1alpha2_messages',601 default_version=True602 ),603 },604 'iam': {605 'v1': APIDef(606 class_path='googlecloudsdk.third_party.apis.iam.v1',607 client_classpath='iam_v1_client.IamV1',608 messages_modulepath='iam_v1_messages',609 default_version=True610 ),611 },612 'iamcredentials': {613 'v1': APIDef(614 class_path='googlecloudsdk.third_party.apis.iamcredentials.v1',615 client_classpath='iamcredentials_v1_client.IamcredentialsV1',616 messages_modulepath='iamcredentials_v1_messages',617 default_version=True618 ),619 },620 'iap': {621 'v1beta1': APIDef(622 class_path='googlecloudsdk.third_party.apis.iap.v1beta1',623 client_classpath='iap_v1beta1_client.IapV1beta1',624 messages_modulepath='iap_v1beta1_messages',625 default_version=True626 ),627 },628 'language': {629 'v1': APIDef(630 class_path='googlecloudsdk.third_party.apis.language.v1',631 client_classpath='language_v1_client.LanguageV1',632 messages_modulepath='language_v1_messages',633 default_version=True634 ),635 'v1beta2': APIDef(636 class_path='googlecloudsdk.third_party.apis.language.v1beta2',637 client_classpath='language_v1beta2_client.LanguageV1beta2',638 messages_modulepath='language_v1beta2_messages',639 default_version=False640 ),641 },642 'logging': {643 'v2': APIDef(644 class_path='googlecloudsdk.third_party.apis.logging.v2',645 client_classpath='logging_v2_client.LoggingV2',646 messages_modulepath='logging_v2_messages',647 default_version=True648 ),649 },650 'ml': {651 'v1': APIDef(652 class_path='googlecloudsdk.third_party.apis.ml.v1',653 client_classpath='ml_v1_client.MlV1',654 messages_modulepath='ml_v1_messages',655 default_version=True656 ),657 },658 'monitoring': {659 'v3': APIDef(660 class_path='googlecloudsdk.third_party.apis.monitoring.v3',661 client_classpath='monitoring_v3_client.MonitoringV3',662 messages_modulepath='monitoring_v3_messages',663 default_version=True664 ),665 },666 'oslogin': {667 'v1': APIDef(668 class_path='googlecloudsdk.third_party.apis.oslogin.v1',669 client_classpath='oslogin_v1_client.OsloginV1',670 messages_modulepath='oslogin_v1_messages',671 default_version=True672 ),673 'v1alpha': APIDef(674 class_path='googlecloudsdk.third_party.apis.oslogin.v1alpha',675 client_classpath='oslogin_v1alpha_client.OsloginV1alpha',676 messages_modulepath='oslogin_v1alpha_messages',677 default_version=False678 ),679 'v1beta': APIDef(680 class_path='googlecloudsdk.third_party.apis.oslogin.v1beta',681 client_classpath='oslogin_v1beta_client.OsloginV1beta',682 messages_modulepath='oslogin_v1beta_messages',683 default_version=False684 ),685 },686 'pubsub': {687 'v1': APIDef(688 class_path='googlecloudsdk.third_party.apis.pubsub.v1',689 client_classpath='pubsub_v1_client.PubsubV1',690 messages_modulepath='pubsub_v1_messages',691 default_version=True692 ),693 },694 'recommender': {695 'v1alpha1': APIDef(696 class_path='googlecloudsdk.third_party.apis.recommender.v1alpha1',697 client_classpath='recommender_v1alpha1_client.RecommenderV1alpha1',698 messages_modulepath='recommender_v1alpha1_messages',699 default_version=True700 ),701 },702 'redis': {703 'v1': APIDef(704 class_path='googlecloudsdk.third_party.apis.redis.v1',705 client_classpath='redis_v1_client.RedisV1',706 messages_modulepath='redis_v1_messages',707 default_version=True708 ),709 'v1alpha1': APIDef(710 class_path='googlecloudsdk.third_party.apis.redis.v1alpha1',711 client_classpath='redis_v1alpha1_client.RedisV1alpha1',712 messages_modulepath='redis_v1alpha1_messages',713 default_version=False714 ),715 'v1beta1': APIDef(716 class_path='googlecloudsdk.third_party.apis.redis.v1beta1',717 client_classpath='redis_v1beta1_client.RedisV1beta1',718 messages_modulepath='redis_v1beta1_messages',719 default_version=False720 ),721 },722 'remotebuildexecution': {723 'v1alpha': APIDef(724 class_path='googlecloudsdk.third_party.apis.remotebuildexecution.v1alpha',725 client_classpath='remotebuildexecution_v1alpha_client.RemotebuildexecutionV1alpha',726 messages_modulepath='remotebuildexecution_v1alpha_messages',727 default_version=True728 ),729 },730 'run': {731 'v1alpha1': APIDef(732 class_path='googlecloudsdk.third_party.apis.run.v1alpha1',733 client_classpath='run_v1alpha1_client.RunV1alpha1',734 messages_modulepath='run_v1alpha1_messages',735 default_version=True736 ),737 },738 'runtimeconfig': {739 'v1beta1': APIDef(740 class_path='googlecloudsdk.third_party.apis.runtimeconfig.v1beta1',741 client_classpath='runtimeconfig_v1beta1_client.RuntimeconfigV1beta1',742 messages_modulepath='runtimeconfig_v1beta1_messages',743 default_version=True744 ),745 },746 'securitycenter': {747 'v1': APIDef(748 class_path='googlecloudsdk.third_party.apis.securitycenter.v1',749 client_classpath='securitycenter_v1_client.SecuritycenterV1',750 messages_modulepath='securitycenter_v1_messages',751 default_version=True752 ),753 'v1beta1': APIDef(754 class_path='googlecloudsdk.third_party.apis.securitycenter.v1beta1',755 client_classpath='securitycenter_v1beta1_client.SecuritycenterV1beta1',756 messages_modulepath='securitycenter_v1beta1_messages',757 default_version=False758 ),759 },760 'servicemanagement': {761 'v1': APIDef(762 class_path='googlecloudsdk.third_party.apis.servicemanagement.v1',763 client_classpath='servicemanagement_v1_client.ServicemanagementV1',764 messages_modulepath='servicemanagement_v1_messages',765 default_version=True766 ),767 },768 'servicenetworking': {769 'v1': APIDef(770 class_path='googlecloudsdk.third_party.apis.servicenetworking.v1',771 client_classpath='servicenetworking_v1_client.ServicenetworkingV1',772 messages_modulepath='servicenetworking_v1_messages',773 default_version=True774 ),775 'v1beta': APIDef(776 class_path='googlecloudsdk.third_party.apis.servicenetworking.v1beta',777 client_classpath='servicenetworking_v1beta_client.ServicenetworkingV1beta',778 messages_modulepath='servicenetworking_v1beta_messages',779 default_version=False780 ),781 },782 'serviceusage': {783 'v1': APIDef(784 class_path='googlecloudsdk.third_party.apis.serviceusage.v1',785 client_classpath='serviceusage_v1_client.ServiceusageV1',786 messages_modulepath='serviceusage_v1_messages',787 default_version=True788 ),789 'v1beta1': APIDef(790 class_path='googlecloudsdk.third_party.apis.serviceusage.v1beta1',791 client_classpath='serviceusage_v1beta1_client.ServiceusageV1beta1',792 messages_modulepath='serviceusage_v1beta1_messages',793 default_version=False794 ),795 },796 'serviceuser': {797 'v1': APIDef(798 class_path='googlecloudsdk.third_party.apis.serviceuser.v1',799 client_classpath='serviceuser_v1_client.ServiceuserV1',800 messages_modulepath='serviceuser_v1_messages',801 default_version=True802 ),803 },804 'source': {805 'v1': APIDef(806 class_path='googlecloudsdk.third_party.apis.source.v1',807 client_classpath='source_v1_client.SourceV1',808 messages_modulepath='source_v1_messages',809 default_version=True810 ),811 },812 'sourcerepo': {813 'v1': APIDef(814 class_path='googlecloudsdk.third_party.apis.sourcerepo.v1',815 client_classpath='sourcerepo_v1_client.SourcerepoV1',816 messages_modulepath='sourcerepo_v1_messages',817 default_version=True818 ),819 },820 'spanner': {821 'v1': APIDef(822 class_path='googlecloudsdk.third_party.apis.spanner.v1',823 client_classpath='spanner_v1_client.SpannerV1',824 messages_modulepath='spanner_v1_messages',825 default_version=True826 ),827 },828 'speech': {829 'v1': APIDef(830 class_path='googlecloudsdk.third_party.apis.speech.v1',831 client_classpath='speech_v1_client.SpeechV1',832 messages_modulepath='speech_v1_messages',833 default_version=True834 ),835 'v1p1beta1': APIDef(836 class_path='googlecloudsdk.third_party.apis.speech.v1p1beta1',837 client_classpath='speech_v1p1beta1_client.SpeechV1p1beta1',838 messages_modulepath='speech_v1p1beta1_messages',839 default_version=False840 ),841 },842 'sqladmin': {843 'v1beta3': APIDef(844 class_path='googlecloudsdk.third_party.apis.sqladmin.v1beta3',845 client_classpath='sqladmin_v1beta3_client.SqladminV1beta3',846 messages_modulepath='sqladmin_v1beta3_messages',847 default_version=True848 ),849 'v1beta4': APIDef(850 class_path='googlecloudsdk.third_party.apis.sqladmin.v1beta4',851 client_classpath='sqladmin_v1beta4_client.SqladminV1beta4',852 messages_modulepath='sqladmin_v1beta4_messages',853 default_version=False854 ),855 },856 'storage': {857 'v1': APIDef(858 class_path='googlecloudsdk.third_party.apis.storage.v1',859 client_classpath='storage_v1_client.StorageV1',860 messages_modulepath='storage_v1_messages',861 default_version=True862 ),863 },864 'testing': {865 'v1': APIDef(866 class_path='googlecloudsdk.third_party.apis.testing.v1',867 client_classpath='testing_v1_client.TestingV1',868 messages_modulepath='testing_v1_messages',869 default_version=True870 ),871 },872 'toolresults': {873 'v1beta3': APIDef(874 class_path='googlecloudsdk.third_party.apis.toolresults.v1beta3',875 client_classpath='toolresults_v1beta3_client.ToolresultsV1beta3',876 messages_modulepath='toolresults_v1beta3_messages',877 default_version=True878 ),879 },880 'tpu': {881 'v1': APIDef(882 class_path='googlecloudsdk.third_party.apis.tpu.v1',883 client_classpath='tpu_v1_client.TpuV1',884 messages_modulepath='tpu_v1_messages',885 default_version=False886 ),887 'v1alpha1': APIDef(888 class_path='googlecloudsdk.third_party.apis.tpu.v1alpha1',889 client_classpath='tpu_v1alpha1_client.TpuV1alpha1',890 messages_modulepath='tpu_v1alpha1_messages',891 default_version=True892 ),893 },894 'videointelligence': {895 'v1': APIDef(896 class_path='googlecloudsdk.third_party.apis.videointelligence.v1',897 client_classpath='videointelligence_v1_client.VideointelligenceV1',898 messages_modulepath='videointelligence_v1_messages',899 default_version=True900 ),901 },902 'vision': {903 'v1': APIDef(904 class_path='googlecloudsdk.third_party.apis.vision.v1',905 client_classpath='vision_v1_client.VisionV1',906 messages_modulepath='vision_v1_messages',907 default_version=True908 ),909 },910 'vpcaccess': {911 'v1alpha1': APIDef(912 class_path='googlecloudsdk.third_party.apis.vpcaccess.v1alpha1',913 client_classpath='vpcaccess_v1alpha1_client.VpcaccessV1alpha1',914 messages_modulepath='vpcaccess_v1alpha1_messages',915 default_version=False916 ),917 'v1beta1': APIDef(918 class_path='googlecloudsdk.third_party.apis.vpcaccess.v1beta1',919 client_classpath='vpcaccess_v1beta1_client.VpcaccessV1beta1',920 messages_modulepath='vpcaccess_v1beta1_messages',921 default_version=True922 ),923 },924 'websecurityscanner': {925 'v1beta': APIDef(926 class_path='googlecloudsdk.third_party.apis.websecurityscanner.v1beta',927 client_classpath='websecurityscanner_v1beta_client.WebsecurityscannerV1beta',928 messages_modulepath='websecurityscanner_v1beta_messages',929 default_version=True930 ),931 },...

Full Screen

Full Screen

Automation Testing Tutorials

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.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful