From bb67e02426312f6c05722219b8d75c7e49eee261 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Fri, 7 Jun 2024 13:57:40 -0700
Subject: [PATCH] docs: Format comments in ListUsersRequest (#7384)
PiperOrigin-RevId: 641269434
Source-Link: https://github.com/googleapis/googleapis/commit/fb4af42724a35743e14d5050ae46a698e3de1b36
Source-Link: https://github.com/googleapis/googleapis-gen/commit/8899b2d1e7b8e5c3553e94fede9818404e724319
Copy-Tag: eyJwIjoiU2hvcHBpbmdNZXJjaGFudEFjY291bnRzLy5Pd2xCb3QueWFtbCIsImgiOiI4ODk5YjJkMWU3YjhlNWMzNTUzZTk0ZmVkZTk4MTg0MDRlNzI0MzE5In0=
---
.../metadata/V1Beta/Businessinfo.php | Bin 3108 -> 3108 bytes
.../V1beta/UserServiceClient/list_users.php | 2 +-
.../src/V1beta/BusinessInfo.php | 14 +++++++-------
.../src/V1beta/ListUsersRequest.php | 10 +++++-----
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/ShoppingMerchantAccounts/metadata/V1Beta/Businessinfo.php b/ShoppingMerchantAccounts/metadata/V1Beta/Businessinfo.php
index 4e02c89d72525b2a62cf590abe4d3c3b9d9ac016..6959d4660d30d75845c070ca5123b905ccecf697 100644
GIT binary patch
delta 27
jcmZ1?u|#4+BO4d92V(~#qfic)#N<2d5}OyZHL?N#Yla7)
delta 27
jcmZ1?u|#4+BO4c^2V(~#qfic)#N<2d5}OyZHL?N#YhVYS
diff --git a/ShoppingMerchantAccounts/samples/V1beta/UserServiceClient/list_users.php b/ShoppingMerchantAccounts/samples/V1beta/UserServiceClient/list_users.php
index 75c69d68423f..280478627a83 100644
--- a/ShoppingMerchantAccounts/samples/V1beta/UserServiceClient/list_users.php
+++ b/ShoppingMerchantAccounts/samples/V1beta/UserServiceClient/list_users.php
@@ -33,7 +33,7 @@
* Lists all users of a Merchant Center account.
*
* @param string $formattedParent The parent, which owns this collection of users.
- * Format: `accounts/{account}
+ * Format: `accounts/{account}`
* Please see {@see UserServiceClient::accountName()} for help formatting this field.
*/
function list_users_sample(string $formattedParent): void
diff --git a/ShoppingMerchantAccounts/src/V1beta/BusinessInfo.php b/ShoppingMerchantAccounts/src/V1beta/BusinessInfo.php
index 0d2847552f92..63e49eaa9cad 100644
--- a/ShoppingMerchantAccounts/src/V1beta/BusinessInfo.php
+++ b/ShoppingMerchantAccounts/src/V1beta/BusinessInfo.php
@@ -29,9 +29,9 @@ class BusinessInfo extends \Google\Protobuf\Internal\Message
*/
protected $address = null;
/**
- * Optional. The phone number of the business.
+ * Output only. The phone number of the business.
*
- * Generated from protobuf field optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $phone = null;
/**
@@ -59,7 +59,7 @@ class BusinessInfo extends \Google\Protobuf\Internal\Message
* @type \Google\Type\PostalAddress $address
* Optional. The address of the business.
* @type \Google\Type\PhoneNumber $phone
- * Optional. The phone number of the business.
+ * Output only. The phone number of the business.
* @type int $phone_verification_state
* Output only. The phone verification state of the business.
* @type \Google\Shopping\Merchant\Accounts\V1beta\CustomerService $customer_service
@@ -136,9 +136,9 @@ public function setAddress($var)
}
/**
- * Optional. The phone number of the business.
+ * Output only. The phone number of the business.
*
- * Generated from protobuf field optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return \Google\Type\PhoneNumber|null
*/
public function getPhone()
@@ -157,9 +157,9 @@ public function clearPhone()
}
/**
- * Optional. The phone number of the business.
+ * Output only. The phone number of the business.
*
- * Generated from protobuf field optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param \Google\Type\PhoneNumber $var
* @return $this
*/
diff --git a/ShoppingMerchantAccounts/src/V1beta/ListUsersRequest.php b/ShoppingMerchantAccounts/src/V1beta/ListUsersRequest.php
index 0bf42f43c33f..9cf5640d80dd 100644
--- a/ShoppingMerchantAccounts/src/V1beta/ListUsersRequest.php
+++ b/ShoppingMerchantAccounts/src/V1beta/ListUsersRequest.php
@@ -17,7 +17,7 @@ class ListUsersRequest extends \Google\Protobuf\Internal\Message
{
/**
* Required. The parent, which owns this collection of users.
- * Format: `accounts/{account}
+ * Format: `accounts/{account}`
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
@@ -42,7 +42,7 @@ class ListUsersRequest extends \Google\Protobuf\Internal\Message
/**
* @param string $parent Required. The parent, which owns this collection of users.
- * Format: `accounts/{account}
+ * Format: `accounts/{account}`
* Please see {@see UserServiceClient::accountName()} for help formatting this field.
*
* @return \Google\Shopping\Merchant\Accounts\V1beta\ListUsersRequest
@@ -63,7 +63,7 @@ public static function build(string $parent): self
*
* @type string $parent
* Required. The parent, which owns this collection of users.
- * Format: `accounts/{account}
+ * Format: `accounts/{account}`
* @type int $page_size
* Optional. The maximum number of users to return. The service may return
* fewer than this value. If unspecified, at most 50 users will be returned.
@@ -82,7 +82,7 @@ public function __construct($data = NULL) {
/**
* Required. The parent, which owns this collection of users.
- * Format: `accounts/{account}
+ * Format: `accounts/{account}`
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
* @return string
@@ -94,7 +94,7 @@ public function getParent()
/**
* Required. The parent, which owns this collection of users.
- * Format: `accounts/{account}
+ * Format: `accounts/{account}`
*
* Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
* @param string $var