Skip to content

Commit

Permalink
docs: correct BackupSchedule recurrence docs that mentioned specific …
Browse files Browse the repository at this point in the history
…time of day (#898)

* docs: correct BackupSchedule recurrence docs that mentioned specific time of day
chore: fix typo in DeleteBackupScheduleRequest

PiperOrigin-RevId: 619912852

Source-Link: googleapis/googleapis@8fe68cf

Source-Link: googleapis/googleapis-gen@1a8186f
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE4MTg2Zjc0NjY1NjExZjQ4NTgxMWFjNWFiNjQzYzlmMDU2NTVjNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 28, 2024
1 parent c76f087 commit a8ed3ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Expand Up @@ -3001,7 +3001,7 @@ async def sample_delete_backup_schedule():
The request object. The request for
[FirestoreAdmin.DeleteBackupSchedules][].
name (:class:`str`):
Required. The name of backup schedule.
Required. The name of the backup schedule.
Format
``projects/{project}/databases/{database}/backupSchedules/{backup_schedule}``
Expand Down
Expand Up @@ -3470,7 +3470,7 @@ def sample_delete_backup_schedule():
The request object. The request for
[FirestoreAdmin.DeleteBackupSchedules][].
name (str):
Required. The name of backup schedule.
Required. The name of the backup schedule.
Format
``projects/{project}/databases/{database}/backupSchedules/{backup_schedule}``
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/firestore_admin_v1/types/firestore_admin.py
Expand Up @@ -329,7 +329,7 @@ class DeleteBackupScheduleRequest(proto.Message):
Attributes:
name (str):
Required. The name of backup schedule.
Required. The name of the backup schedule.
Format
``projects/{project}/databases/{database}/backupSchedules/{backup_schedule}``
Expand Down
7 changes: 3 additions & 4 deletions google/cloud/firestore_admin_v1/types/schedule.py
Expand Up @@ -72,13 +72,12 @@ class BackupSchedule(proto.Message):
to its creation time, the backup should be
deleted, e.g. keep backups for 7 days.
daily_recurrence (google.cloud.firestore_admin_v1.types.DailyRecurrence):
For a schedule that runs daily at a specified
time.
For a schedule that runs daily.
This field is a member of `oneof`_ ``recurrence``.
weekly_recurrence (google.cloud.firestore_admin_v1.types.WeeklyRecurrence):
For a schedule that runs weekly on a specific
day and time.
day.
This field is a member of `oneof`_ ``recurrence``.
"""
Expand Down Expand Up @@ -117,7 +116,7 @@ class BackupSchedule(proto.Message):


class DailyRecurrence(proto.Message):
r"""Represent a recurring schedule that runs at a specific time
r"""Represents a recurring schedule that runs at a specific time
every day.
The time zone is UTC.
Expand Down

0 comments on commit a8ed3ea

Please sign in to comment.