View Source GoogleApi.PolicyAnalyzer.V1.Model.GoogleCloudPolicyanalyzerV1Activity (google_api_policy_analyzer v0.3.0)

Represents Activity on a GCP resource over specific observation period.

Attributes

  • activity (type: map(), default: nil) - A struct of custom fields to explain the activity.
  • activityType (type: String.t, default: nil) - The type of the activity.
  • fullResourceName (type: String.t, default: nil) - The full resource name that identifies the resource. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
  • observationPeriod (type: GoogleApi.PolicyAnalyzer.V1.Model.GoogleCloudPolicyanalyzerV1ObservationPeriod.t, default: nil) - The data observation period to build the activity.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PolicyAnalyzer.V1.Model.GoogleCloudPolicyanalyzerV1Activity{
  activity: map() | nil,
  activityType: String.t() | nil,
  fullResourceName: String.t() | nil,
  observationPeriod:
    GoogleApi.PolicyAnalyzer.V1.Model.GoogleCloudPolicyanalyzerV1ObservationPeriod.t()
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.