Skip to content

Latest commit

 

History

History
312 lines (167 loc) · 10 KB

RoleModel.md

File metadata and controls

312 lines (167 loc) · 10 KB

RoleModel

Properties

Name Type Description Notes
Name string Name of the role.
Description Pointer to string Description of the role. [optional]
FilterPredicate Pointer to string A search filter to restrict access to specific logs. The filter is silently added to the beginning of each query a user runs. For example, using '!_sourceCategory=billing' as a filter predicate will prevent users assigned to the role from viewing logs from the source category named 'billing'. [optional]
Users Pointer to []string List of user identifiers to assign the role to. [optional]
Capabilities Pointer to []string List of capabilities associated with this role. Valid values are ### Data Management - viewCollectors - manageCollectors - manageBudgets - manageDataVolumeFeed - viewFieldExtraction - manageFieldExtractionRules - manageS3DataForwarding - manageContent - dataVolumeIndex - manageConnections - viewScheduledViews - manageScheduledViews - viewPartitions - managePartitions - viewFields - manageFields - viewAccountOverview - manageTokens ### Entity management - manageEntityTypeConfig ### Metrics - metricsTransformation - metricsExtraction - metricsRules ### Security - managePasswordPolicy - ipAllowlisting - createAccessKeys - manageAccessKeys - manageSupportAccountAccess - manageAuditDataFeed - manageSaml - shareDashboardOutsideOrg - manageOrgSettings - changeDataAccessLevel ### Dashboards - shareDashboardWorld - shareDashboardAllowlist ### UserManagement - manageUsersAndRoles ### Observability - searchAuditIndex - auditEventIndex ### Cloud SIEM Enterprise - viewCse ### Alerting - viewMonitorsV2 - manageMonitorsV2 - viewAlerts [optional]
AutofillDependencies Pointer to bool Set this to true if you want to automatically append all missing capability requirements. If set to false an error will be thrown if any capabilities are missing their dependencies. [optional] [default to true]
CreatedAt time.Time Creation timestamp in UTC in RFC3339 format.
CreatedBy string Identifier of the user who created the resource.
ModifiedAt time.Time Last modification timestamp in UTC.
ModifiedBy string Identifier of the user who last modified the resource.
Id string Unique identifier for the role.
SystemDefined Pointer to bool Role is system or user defined. [optional]

Methods

NewRoleModel

func NewRoleModel(name string, createdAt time.Time, createdBy string, modifiedAt time.Time, modifiedBy string, id string, ) *RoleModel

NewRoleModel instantiates a new RoleModel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewRoleModelWithDefaults

func NewRoleModelWithDefaults() *RoleModel

NewRoleModelWithDefaults instantiates a new RoleModel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetName

func (o *RoleModel) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *RoleModel) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *RoleModel) SetName(v string)

SetName sets Name field to given value.

GetDescription

func (o *RoleModel) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *RoleModel) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *RoleModel) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *RoleModel) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetFilterPredicate

func (o *RoleModel) GetFilterPredicate() string

GetFilterPredicate returns the FilterPredicate field if non-nil, zero value otherwise.

GetFilterPredicateOk

func (o *RoleModel) GetFilterPredicateOk() (*string, bool)

GetFilterPredicateOk returns a tuple with the FilterPredicate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFilterPredicate

func (o *RoleModel) SetFilterPredicate(v string)

SetFilterPredicate sets FilterPredicate field to given value.

HasFilterPredicate

func (o *RoleModel) HasFilterPredicate() bool

HasFilterPredicate returns a boolean if a field has been set.

GetUsers

func (o *RoleModel) GetUsers() []string

GetUsers returns the Users field if non-nil, zero value otherwise.

GetUsersOk

func (o *RoleModel) GetUsersOk() (*[]string, bool)

GetUsersOk returns a tuple with the Users field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUsers

func (o *RoleModel) SetUsers(v []string)

SetUsers sets Users field to given value.

HasUsers

func (o *RoleModel) HasUsers() bool

HasUsers returns a boolean if a field has been set.

GetCapabilities

func (o *RoleModel) GetCapabilities() []string

GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.

GetCapabilitiesOk

func (o *RoleModel) GetCapabilitiesOk() (*[]string, bool)

GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCapabilities

func (o *RoleModel) SetCapabilities(v []string)

SetCapabilities sets Capabilities field to given value.

HasCapabilities

func (o *RoleModel) HasCapabilities() bool

HasCapabilities returns a boolean if a field has been set.

GetAutofillDependencies

func (o *RoleModel) GetAutofillDependencies() bool

GetAutofillDependencies returns the AutofillDependencies field if non-nil, zero value otherwise.

GetAutofillDependenciesOk

func (o *RoleModel) GetAutofillDependenciesOk() (*bool, bool)

GetAutofillDependenciesOk returns a tuple with the AutofillDependencies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAutofillDependencies

func (o *RoleModel) SetAutofillDependencies(v bool)

SetAutofillDependencies sets AutofillDependencies field to given value.

HasAutofillDependencies

func (o *RoleModel) HasAutofillDependencies() bool

HasAutofillDependencies returns a boolean if a field has been set.

GetCreatedAt

func (o *RoleModel) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *RoleModel) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *RoleModel) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetCreatedBy

func (o *RoleModel) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *RoleModel) GetCreatedByOk() (*string, bool)

GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedBy

func (o *RoleModel) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

GetModifiedAt

func (o *RoleModel) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field if non-nil, zero value otherwise.

GetModifiedAtOk

func (o *RoleModel) GetModifiedAtOk() (*time.Time, bool)

GetModifiedAtOk returns a tuple with the ModifiedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModifiedAt

func (o *RoleModel) SetModifiedAt(v time.Time)

SetModifiedAt sets ModifiedAt field to given value.

GetModifiedBy

func (o *RoleModel) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *RoleModel) GetModifiedByOk() (*string, bool)

GetModifiedByOk returns a tuple with the ModifiedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModifiedBy

func (o *RoleModel) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

GetId

func (o *RoleModel) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *RoleModel) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *RoleModel) SetId(v string)

SetId sets Id field to given value.

GetSystemDefined

func (o *RoleModel) GetSystemDefined() bool

GetSystemDefined returns the SystemDefined field if non-nil, zero value otherwise.

GetSystemDefinedOk

func (o *RoleModel) GetSystemDefinedOk() (*bool, bool)

GetSystemDefinedOk returns a tuple with the SystemDefined field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSystemDefined

func (o *RoleModel) SetSystemDefined(v bool)

SetSystemDefined sets SystemDefined field to given value.

HasSystemDefined

func (o *RoleModel) HasSystemDefined() bool

HasSystemDefined returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]