def RegisterReleasedAPIs(): """Register all official versions of released Cloud APIs. """ # pylint:disable=g-import-not-at-top from googlecloudapis.bigquery import v2 as bigquery_v2 from googlecloudapis.compute import v1 as compute_v1 from googlecloudapis.dataflow import v1beta3 as dataflow_v1beta3 from googlecloudapis.developerprojects import v2beta1 as projects_v2beta1 from googlecloudapis.dns import v1beta1 as dns_v1beta1 from googlecloudapis.manager import v1beta2 as manager_v1beta2 from googlecloudapis.replicapool import v1beta1 as replicapool_v1beta1 from googlecloudapis.resourceviews import v1beta1 as resourceviews_v1beta1 from googlecloudapis.sqladmin import v1beta3 as sqladmin_v1beta3 resources.RegisterAPI(bigquery_v2.BigqueryV2(get_credentials=False)) resources.RegisterAPI(compute_v1.ComputeV1(get_credentials=False)) resources.RegisterAPI(dataflow_v1beta3.DataflowV1beta3(get_credentials=False)) resources.RegisterAPI( projects_v2beta1.DeveloperprojectsV2beta1(get_credentials=False)) resources.RegisterAPI(dns_v1beta1.DnsV1beta1(get_credentials=False)) resources.RegisterAPI(manager_v1beta2.ManagerV1beta2(get_credentials=False)) resources.RegisterAPI( replicapool_v1beta1.ReplicapoolV1beta1(get_credentials=False)) resources.RegisterAPI( resourceviews_v1beta1.ResourceviewsV1beta1(get_credentials=False)) resources.RegisterAPI(sqladmin_v1beta3.SqladminV1beta3(get_credentials=False)) from googlecloudapis.autoscaler import v1beta2 as autoscaler_v1beta2 resources.RegisterAPI( autoscaler_v1beta2.AutoscalerV1beta2(get_credentials=False)) from googlecloudapis.replicapool import v1beta2 as replicapool_v1beta2 resources.RegisterAPI( replicapool_v1beta2.ReplicapoolV1beta2(get_credentials=False)) from googlecloudapis.replicapoolupdater import v1beta1 as updater_v1beta1 resources.RegisterAPI( updater_v1beta1.ReplicapoolupdaterV1beta1(get_credentials=False))
def RegisterAPIs(): """Register all official versions of released Cloud APIs. """ # pylint:disable=g-import-not-at-top from googlecloudapis.bigquery import v2 as bigquery_v2 from googlecloudapis.cloudresourcemanager import v1beta1 as projects_v1beta1 from googlecloudapis.compute import alpha as compute_alpha from googlecloudapis.compute import beta as compute_beta from googlecloudapis.compute import v1 as compute_v1 from googlecloudapis.dataflow import v1beta3 as dataflow_v1beta3 from googlecloudapis.dns import v1 as dns_v1 from googlecloudapis.genomics import v1beta2 as genomics_v1beta2 from googlecloudapis.manager import v1beta2 as manager_v1beta2 from googlecloudapis.replicapool import v1beta1 as replicapool_v1beta1 from googlecloudapis.resourceviews import v1beta1 as resourceviews_v1beta1 from googlecloudapis.sqladmin import v1beta3 as sqladmin_v1beta3 resources.RegisterAPI(bigquery_v2.BigqueryV2(get_credentials=False)) resources.RegisterAPI(compute_alpha.ComputeAlpha(get_credentials=False), urls_only=True) resources.RegisterAPI(compute_beta.ComputeBeta(get_credentials=False), urls_only=True) resources.RegisterAPI(compute_v1.ComputeV1(get_credentials=False)) resources.RegisterAPI( dataflow_v1beta3.DataflowV1beta3(get_credentials=False)) resources.RegisterAPI( projects_v1beta1.CloudresourcemanagerV1beta1(get_credentials=False)) resources.RegisterAPI(dns_v1.DnsV1(get_credentials=False)) resources.RegisterAPI( genomics_v1beta2.GenomicsV1beta2(get_credentials=False)) resources.RegisterAPI( manager_v1beta2.ManagerV1beta2(get_credentials=False)) resources.RegisterAPI( replicapool_v1beta1.ReplicapoolV1beta1(get_credentials=False)) resources.RegisterAPI( resourceviews_v1beta1.ResourceviewsV1beta1(get_credentials=False)) resources.RegisterAPI( sqladmin_v1beta3.SqladminV1beta3(get_credentials=False)) from googlecloudapis.autoscaler import v1beta2 as autoscaler_v1beta2 resources.RegisterAPI( autoscaler_v1beta2.AutoscalerV1beta2(get_credentials=False)) from googlecloudapis.replicapool import v1beta2 as replicapool_v1beta2 resources.RegisterAPI( replicapool_v1beta2.ReplicapoolV1beta2(get_credentials=False)) from googlecloudapis.replicapoolupdater import v1beta1 as updater_v1beta1 resources.RegisterAPI( updater_v1beta1.ReplicapoolupdaterV1beta1(get_credentials=False)) from googlecloudapis.storage import v1 as storage_v1 resources.RegisterAPI(storage_v1.StorageV1(get_credentials=False)) pass