lib/google/cloud/redis/v1/cloud_redis_pb.rb in google-cloud-redis-0.6.2 vs lib/google/cloud/redis/v1/cloud_redis_pb.rb in google-cloud-redis-0.7.0
- old
+ new
@@ -29,10 +29,11 @@
map :redis_configs, :string, :string, 16
optional :tier, :enum, 17, "google.cloud.redis.v1.Instance.Tier"
optional :memory_size_gb, :int32, 18
optional :authorized_network, :string, 20
optional :persistence_iam_identity, :string, 21
+ optional :connect_mode, :enum, 22, "google.cloud.redis.v1.Instance.ConnectMode"
end
add_enum "google.cloud.redis.v1.Instance.State" do
value :STATE_UNSPECIFIED, 0
value :CREATING, 1
value :READY, 2
@@ -46,10 +47,15 @@
add_enum "google.cloud.redis.v1.Instance.Tier" do
value :TIER_UNSPECIFIED, 0
value :BASIC, 1
value :STANDARD_HA, 3
end
+ add_enum "google.cloud.redis.v1.Instance.ConnectMode" do
+ value :CONNECT_MODE_UNSPECIFIED, 0
+ value :DIRECT_PEERING, 1
+ value :PRIVATE_SERVICE_ACCESS, 2
+ end
add_message "google.cloud.redis.v1.ListInstancesRequest" do
optional :parent, :string, 1
optional :page_size, :int32, 2
optional :page_token, :string, 3
end
@@ -127,9 +133,10 @@
module Redis
module V1
Instance = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.Instance").msgclass
Instance::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.Instance.State").enummodule
Instance::Tier = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.Instance.Tier").enummodule
+ Instance::ConnectMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.Instance.ConnectMode").enummodule
ListInstancesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.ListInstancesRequest").msgclass
ListInstancesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.ListInstancesResponse").msgclass
GetInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.GetInstanceRequest").msgclass
CreateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.CreateInstanceRequest").msgclass
UpdateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.redis.v1.UpdateInstanceRequest").msgclass