Resource: Analysis
Message describing the Analysis object.
JSON representation |
---|
{
"name": string,
"createTime": string,
"updateTime": string,
"labels": {
string: string,
...
},
"analysisDefinition": {
object ( |
Fields | |
---|---|
name |
The name of resource. |
createTime |
Output only. The create timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The update timestamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels as key value pairs. An object containing a list of |
analysisDefinition |
The definition of the analysis. |
inputStreamsMapping |
Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0]. An object containing a list of |
outputStreamsMapping |
Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0]. An object containing a list of |
disableEventWatch |
Boolean flag to indicate whether you would like to disable the ability to automatically start a Process when new event happening in the input Stream. If you would like to start a Process manually, the field needs to be set to true. |
AnalysisDefinition
Defines a full analysis.
This is a description of the overall live analytics pipeline. You may think of this as an edge list representation of a multigraph.
This may be directly authored by a human in protobuf textformat, or it may be generated by a programming API (perhaps Python or JavaScript depending on context).
JSON representation |
---|
{
"analyzers": [
{
object ( |
Fields | |
---|---|
analyzers[] |
Analyzer definitions. |
AnalyzerDefinition
Defines an Analyzer.
An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.
JSON representation |
---|
{ "analyzer": string, "operator": string, "inputs": [ { object ( |
Fields | |
---|---|
analyzer |
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*. |
operator |
The name of the operator that this analyzer runs. Must match the name of a supported operator. |
inputs[] |
Input streams. |
attrs |
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value. An object containing a list of |
debugOptions |
Debug options. |
StreamInput
The inputs to this analyzer.
We accept input name references of the following form:
Example:
Suppose you had an operator named "SomeOp" that has 2 output arguments, the first of which is named "foo" and the second of which is named "bar", and an operator named "MyOp" that accepts 2 inputs.
Also suppose that there is an analyzer named "some-analyzer" that is running "SomeOp" and another analyzer named "my-analyzer" running "MyOp".
To indicate that "my-analyzer" is to consume "some-analyzer"'s "foo" output as its first input and "some-analyzer"'s "bar" output as its second input, you can set this field to the following: input = ["some-analyzer:foo", "some-analyzer:bar"]
JSON representation |
---|
{ "input": string } |
Fields | |
---|---|
input |
The name of the stream input (as discussed above). |
DebugOptions
Options available for debugging purposes only.
JSON representation |
---|
{ "environmentVariables": { string: string, ... } } |
Fields | |
---|---|
environmentVariables |
Environment variables. An object containing a list of |
Methods |
|
---|---|
|
Creates a new Analysis in a given project and location. |
|
Deletes a single Analysis. |
|
Gets details of a single Analysis. |
|
Lists Analyses in a given project and location. |
|
Updates the parameters of a single Analysis. |