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
- (::Google::Backstory::Attribute) — Generic entity metadata attributes of the resource.
#attribute=
def attribute=(value) -> ::Google::Backstory::Attribute
Parameter
- value (::Google::Backstory::Attribute) — Generic entity metadata attributes of the resource.
Returns
- (::Google::Backstory::Attribute) — Generic entity metadata attributes of the resource.
#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
- (::Google::Backstory::Resource::ResourceType) — Resource type.
#resource_type=
def resource_type=(value) -> ::Google::Backstory::Resource::ResourceType
Parameter
- value (::Google::Backstory::Resource::ResourceType) — Resource type.
Returns
- (::Google::Backstory::Resource::ResourceType) — Resource type.
#scheduled_anacron_task
def scheduled_anacron_task() -> ::Google::Backstory::ScheduledAnacronTask
Returns
- (::Google::Backstory::ScheduledAnacronTask) — Information about a scheduled anacron task associated with the resource.
#scheduled_anacron_task=
def scheduled_anacron_task=(value) -> ::Google::Backstory::ScheduledAnacronTask
Parameter
- value (::Google::Backstory::ScheduledAnacronTask) — Information about a scheduled anacron task associated with the resource.
Returns
- (::Google::Backstory::ScheduledAnacronTask) — Information about a scheduled anacron task associated with the resource.
#scheduled_cron_task
def scheduled_cron_task() -> ::Google::Backstory::ScheduledCronTask
Returns
- (::Google::Backstory::ScheduledCronTask) — Information about a scheduled cron task associated with the resource.
#scheduled_cron_task=
def scheduled_cron_task=(value) -> ::Google::Backstory::ScheduledCronTask
Parameter
- value (::Google::Backstory::ScheduledCronTask) — Information about a scheduled cron task associated with the resource.
Returns
- (::Google::Backstory::ScheduledCronTask) — Information about a scheduled cron task associated with the resource.
#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
- (::Google::Backstory::Service) — Information about a Windows service associated with the resource.
#service=
def service=(value) -> ::Google::Backstory::Service
Parameter
- value (::Google::Backstory::Service) — Information about a Windows service associated with the resource.
Returns
- (::Google::Backstory::Service) — Information about a Windows service associated with the resource.
#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
- (::Google::Backstory::Volume) — Information about a storage volume associated with the resource.
#volume=
def volume=(value) -> ::Google::Backstory::Volume
Parameter
- value (::Google::Backstory::Volume) — Information about a storage volume associated with the resource.
Returns
- (::Google::Backstory::Volume) — Information about a storage volume associated with the resource.
#windows_scheduled_task
def windows_scheduled_task() -> ::Google::Backstory::WindowsScheduledTask
Returns
- (::Google::Backstory::WindowsScheduledTask) — Information about a Windows scheduled task associated with the resource.
#windows_scheduled_task=
def windows_scheduled_task=(value) -> ::Google::Backstory::WindowsScheduledTask
Parameter
- value (::Google::Backstory::WindowsScheduledTask) — Information about a Windows scheduled task associated with the resource.
Returns
- (::Google::Backstory::WindowsScheduledTask) — Information about a Windows scheduled task associated with the resource.