123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- syntax = "proto3";
- package google.cloud.contentwarehouse.v1;
- import "google/api/resource.proto";
- import "google/protobuf/field_mask.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse";
- option java_multiple_files = true;
- option java_outer_classname = "CommonProto";
- option java_package = "com.google.cloud.contentwarehouse.v1";
- option (google.api.resource_definition) = {
- type: "contentwarehouse.googleapis.com/Location"
- pattern: "projects/{project}/locations/{location}"
- };
- message RequestMetadata {
-
- UserInfo user_info = 1;
- }
- message ResponseMetadata {
-
-
- string request_id = 1;
- }
- message UserInfo {
-
-
-
-
-
- string id = 1;
-
-
- repeated string group_ids = 2;
- }
- message UpdateOptions {
-
- UpdateType update_type = 1;
-
-
-
-
- google.protobuf.FieldMask update_mask = 2;
-
- MergeFieldsOptions merge_fields_options = 3;
- }
- message MergeFieldsOptions {
-
-
-
-
-
-
- optional bool replace_message_fields = 1;
-
-
-
-
-
-
-
-
-
- optional bool replace_repeated_fields = 2;
- }
- enum UpdateType {
-
- UPDATE_TYPE_UNSPECIFIED = 0;
-
- UPDATE_TYPE_REPLACE = 1;
-
- UPDATE_TYPE_MERGE = 2;
-
- UPDATE_TYPE_INSERT_PROPERTIES_BY_NAMES = 3;
-
- UPDATE_TYPE_REPLACE_PROPERTIES_BY_NAMES = 4;
-
- UPDATE_TYPE_DELETE_PROPERTIES_BY_NAMES = 5;
- }
- enum DatabaseType {
-
- DB_UNKNOWN = 0;
-
- DB_INFRA_SPANNER = 1;
-
- DB_CLOUD_SQL_POSTGRES = 2;
- }
- enum AccessControlMode {
-
- ACL_MODE_UNKNOWN = 0;
-
- ACL_MODE_UNIVERSAL_ACCESS = 1;
-
- ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID = 2;
-
- ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI = 3;
- }
|