Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::GetRuleRequest.
Request message for GetRule method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Required. The name of the rule to retrieve.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the rule to retrieve.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
Returns
-
(::String) — Required. The name of the rule to retrieve.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
#view
def view() -> ::Google::Cloud::Chronicle::V1::RuleView
Returns
- (::Google::Cloud::Chronicle::V1::RuleView) — The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.
#view=
def view=(value) -> ::Google::Cloud::Chronicle::V1::RuleView
Parameter
- value (::Google::Cloud::Chronicle::V1::RuleView) — The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.
Returns
- (::Google::Cloud::Chronicle::V1::RuleView) — The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.