From 869923514bca067beac9c0b754b47435fb1d8f05 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 17 Oct 2024 17:07:29 -0400
Subject: [PATCH] docs: Marks the
`google.cloud.essentialcontacts.v1.Contact.validation_state` field as
`output_only` (#7745)
PiperOrigin-RevId: 685731240
Source-Link: https://github.com/googleapis/googleapis/commit/f78cd2f7943b9a2eb9734e56a8f3428da75917e2
Source-Link: https://github.com/googleapis/googleapis-gen/commit/1d05fdc15839d2f02bf73dd7b6f30f58f9ad701e
Copy-Tag: eyJwIjoiRXNzZW50aWFsQ29udGFjdHMvLk93bEJvdC55YW1sIiwiaCI6IjFkMDVmZGMxNTgzOWQyZjAyYmY3M2RkN2I2ZjMwZjU4ZjlhZDcwMWUifQ==
---
EssentialContacts/metadata/V1/Service.php | 8 ++++----
EssentialContacts/src/V1/Contact.php | 22 +++++++++++-----------
2 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/EssentialContacts/metadata/V1/Service.php b/EssentialContacts/metadata/V1/Service.php
index 7c03e8cd390d..cd7ede5d98f6 100644
--- a/EssentialContacts/metadata/V1/Service.php
+++ b/EssentialContacts/metadata/V1/Service.php
@@ -24,14 +24,14 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(
'
-•"
-/google/cloud/essentialcontacts/v1/service.proto!google.cloud.essentialcontacts.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto-google/cloud/essentialcontacts/v1/enums.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"å
+š"
+/google/cloud/essentialcontacts/v1/service.proto!google.cloud.essentialcontacts.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto-google/cloud/essentialcontacts/v1/enums.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"ê
Contact
name ( BàA
email ( BàAi
#notification_category_subscriptions (27.google.cloud.essentialcontacts.v1.NotificationCategoryBàA
-language_tag ( BàAL
-validation_state (22.google.cloud.essentialcontacts.v1.ValidationState1
+language_tag ( BàAQ
+validation_state (22.google.cloud.essentialcontacts.v1.ValidationStateBàA1
validate_time (2.google.protobuf.Timestamp:«êA§
(essentialcontacts.googleapis.com/Contact%projects/{project}/contacts/{contact}#folders/{folder}/contacts/{contact}/organizations/{organization}/contacts/{contact}"ˆ
ListContactsRequest@
diff --git a/EssentialContacts/src/V1/Contact.php b/EssentialContacts/src/V1/Contact.php
index c0a08d7aeb7f..7c3a10ac5fa8 100644
--- a/EssentialContacts/src/V1/Contact.php
+++ b/EssentialContacts/src/V1/Contact.php
@@ -46,10 +46,10 @@ class Contact extends \Google\Protobuf\Internal\Message
*/
protected $language_tag = '';
/**
- * The validity of the contact. A contact is considered valid if it is the
- * correct recipient for notifications for a particular resource.
+ * Output only. The validity of the contact. A contact is considered valid if
+ * it is the correct recipient for notifications for a particular resource.
*
- * Generated from protobuf field .google.cloud.essentialcontacts.v1.ValidationState validation_state = 8;
+ * Generated from protobuf field .google.cloud.essentialcontacts.v1.ValidationState validation_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $validation_state = 0;
/**
@@ -82,8 +82,8 @@ class Contact extends \Google\Protobuf\Internal\Message
* languages](https://cloud.google.com/resource-manager/docs/managing-notification-contacts#supported-languages)
* for a list of supported languages.
* @type int $validation_state
- * The validity of the contact. A contact is considered valid if it is the
- * correct recipient for notifications for a particular resource.
+ * Output only. The validity of the contact. A contact is considered valid if
+ * it is the correct recipient for notifications for a particular resource.
* @type \Google\Protobuf\Timestamp $validate_time
* The last time the validation_state was updated, either manually or
* automatically. A contact is considered stale if its validation state was
@@ -212,10 +212,10 @@ public function setLanguageTag($var)
}
/**
- * The validity of the contact. A contact is considered valid if it is the
- * correct recipient for notifications for a particular resource.
+ * Output only. The validity of the contact. A contact is considered valid if
+ * it is the correct recipient for notifications for a particular resource.
*
- * Generated from protobuf field .google.cloud.essentialcontacts.v1.ValidationState validation_state = 8;
+ * Generated from protobuf field .google.cloud.essentialcontacts.v1.ValidationState validation_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return int
*/
public function getValidationState()
@@ -224,10 +224,10 @@ public function getValidationState()
}
/**
- * The validity of the contact. A contact is considered valid if it is the
- * correct recipient for notifications for a particular resource.
+ * Output only. The validity of the contact. A contact is considered valid if
+ * it is the correct recipient for notifications for a particular resource.
*
- * Generated from protobuf field .google.cloud.essentialcontacts.v1.ValidationState validation_state = 8;
+ * Generated from protobuf field .google.cloud.essentialcontacts.v1.ValidationState validation_state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param int $var
* @return $this
*/