Class BetaManagedAgentsAgentToolset20260401GrepInput
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAgentToolset20260401GrepInputInput payload for the
greptool. Searches file contents for a regular expression, returning matching lines.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAgentToolset20260401GrepInput.BuilderA builder for BetaManagedAgentsAgentToolset20260401GrepInput.
-
Method Summary
Modifier and Type Method Description final Stringpattern()Regular expression to search for. final Optional<String>path()Optional directory root to search under. final JsonField<String>_pattern()Returns the raw JSON value of pattern. final JsonField<String>_path()Returns the raw JSON value of path. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAgentToolset20260401GrepInput.BuildertoBuilder()final BetaManagedAgentsAgentToolset20260401GrepInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAgentToolset20260401GrepInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401GrepInput. -
-
Method Detail
-
path
final Optional<String> path()
Optional directory root to search under. Defaults to the runner's working directory.
-
_pattern
final JsonField<String> _pattern()
Returns the raw JSON value of pattern.
Unlike pattern, this method doesn't throw if the JSON field has an unexpected type.
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAgentToolset20260401GrepInput.Builder toBuilder()
-
validate
final BetaManagedAgentsAgentToolset20260401GrepInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsAgentToolset20260401GrepInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAgentToolset20260401GrepInput.
The following fields are required:
.pattern()
-
-
-
-