Class GoogleFirebaseAppcheckV1betaAutomation
An enforcement automation is useful for automatically enforcing a service or a resource policy within a
service when a certain condition is met. For example, you may create an automation that automatically turns on
enforcement for your Cloud Firestore service at a specified timestamp in the future. For your security, an
automation object may be created by the system in order to protect sensitive services by default. These
system-created automations can be opted out, if you so choose, by calling the SuspendAutomation method on
them. Suspending a system-created automation is not recommended, but is supported for advanced use cases. The
system will not execute nor modify any suspended automations. Also, system-created automations cannot be
deleted, but can be freely modified, which is also not recommended, as the system may later overwrite your
changes with its own default settings without notice (assuming it has not been suspended). An automation's
condition is evaluated periodically; the frequency of this periodic evaluation depends on the exact condition.
While the details are unspecified, evaluations will be conducted reasonably frequently so that a satisfied
condition will be detected in a timely fashion. Once a condition has been detected to be satisfied, the
enforcement action will be executed immediately. Currently, the only enforcement action supported is to
enforce App Check protections on the associated parent service or parent resource policy. Once executed, the
automation becomes immutable, and serves as a historical record of that execution. Its update_time field will
be populated with the timestamp at which the execution occurred, and its state field will be set to
SUCCEEDED. Successful automations not created by the system can still be deleted. If, during the evaluation or
execution of an automation, App Check discovers that it is no longer possible for the service or resource to
receive App Check protection, App Check may suspend your automation without warning. For example, if you have
disabled a service, or have deleted all resources within a service, and that service does not support storing
your App Check preferences while it is in such a state, then an automation created for this service may be
suspended. Please ensure that the service or resource is correctly configured and operating normally throughout
the lifetime of the automation to avoid suspension.
Implements
Inherited Members
Namespace: Google.Apis.Firebaseappcheck.v1beta.Data
Assembly: Google.Apis.Firebaseappcheck.v1beta.dll
Syntax
public class GoogleFirebaseAppcheckV1betaAutomation : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Timestamp at which this automation object was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. This etag is strongly validated as defined by RFC 7232.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The relative resource name of the automation object, in one of the following supported formats:
projects/{project_number}/services/{service_id}/automations/{automation_id}
projects/{project_number}/services/{service_id}/resourcePolicies/{resource_policy_id}/automations/{automation_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Origin
Output only. The original creator of this automation object.
Declaration
[JsonProperty("origin")]
public virtual string Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
State
Output only. The state that this automation object is currently in.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TriggerTime
object representation of TriggerTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TriggerTimeDateTimeOffset instead.")]
public virtual object TriggerTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
TriggerTimeDateTimeOffset
DateTimeOffset representation of TriggerTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TriggerTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
TriggerTimeRaw
A condition that is satisfied if the current time is greater than or equal to the specified timestamp.
Declaration
[JsonProperty("triggerTime")]
public virtual string TriggerTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. Timestamp at which this automation object was most recently updated, either by the system or by the user. If this automation has already been executed, this field indicates the exact timestamp at which it was executed.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |