diff --git a/google/firestore/admin/v1beta1/firestore_admin.proto b/google/firestore/admin/v1beta1/firestore_admin.proto index 823bb315..f137fc3f 100644 --- a/google/firestore/admin/v1beta1/firestore_admin.proto +++ b/google/firestore/admin/v1beta1/firestore_admin.proto @@ -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; } diff --git a/google/firestore/admin/v1beta1/index.proto b/google/firestore/admin/v1beta1/index.proto index e777e5b9..2bb826bb 100644 --- a/google/firestore/admin/v1beta1/index.proto +++ b/google/firestore/admin/v1beta1/index.proto @@ -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; } diff --git a/google/firestore/artman_firestore.yaml b/google/firestore/artman_firestore.yaml index d8c357b2..317465fa 100644 --- a/google/firestore/artman_firestore.yaml +++ b/google/firestore/artman_firestore.yaml @@ -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 diff --git a/google/firestore/v1beta1/common.proto b/google/firestore/v1beta1/common.proto index e6243234..1422c448 100644 --- a/google/firestore/v1beta1/common.proto +++ b/google/firestore/v1beta1/common.proto @@ -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. diff --git a/google/firestore/v1beta1/document.proto b/google/firestore/v1beta1/document.proto index cf6001db..9ba580a3 100644 --- a/google/firestore/v1beta1/document.proto +++ b/google/firestore/v1beta1/document.proto @@ -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. diff --git a/google/firestore/v1beta1/firestore.proto b/google/firestore/v1beta1/firestore.proto index 624ce6cb..f8707198 100644 --- a/google/firestore/v1beta1/firestore.proto +++ b/google/firestore/v1beta1/firestore.proto @@ -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. diff --git a/google/firestore/v1beta1/query.proto b/google/firestore/v1beta1/query.proto index d19b0222..215a5c29 100644 --- a/google/firestore/v1beta1/query.proto +++ b/google/firestore/v1beta1/query.proto @@ -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. diff --git a/google/firestore/v1beta1/write.proto b/google/firestore/v1beta1/write.proto index 73ec3d9a..02fdb110 100644 --- a/google/firestore/v1beta1/write.proto +++ b/google/firestore/v1beta1/write.proto @@ -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; }