QueryKeyInner Class
- java.
lang. Object - com.
azure. resourcemanager. search. fluent. models. QueryKeyInner
- com.
Implements
public final class QueryKeyInner
implements JsonSerializable<QueryKeyInner>
Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index.
Constructor Summary
| Constructor | Description |
|---|---|
| QueryKeyInner() |
Creates an instance of Query |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
| String |
key()
Get the key property: The value of the query API key. |
| String |
name()
Get the name property: The name of the query API key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
QueryKeyInner
public QueryKeyInner()
Creates an instance of QueryKeyInner class.
Method Details
fromJson
public static QueryKeyInner fromJson(JsonReader jsonReader)
Reads an instance of QueryKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
key
public String key()
Get the key property: The value of the query API key.
Returns:
name
public String name()
Get the name property: The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used.
Returns:
toJson
validate
public void validate()
Validates the instance.