Class: Google::Rpc::ResourceInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/rpc/error_details.rb

Overview

Describes the resource that is being accessed.

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the writer permission on the developer console project.

Returns:

  • (::String)

    Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the writer permission on the developer console project.



288
289
290
291
# File 'proto_docs/google/rpc/error_details.rb', line 288

class ResourceInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#owner::String

Returns The owner of the resource (optional). For example, "user:" or "project:".

Returns:

  • (::String)

    The owner of the resource (optional). For example, "user:" or "project:".



288
289
290
291
# File 'proto_docs/google/rpc/error_details.rb', line 288

class ResourceInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_name::String

Returns The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].

Returns:



288
289
290
291
# File 'proto_docs/google/rpc/error_details.rb', line 288

class ResourceInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_type::String

Returns A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".

Returns:

  • (::String)

    A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".



288
289
290
291
# File 'proto_docs/google/rpc/error_details.rb', line 288

class ResourceInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end