import * as pulumi from "@pulumi/pulumi"; /** * Verify the API service for the Google Cloud Platform project to see if it is enabled or not. * * For a list of services available, visit the [API library page](https://console.cloud.google.com/apis/library) * or run `gcloud services list --available`. * * This datasource requires the [Service Usage API](https://console.cloud.google.com/apis/library/serviceusage.googleapis.com) * to use. * * To get more information about `gcp.projects.Service`, see: * * * [API documentation](https://cloud.google.com/service-usage/docs/reference/rest/v1/services) * * How-to Guides * * [Enabling and Disabling Services](https://cloud.google.com/service-usage/docs/enable-disable) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_project_service = gcp.projects.getProjectService({ * service: "my-project-service", * }); * ``` */ export declare function getProjectService(args: GetProjectServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProjectService. */ export interface GetProjectServiceArgs { /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; /** * The name of the Google Platform project service. * * - - - */ service: string; } /** * A collection of values returned by getProjectService. */ export interface GetProjectServiceResult { readonly checkIfServiceHasUsageOnDestroy: boolean; readonly disableDependentServices: boolean; readonly disableOnDestroy: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly project?: string; readonly service: string; } /** * Verify the API service for the Google Cloud Platform project to see if it is enabled or not. * * For a list of services available, visit the [API library page](https://console.cloud.google.com/apis/library) * or run `gcloud services list --available`. * * This datasource requires the [Service Usage API](https://console.cloud.google.com/apis/library/serviceusage.googleapis.com) * to use. * * To get more information about `gcp.projects.Service`, see: * * * [API documentation](https://cloud.google.com/service-usage/docs/reference/rest/v1/services) * * How-to Guides * * [Enabling and Disabling Services](https://cloud.google.com/service-usage/docs/enable-disable) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_project_service = gcp.projects.getProjectService({ * service: "my-project-service", * }); * ``` */ export declare function getProjectServiceOutput(args: GetProjectServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProjectService. */ export interface GetProjectServiceOutputArgs { /** * The project in which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input; /** * The name of the Google Platform project service. * * - - - */ service: pulumi.Input; }