:py:mod:`vendor_fabric.google.services` ======================================= .. py:module:: vendor_fabric.google.services .. autodoc2-docstring:: vendor_fabric.google.services :parser: myst :allowtitles: Module Contents --------------- Classes ~~~~~~~ .. list-table:: :class: autosummary longtable :align: left * - :py:obj:`GoogleServicesMixin ` - .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin :parser: myst :summary: API ~~~ .. py:class:: GoogleServicesMixin :canonical: vendor_fabric.google.services.GoogleServicesMixin .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin :parser: myst .. py:method:: list_compute_instances(project_id: str, zone: str | None = None, unhump_instances: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_compute_instances .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_compute_instances :parser: myst .. py:method:: list_gke_clusters(project_id: str, location: str = '-', unhump_clusters: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_gke_clusters .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_gke_clusters :parser: myst .. py:method:: get_gke_cluster(project_id: str, location: str, cluster_id: str) -> extended_data.containers.ExtendedDict | None :canonical: vendor_fabric.google.services.GoogleServicesMixin.get_gke_cluster .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.get_gke_cluster :parser: myst .. py:method:: list_storage_buckets(project_id: str, unhump_buckets: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_storage_buckets .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_storage_buckets :parser: myst .. py:method:: list_sql_instances(project_id: str, unhump_instances: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_sql_instances .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_sql_instances :parser: myst .. py:method:: list_pubsub_topics(project_id: str, unhump_topics: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_pubsub_topics .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_pubsub_topics :parser: myst .. py:method:: list_pubsub_subscriptions(project_id: str, unhump_subscriptions: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_pubsub_subscriptions .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_pubsub_subscriptions :parser: myst .. py:method:: list_enabled_services(project_id: str, unhump_services: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_enabled_services .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_enabled_services :parser: myst .. py:method:: enable_service(project_id: str, service_name: str) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.enable_service .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.enable_service :parser: myst .. py:method:: disable_service(project_id: str, service_name: str, force: bool = False) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.disable_service .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.disable_service :parser: myst .. py:method:: batch_enable_services(project_id: str, service_names: list[str]) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.batch_enable_services .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.batch_enable_services :parser: myst .. py:method:: list_kms_keyrings(project_id: str, location: str, unhump_keyrings: bool = False) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.list_kms_keyrings .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.list_kms_keyrings :parser: myst .. py:method:: create_kms_keyring(project_id: str, location: str, keyring_id: str) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.create_kms_keyring .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.create_kms_keyring :parser: myst .. py:method:: create_kms_key(project_id: str, location: str, keyring_id: str, key_id: str, purpose: str = 'ENCRYPT_DECRYPT', algorithm: str = 'GOOGLE_SYMMETRIC_ENCRYPTION') -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.create_kms_key .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.create_kms_key :parser: myst .. py:method:: is_project_empty(project_id: str, check_compute: bool = True, check_gke: bool = True, check_storage: bool = True, check_sql: bool = True, check_pubsub: bool = True) -> bool :canonical: vendor_fabric.google.services.GoogleServicesMixin.is_project_empty .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.is_project_empty :parser: myst .. py:method:: get_project_iam_users(project_id: str) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.get_project_iam_users .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.get_project_iam_users :parser: myst .. py:method:: get_pubsub_resources_for_project(project_id: str, include_subscriptions: bool = True, unhump_resources: bool = False) -> extended_data.containers.ExtendedDict :canonical: vendor_fabric.google.services.GoogleServicesMixin.get_pubsub_resources_for_project .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.get_pubsub_resources_for_project :parser: myst .. py:method:: find_inactive_projects(projects: collections.abc.MutableMapping[str, collections.abc.MutableMapping[str, typing.Any]] | None = None, check_resources: bool = True, days_since_activity: int = 90) -> extended_data.containers.ExtendedList[extended_data.containers.ExtendedDict] :canonical: vendor_fabric.google.services.GoogleServicesMixin.find_inactive_projects .. autodoc2-docstring:: vendor_fabric.google.services.GoogleServicesMixin.find_inactive_projects :parser: myst