Core attributes for a resource. A resource is an
addressable (named) entity provided by the destination service.
For example, a Compute Engine instance.
Attributes
Name
Description
service
str
The name of the service that this resource belongs to, such
as compute.googleapis.com. The service name might not
match the DNS hostname that actually serves the request.
For a full list of resource service values, see
https://cloud.google.com/iam/help/conditions/resource-services
name
str
The stable identifier (name) of a resource on the
service. A resource can be logically identified as
//{resource.service}/{resource.name}. Unlike the
resource URI, the resource name doesn't contain any protocol
and version information.
For a list of full resource name formats, see
https://cloud.google.com/iam/help/troubleshooter/full-resource-names
type_
str
The type of the resource, in the format
{service}/{kind}.
For a full list of resource type values, see
https://cloud.google.com/iam/help/conditions/resource-types
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class Resource (0.1.13)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.13 (latest)](/python/docs/reference/policytroubleshooter-iam/latest/google.cloud.policytroubleshooter_iam_v3.types.ConditionContext.Resource)\n- [0.1.11](/python/docs/reference/policytroubleshooter-iam/0.1.11/google.cloud.policytroubleshooter_iam_v3.types.ConditionContext.Resource) \n\n Resource(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nCore attributes for a resource. A resource is an\naddressable (named) entity provided by the destination service.\nFor example, a Compute Engine instance."]]