Context constructor
Context(
- String name, {
- ContextArgs? args,
- CustomResourceOptions? options,
Creates a new Context.
name The Pulumi resource name.
args Arguments used to configure this Context. The set of arguments for Context.
options Resource options controlling this resource's behavior.
Implementation
Context(
String name, {
ContextArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:dialogflow/v2:Context',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
environmentId = registerOutput<String>('environmentId');
lifespanCount = registerOutput<int>('lifespanCount');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
parameters = registerOutput<Map<String, String>>('parameters');
project = registerOutput<String>('project');
sessionId = registerOutput<String>('sessionId');
userId = registerOutput<String>('userId');
}