Chronicle V1 API - Class Google::Cloud::Chronicle::V1::ListFeaturedContentRulesRequest (v1.5.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::ListFeaturedContentRulesRequest.

Request message for ListFeaturedContentRules method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#filter

def filter() -> ::String
Returns
  • (::String) — Optional. Only the following filters are allowed: Under HAS operator: Filtering through category names:

    • Singular: category_name:"<category_name>"
    • Multiple: category_name:"<category_name1>" OR category_name:"<category_name2>" -- You can only use OR operator between multiple category_name filters.

    Filtering through policy names:

    • Singular: policy_name:"<policy_name>"
    • Multiple: policy_name:"<policy_name1>" OR policy_name:"<policy_name2>" -- You can only use OR operator between multiple policy_name filters.

    Filtering through rule IDs:

    • Singular: rule_id:"ur_<id>"
    • Multiple: rule_id:"ur_<rule_id1>" OR rule_id:"ur_<rule_id2>" -- You can only use OR operator between multiple rule_id filters.

    Filtering through rule precision: rule_precision:"<rule_precision>" -- Rule precision values can be "Precise" or "Broad". If something else is passed, the rule precision will default to "Unknown". You can only filter by one rule precision value.

    Under MATCHES_REGEXP operator: Search through rule name or description (behaves like a string contains): This search is case-insensitive and filters through the rule metadata, specifically the rule_name and description keys. search_rule_name_or_description=~"<rule_name> or <rule_description>". You can only filter by one rule name or description value.

    Multiple filters can also be used together: Ex 1: category_name:"<category_name>" AND policy_name:"<policy_name>" Ex 2: Since category_name and policy_name are repeated fields, we can also use multiple values for each: (category_name:"<category_name1>" OR category_name:"<category_name2>") AND policy_name:"<policy_name>" -- Note that the AND operator has higher precedence than the OR operator. Additionally, parentheses must be used to create a valid filter.

    Requests using filter comparators other than HAS(:) or MATCHES_REGEXP(=~) will result in an InvalidArgument error.

#filter=

def filter=(value) -> ::String
Parameter
  • value (::String) — Optional. Only the following filters are allowed: Under HAS operator: Filtering through category names:

    • Singular: category_name:"<category_name>"
    • Multiple: category_name:"<category_name1>" OR category_name:"<category_name2>" -- You can only use OR operator between multiple category_name filters.

    Filtering through policy names:

    • Singular: policy_name:"<policy_name>"
    • Multiple: policy_name:"<policy_name1>" OR policy_name:"<policy_name2>" -- You can only use OR operator between multiple policy_name filters.

    Filtering through rule IDs:

    • Singular: rule_id:"ur_<id>"
    • Multiple: rule_id:"ur_<rule_id1>" OR rule_id:"ur_<rule_id2>" -- You can only use OR operator between multiple rule_id filters.

    Filtering through rule precision: rule_precision:"<rule_precision>" -- Rule precision values can be "Precise" or "Broad". If something else is passed, the rule precision will default to "Unknown". You can only filter by one rule precision value.

    Under MATCHES_REGEXP operator: Search through rule name or description (behaves like a string contains): This search is case-insensitive and filters through the rule metadata, specifically the rule_name and description keys. search_rule_name_or_description=~"<rule_name> or <rule_description>". You can only filter by one rule name or description value.

    Multiple filters can also be used together: Ex 1: category_name:"<category_name>" AND policy_name:"<policy_name>" Ex 2: Since category_name and policy_name are repeated fields, we can also use multiple values for each: (category_name:"<category_name1>" OR category_name:"<category_name2>") AND policy_name:"<policy_name>" -- Note that the AND operator has higher precedence than the OR operator. Additionally, parentheses must be used to create a valid filter.

    Requests using filter comparators other than HAS(:) or MATCHES_REGEXP(=~) will result in an InvalidArgument error.

Returns
  • (::String) — Optional. Only the following filters are allowed: Under HAS operator: Filtering through category names:

    • Singular: category_name:"<category_name>"
    • Multiple: category_name:"<category_name1>" OR category_name:"<category_name2>" -- You can only use OR operator between multiple category_name filters.

    Filtering through policy names:

    • Singular: policy_name:"<policy_name>"
    • Multiple: policy_name:"<policy_name1>" OR policy_name:"<policy_name2>" -- You can only use OR operator between multiple policy_name filters.

    Filtering through rule IDs:

    • Singular: rule_id:"ur_<id>"
    • Multiple: rule_id:"ur_<rule_id1>" OR rule_id:"ur_<rule_id2>" -- You can only use OR operator between multiple rule_id filters.

    Filtering through rule precision: rule_precision:"<rule_precision>" -- Rule precision values can be "Precise" or "Broad". If something else is passed, the rule precision will default to "Unknown". You can only filter by one rule precision value.

    Under MATCHES_REGEXP operator: Search through rule name or description (behaves like a string contains): This search is case-insensitive and filters through the rule metadata, specifically the rule_name and description keys. search_rule_name_or_description=~"<rule_name> or <rule_description>". You can only filter by one rule name or description value.

    Multiple filters can also be used together: Ex 1: category_name:"<category_name>" AND policy_name:"<policy_name>" Ex 2: Since category_name and policy_name are repeated fields, we can also use multiple values for each: (category_name:"<category_name1>" OR category_name:"<category_name2>") AND policy_name:"<policy_name>" -- Note that the AND operator has higher precedence than the OR operator. Additionally, parentheses must be used to create a valid filter.

    Requests using filter comparators other than HAS(:) or MATCHES_REGEXP(=~) will result in an InvalidArgument error.

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Optional. The maximum number of featured contents to return. The service may return fewer than this value. If unspecified, at most 100 featured contents will be returned. The maximum value is 1000; values above 1000 will be coerced to 100.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The maximum number of featured contents to return. The service may return fewer than this value. If unspecified, at most 100 featured contents will be returned. The maximum value is 1000; values above 1000 will be coerced to 100.
Returns
  • (::Integer) — Optional. The maximum number of featured contents to return. The service may return fewer than this value. If unspecified, at most 100 featured contents will be returned. The maximum value is 1000; values above 1000 will be coerced to 100.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Optional. A page token, received from a previous ListFeaturedContentRules call. Provide this to retrieve the subsequent page.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. A page token, received from a previous ListFeaturedContentRules call. Provide this to retrieve the subsequent page.
Returns
  • (::String) — Optional. A page token, received from a previous ListFeaturedContentRules call. Provide this to retrieve the subsequent page.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent which owns this collection of FeaturedContentRules. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent which owns this collection of FeaturedContentRules. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub
Returns
  • (::String) — Required. The parent which owns this collection of FeaturedContentRules. Format: projects/{project}/locations/{location}/instances/{instance}/contentHub