google-cloud-datastore-admin-v1 0.5.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ca6046c780883224fe1f4ed29bc1edfbf7182502322a7e708b0dcdecb752d87
4
- data.tar.gz: 7c6d51c70eef7acdf489f206bca97213d6a8f003d4e9a12b39e0b8da45b223f9
3
+ metadata.gz: 62097b7a2f08a30340645f58ff6b9d24a31ee7081444e39deabbe6ed1ec110b8
4
+ data.tar.gz: d414f8c5d2a27a239477713cf0d86aa1a8da4a621b00aee01201973d4ba2e529
5
5
  SHA512:
6
- metadata.gz: 49db6a1584b623fb5baa755bec8abb6607bc884f061e08a1dab40d342a8d04df867114fea30814ad6ae6a3a86c11ca4a5388ba1a1bee719a2b64223772c0f4c4
7
- data.tar.gz: 4bdefb78cf08b84c514d51c0afc239a40a94eee74555780451b3be1077e022ff3093c03466583fef72384e93163df5d3411bdf6d9976c14a08d7345b32938b6b
6
+ metadata.gz: 1ac84b87e3b7e2ada5992edb8ce7289c18e3684ef73e36410950679f7cb544ebe716025d4c63471654f70b465c1b38561ae2614f191b64838b4d7c9a6fdcacda
7
+ data.tar.gz: f9f4087fd68084375f245765691f69544609ff1b0afdeba4d078dcf54368252ebb163f744dd861a4438bb36509de29eaf2ef70f36500987f429dadc0a8ad5b53
data/README.md CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Datastore::Admin::V1::ExportEntitiesRequest.new # (re
37
37
  response = client.export_entities request
38
38
  ```
39
39
 
40
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-datastore-admin-v1/latest)
40
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-datastore-admin-v1/latest)
41
41
  for class and method documentation.
42
42
 
43
43
  See also the [Product Documentation](https://cloud.google.com/datastore)
@@ -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+.
@@ -22,7 +22,7 @@ module Google
22
22
  module Datastore
23
23
  module Admin
24
24
  module V1
25
- VERSION = "0.5.0"
25
+ VERSION = "0.6.0"
26
26
  end
27
27
  end
28
28
  end
@@ -26,6 +26,8 @@ module Google
26
26
  ##
27
27
  # To load this package, including all its services, and instantiate a client:
28
28
  #
29
+ # @example
30
+ #
29
31
  # require "google/cloud/datastore/admin/v1"
30
32
  # client = ::Google::Cloud::Datastore::Admin::V1::DatastoreAdmin::Client.new
31
33
  #
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/datastore/admin/v1/datastore_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,7 +10,6 @@ require 'google/datastore/admin/v1/index_pb'
8
10
  require 'google/datastore/admin/v1/migration_pb'
9
11
  require 'google/longrunning/operations_pb'
10
12
  require 'google/protobuf/timestamp_pb'
11
- require 'google/protobuf'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("google/datastore/admin/v1/datastore_admin.proto", :syntax => :proto3) do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/datastore/admin/v1/index.proto
3
3
 
4
- require 'google/api/field_behavior_pb'
5
- require 'google/api/annotations_pb'
6
4
  require 'google/protobuf'
7
5
 
6
+ require 'google/api/field_behavior_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/datastore/admin/v1/index.proto", :syntax => :proto3) do
10
10
  add_message "google.datastore.admin.v1.Index" do
@@ -1,7 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/datastore/admin/v1/migration.proto
3
3
 
4
- require 'google/api/annotations_pb'
5
4
  require 'google/protobuf'
6
5
 
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -26,6 +25,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
25
  value :CONCURRENCY_MODE_UNSPECIFIED, 0
27
26
  value :PESSIMISTIC, 1
28
27
  value :OPTIMISTIC, 2
28
+ value :OPTIMISTIC_WITH_ENTITY_GROUPS, 3
29
29
  end
30
30
  add_enum "google.datastore.admin.v1.MigrationState" do
31
31
  value :MIGRATION_STATE_UNSPECIFIED, 0
@@ -374,7 +374,7 @@ module Google
374
374
  # design pattern.
375
375
  #
376
376
  # This singleton resource can be accessed at:
377
- # `projects/{project_id}/datastore-firestore-migration`
377
+ # "projects/\\{project_id}/operations/datastore-firestore-migration"
378
378
  # @!attribute [rw] migration_state
379
379
  # @return [::Google::Cloud::Datastore::Admin::V1::MigrationState]
380
380
  # The current state of migration from Cloud Datastore to Cloud Firestore in
@@ -81,6 +81,9 @@ module Google
81
81
 
82
82
  # Optimistic concurrency.
83
83
  OPTIMISTIC = 2
84
+
85
+ # Optimistic concurrency with entity groups.
86
+ OPTIMISTIC_WITH_ENTITY_GROUPS = 3
84
87
  end
85
88
  end
86
89
 
@@ -44,7 +44,7 @@ module Google
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
46
  #
47
- # Example 3: Pack and unpack a message in Python.
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
- # Example 4: Pack and unpack a message in Go
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-datastore-admin-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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-01-11 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.3.4
214
+ rubygems_version: 3.3.14
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: API Client library for the Firestore in Datastore mode Admin V1 API