Query class
Submit a query to be processed in the background. If the submission of the query succeeds, the API returns a 201 status and an ID that refer to the query. In addition to the HTTP status 201, the state of "enqueued" means that the request succeeded.
Note - this resource's API doesn't support deletion. When deleted, the resource will persist
on Google Cloud even though it will be deleted from Pulumi state.
Constructors
Properties
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
created
↔ Output<
String> -
Creation time of the query.
latefinal
-
envgroupHostname
↔ Output<
String> -
Hostname is available only when query is executed at host level.
latefinal
-
environmentId
↔ Output<
String> -
latefinal
-
error
↔ Output<
String> -
Error is set when query fails.
latefinal
-
executionTime
↔ Output<
String> -
ExecutionTime is available only after the query is completed.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
name
↔ Output<
String> -
Asynchronous Query Name.
latefinal
-
organizationId
↔ Output<
String> -
latefinal
-
queryParams
↔ Output<
GoogleCloudApigeeV1QueryMetadataResponse> -
Contains information like metrics, dimenstions etc of the AsyncQuery.
latefinal
-
reportDefinitionId
↔ Output<
String> -
Asynchronous Report ID.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
result
↔ Output<
GoogleCloudApigeeV1AsyncQueryResultResponse> -
Result is available only after the query is completed.
latefinal
-
resultFileSize
↔ Output<
String> -
ResultFileSize is available only after the query is completed.
latefinal
-
resultRows
↔ Output<
String> -
ResultRows is available only after the query is completed.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
self
↔ Output<
String> -
Self link of the query. Example:
/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bdor following format if query is running at host level:/organizations/myorg/hostQueries/9cfc0d85-0f30-46d6-ae6f-318d0cb961bdlatefinal -
state
↔ Output<
String> -
Query state could be "enqueued", "running", "completed", "failed".
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
updated
↔ Output<
String> -
Last updated timestamp for the query.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited