ResourceType

class oci.logging.models.ResourceType(**kwargs)

Bases: object

Type of resource that a service provides.

Methods

__init__(**kwargs) Initializes a new ResourceType object with values from keyword arguments.

Attributes

categories Gets the categories of this ResourceType.
name Gets the name of this ResourceType.
__init__(**kwargs)

Initializes a new ResourceType object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this ResourceType.
  • categories (list[oci.logging.models.Category]) – The value to assign to the categories property of this ResourceType.
categories

Gets the categories of this ResourceType. Categories for resources.

Returns:The categories of this ResourceType.
Return type:list[oci.logging.models.Category]
name

Gets the name of this ResourceType. Resource type name.

Returns:The name of this ResourceType.
Return type:str