google-cloud-memcache-v1 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f65f2330bf3768e7e0d178ae349a7a21de311a635fc7349393bcbf80fb8c5f19
4
- data.tar.gz: 9769a59572f3c68e1c36118c5512945a8eeb7a46c55c679e612d46c417945321
3
+ metadata.gz: 4e11654761b9fc36122f48312a93ded1882e0fd6a57752c28c3fc2dd6d53460b
4
+ data.tar.gz: 60a0a9406722ddd852db1a26db0d8442286d482978737cbe9c11a0fd5aa04dbd
5
5
  SHA512:
6
- metadata.gz: 5c3ebee212217d5200c190ec0e29809432124008f05d5a8200ae7f46bc98ffa5977ba348f0a8d9f84e219b2e33394722fd380c65b3d5d6aeb4af715534ac10ea
7
- data.tar.gz: c8f1f9d96edf30cb5301bc56557037aca37e8555aec3686936f7a5a37881eb8445bbe24e2c0815c3c09a2d845fa01a569a9be2ec56daa56dcd06029148cb855c
6
+ metadata.gz: 786e387b49a1d6a38d46a9cc8fd5c8ec945e07426bcff164738a5721207c4385642cce36e408365f6f5cb81294f41753ade8e3b68f06f143c3889262b2d4699f
7
+ data.tar.gz: 1d04d059f6fed89d2e0a24807d78ca193dcf2937cac9e56c5f962707a5daeec83e939430311d907a779b1b1c10c31887192e2917c55769ded6bc5e26fb21b30b
@@ -184,13 +184,6 @@ module Google
184
184
  config.universe_domain = @config.universe_domain
185
185
  end
186
186
 
187
- @location_client = Google::Cloud::Location::Locations::Client.new do |config|
188
- config.credentials = credentials
189
- config.quota_project = @quota_project_id
190
- config.endpoint = @config.endpoint
191
- config.universe_domain = @config.universe_domain
192
- end
193
-
194
187
  @cloud_memcache_stub = ::Gapic::ServiceStub.new(
195
188
  ::Google::Cloud::Memcache::V1::CloudMemcache::Stub,
196
189
  credentials: credentials,
@@ -201,6 +194,13 @@ module Google
201
194
  interceptors: @config.interceptors,
202
195
  channel_pool_config: @config.channel_pool
203
196
  )
197
+
198
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
199
+ config.credentials = credentials
200
+ config.quota_project = @quota_project_id
201
+ config.endpoint = @cloud_memcache_stub.endpoint
202
+ config.universe_domain = @cloud_memcache_stub.universe_domain
203
+ end
204
204
  end
205
205
 
206
206
  ##
@@ -181,20 +181,20 @@ module Google
181
181
  config.universe_domain = @config.universe_domain
182
182
  end
183
183
 
184
- @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
185
- config.credentials = credentials
186
- config.quota_project = @quota_project_id
187
- config.endpoint = @config.endpoint
188
- config.universe_domain = @config.universe_domain
189
- config.bindings_override = @config.bindings_override
190
- end
191
-
192
184
  @cloud_memcache_stub = ::Google::Cloud::Memcache::V1::CloudMemcache::Rest::ServiceStub.new(
193
185
  endpoint: @config.endpoint,
194
186
  endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
195
187
  universe_domain: @config.universe_domain,
196
188
  credentials: credentials
197
189
  )
190
+
191
+ @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
192
+ config.credentials = credentials
193
+ config.quota_project = @quota_project_id
194
+ config.endpoint = @cloud_memcache_stub.endpoint
195
+ config.universe_domain = @cloud_memcache_stub.universe_domain
196
+ config.bindings_override = @config.bindings_override
197
+ end
198
198
  end
199
199
 
200
200
  ##
@@ -52,6 +52,15 @@ module Google
52
52
  @client_stub.universe_domain
53
53
  end
54
54
 
55
+ ##
56
+ # The effective endpoint
57
+ #
58
+ # @return [String]
59
+ #
60
+ def endpoint
61
+ @client_stub.endpoint
62
+ end
63
+
55
64
  ##
56
65
  # Baseline implementation for the list_instances REST call
57
66
  #
@@ -16,13 +16,13 @@ require 'google/type/dayofweek_pb'
16
16
  require 'google/type/timeofday_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n-google/cloud/memcache/v1/cloud_memcache.proto\x12\x18google.cloud.memcache.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xcc\r\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12>\n\x06labels\x18\x03 \x03(\x0b\x32..google.cloud.memcache.v1.Instance.LabelsEntry\x12\x1a\n\x12\x61uthorized_network\x18\x04 \x01(\t\x12\r\n\x05zones\x18\x05 \x03(\t\x12\x17\n\nnode_count\x18\x06 \x01(\x05\x42\x03\xe0\x41\x02\x12G\n\x0bnode_config\x18\x07 \x01(\x0b\x32-.google.cloud.memcache.v1.Instance.NodeConfigB\x03\xe0\x41\x02\x12\x43\n\x10memcache_version\x18\t \x01(\x0e\x32).google.cloud.memcache.v1.MemcacheVersion\x12@\n\nparameters\x18\x0b \x01(\x0b\x32,.google.cloud.memcache.v1.MemcacheParameters\x12\x44\n\x0ememcache_nodes\x18\x0c \x03(\x0b\x32\'.google.cloud.memcache.v1.Instance.NodeB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x05state\x18\x0f \x01(\x0e\x32(.google.cloud.memcache.v1.Instance.StateB\x03\xe0\x41\x03\x12\"\n\x15memcache_full_version\x18\x12 \x01(\tB\x03\xe0\x41\x03\x12M\n\x11instance_messages\x18\x13 \x03(\x0b\x32\x32.google.cloud.memcache.v1.Instance.InstanceMessage\x12\x1f\n\x12\x64iscovery_endpoint\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12G\n\x12maintenance_policy\x18\x15 \x01(\x0b\x32+.google.cloud.memcache.v1.MaintenancePolicy\x12P\n\x14maintenance_schedule\x18\x16 \x01(\x0b\x32-.google.cloud.memcache.v1.MaintenanceScheduleB\x03\xe0\x41\x03\x1a\x41\n\nNodeConfig\x12\x16\n\tcpu_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1b\n\x0ememory_size_mb\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x1a\xaf\x02\n\x04Node\x12\x14\n\x07node_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04zone\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.memcache.v1.Instance.Node.StateB\x03\xe0\x41\x03\x12\x11\n\x04host\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04port\x18\x05 \x01(\x05\x42\x03\xe0\x41\x03\x12@\n\nparameters\x18\x06 \x01(\x0b\x32,.google.cloud.memcache.v1.MemcacheParameters\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x1a\xa9\x01\n\x0fInstanceMessage\x12\x45\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x37.google.cloud.memcache.v1.Instance.InstanceMessage.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\">\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12 \n\x1cZONE_DISTRIBUTION_UNBALANCED\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x1a\n\x16PERFORMING_MAINTENANCE\x10\x05:c\xea\x41`\n memcache.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\xef\x01\n\x11MaintenancePolicy\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12Y\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x31.google.cloud.memcache.v1.WeeklyMaintenanceWindowB\x03\xe0\x41\x02\"\xa6\x01\n\x17WeeklyMaintenanceWindow\x12(\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x02\x12/\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12\x30\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\"\xbe\x01\n\x13MaintenanceSchedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x16schedule_deadline_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xe2\x02\n\x1cRescheduleMaintenanceRequest\x12:\n\x08instance\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x63\n\x0freschedule_type\x18\x02 \x01(\x0e\x32\x45.google.cloud.memcache.v1.RescheduleMaintenanceRequest.RescheduleTypeB\x03\xe0\x41\x02\x12\x31\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"n\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x19\n\x15NEXT_AVAILABLE_WINDOW\x10\x02\x12\x11\n\rSPECIFIC_TIME\x10\x03\"\x9a\x01\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"|\n\x15ListInstancesResponse\x12\x35\n\tinstances\x18\x01 \x03(\x0b\x32\".google.cloud.memcache.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"L\n\x12GetInstanceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\"\xa7\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x08instance\x18\x03 \x01(\x0b\x32\".google.cloud.memcache.v1.InstanceB\x03\xe0\x41\x02\"\x88\x01\n\x15UpdateInstanceRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x39\n\x08instance\x18\x02 \x01(\x0b\x32\".google.cloud.memcache.v1.InstanceB\x03\xe0\x41\x02\"O\n\x15\x44\x65leteInstanceRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\"u\n\x16\x41pplyParametersRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x10\n\x08node_ids\x18\x02 \x03(\t\x12\x11\n\tapply_all\x18\x03 \x01(\x08\"\xc9\x01\n\x17UpdateParametersRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12@\n\nparameters\x18\x03 \x01(\x0b\x32,.google.cloud.memcache.v1.MemcacheParameters\"\x9e\x01\n\x12MemcacheParameters\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12H\n\x06params\x18\x03 \x03(\x0b\x32\x38.google.cloud.memcache.v1.MemcacheParameters.ParamsEntry\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf9\x01\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rstatus_detail\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xcf\x01\n\x10LocationMetadata\x12\\\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32>.google.cloud.memcache.v1.LocationMetadata.AvailableZonesEntryB\x03\xe0\x41\x03\x1a]\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.google.cloud.memcache.v1.ZoneMetadata:\x02\x38\x01\"\x0e\n\x0cZoneMetadata*E\n\x0fMemcacheVersion\x12 \n\x1cMEMCACHE_VERSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cMEMCACHE_1_5\x10\x01\x32\xc5\x10\n\rCloudMemcache\x12\xb0\x01\n\rListInstances\x12..google.cloud.memcache.v1.ListInstancesRequest\x1a/.google.cloud.memcache.v1.ListInstancesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\x9d\x01\n\x0bGetInstance\x12,.google.cloud.memcache.v1.GetInstanceRequest\x1a\".google.cloud.memcache.v1.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\x92\x02\n\x0e\x43reateInstance\x12/.google.cloud.memcache.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\x12\x94\x02\n\x0eUpdateInstance\x12/.google.cloud.memcache.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xb1\x01\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\x12\xa0\x02\n\x10UpdateParameters\x12\x31.google.cloud.memcache.v1.UpdateParametersRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\x82\xd3\xe4\x93\x02\x43\x32>/v1/{name=projects/*/locations/*/instances/*}:updateParameters:\x01*\xda\x41\x1bname,update_mask,parameters\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\x12\xe5\x01\n\x0e\x44\x65leteInstance\x12/.google.cloud.memcache.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41\x43\n\x15google.protobuf.Empty\x12*google.cloud.memcache.v1.OperationMetadata\x12\x99\x02\n\x0f\x41pplyParameters\x12\x30.google.cloud.memcache.v1.ApplyParametersRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/instances/*}:applyParameters:\x01*\xda\x41\x17name,node_ids,apply_all\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\x12\xc0\x02\n\x15RescheduleMaintenance\x12\x36.google.cloud.memcache.v1.RescheduleMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\x82\xd3\xe4\x93\x02L\"G/v1/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance:\x01*\xda\x41(instance, reschedule_type, schedule_time\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\x1aK\xca\x41\x17memcache.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBn\n\x1c\x63om.google.cloud.memcache.v1B\x12\x43loudMemcacheProtoP\x01Z8cloud.google.com/go/memcache/apiv1/memcachepb;memcachepbb\x06proto3"
19
+ descriptor_data = "\n-google/cloud/memcache/v1/cloud_memcache.proto\x12\x18google.cloud.memcache.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xdd\r\n\x08Instance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12>\n\x06labels\x18\x03 \x03(\x0b\x32..google.cloud.memcache.v1.Instance.LabelsEntry\x12\x1a\n\x12\x61uthorized_network\x18\x04 \x01(\t\x12\r\n\x05zones\x18\x05 \x03(\t\x12\x18\n\nnode_count\x18\x06 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12H\n\x0bnode_config\x18\x07 \x01(\x0b\x32-.google.cloud.memcache.v1.Instance.NodeConfigB\x04\xe2\x41\x01\x02\x12\x43\n\x10memcache_version\x18\t \x01(\x0e\x32).google.cloud.memcache.v1.MemcacheVersion\x12@\n\nparameters\x18\x0b \x01(\x0b\x32,.google.cloud.memcache.v1.MemcacheParameters\x12\x45\n\x0ememcache_nodes\x18\x0c \x03(\x0b\x32\'.google.cloud.memcache.v1.Instance.NodeB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12=\n\x05state\x18\x0f \x01(\x0e\x32(.google.cloud.memcache.v1.Instance.StateB\x04\xe2\x41\x01\x03\x12#\n\x15memcache_full_version\x18\x12 \x01(\tB\x04\xe2\x41\x01\x03\x12M\n\x11instance_messages\x18\x13 \x03(\x0b\x32\x32.google.cloud.memcache.v1.Instance.InstanceMessage\x12 \n\x12\x64iscovery_endpoint\x18\x14 \x01(\tB\x04\xe2\x41\x01\x03\x12G\n\x12maintenance_policy\x18\x15 \x01(\x0b\x32+.google.cloud.memcache.v1.MaintenancePolicy\x12Q\n\x14maintenance_schedule\x18\x16 \x01(\x0b\x32-.google.cloud.memcache.v1.MaintenanceScheduleB\x04\xe2\x41\x01\x03\x1a\x43\n\nNodeConfig\x12\x17\n\tcpu_count\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x02\x12\x1c\n\x0ememory_size_mb\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x02\x1a\xb4\x02\n\x04Node\x12\x15\n\x07node_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04zone\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x42\n\x05state\x18\x03 \x01(\x0e\x32-.google.cloud.memcache.v1.Instance.Node.StateB\x04\xe2\x41\x01\x03\x12\x12\n\x04host\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04port\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12@\n\nparameters\x18\x06 \x01(\x0b\x32,.google.cloud.memcache.v1.MemcacheParameters\"S\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x1a\xa9\x01\n\x0fInstanceMessage\x12\x45\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x37.google.cloud.memcache.v1.Instance.InstanceMessage.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\">\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12 \n\x1cZONE_DISTRIBUTION_UNBALANCED\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x1a\n\x16PERFORMING_MAINTENANCE\x10\x05:c\xea\x41`\n memcache.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}\"\xf2\x01\n\x11MaintenancePolicy\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12Z\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x31.google.cloud.memcache.v1.WeeklyMaintenanceWindowB\x04\xe2\x41\x01\x02\"\xa9\x01\n\x17WeeklyMaintenanceWindow\x12)\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x04\xe2\x41\x01\x02\x12\x30\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x04\xe2\x41\x01\x02\x12\x31\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\"\xc1\x01\n\x13MaintenanceSchedule\x12\x34\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12@\n\x16schedule_deadline_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\xe4\x02\n\x1cRescheduleMaintenanceRequest\x12;\n\x08instance\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x64\n\x0freschedule_type\x18\x02 \x01(\x0e\x32\x45.google.cloud.memcache.v1.RescheduleMaintenanceRequest.RescheduleTypeB\x04\xe2\x41\x01\x02\x12\x31\n\rschedule_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"n\n\x0eRescheduleType\x12\x1f\n\x1bRESCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tIMMEDIATE\x10\x01\x12\x19\n\x15NEXT_AVAILABLE_WINDOW\x10\x02\x12\x11\n\rSPECIFIC_TIME\x10\x03\"\x9b\x01\n\x14ListInstancesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"|\n\x15ListInstancesResponse\x12\x35\n\tinstances\x18\x01 \x03(\x0b\x32\".google.cloud.memcache.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x12GetInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n memcache.googleapis.com/Instance\"\xaa\x01\n\x15\x43reateInstanceRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x08instance\x18\x03 \x01(\x0b\x32\".google.cloud.memcache.v1.InstanceB\x04\xe2\x41\x01\x02\"\x8a\x01\n\x15UpdateInstanceRequest\x12\x35\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12:\n\x08instance\x18\x02 \x01(\x0b\x32\".google.cloud.memcache.v1.InstanceB\x04\xe2\x41\x01\x02\"P\n\x15\x44\x65leteInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n memcache.googleapis.com/Instance\"v\n\x16\x41pplyParametersRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x10\n\x08node_ids\x18\x02 \x03(\t\x12\x11\n\tapply_all\x18\x03 \x01(\x08\"\xcb\x01\n\x17UpdateParametersRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n memcache.googleapis.com/Instance\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12@\n\nparameters\x18\x03 \x01(\x0b\x32,.google.cloud.memcache.v1.MemcacheParameters\"\x9f\x01\n\x12MemcacheParameters\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12H\n\x06params\x18\x03 \x03(\x0b\x32\x38.google.cloud.memcache.v1.MemcacheParameters.ParamsEntry\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x80\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1b\n\rstatus_detail\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1e\n\x10\x63\x61ncel_requested\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\"\xd0\x01\n\x10LocationMetadata\x12]\n\x0f\x61vailable_zones\x18\x01 \x03(\x0b\x32>.google.cloud.memcache.v1.LocationMetadata.AvailableZonesEntryB\x04\xe2\x41\x01\x03\x1a]\n\x13\x41vailableZonesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.google.cloud.memcache.v1.ZoneMetadata:\x02\x38\x01\"\x0e\n\x0cZoneMetadata*E\n\x0fMemcacheVersion\x12 \n\x1cMEMCACHE_VERSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cMEMCACHE_1_5\x10\x01\x32\xc5\x10\n\rCloudMemcache\x12\xb0\x01\n\rListInstances\x12..google.cloud.memcache.v1.ListInstancesRequest\x1a/.google.cloud.memcache.v1.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\x9d\x01\n\x0bGetInstance\x12,.google.cloud.memcache.v1.GetInstanceRequest\x1a\".google.cloud.memcache.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\x92\x02\n\x0e\x43reateInstance\x12/.google.cloud.memcache.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xaf\x01\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\x94\x02\n\x0eUpdateInstance\x12/.google.cloud.memcache.v1.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\xb1\x01\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xa0\x02\n\x10UpdateParameters\x12\x31.google.cloud.memcache.v1.UpdateParametersRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\xda\x41\x1bname,update_mask,parameters\x82\xd3\xe4\x93\x02\x43\x32>/v1/{name=projects/*/locations/*/instances/*}:updateParameters:\x01*\x12\xe5\x01\n\x0e\x44\x65leteInstance\x12/.google.cloud.memcache.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x43\n\x15google.protobuf.Empty\x12*google.cloud.memcache.v1.OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\x99\x02\n\x0f\x41pplyParameters\x12\x30.google.cloud.memcache.v1.ApplyParametersRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\xda\x41\x17name,node_ids,apply_all\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/instances/*}:applyParameters:\x01*\x12\xc0\x02\n\x15RescheduleMaintenance\x12\x36.google.cloud.memcache.v1.RescheduleMaintenanceRequest\x1a\x1d.google.longrunning.Operation\"\xcf\x01\xca\x41O\n!google.cloud.memcache.v1.Instance\x12*google.cloud.memcache.v1.OperationMetadata\xda\x41(instance, reschedule_type, schedule_time\x82\xd3\xe4\x93\x02L\"G/v1/{instance=projects/*/locations/*/instances/*}:rescheduleMaintenance:\x01*\x1aK\xca\x41\x17memcache.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBn\n\x1c\x63om.google.cloud.memcache.v1B\x12\x43loudMemcacheProtoP\x01Z8cloud.google.com/go/memcache/apiv1/memcachepb;memcachepbb\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
23
23
  begin
24
24
  pool.add_serialized_file(descriptor_data)
25
- rescue TypeError => e
25
+ rescue TypeError
26
26
  # Compatibility code: will be removed in the next major version.
27
27
  require 'google/protobuf/descriptor_pb'
28
28
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Memcache
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.8.2"
25
25
  end
26
26
  end
27
27
  end
@@ -129,7 +129,8 @@ module Google
129
129
  #
130
130
  # Note: this functionality is not currently available in the official
131
131
  # protobuf release, and it is not used for type URLs beginning with
132
- # type.googleapis.com.
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
133
134
  #
134
135
  # Schemes other than `http`, `https` (or the empty scheme) might be
135
136
  # used with implementation specific semantics.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-memcache-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
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-01-11 00:00:00.000000000 Z
11
+ date: 2024-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common