From f255c5b642381dd3b2f379a84167706b6880821e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 20 Oct 2021 10:33:27 -0700 Subject: [PATCH] docs: fix docstring formatting (#4683) Committer: @parthea PiperOrigin-RevId: 403986035 Source-Author: Google APIs Source-Date: Mon Oct 18 09:54:05 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: bbe8aa1896799a456a90dfda189e9150ed92c310 Source-Link: https://github.com/googleapis/googleapis/commit/bbe8aa1896799a456a90dfda189e9150ed92c310 --- Deploy/src/V1/DeliveryPipeline.php | 24 ++++++++++++------------ Deploy/src/V1/Release.php | 24 ++++++++++++------------ Deploy/src/V1/Rollout.php | 24 ++++++++++++------------ Deploy/src/V1/Target.php | 24 ++++++++++++------------ Deploy/synth.metadata | 13 +++---------- 5 files changed, 51 insertions(+), 58 deletions(-) diff --git a/Deploy/src/V1/DeliveryPipeline.php b/Deploy/src/V1/DeliveryPipeline.php index f14f7aef67a..3e0930fc446 100644 --- a/Deploy/src/V1/DeliveryPipeline.php +++ b/Deploy/src/V1/DeliveryPipeline.php @@ -49,9 +49,9 @@ class DeliveryPipeline extends \Google\Protobuf\Internal\Message * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; */ @@ -106,9 +106,9 @@ class DeliveryPipeline extends \Google\Protobuf\Internal\Message * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * @type \Google\Protobuf\Timestamp $create_time * Output only. Time at which the pipeline was created. * @type \Google\Protobuf\Timestamp $update_time @@ -245,9 +245,9 @@ public function setAnnotations($var) * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; * @return \Google\Protobuf\Internal\MapField @@ -261,9 +261,9 @@ public function getLabels() * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/Deploy/src/V1/Release.php b/Deploy/src/V1/Release.php index 930219516c9..4b9e2c51e82 100644 --- a/Deploy/src/V1/Release.php +++ b/Deploy/src/V1/Release.php @@ -50,9 +50,9 @@ class Release extends \Google\Protobuf\Internal\Message * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; */ @@ -165,9 +165,9 @@ class Release extends \Google\Protobuf\Internal\Message * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * @type \Google\Protobuf\Timestamp $create_time * Output only. Time at which the `Release` was created. * @type \Google\Protobuf\Timestamp $render_start_time @@ -325,9 +325,9 @@ public function setAnnotations($var) * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; * @return \Google\Protobuf\Internal\MapField @@ -341,9 +341,9 @@ public function getLabels() * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/Deploy/src/V1/Rollout.php b/Deploy/src/V1/Rollout.php index 91bbfa7c3dd..719cbef8892 100644 --- a/Deploy/src/V1/Rollout.php +++ b/Deploy/src/V1/Rollout.php @@ -50,9 +50,9 @@ class Rollout extends \Google\Protobuf\Internal\Message * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; */ @@ -152,9 +152,9 @@ class Rollout extends \Google\Protobuf\Internal\Message * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * @type \Google\Protobuf\Timestamp $create_time * Output only. Time at which the `Rollout` was created. * @type \Google\Protobuf\Timestamp $approve_time @@ -308,9 +308,9 @@ public function setAnnotations($var) * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; * @return \Google\Protobuf\Internal\MapField @@ -324,9 +324,9 @@ public function getLabels() * Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 5; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/Deploy/src/V1/Target.php b/Deploy/src/V1/Target.php index 3aca51550f6..5be62ff6324 100644 --- a/Deploy/src/V1/Target.php +++ b/Deploy/src/V1/Target.php @@ -55,9 +55,9 @@ class Target extends \Google\Protobuf\Internal\Message * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -126,9 +126,9 @@ class Target extends \Google\Protobuf\Internal\Message * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * @type bool $require_approval * Optional. Whether or not the `Target` requires approval. * @type \Google\Protobuf\Timestamp $create_time @@ -298,9 +298,9 @@ public function setAnnotations($var) * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Protobuf\Internal\MapField @@ -314,9 +314,9 @@ public function getLabels() * Optional. Labels are attributes that can be set and used by both the * user and by Google Cloud Deploy. Labels must meet the following * constraints: Each resource is limited to 64 labels. Keys must conform to - * the regexp: [a-zA-Z][a-zA-Z0-9_-]{0,62} Values must conform to the regexp: - * [a-zA-Z0-9_-]{0,63} Both keys and values are additionally constrained to be - * <= 128 bytes in size. + * the regexp: `[a-zA-Z][a-zA-Z0-9_-]{0,62}`. Values must conform to the + * regexp: `[a-zA-Z0-9_-]{0,63}`. Both keys and values are additionally + * constrained to be <= 128 bytes in size. * * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; * @param array|\Google\Protobuf\Internal\MapField $var diff --git a/Deploy/synth.metadata b/Deploy/synth.metadata index a9bbb01e872..84ec36c9a4d 100644 --- a/Deploy/synth.metadata +++ b/Deploy/synth.metadata @@ -4,22 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-cloud-php.git", - "sha": "cdc9092264670525404e3a36b62a787deffa19d7" + "sha": "8b1134b2746312cf92fc83494c789c111c0bdcde" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b44c45ca32db478554a3b8e2e04d317ed2f466f4", - "internalRef": "403182344" - } - }, - { - "git": { - "name": "synthtool", - "remote": "https://github.com/googleapis/synthtool.git", - "sha": "d4ff3cd9a9b2567cc00ab67290eeb89992b20318" + "sha": "bbe8aa1896799a456a90dfda189e9150ed92c310", + "internalRef": "403986035" } } ],