def __init__(self, credentials=None, default_project_id=None, project_id=None, folder_id=None, organization_id=None, all_projects=None, **kwargs): super(GCPServicesConfig, self).__init__(credentials) facade = GCPFacade(default_project_id, project_id, folder_id, organization_id, all_projects) self.cloudresourcemanager = CloudResourceManager(facade) self.cloudsql = CloudSQL(facade) self.cloudstorage = CloudStorage(facade) self.computeengine = ComputeEngine(facade) self.iam = IAM(facade) self.kms = KMS(facade) try: self.kubernetesengine = KubernetesEngine(facade) except NameError as _: pass self.stackdriverlogging = StackdriverLogging(facade)
def __init__(self, credentials=None, default_project_id=None, project_id=None, folder_id=None, organization_id=None, all_projects=None, **kwargs): super().__init__(credentials) facade = GCPFacade(default_project_id, project_id, folder_id, organization_id, all_projects) self.cloudsql = CloudSQL(facade) self.cloudmemorystore = MemoryStore(facade) self.cloudstorage = CloudStorage(facade) self.computeengine = ComputeEngine(facade) self.iam = IAM(facade) self.kms = KMS(facade) self.stackdriverlogging = StackdriverLogging(facade) self.stackdrivermonitoring = StackdriverMonitoring(facade) self.kubernetesengine = KubernetesEngine(facade) self.dns = DNS(facade)