lib/google/cloud/recommendationengine/v1beta1/import_pb.rb in google-cloud-recommendation_engine-v1beta1-0.8.1 vs lib/google/cloud/recommendationengine/v1beta1/import_pb.rb in google-cloud-recommendation_engine-v1beta1-0.8.2

- old
+ new

@@ -11,16 +11,16 @@ require 'google/cloud/recommendationengine/v1beta1/recommendationengine_resources_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' -descriptor_data = "\n6google/cloud/recommendationengine/v1beta1/import.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/recommendationengine/v1beta1/catalog.proto\x1a:google/cloud/recommendationengine/v1beta1/user_event.proto\x1aNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"$\n\tGcsSource\x12\x17\n\ninput_uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\"i\n\x13\x43\x61talogInlineSource\x12R\n\rcatalog_items\x18\x01 \x03(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.CatalogItemB\x03\xe0\x41\x01\"g\n\x15UserEventInlineSource\x12N\n\x0buser_events\x18\x01 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEventB\x03\xe0\x41\x01\"9\n\x12ImportErrorsConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xa7\x02\n\x19ImportCatalogItemsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+recommendationengine.googleapis.com/Catalog\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x0cinput_config\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.InputConfigB\x03\xe0\x41\x02\x12Y\n\rerrors_config\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfigB\x03\xe0\x41\x01\"\xa8\x02\n\x17ImportUserEventsRequest\x12\x46\n\x06parent\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12Q\n\x0cinput_config\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.InputConfigB\x03\xe0\x41\x02\x12Y\n\rerrors_config\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfigB\x03\xe0\x41\x01\"\xaa\x02\n\x0bInputConfig\x12_\n\x15\x63\x61talog_inline_source\x18\x01 \x01(\x0b\x32>.google.cloud.recommendationengine.v1beta1.CatalogInlineSourceH\x00\x12J\n\ngcs_source\x18\x02 \x01(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.GcsSourceH\x00\x12\x64\n\x18user_event_inline_source\x18\x03 \x01(\x0b\x32@.google.cloud.recommendationengine.v1beta1.UserEventInlineSourceH\x00\x42\x08\n\x06source\"\xcc\x01\n\x0eImportMetadata\x12\x16\n\x0eoperation_name\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x01 \x01(\x03\x12\x15\n\rfailure_count\x18\x02 \x01(\x03\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9d\x01\n\x1aImportCatalogItemsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12T\n\rerrors_config\x18\x02 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig\"\xf6\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12T\n\rerrors_config\x18\x02 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig\x12Y\n\x0eimport_summary\x18\x03 \x01(\x0b\x32\x41.google.cloud.recommendationengine.v1beta1.UserEventImportSummary\"T\n\x16UserEventImportSummary\x12\x1b\n\x13joined_events_count\x18\x01 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x02 \x01(\x03\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3" +descriptor_data = "\n6google/cloud/recommendationengine/v1beta1/import.proto\x12)google.cloud.recommendationengine.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x37google/cloud/recommendationengine/v1beta1/catalog.proto\x1a:google/cloud/recommendationengine/v1beta1/user_event.proto\x1aNgoogle/cloud/recommendationengine/v1beta1/recommendationengine_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"%\n\tGcsSource\x12\x18\n\ninput_uris\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02\"j\n\x13\x43\x61talogInlineSource\x12S\n\rcatalog_items\x18\x01 \x03(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.CatalogItemB\x04\xe2\x41\x01\x01\"h\n\x15UserEventInlineSource\x12O\n\x0buser_events\x18\x01 \x03(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.UserEventB\x04\xe2\x41\x01\x01\"9\n\x12ImportErrorsConfig\x12\x14\n\ngcs_prefix\x18\x01 \x01(\tH\x00\x42\r\n\x0b\x64\x65stination\"\xab\x02\n\x19ImportCatalogItemsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+recommendationengine.googleapis.com/Catalog\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12R\n\x0cinput_config\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.InputConfigB\x04\xe2\x41\x01\x02\x12Z\n\rerrors_config\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfigB\x04\xe2\x41\x01\x01\"\xac\x02\n\x17ImportUserEventsRequest\x12G\n\x06parent\x18\x01 \x01(\tB7\xe2\x41\x01\x02\xfa\x41\x30\n.recommendationengine.googleapis.com/EventStore\x12\x18\n\nrequest_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12R\n\x0cinput_config\x18\x03 \x01(\x0b\x32\x36.google.cloud.recommendationengine.v1beta1.InputConfigB\x04\xe2\x41\x01\x02\x12Z\n\rerrors_config\x18\x04 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfigB\x04\xe2\x41\x01\x01\"\xaa\x02\n\x0bInputConfig\x12_\n\x15\x63\x61talog_inline_source\x18\x01 \x01(\x0b\x32>.google.cloud.recommendationengine.v1beta1.CatalogInlineSourceH\x00\x12J\n\ngcs_source\x18\x02 \x01(\x0b\x32\x34.google.cloud.recommendationengine.v1beta1.GcsSourceH\x00\x12\x64\n\x18user_event_inline_source\x18\x03 \x01(\x0b\x32@.google.cloud.recommendationengine.v1beta1.UserEventInlineSourceH\x00\x42\x08\n\x06source\"\xcc\x01\n\x0eImportMetadata\x12\x16\n\x0eoperation_name\x18\x05 \x01(\t\x12\x12\n\nrequest_id\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rsuccess_count\x18\x01 \x01(\x03\x12\x15\n\rfailure_count\x18\x02 \x01(\x03\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x9d\x01\n\x1aImportCatalogItemsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12T\n\rerrors_config\x18\x02 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig\"\xf6\x01\n\x18ImportUserEventsResponse\x12)\n\rerror_samples\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12T\n\rerrors_config\x18\x02 \x01(\x0b\x32=.google.cloud.recommendationengine.v1beta1.ImportErrorsConfig\x12Y\n\x0eimport_summary\x18\x03 \x01(\x0b\x32\x41.google.cloud.recommendationengine.v1beta1.UserEventImportSummary\"T\n\x16UserEventImportSummary\x12\x1b\n\x13joined_events_count\x18\x01 \x01(\x03\x12\x1d\n\x15unjoined_events_count\x18\x02 \x01(\x03\x42\xa3\x02\n-com.google.cloud.recommendationengine.v1beta1P\x01Zacloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb\xa2\x02\x05RECAI\xaa\x02)Google.Cloud.RecommendationEngine.V1Beta1\xca\x02)Google\\Cloud\\RecommendationEngine\\V1beta1\xea\x02,Google::Cloud::RecommendationEngine::V1beta1b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) -rescue TypeError => e +rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed)