Migrate for Compute Engine V1 API - Class Google::Rpc::ResourceInfo (v1.0.2)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Rpc::ResourceInfo.

Describes the resource that is being accessed.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
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.

#description=

def description=(value) -> ::String
Parameter
  • value (::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.
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.

#owner

def owner() -> ::String
Returns
  • (::String) — The owner of the resource (optional). For example, "user:

#owner=

def owner=(value) -> ::String
Parameter
  • value (::String) — The owner of the resource (optional). For example, "user:
Returns
  • (::String) — The owner of the resource (optional). For example, "user:

#resource_name

def resource_name() -> ::String
Returns
  • (::String) — 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].

#resource_name=

def resource_name=(value) -> ::String
Parameter
  • value (::String) — 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
  • (::String) — 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].

#resource_type

def resource_type() -> ::String
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".

#resource_type=

def resource_type=(value) -> ::String
Parameter
  • value (::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".
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".