View Source GoogleApi.CloudDeploy.V1.Model.OneTimeWindow (google_api_cloud_deploy v0.11.1)

One-time window within which actions are restricted. For example, blocking actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.

Attributes

  • endDate (type: GoogleApi.CloudDeploy.V1.Model.Date.t, default: nil) - Required. End date.
  • endTime (type: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t, default: nil) - Required. End time (exclusive). You may use 24:00 for the end of the day.
  • startDate (type: GoogleApi.CloudDeploy.V1.Model.Date.t, default: nil) - Required. Start date.
  • startTime (type: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t, default: nil) - Required. Start time (inclusive). Use 00:00 for the beginning of the day.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudDeploy.V1.Model.OneTimeWindow{
  endDate: GoogleApi.CloudDeploy.V1.Model.Date.t() | nil,
  endTime: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t() | nil,
  startDate: GoogleApi.CloudDeploy.V1.Model.Date.t() | nil,
  startTime: GoogleApi.CloudDeploy.V1.Model.TimeOfDay.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.