Chronicle V1 API - Class Google::Backstory::Resource (v1.4.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Resource.

Information about a resource such as a task, Cloud Storage bucket, database, disk, logical policy, or something similar.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attribute

def attribute() -> ::Google::Backstory::Attribute
Returns

#attribute=

def attribute=(value) -> ::Google::Backstory::Attribute
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — Deprecated: Use resource.name or resource.product_object_id.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Deprecated: Use resource.name or resource.product_object_id.
Returns
  • (::String) — Deprecated: Use resource.name or resource.product_object_id.

#name

def name() -> ::String
Returns
  • (::String) — The full name of the resource. For example, Google Cloud: //cloudresourcemanager.googleapis.com/projects/wombat-123, and AWS: arn:aws:iam::123456789012:user/johndoe.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The full name of the resource. For example, Google Cloud: //cloudresourcemanager.googleapis.com/projects/wombat-123, and AWS: arn:aws:iam::123456789012:user/johndoe.
Returns
  • (::String) — The full name of the resource. For example, Google Cloud: //cloudresourcemanager.googleapis.com/projects/wombat-123, and AWS: arn:aws:iam::123456789012:user/johndoe.

#parent

def parent() -> ::String
Returns
  • (::String) — The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resource_ancestors.name.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resource_ancestors.name.
Returns
  • (::String) — The parent of the resource. For a database table, the parent is the database. For a storage object, the bucket name. Deprecated: use resource_ancestors.name.

#product_object_id

def product_object_id() -> ::String
Returns
  • (::String) — A vendor-specific identifier to uniquely identify the entity (a GUID, OID, or similar) This field can be used as an entity indicator for a Resource entity.

#product_object_id=

def product_object_id=(value) -> ::String
Parameter
  • value (::String) — A vendor-specific identifier to uniquely identify the entity (a GUID, OID, or similar) This field can be used as an entity indicator for a Resource entity.
Returns
  • (::String) — A vendor-specific identifier to uniquely identify the entity (a GUID, OID, or similar) This field can be used as an entity indicator for a Resource entity.

#resource_subtype

def resource_subtype() -> ::String
Returns
  • (::String) — Resource sub-type (e.g. "BigQuery", "Bigtable").

#resource_subtype=

def resource_subtype=(value) -> ::String
Parameter
  • value (::String) — Resource sub-type (e.g. "BigQuery", "Bigtable").
Returns
  • (::String) — Resource sub-type (e.g. "BigQuery", "Bigtable").

#resource_type

def resource_type() -> ::Google::Backstory::Resource::ResourceType
Returns

#resource_type=

def resource_type=(value) -> ::Google::Backstory::Resource::ResourceType
Parameter
Returns

#scheduled_anacron_task

def scheduled_anacron_task() -> ::Google::Backstory::ScheduledAnacronTask
Returns

#scheduled_anacron_task=

def scheduled_anacron_task=(value) -> ::Google::Backstory::ScheduledAnacronTask
Parameter
Returns

#scheduled_cron_task

def scheduled_cron_task() -> ::Google::Backstory::ScheduledCronTask
Returns

#scheduled_cron_task=

def scheduled_cron_task=(value) -> ::Google::Backstory::ScheduledCronTask
Parameter
Returns

#scheduled_task

def scheduled_task() -> ::Google::Backstory::ScheduledTask
Returns
  • (::Google::Backstory::ScheduledTask) — DEPRECATED: use windows_scheduled_task for Windows scheduled tasks or scheduled_cron_task for cron jobs. Information about a scheduled task associated with the resource.

#scheduled_task=

def scheduled_task=(value) -> ::Google::Backstory::ScheduledTask
Parameter
  • value (::Google::Backstory::ScheduledTask) — DEPRECATED: use windows_scheduled_task for Windows scheduled tasks or scheduled_cron_task for cron jobs. Information about a scheduled task associated with the resource.
Returns
  • (::Google::Backstory::ScheduledTask) — DEPRECATED: use windows_scheduled_task for Windows scheduled tasks or scheduled_cron_task for cron jobs. Information about a scheduled task associated with the resource.

#service

def service() -> ::Google::Backstory::Service
Returns

#service=

def service=(value) -> ::Google::Backstory::Service
Parameter
Returns

#type

def type() -> ::String
Returns
  • (::String) — Deprecated: use resource_type instead.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — Deprecated: use resource_type instead.
Returns
  • (::String) — Deprecated: use resource_type instead.

#volume

def volume() -> ::Google::Backstory::Volume
Returns

#volume=

def volume=(value) -> ::Google::Backstory::Volume
Parameter
Returns

#windows_scheduled_task

def windows_scheduled_task() -> ::Google::Backstory::WindowsScheduledTask
Returns

#windows_scheduled_task=

def windows_scheduled_task=(value) -> ::Google::Backstory::WindowsScheduledTask
Parameter
Returns