@staticmethod
def get(resource_name, id, opts=None, charset=None, collation=None, instance=None, name=None, project=None, self_link=None):
    "\n        Get an existing Database resource's state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n        \n        :param str resource_name: The unique name of the resulting resource.\n        :param str id: The unique provider ID of the resource to lookup.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] project: The ID of the project in which the resource belongs.\n               If it is not provided, the provider project is used.\n        :param pulumi.Input[str] self_link: The URI of the created resource.\n\n        > This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sql_database.html.markdown.\n        "
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = dict()
    __props__['charset'] = charset
    __props__['collation'] = collation
    __props__['instance'] = instance
    __props__['name'] = name
    __props__['project'] = project
    __props__['self_link'] = self_link
    return Database(resource_name, opts=opts, __props__=__props__)
Get an existing Database resource's state with the given name, id, and optional extra
properties used to qualify the lookup.

:param str resource_name: The unique name of the resulting resource.
:param str id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
       If it is not provided, the provider project is used.
:param pulumi.Input[str] self_link: The URI of the created resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sql_database.html.markdown.
@staticmethod
def get(resource_name, id, opts=None, charset=None, collation=None, instance=None, name=None, project=None, self_link=None):
    "\n        Get an existing Database resource's state with the given name, id, and optional extra\n        properties used to qualify the lookup.\n        \n        :param str resource_name: The unique name of the resulting resource.\n        :param str id: The unique provider ID of the resource to lookup.\n        :param pulumi.ResourceOptions opts: Options for the resource.\n        :param pulumi.Input[str] project: The ID of the project in which the resource belongs.\n               If it is not provided, the provider project is used.\n        :param pulumi.Input[str] self_link: The URI of the created resource.\n\n        > This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/sql_database.html.markdown.\n        "
    opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
    __props__ = dict()
    __props__['charset'] = charset
    __props__['collation'] = collation
    __props__['instance'] = instance
    __props__['name'] = name
    __props__['project'] = project
    __props__['self_link'] = self_link
    return Database(resource_name, opts=opts, __props__=__props__)