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

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: http://en.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.