Synchronize new proto changes.

This commit is contained in:
Google APIs 2017-11-20 13:03:28 -08:00
parent 163596f0d0
commit c543da6f46
8 changed files with 19 additions and 6 deletions

View File

@ -159,8 +159,8 @@ message CreateIndexRequest {
// `projects/{project_id}/databases/{database_id}`
string parent = 1;
// The index to create. The name and state should not be specified.
// Certain single field indexes cannot be created or deleted.
// The index to create. The name and state fields are output only and will be
// ignored. Certain single field indexes cannot be created or deleted.
Index index = 2;
}

View File

@ -82,6 +82,7 @@ message Index {
}
// The resource name of the index.
// Output only.
string name = 1;
// The collection ID to which this index applies. Required.
@ -91,7 +92,6 @@ message Index {
repeated IndexField fields = 3;
// The state of the index.
// The state is read-only.
// @OutputOnly
// Output only.
State state = 6;
}

View File

@ -36,8 +36,14 @@ artifacts:
type: GAPIC
language: NODEJS
- name: php_gapic
type: GAPIC
type: GAPIC_ONLY
language: PHP
publish_targets:
- name: staging
type: GITHUB
location: git@github.com:googleapis/api-client-staging.git
directory_mappings:
- dest: generated/php/google-cloud-firestore-v1beta1
- name: go_gapic
type: GAPIC
language: GO

View File

@ -25,6 +25,7 @@ option java_multiple_files = true;
option java_outer_classname = "CommonProto";
option java_package = "com.google.firestore.v1beta1";
option objc_class_prefix = "GCFS";
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
// A set of field paths on a document.

View File

@ -27,6 +27,7 @@ option java_multiple_files = true;
option java_outer_classname = "DocumentProto";
option java_package = "com.google.firestore.v1beta1";
option objc_class_prefix = "GCFS";
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
// A Firestore document.

View File

@ -31,6 +31,7 @@ option java_multiple_files = true;
option java_outer_classname = "FirestoreProto";
option java_package = "com.google.firestore.v1beta1";
option objc_class_prefix = "GCFS";
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
// Specification of the Firestore API.

View File

@ -26,6 +26,7 @@ option java_multiple_files = true;
option java_outer_classname = "QueryProto";
option java_package = "com.google.firestore.v1beta1";
option objc_class_prefix = "GCFS";
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
// A Firestore query.

View File

@ -27,6 +27,7 @@ option java_multiple_files = true;
option java_outer_classname = "WriteProto";
option java_package = "com.google.firestore.v1beta1";
option objc_class_prefix = "GCFS";
option php_namespace = "Google\\Cloud\\Firestore\\V1beta1";
// A write on a document.
@ -73,7 +74,8 @@ message DocumentTransform {
// Unspecified. This value must not be used.
SERVER_VALUE_UNSPECIFIED = 0;
// The time at which the server processed the request.
// The time at which the server processed the request, with millisecond
// precision.
REQUEST_TIME = 1;
}
@ -93,6 +95,7 @@ message DocumentTransform {
// The list of transformations to apply to the fields of the document, in
// order.
// This must not be empty.
repeated FieldTransform field_transforms = 2;
}