google-cloud-firestore-admin-v1 0.4.0 → 0.5.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/README.md +6 -1
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/lib/google/cloud/firestore/admin/v1.rb +2 -0
- data/lib/google/firestore/admin/v1/database_pb.rb +10 -4
- data/lib/google/firestore/admin/v1/field_pb.rb +14 -2
- data/lib/google/firestore/admin/v1/firestore_admin_pb.rb +2 -3
- data/lib/google/firestore/admin/v1/index_pb.rb +2 -2
- data/lib/google/firestore/admin/v1/location_pb.rb +0 -2
- data/lib/google/firestore/admin/v1/operation_pb.rb +13 -2
- data/proto_docs/google/firestore/admin/v1/database.rb +41 -7
- data/proto_docs/google/firestore/admin/v1/field.rb +40 -0
- data/proto_docs/google/firestore/admin/v1/operation.rb +24 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +3 -4
- data/proto_docs/google/type/latlng.rb +0 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bc700baa2a55a0bbec499e27819be1442c8e2c612eb377687d7f2c2e8726897
|
4
|
+
data.tar.gz: d228fffb8b9b3c254e48de952f99d2d2da33f10df4490118933c551ae8a49679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4562372f59d7a484b28d08af26da909ea8ebd018135e673938cb78a3a6b1e15005c74a0c6c73ff16ccfdd8f6a1d7a2103b5386927eb42419b88ebf3c6c42d5d9
|
7
|
+
data.tar.gz: 9993403fa72b26c7c85704c846ac2da78d8d1d28b5c49ed9c0635a2045319264a0ca1425c409aa8d5cd0bf05aa07c4cd725beabe299bcf632bed945794253b80
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Firestore::Admin::V1::CreateIndexRequest.new # (reque
|
|
37
37
|
response = client.create_index request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-firestore-admin-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/firestore)
|
@@ -69,6 +69,11 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
79
|
This library is supported on Ruby 2.5+.
|
@@ -1,12 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/firestore/admin/v1/database.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
|
-
require 'google/protobuf/duration_pb'
|
7
|
-
require 'google/protobuf/timestamp_pb'
|
8
|
-
require 'google/api/annotations_pb'
|
9
|
-
require 'google/protobuf'
|
10
8
|
|
11
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
10
|
add_file("google/firestore/admin/v1/database.proto", :syntax => :proto3) do
|
@@ -15,6 +13,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
15
13
|
optional :location_id, :string, 9
|
16
14
|
optional :type, :enum, 10, "google.firestore.admin.v1.Database.DatabaseType"
|
17
15
|
optional :concurrency_mode, :enum, 15, "google.firestore.admin.v1.Database.ConcurrencyMode"
|
16
|
+
optional :app_engine_integration_mode, :enum, 19, "google.firestore.admin.v1.Database.AppEngineIntegrationMode"
|
17
|
+
optional :key_prefix, :string, 20
|
18
18
|
optional :etag, :string, 99
|
19
19
|
end
|
20
20
|
add_enum "google.firestore.admin.v1.Database.DatabaseType" do
|
@@ -28,6 +28,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
28
28
|
value :PESSIMISTIC, 2
|
29
29
|
value :OPTIMISTIC_WITH_ENTITY_GROUPS, 3
|
30
30
|
end
|
31
|
+
add_enum "google.firestore.admin.v1.Database.AppEngineIntegrationMode" do
|
32
|
+
value :APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED, 0
|
33
|
+
value :ENABLED, 1
|
34
|
+
value :DISABLED, 2
|
35
|
+
end
|
31
36
|
end
|
32
37
|
end
|
33
38
|
|
@@ -39,6 +44,7 @@ module Google
|
|
39
44
|
Database = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database").msgclass
|
40
45
|
Database::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database.DatabaseType").enummodule
|
41
46
|
Database::ConcurrencyMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database.ConcurrencyMode").enummodule
|
47
|
+
Database::AppEngineIntegrationMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Database.AppEngineIntegrationMode").enummodule
|
42
48
|
end
|
43
49
|
end
|
44
50
|
end
|
@@ -1,17 +1,18 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/firestore/admin/v1/field.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/field_behavior_pb'
|
5
7
|
require 'google/api/resource_pb'
|
6
8
|
require 'google/firestore/admin/v1/index_pb'
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/protobuf'
|
9
9
|
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/firestore/admin/v1/field.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.firestore.admin.v1.Field" do
|
13
13
|
optional :name, :string, 1
|
14
14
|
optional :index_config, :message, 2, "google.firestore.admin.v1.Field.IndexConfig"
|
15
|
+
optional :ttl_config, :message, 3, "google.firestore.admin.v1.Field.TtlConfig"
|
15
16
|
end
|
16
17
|
add_message "google.firestore.admin.v1.Field.IndexConfig" do
|
17
18
|
repeated :indexes, :message, 1, "google.firestore.admin.v1.Index"
|
@@ -19,6 +20,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
20
|
optional :ancestor_field, :string, 3
|
20
21
|
optional :reverting, :bool, 4
|
21
22
|
end
|
23
|
+
add_message "google.firestore.admin.v1.Field.TtlConfig" do
|
24
|
+
optional :state, :enum, 1, "google.firestore.admin.v1.Field.TtlConfig.State"
|
25
|
+
end
|
26
|
+
add_enum "google.firestore.admin.v1.Field.TtlConfig.State" do
|
27
|
+
value :STATE_UNSPECIFIED, 0
|
28
|
+
value :CREATING, 1
|
29
|
+
value :ACTIVE, 2
|
30
|
+
value :NEEDS_REPAIR, 3
|
31
|
+
end
|
22
32
|
end
|
23
33
|
end
|
24
34
|
|
@@ -29,6 +39,8 @@ module Google
|
|
29
39
|
module V1
|
30
40
|
Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Field").msgclass
|
31
41
|
Field::IndexConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Field.IndexConfig").msgclass
|
42
|
+
Field::TtlConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Field.TtlConfig").msgclass
|
43
|
+
Field::TtlConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.Field.TtlConfig.State").enummodule
|
32
44
|
end
|
33
45
|
end
|
34
46
|
end
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/firestore/admin/v1/firestore_admin.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/api/annotations_pb'
|
5
7
|
require 'google/api/client_pb'
|
6
8
|
require 'google/api/field_behavior_pb'
|
@@ -8,12 +10,9 @@ require 'google/api/resource_pb'
|
|
8
10
|
require 'google/firestore/admin/v1/database_pb'
|
9
11
|
require 'google/firestore/admin/v1/field_pb'
|
10
12
|
require 'google/firestore/admin/v1/index_pb'
|
11
|
-
require 'google/firestore/admin/v1/operation_pb'
|
12
13
|
require 'google/longrunning/operations_pb'
|
13
14
|
require 'google/protobuf/empty_pb'
|
14
15
|
require 'google/protobuf/field_mask_pb'
|
15
|
-
require 'google/protobuf/timestamp_pb'
|
16
|
-
require 'google/protobuf'
|
17
16
|
|
18
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
18
|
add_file("google/firestore/admin/v1/firestore_admin.proto", :syntax => :proto3) do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/firestore/admin/v1/index.proto
|
3
3
|
|
4
|
-
require 'google/api/resource_pb'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
6
|
+
require 'google/api/resource_pb'
|
7
|
+
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/firestore/admin/v1/index.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.firestore.admin.v1.Index" do
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/firestore/admin/v1/location.proto
|
3
3
|
|
4
|
-
require 'google/type/latlng_pb'
|
5
|
-
require 'google/api/annotations_pb'
|
6
4
|
require 'google/protobuf'
|
7
5
|
|
8
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/firestore/admin/v1/operation.proto
|
3
3
|
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
4
6
|
require 'google/firestore/admin/v1/index_pb'
|
5
7
|
require 'google/protobuf/timestamp_pb'
|
6
|
-
require 'google/api/annotations_pb'
|
7
|
-
require 'google/protobuf'
|
8
8
|
|
9
9
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
10
|
add_file("google/firestore/admin/v1/operation.proto", :syntax => :proto3) do
|
@@ -24,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
24
24
|
optional :state, :enum, 5, "google.firestore.admin.v1.OperationState"
|
25
25
|
optional :progress_documents, :message, 6, "google.firestore.admin.v1.Progress"
|
26
26
|
optional :progress_bytes, :message, 7, "google.firestore.admin.v1.Progress"
|
27
|
+
optional :ttl_config_delta, :message, 8, "google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta"
|
27
28
|
end
|
28
29
|
add_message "google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta" do
|
29
30
|
optional :change_type, :enum, 1, "google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType"
|
@@ -34,6 +35,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
34
35
|
value :ADD, 1
|
35
36
|
value :REMOVE, 2
|
36
37
|
end
|
38
|
+
add_message "google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta" do
|
39
|
+
optional :change_type, :enum, 1, "google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType"
|
40
|
+
end
|
41
|
+
add_enum "google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType" do
|
42
|
+
value :CHANGE_TYPE_UNSPECIFIED, 0
|
43
|
+
value :ADD, 1
|
44
|
+
value :REMOVE, 2
|
45
|
+
end
|
37
46
|
add_message "google.firestore.admin.v1.ExportDocumentsMetadata" do
|
38
47
|
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
39
48
|
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
@@ -81,6 +90,8 @@ module Google
|
|
81
90
|
FieldOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.FieldOperationMetadata").msgclass
|
82
91
|
FieldOperationMetadata::IndexConfigDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta").msgclass
|
83
92
|
FieldOperationMetadata::IndexConfigDelta::ChangeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType").enummodule
|
93
|
+
FieldOperationMetadata::TtlConfigDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta").msgclass
|
94
|
+
FieldOperationMetadata::TtlConfigDelta::ChangeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType").enummodule
|
84
95
|
ExportDocumentsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.ExportDocumentsMetadata").msgclass
|
85
96
|
ImportDocumentsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.ImportDocumentsMetadata").msgclass
|
86
97
|
ExportDocumentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.firestore.admin.v1.ExportDocumentsResponse").msgclass
|
@@ -41,6 +41,18 @@ module Google
|
|
41
41
|
# @!attribute [rw] concurrency_mode
|
42
42
|
# @return [::Google::Cloud::Firestore::Admin::V1::Database::ConcurrencyMode]
|
43
43
|
# The concurrency control mode to use for this database.
|
44
|
+
# @!attribute [rw] app_engine_integration_mode
|
45
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::Database::AppEngineIntegrationMode]
|
46
|
+
# The App Engine integration mode to use for this database.
|
47
|
+
# @!attribute [r] key_prefix
|
48
|
+
# @return [::String]
|
49
|
+
# Output only. The key_prefix for this database. This key_prefix is used, in combination
|
50
|
+
# with the project id ("<key prefix>~<project id>") to construct the
|
51
|
+
# application id that is returned from the Cloud Datastore APIs in Google App
|
52
|
+
# Engine first generation runtimes.
|
53
|
+
#
|
54
|
+
# This value may be empty in which case the appid to use for URL-encoded keys
|
55
|
+
# is the project_id (eg: foo instead of v~foo).
|
44
56
|
# @!attribute [rw] etag
|
45
57
|
# @return [::String]
|
46
58
|
# This checksum is computed by the server based on the value of other
|
@@ -53,6 +65,8 @@ module Google
|
|
53
65
|
# The type of the database.
|
54
66
|
# See https://cloud.google.com/datastore/docs/firestore-or-datastore for
|
55
67
|
# information about how to choose.
|
68
|
+
#
|
69
|
+
# Mode changes are only allowed if the database is empty.
|
56
70
|
module DatabaseType
|
57
71
|
# The default value. This value is used if the database type is omitted.
|
58
72
|
DATABASE_TYPE_UNSPECIFIED = 0
|
@@ -69,20 +83,40 @@ module Google
|
|
69
83
|
# Not used.
|
70
84
|
CONCURRENCY_MODE_UNSPECIFIED = 0
|
71
85
|
|
72
|
-
# Use optimistic concurrency control by default. This
|
73
|
-
# for Cloud Firestore
|
86
|
+
# Use optimistic concurrency control by default. This mode is available
|
87
|
+
# for Cloud Firestore databases.
|
74
88
|
OPTIMISTIC = 1
|
75
89
|
|
76
|
-
# Use pessimistic concurrency control by default. This
|
77
|
-
# for Cloud Firestore
|
90
|
+
# Use pessimistic concurrency control by default. This mode is available
|
91
|
+
# for Cloud Firestore databases.
|
92
|
+
#
|
78
93
|
# This is the default setting for Cloud Firestore.
|
79
94
|
PESSIMISTIC = 2
|
80
95
|
|
81
|
-
# Use optimistic concurrency control with entity groups by default.
|
82
|
-
#
|
83
|
-
# This is the
|
96
|
+
# Use optimistic concurrency control with entity groups by default.
|
97
|
+
#
|
98
|
+
# This is the only available mode for Cloud Datastore.
|
99
|
+
#
|
100
|
+
# This mode is also available for Cloud Firestore with Datastore Mode but
|
101
|
+
# is not recommended.
|
84
102
|
OPTIMISTIC_WITH_ENTITY_GROUPS = 3
|
85
103
|
end
|
104
|
+
|
105
|
+
# The type of App Engine integration mode.
|
106
|
+
module AppEngineIntegrationMode
|
107
|
+
# Not used.
|
108
|
+
APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED = 0
|
109
|
+
|
110
|
+
# If an App Engine application exists in the same region as this database,
|
111
|
+
# App Engine configuration will impact this database. This includes
|
112
|
+
# disabling of the application & database, as well as disabling writes to
|
113
|
+
# the database.
|
114
|
+
ENABLED = 1
|
115
|
+
|
116
|
+
# Appengine has no affect on the ability of this database to serve
|
117
|
+
# requests.
|
118
|
+
DISABLED = 2
|
119
|
+
end
|
86
120
|
end
|
87
121
|
end
|
88
122
|
end
|
@@ -60,6 +60,11 @@ module Google
|
|
60
60
|
# revert to the configuration defined by the `ancestor_field`. To
|
61
61
|
# explicitly remove all indexes for this field, specify an index config
|
62
62
|
# with an empty list of indexes.
|
63
|
+
# @!attribute [rw] ttl_config
|
64
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::Field::TtlConfig]
|
65
|
+
# The TTL configuration for this `Field`.
|
66
|
+
# Setting or unsetting this will enable or disable the TTL for
|
67
|
+
# documents that have this `Field`.
|
63
68
|
class Field
|
64
69
|
include ::Google::Protobuf::MessageExts
|
65
70
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -90,6 +95,41 @@ module Google
|
|
90
95
|
include ::Google::Protobuf::MessageExts
|
91
96
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
92
97
|
end
|
98
|
+
|
99
|
+
# The TTL (time-to-live) configuration for documents that have this `Field`
|
100
|
+
# set.
|
101
|
+
# Storing a timestamp value into a TTL-enabled field will be treated as
|
102
|
+
# the document's absolute expiration time. Using any other data type or
|
103
|
+
# leaving the field absent will disable the TTL for the individual document.
|
104
|
+
# @!attribute [r] state
|
105
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::Field::TtlConfig::State]
|
106
|
+
# Output only. The state of the TTL configuration.
|
107
|
+
class TtlConfig
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
|
111
|
+
# The state of applying the TTL configuration to all documents.
|
112
|
+
module State
|
113
|
+
# The state is unspecified or unknown.
|
114
|
+
STATE_UNSPECIFIED = 0
|
115
|
+
|
116
|
+
# The TTL is being applied. There is an active long-running operation to
|
117
|
+
# track the change. Newly written documents will have TTLs applied as
|
118
|
+
# requested. Requested TTLs on existing documents are still being
|
119
|
+
# processed. When TTLs on all existing documents have been processed, the
|
120
|
+
# state will move to 'ACTIVE'.
|
121
|
+
CREATING = 1
|
122
|
+
|
123
|
+
# The TTL is active for all documents.
|
124
|
+
ACTIVE = 2
|
125
|
+
|
126
|
+
# The TTL configuration could not be enabled for all existing documents.
|
127
|
+
# Newly written documents will continue to have their TTL applied.
|
128
|
+
# The LRO returned when last attempting to enable TTL for this `Field`
|
129
|
+
# has failed, and may have more details.
|
130
|
+
NEEDS_REPAIR = 3
|
131
|
+
end
|
132
|
+
end
|
93
133
|
end
|
94
134
|
end
|
95
135
|
end
|
@@ -75,6 +75,9 @@ module Google
|
|
75
75
|
# @!attribute [rw] progress_bytes
|
76
76
|
# @return [::Google::Cloud::Firestore::Admin::V1::Progress]
|
77
77
|
# The progress, in bytes, of this operation.
|
78
|
+
# @!attribute [rw] ttl_config_delta
|
79
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta]
|
80
|
+
# Describes the deltas of TTL configuration.
|
78
81
|
class FieldOperationMetadata
|
79
82
|
include ::Google::Protobuf::MessageExts
|
80
83
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -102,6 +105,27 @@ module Google
|
|
102
105
|
REMOVE = 2
|
103
106
|
end
|
104
107
|
end
|
108
|
+
|
109
|
+
# Information about an TTL configuration change.
|
110
|
+
# @!attribute [rw] change_type
|
111
|
+
# @return [::Google::Cloud::Firestore::Admin::V1::FieldOperationMetadata::TtlConfigDelta::ChangeType]
|
112
|
+
# Specifies how the TTL configuration is changing.
|
113
|
+
class TtlConfigDelta
|
114
|
+
include ::Google::Protobuf::MessageExts
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
|
117
|
+
# Specifies how the TTL config is changing.
|
118
|
+
module ChangeType
|
119
|
+
# The type of change is not specified or known.
|
120
|
+
CHANGE_TYPE_UNSPECIFIED = 0
|
121
|
+
|
122
|
+
# The TTL config is being added.
|
123
|
+
ADD = 1
|
124
|
+
|
125
|
+
# The TTL config is being removed.
|
126
|
+
REMOVE = 2
|
127
|
+
end
|
128
|
+
end
|
105
129
|
end
|
106
130
|
|
107
131
|
# Metadata for {::Google::Longrunning::Operation google.longrunning.Operation} results from
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# Example 3: Pack and unpack a message in Python.
|
48
48
|
#
|
49
49
|
# foo = Foo(...)
|
50
50
|
# any = Any()
|
@@ -54,7 +54,7 @@ module Google
|
|
54
54
|
# any.Unpack(foo)
|
55
55
|
# ...
|
56
56
|
#
|
57
|
-
#
|
57
|
+
# Example 4: Pack and unpack a message in Go
|
58
58
|
#
|
59
59
|
# foo := &pb.Foo{...}
|
60
60
|
# any, err := anypb.New(foo)
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
#
|
76
76
|
#
|
77
77
|
# JSON
|
78
|
-
#
|
78
|
+
#
|
79
79
|
# The JSON representation of an `Any` value uses the regular
|
80
80
|
# representation of the deserialized, embedded message, with an
|
81
81
|
# additional field `@type` which contains the type URL. Example:
|
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.5.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: 2022-
|
11
|
+
date: 2022-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -200,7 +200,6 @@ files:
|
|
200
200
|
- proto_docs/google/protobuf/field_mask.rb
|
201
201
|
- proto_docs/google/protobuf/timestamp.rb
|
202
202
|
- proto_docs/google/rpc/status.rb
|
203
|
-
- proto_docs/google/type/latlng.rb
|
204
203
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
205
204
|
licenses:
|
206
205
|
- Apache-2.0
|
@@ -220,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
220
219
|
- !ruby/object:Gem::Version
|
221
220
|
version: '0'
|
222
221
|
requirements: []
|
223
|
-
rubygems_version: 3.3.
|
222
|
+
rubygems_version: 3.3.14
|
224
223
|
signing_key:
|
225
224
|
specification_version: 4
|
226
225
|
summary: API Client library for the Cloud Firestore Admin V1 API
|
@@ -1,38 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# Copyright 2020 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
|
-
# An object that represents a latitude/longitude pair. This is expressed as a
|
23
|
-
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
24
|
-
# specified otherwise, this must conform to the
|
25
|
-
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
26
|
-
# standard</a>. Values must be within normalized ranges.
|
27
|
-
# @!attribute [rw] latitude
|
28
|
-
# @return [::Float]
|
29
|
-
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
30
|
-
# @!attribute [rw] longitude
|
31
|
-
# @return [::Float]
|
32
|
-
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
33
|
-
class LatLng
|
34
|
-
include ::Google::Protobuf::MessageExts
|
35
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|