Class: Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource
- Inherits:
-
Object
- Object
- Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionContext::Resource
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb
Overview
Core attributes for a resource. A resource is an addressable (named) entity provided by the destination service. For example, a Compute Engine instance.
Instance Attribute Summary collapse
-
#name ⇒ ::String
The stable identifier (name) of a resource on the
service
. -
#service ⇒ ::String
The name of the service that this resource belongs to, such as
compute.googleapis.com
. -
#type ⇒ ::String
The type of the resource, in the format
{service}/{kind}
.
Instance Attribute Details
#name ⇒ ::String
Returns 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.
173 174 175 176 |
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 173 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service ⇒ ::String
Returns 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.
173 174 175 176 |
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 173 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::String
Returns 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.
173 174 175 176 |
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 173 class Resource include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |