google-cloud-firestore-admin-v1 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +894 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/paths.rb +55 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/client.rb +831 -0
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/rest/service_stub.rb +534 -0
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/lib/google/firestore/admin/v1/backup_pb.rb +51 -0
- data/lib/google/firestore/admin/v1/firestore_admin_pb.rb +16 -1
- data/lib/google/firestore/admin/v1/firestore_admin_services_pb.rb +37 -0
- data/lib/google/firestore/admin/v1/index_pb.rb +4 -1
- data/lib/google/firestore/admin/v1/operation_pb.rb +2 -1
- data/lib/google/firestore/admin/v1/schedule_pb.rb +54 -0
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/firestore/admin/v1/backup.rb +99 -0
- data/proto_docs/google/firestore/admin/v1/firestore_admin.rb +160 -0
- data/proto_docs/google/firestore/admin/v1/index.rb +26 -0
- data/proto_docs/google/firestore/admin/v1/operation.rb +25 -0
- data/proto_docs/google/firestore/admin/v1/schedule.rb +88 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- metadata +7 -2
@@ -0,0 +1,88 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Firestore
|
23
|
+
module Admin
|
24
|
+
module V1
|
25
|
+
# A backup schedule for a Cloud Firestore Database.
|
26
|
+
#
|
27
|
+
# This resource is owned by the database it is backing up, and is deleted along
|
28
|
+
# with the database. The actual backups are not though.
|
29
|
+
# @!attribute [r] name
|
30
|
+
# @return [::String]
|
31
|
+
# Output only. The unique backup schedule identifier across all locations and
|
32
|
+
# databases for the given project.
|
33
|
+
#
|
34
|
+
# This will be auto-assigned.
|
35
|
+
#
|
36
|
+
# Format is
|
37
|
+
# `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
|
38
|
+
# @!attribute [r] create_time
|
39
|
+
# @return [::Google::Protobuf::Timestamp]
|
40
|
+
# Output only. The timestamp at which this backup schedule was created and
|
41
|
+
# effective since.
|
42
|
+
#
|
43
|
+
# No backups will be created for this schedule before this time.
|
44
|
+
# @!attribute [r] update_time
|
45
|
+
# @return [::Google::Protobuf::Timestamp]
|
46
|
+
# Output only. The timestamp at which this backup schedule was most recently
|
47
|
+
# updated. When a backup schedule is first created, this is the same as
|
48
|
+
# create_time.
|
49
|
+
# @!attribute [rw] retention
|
50
|
+
# @return [::Google::Protobuf::Duration]
|
51
|
+
# At what relative time in the future, compared to its creation time,
|
52
|
+
# the backup should be deleted, e.g. keep backups for 7 days.
|
53
|
+
# @!attribute [rw] daily_recurrence
|
54
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::DailyRecurrence]
|
55
|
+
# For a schedule that runs daily.
|
56
|
+
# @!attribute [rw] weekly_recurrence
|
57
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::WeeklyRecurrence]
|
58
|
+
# For a schedule that runs weekly on a specific day.
|
59
|
+
class BackupSchedule
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
end
|
63
|
+
|
64
|
+
# Represents a recurring schedule that runs at a specific time every day.
|
65
|
+
#
|
66
|
+
# The time zone is UTC.
|
67
|
+
class DailyRecurrence
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
end
|
71
|
+
|
72
|
+
# Represents a recurring schedule that runs on a specified day of the week.
|
73
|
+
#
|
74
|
+
# The time zone is UTC.
|
75
|
+
# @!attribute [rw] day
|
76
|
+
# @return [::Google::Type::DayOfWeek]
|
77
|
+
# The day of week to run.
|
78
|
+
#
|
79
|
+
# DAY_OF_WEEK_UNSPECIFIED is not allowed.
|
80
|
+
class WeeklyRecurrence
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a day of the week.
|
23
|
+
module DayOfWeek
|
24
|
+
# The day of the week is unspecified.
|
25
|
+
DAY_OF_WEEK_UNSPECIFIED = 0
|
26
|
+
|
27
|
+
# Monday
|
28
|
+
MONDAY = 1
|
29
|
+
|
30
|
+
# Tuesday
|
31
|
+
TUESDAY = 2
|
32
|
+
|
33
|
+
# Wednesday
|
34
|
+
WEDNESDAY = 3
|
35
|
+
|
36
|
+
# Thursday
|
37
|
+
THURSDAY = 4
|
38
|
+
|
39
|
+
# Friday
|
40
|
+
FRIDAY = 5
|
41
|
+
|
42
|
+
# Saturday
|
43
|
+
SATURDAY = 6
|
44
|
+
|
45
|
+
# Sunday
|
46
|
+
SUNDAY = 7
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-firestore-admin-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -91,6 +91,7 @@ files:
|
|
91
91
|
- lib/google/cloud/firestore/admin/v1/firestore_admin/rest/service_stub.rb
|
92
92
|
- lib/google/cloud/firestore/admin/v1/rest.rb
|
93
93
|
- lib/google/cloud/firestore/admin/v1/version.rb
|
94
|
+
- lib/google/firestore/admin/v1/backup_pb.rb
|
94
95
|
- lib/google/firestore/admin/v1/database_pb.rb
|
95
96
|
- lib/google/firestore/admin/v1/field_pb.rb
|
96
97
|
- lib/google/firestore/admin/v1/firestore_admin_pb.rb
|
@@ -98,17 +99,20 @@ files:
|
|
98
99
|
- lib/google/firestore/admin/v1/index_pb.rb
|
99
100
|
- lib/google/firestore/admin/v1/location_pb.rb
|
100
101
|
- lib/google/firestore/admin/v1/operation_pb.rb
|
102
|
+
- lib/google/firestore/admin/v1/schedule_pb.rb
|
101
103
|
- proto_docs/README.md
|
102
104
|
- proto_docs/google/api/client.rb
|
103
105
|
- proto_docs/google/api/field_behavior.rb
|
104
106
|
- proto_docs/google/api/launch_stage.rb
|
105
107
|
- proto_docs/google/api/resource.rb
|
108
|
+
- proto_docs/google/firestore/admin/v1/backup.rb
|
106
109
|
- proto_docs/google/firestore/admin/v1/database.rb
|
107
110
|
- proto_docs/google/firestore/admin/v1/field.rb
|
108
111
|
- proto_docs/google/firestore/admin/v1/firestore_admin.rb
|
109
112
|
- proto_docs/google/firestore/admin/v1/index.rb
|
110
113
|
- proto_docs/google/firestore/admin/v1/location.rb
|
111
114
|
- proto_docs/google/firestore/admin/v1/operation.rb
|
115
|
+
- proto_docs/google/firestore/admin/v1/schedule.rb
|
112
116
|
- proto_docs/google/longrunning/operations.rb
|
113
117
|
- proto_docs/google/protobuf/any.rb
|
114
118
|
- proto_docs/google/protobuf/duration.rb
|
@@ -116,6 +120,7 @@ files:
|
|
116
120
|
- proto_docs/google/protobuf/field_mask.rb
|
117
121
|
- proto_docs/google/protobuf/timestamp.rb
|
118
122
|
- proto_docs/google/rpc/status.rb
|
123
|
+
- proto_docs/google/type/dayofweek.rb
|
119
124
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
120
125
|
licenses:
|
121
126
|
- Apache-2.0
|