AssistantApiSettingsDowntimeSchedule

AI Overview😉

  • The potential purpose of this module is to schedule downtime for Google Assistant API, allowing developers to specify when their API will be unavailable or "down" for maintenance or other reasons. This ensures that users are not directed to an unavailable API, improving overall user experience.
  • This module could impact search results by potentially removing or demoting websites that have scheduled downtime during peak usage hours, as Google may prioritize websites that are consistently available and responsive. Conversely, websites that schedule downtime during off-peak hours may not be affected as much.
  • To be more favorable to this function, a website may consider scheduling downtime during off-peak hours, ensuring that their API is available during peak usage times. Additionally, they may want to implement a robust maintenance schedule, communicating downtime to users in advance, and providing alternative solutions or fallbacks during unavailability. This demonstrates a commitment to user experience and reliability, which could positively impact search engine rankings.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimeSchedule (google_api_content_warehouse v0.4.0)

Specification of when downtime is enabled on different days of the week. Contains up to 7 DowntimePeriod messages, up to one per day of the week.

Attributes

  • enabled (type: boolean(), default: nil) - True if this downtime schedule should be enabled.
  • periods (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimePeriod.t), default: nil) - Downtime entries for the days of the week, in no particular order. There can be at most one period defined for each day of the week. Days of the week with no explicit period defined are treated as disabled, so the device is available all day (modulo an end time that may spill over from the previous day).

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimeSchedule{
    enabled: boolean() | nil,
    periods:
      [
        GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsDowntimePeriod.t()
      ]
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.