View Source GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicy (google_api_compute v0.56.2)

An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.

Attributes

  • expirationTime (type: String.t, default: nil) - The expiration time of the schedule. The timestamp is an RFC3339 string.
  • startTime (type: String.t, default: nil) - The start time of the schedule. The timestamp is an RFC3339 string.
  • timeZone (type: String.t, default: nil) - Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
  • vmStartSchedule (type: GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicySchedule.t, default: nil) - Specifies the schedule for starting instances.
  • vmStopSchedule (type: GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicySchedule.t, default: nil) - Specifies the schedule for stopping instances.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicy{
  expirationTime: String.t() | nil,
  startTime: String.t() | nil,
  timeZone: String.t() | nil,
  vmStartSchedule:
    GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicySchedule.t()
    | nil,
  vmStopSchedule:
    GoogleApi.Compute.V1.Model.ResourcePolicyInstanceSchedulePolicySchedule.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.