.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The time the operation was created.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The time the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The time the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyLongrunningRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyLongrunningRequest.php
new file mode 100644
index 000000000000..df8dc40e3a58
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyLongrunningRequest.php
@@ -0,0 +1,208 @@
+google.cloud.asset.v1.AnalyzeIamPolicyLongrunningRequest
+ */
+class AnalyzeIamPolicyLongrunningRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The request query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $analysis_query = null;
+ /**
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * doc.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ *
+ * Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $saved_analysis_query = '';
+ /**
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $output_config = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $analysis_query
+ * Required. The request query.
+ * @type string $saved_analysis_query
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * doc.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig $output_config
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The request query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery|null
+ */
+ public function getAnalysisQuery()
+ {
+ return $this->analysis_query;
+ }
+
+ public function hasAnalysisQuery()
+ {
+ return isset($this->analysis_query);
+ }
+
+ public function clearAnalysisQuery()
+ {
+ unset($this->analysis_query);
+ }
+
+ /**
+ * Required. The request query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $var
+ * @return $this
+ */
+ public function setAnalysisQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery::class);
+ $this->analysis_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * doc.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ *
+ * Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getSavedAnalysisQuery()
+ {
+ return $this->saved_analysis_query;
+ }
+
+ /**
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * doc.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ *
+ * Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setSavedAnalysisQuery($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->saved_analysis_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyLongrunningResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyLongrunningResponse.php
new file mode 100644
index 000000000000..332d687c4cf8
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyLongrunningResponse.php
@@ -0,0 +1,34 @@
+google.cloud.asset.v1.AnalyzeIamPolicyLongrunningResponse
+ */
+class AnalyzeIamPolicyLongrunningResponse extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyRequest.php
new file mode 100644
index 000000000000..1bf78c22c826
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyRequest.php
@@ -0,0 +1,236 @@
+google.cloud.asset.v1.AnalyzeIamPolicyRequest
+ */
+class AnalyzeIamPolicyRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The request query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $analysis_query = null;
+ /**
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * page.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ *
+ * Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $saved_analysis_query = '';
+ /**
+ * Optional. Amount of time executable has to complete. See JSON
+ * representation of
+ * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
+ * If this field is set with a value less than the RPC deadline, and the
+ * execution of your query hasn't finished in the specified
+ * execution timeout, you will get a response with partial result.
+ * Otherwise, your query's execution will continue until the RPC deadline.
+ * If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
+ * Default is empty.
+ *
+ * Generated from protobuf field .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $execution_timeout = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $analysis_query
+ * Required. The request query.
+ * @type string $saved_analysis_query
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * page.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ * @type \Google\Protobuf\Duration $execution_timeout
+ * Optional. Amount of time executable has to complete. See JSON
+ * representation of
+ * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
+ * If this field is set with a value less than the RPC deadline, and the
+ * execution of your query hasn't finished in the specified
+ * execution timeout, you will get a response with partial result.
+ * Otherwise, your query's execution will continue until the RPC deadline.
+ * If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
+ * Default is empty.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The request query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery|null
+ */
+ public function getAnalysisQuery()
+ {
+ return $this->analysis_query;
+ }
+
+ public function hasAnalysisQuery()
+ {
+ return isset($this->analysis_query);
+ }
+
+ public function clearAnalysisQuery()
+ {
+ unset($this->analysis_query);
+ }
+
+ /**
+ * Required. The request query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $var
+ * @return $this
+ */
+ public function setAnalysisQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery::class);
+ $this->analysis_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * page.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ *
+ * Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getSavedAnalysisQuery()
+ {
+ return $this->saved_analysis_query;
+ }
+
+ /**
+ * Optional. The name of a saved query, which must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * If both `analysis_query` and `saved_analysis_query` are provided, they
+ * will be merged together with the `saved_analysis_query` as base and
+ * the `analysis_query` as overrides. For more details of the merge behavior,
+ * refer to the
+ * [MergeFrom](https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details)
+ * page.
+ * Note that you cannot override primitive fields with default value, such as
+ * 0 or empty string, etc., because we use proto3, which doesn't support field
+ * presence yet.
+ *
+ * Generated from protobuf field string saved_analysis_query = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setSavedAnalysisQuery($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->saved_analysis_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Amount of time executable has to complete. See JSON
+ * representation of
+ * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
+ * If this field is set with a value less than the RPC deadline, and the
+ * execution of your query hasn't finished in the specified
+ * execution timeout, you will get a response with partial result.
+ * Otherwise, your query's execution will continue until the RPC deadline.
+ * If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
+ * Default is empty.
+ *
+ * Generated from protobuf field .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getExecutionTimeout()
+ {
+ return $this->execution_timeout;
+ }
+
+ public function hasExecutionTimeout()
+ {
+ return isset($this->execution_timeout);
+ }
+
+ public function clearExecutionTimeout()
+ {
+ unset($this->execution_timeout);
+ }
+
+ /**
+ * Optional. Amount of time executable has to complete. See JSON
+ * representation of
+ * [Duration](https://developers.google.com/protocol-buffers/docs/proto3#json).
+ * If this field is set with a value less than the RPC deadline, and the
+ * execution of your query hasn't finished in the specified
+ * execution timeout, you will get a response with partial result.
+ * Otherwise, your query's execution will continue until the RPC deadline.
+ * If it's not finished until then, you will get a DEADLINE_EXCEEDED error.
+ * Default is empty.
+ *
+ * Generated from protobuf field .google.protobuf.Duration execution_timeout = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setExecutionTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->execution_timeout = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyResponse.php
new file mode 100644
index 000000000000..af85a4885579
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyResponse.php
@@ -0,0 +1,170 @@
+google.cloud.asset.v1.AnalyzeIamPolicyResponse
+ */
+class AnalyzeIamPolicyResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The main analysis that matches the original request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
+ */
+ protected $main_analysis = null;
+ /**
+ * The service account impersonation analysis if
+ * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
+ * enabled.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
+ */
+ private $service_account_impersonation_analysis;
+ /**
+ * Represents whether all entries in the
+ * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
+ * and
+ * [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
+ * have been fully explored to answer the query in the request.
+ *
+ * Generated from protobuf field bool fully_explored = 3;
+ */
+ protected $fully_explored = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis $main_analysis
+ * The main analysis that matches the original request.
+ * @type array<\Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis>|\Google\Protobuf\Internal\RepeatedField $service_account_impersonation_analysis
+ * The service account impersonation analysis if
+ * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
+ * enabled.
+ * @type bool $fully_explored
+ * Represents whether all entries in the
+ * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
+ * and
+ * [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
+ * have been fully explored to answer the query in the request.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The main analysis that matches the original request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
+ * @return \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis|null
+ */
+ public function getMainAnalysis()
+ {
+ return $this->main_analysis;
+ }
+
+ public function hasMainAnalysis()
+ {
+ return isset($this->main_analysis);
+ }
+
+ public function clearMainAnalysis()
+ {
+ unset($this->main_analysis);
+ }
+
+ /**
+ * The main analysis that matches the original request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
+ * @param \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis $var
+ * @return $this
+ */
+ public function setMainAnalysis($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis::class);
+ $this->main_analysis = $var;
+
+ return $this;
+ }
+
+ /**
+ * The service account impersonation analysis if
+ * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
+ * enabled.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getServiceAccountImpersonationAnalysis()
+ {
+ return $this->service_account_impersonation_analysis;
+ }
+
+ /**
+ * The service account impersonation analysis if
+ * [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is
+ * enabled.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setServiceAccountImpersonationAnalysis($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse\IamPolicyAnalysis::class);
+ $this->service_account_impersonation_analysis = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Represents whether all entries in the
+ * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
+ * and
+ * [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
+ * have been fully explored to answer the query in the request.
+ *
+ * Generated from protobuf field bool fully_explored = 3;
+ * @return bool
+ */
+ public function getFullyExplored()
+ {
+ return $this->fully_explored;
+ }
+
+ /**
+ * Represents whether all entries in the
+ * [main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis]
+ * and
+ * [service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis]
+ * have been fully explored to answer the query in the request.
+ *
+ * Generated from protobuf field bool fully_explored = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setFullyExplored($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->fully_explored = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyResponse/IamPolicyAnalysis.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyResponse/IamPolicyAnalysis.php
new file mode 100644
index 000000000000..843316999d92
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeIamPolicyResponse/IamPolicyAnalysis.php
@@ -0,0 +1,198 @@
+google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis
+ */
+class IamPolicyAnalysis extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The analysis query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
+ */
+ protected $analysis_query = null;
+ /**
+ * A list of
+ * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
+ * that matches the analysis query, or empty if no result is found.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
+ */
+ private $analysis_results;
+ /**
+ * Represents whether all entries in the
+ * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
+ * have been fully explored to answer the query.
+ *
+ * Generated from protobuf field bool fully_explored = 3;
+ */
+ protected $fully_explored = false;
+ /**
+ * A list of non-critical errors happened during the query handling.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
+ */
+ private $non_critical_errors;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $analysis_query
+ * The analysis query.
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult>|\Google\Protobuf\Internal\RepeatedField $analysis_results
+ * A list of
+ * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
+ * that matches the analysis query, or empty if no result is found.
+ * @type bool $fully_explored
+ * Represents whether all entries in the
+ * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
+ * have been fully explored to answer the query.
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisState>|\Google\Protobuf\Internal\RepeatedField $non_critical_errors
+ * A list of non-critical errors happened during the query handling.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The analysis query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery|null
+ */
+ public function getAnalysisQuery()
+ {
+ return $this->analysis_query;
+ }
+
+ public function hasAnalysisQuery()
+ {
+ return isset($this->analysis_query);
+ }
+
+ public function clearAnalysisQuery()
+ {
+ unset($this->analysis_query);
+ }
+
+ /**
+ * The analysis query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery analysis_query = 1;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $var
+ * @return $this
+ */
+ public function setAnalysisQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery::class);
+ $this->analysis_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of
+ * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
+ * that matches the analysis query, or empty if no result is found.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAnalysisResults()
+ {
+ return $this->analysis_results;
+ }
+
+ /**
+ * A list of
+ * [IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult]
+ * that matches the analysis query, or empty if no result is found.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult analysis_results = 2;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAnalysisResults($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult::class);
+ $this->analysis_results = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Represents whether all entries in the
+ * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
+ * have been fully explored to answer the query.
+ *
+ * Generated from protobuf field bool fully_explored = 3;
+ * @return bool
+ */
+ public function getFullyExplored()
+ {
+ return $this->fully_explored;
+ }
+
+ /**
+ * Represents whether all entries in the
+ * [analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results]
+ * have been fully explored to answer the query.
+ *
+ * Generated from protobuf field bool fully_explored = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setFullyExplored($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->fully_explored = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of non-critical errors happened during the query handling.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNonCriticalErrors()
+ {
+ return $this->non_critical_errors;
+ }
+
+ /**
+ * A list of non-critical errors happened during the query handling.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisState non_critical_errors = 5;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisState>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setNonCriticalErrors($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisState::class);
+ $this->non_critical_errors = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(IamPolicyAnalysis::class, \Google\Cloud\Asset\V1\AnalyzeIamPolicyResponse_IamPolicyAnalysis::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveRequest.php
new file mode 100644
index 000000000000..f96f7886a4a7
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveRequest.php
@@ -0,0 +1,167 @@
+google.cloud.asset.v1.AnalyzeMoveRequest
+ */
+class AnalyzeMoveRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the resource to perform the analysis against.
+ * Only Google Cloud projects are supported as of today. Hence, this can only
+ * be a project ID (such as "projects/my-project-id") or a project number
+ * (such as "projects/12345").
+ *
+ * Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $resource = '';
+ /**
+ * Required. Name of the Google Cloud folder or organization to reparent the
+ * target resource. The analysis will be performed against hypothetically
+ * moving the resource to this specified desitination parent. This can only be
+ * a folder number (such as "folders/123") or an organization number (such as
+ * "organizations/123").
+ *
+ * Generated from protobuf field string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $destination_parent = '';
+ /**
+ * Analysis view indicating what information should be included in the
+ * analysis response. If unspecified, the default view is FULL.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
+ */
+ protected $view = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $resource
+ * Required. Name of the resource to perform the analysis against.
+ * Only Google Cloud projects are supported as of today. Hence, this can only
+ * be a project ID (such as "projects/my-project-id") or a project number
+ * (such as "projects/12345").
+ * @type string $destination_parent
+ * Required. Name of the Google Cloud folder or organization to reparent the
+ * target resource. The analysis will be performed against hypothetically
+ * moving the resource to this specified desitination parent. This can only be
+ * a folder number (such as "folders/123") or an organization number (such as
+ * "organizations/123").
+ * @type int $view
+ * Analysis view indicating what information should be included in the
+ * analysis response. If unspecified, the default view is FULL.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the resource to perform the analysis against.
+ * Only Google Cloud projects are supported as of today. Hence, this can only
+ * be a project ID (such as "projects/my-project-id") or a project number
+ * (such as "projects/12345").
+ *
+ * Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ /**
+ * Required. Name of the resource to perform the analysis against.
+ * Only Google Cloud projects are supported as of today. Hence, this can only
+ * be a project ID (such as "projects/my-project-id") or a project number
+ * (such as "projects/12345").
+ *
+ * Generated from protobuf field string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Name of the Google Cloud folder or organization to reparent the
+ * target resource. The analysis will be performed against hypothetically
+ * moving the resource to this specified desitination parent. This can only be
+ * a folder number (such as "folders/123") or an organization number (such as
+ * "organizations/123").
+ *
+ * Generated from protobuf field string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getDestinationParent()
+ {
+ return $this->destination_parent;
+ }
+
+ /**
+ * Required. Name of the Google Cloud folder or organization to reparent the
+ * target resource. The analysis will be performed against hypothetically
+ * moving the resource to this specified desitination parent. This can only be
+ * a folder number (such as "folders/123") or an organization number (such as
+ * "organizations/123").
+ *
+ * Generated from protobuf field string destination_parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setDestinationParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->destination_parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Analysis view indicating what information should be included in the
+ * analysis response. If unspecified, the default view is FULL.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
+ * @return int
+ */
+ public function getView()
+ {
+ return $this->view;
+ }
+
+ /**
+ * Analysis view indicating what information should be included in the
+ * analysis response. If unspecified, the default view is FULL.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView view = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setView($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\AnalyzeMoveRequest\AnalysisView::class);
+ $this->view = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveRequest/AnalysisView.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveRequest/AnalysisView.php
new file mode 100644
index 000000000000..312e0a876f42
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveRequest/AnalysisView.php
@@ -0,0 +1,67 @@
+google.cloud.asset.v1.AnalyzeMoveRequest.AnalysisView
+ */
+class AnalysisView
+{
+ /**
+ * The default/unset value.
+ * The API will default to the FULL view.
+ *
+ * Generated from protobuf enum ANALYSIS_VIEW_UNSPECIFIED = 0;
+ */
+ const ANALYSIS_VIEW_UNSPECIFIED = 0;
+ /**
+ * Full analysis including all level of impacts of the specified resource
+ * move.
+ *
+ * Generated from protobuf enum FULL = 1;
+ */
+ const FULL = 1;
+ /**
+ * Basic analysis only including blockers which will prevent the specified
+ * resource move at runtime.
+ *
+ * Generated from protobuf enum BASIC = 2;
+ */
+ const BASIC = 2;
+
+ private static $valueToName = [
+ self::ANALYSIS_VIEW_UNSPECIFIED => 'ANALYSIS_VIEW_UNSPECIFIED',
+ self::FULL => 'FULL',
+ self::BASIC => 'BASIC',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(AnalysisView::class, \Google\Cloud\Asset\V1\AnalyzeMoveRequest_AnalysisView::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveResponse.php
new file mode 100644
index 000000000000..3ca62f6f7935
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeMoveResponse.php
@@ -0,0 +1,71 @@
+google.cloud.asset.v1.AnalyzeMoveResponse
+ */
+class AnalyzeMoveResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The list of analyses returned from performing the intended resource move
+ * analysis. The analysis is grouped by different Google Cloud services.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
+ */
+ private $move_analysis;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\MoveAnalysis>|\Google\Protobuf\Internal\RepeatedField $move_analysis
+ * The list of analyses returned from performing the intended resource move
+ * analysis. The analysis is grouped by different Google Cloud services.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The list of analyses returned from performing the intended resource move
+ * analysis. The analysis is grouped by different Google Cloud services.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getMoveAnalysis()
+ {
+ return $this->move_analysis;
+ }
+
+ /**
+ * The list of analyses returned from performing the intended resource move
+ * analysis. The analysis is grouped by different Google Cloud services.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveAnalysis move_analysis = 1;
+ * @param array<\Google\Cloud\Asset\V1\MoveAnalysis>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setMoveAnalysis($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\MoveAnalysis::class);
+ $this->move_analysis = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesRequest.php
new file mode 100644
index 000000000000..c32dc2c817c1
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesRequest.php
@@ -0,0 +1,306 @@
+google.cloud.asset.v1.AnalyzeOrgPoliciesRequest
+ */
+class AnalyzeOrgPoliciesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $scope = '';
+ /**
+ * Required. The name of the constraint to analyze organization policies for.
+ * The response only contains analyzed organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $constraint = '';
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * consolidated_policy.attached_resource
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the Organization Policy results attached to "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ */
+ protected $filter = '';
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
+ * will contain 20 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ */
+ protected $page_size = null;
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $scope Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed.
+ *
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @param string $constraint Required. The name of the constraint to analyze organization policies for.
+ * The response only contains analyzed organization policies for the provided
+ * constraint.
+ * @param string $filter The expression to filter
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * consolidated_policy.attached_resource
+ * * consolidated_policy.rules.enforce
+ *
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the Organization Policy results attached to "folders/001".
+ *
+ * @return \Google\Cloud\Asset\V1\AnalyzeOrgPoliciesRequest
+ *
+ * @experimental
+ */
+ public static function build(string $scope, string $constraint, string $filter): self
+ {
+ return (new self())
+ ->setScope($scope)
+ ->setConstraint($constraint)
+ ->setFilter($filter);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @type string $constraint
+ * Required. The name of the constraint to analyze organization policies for.
+ * The response only contains analyzed organization policies for the provided
+ * constraint.
+ * @type string $filter
+ * The expression to filter
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * consolidated_policy.attached_resource
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the Organization Policy results attached to "folders/001".
+ * @type int $page_size
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
+ * will contain 20 items with a maximum of 200.
+ * @type string $page_token
+ * The pagination token to retrieve the next page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the constraint to analyze organization policies for.
+ * The response only contains analyzed organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getConstraint()
+ {
+ return $this->constraint;
+ }
+
+ /**
+ * Required. The name of the constraint to analyze organization policies for.
+ * The response only contains analyzed organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setConstraint($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * consolidated_policy.attached_resource
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the Organization Policy results attached to "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * consolidated_policy.attached_resource
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * consolidated_policy.attached_resource="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the Organization Policy results attached to "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
+ * will contain 20 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return isset($this->page_size) ? $this->page_size : 0;
+ }
+
+ public function hasPageSize()
+ {
+ return isset($this->page_size);
+ }
+
+ public function clearPageSize()
+ {
+ unset($this->page_size);
+ }
+
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results]
+ * will contain 20 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesResponse.php
new file mode 100644
index 000000000000..f04dfde17d23
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesResponse.php
@@ -0,0 +1,162 @@
+google.cloud.asset.v1.AnalyzeOrgPoliciesResponse
+ */
+class AnalyzeOrgPoliciesResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The organization policies under the
+ * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
+ * with the
+ * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+ */
+ private $org_policy_results;
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ */
+ protected $constraint = null;
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\AnalyzeOrgPoliciesResponse\OrgPolicyResult>|\Google\Protobuf\Internal\RepeatedField $org_policy_results
+ * The organization policies under the
+ * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
+ * with the
+ * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint $constraint
+ * The definition of the constraint in the request.
+ * @type string $next_page_token
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The organization policies under the
+ * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
+ * with the
+ * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getOrgPolicyResults()
+ {
+ return $this->org_policy_results;
+ }
+
+ /**
+ * The organization policies under the
+ * [AnalyzeOrgPoliciesRequest.scope][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.scope]
+ * with the
+ * [AnalyzeOrgPoliciesRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPoliciesRequest.constraint].
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult org_policy_results = 1;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzeOrgPoliciesResponse\OrgPolicyResult>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setOrgPolicyResults($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzeOrgPoliciesResponse\OrgPolicyResult::class);
+ $this->org_policy_results = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint|null
+ */
+ public function getConstraint()
+ {
+ return $this->constraint;
+ }
+
+ public function hasConstraint()
+ {
+ return isset($this->constraint);
+ }
+
+ public function clearConstraint()
+ {
+ unset($this->constraint);
+ }
+
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint $var
+ * @return $this
+ */
+ public function setConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint::class);
+ $this->constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPoliciesResponse.org_policy_results][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.org_policy_results].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesResponse/OrgPolicyResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesResponse/OrgPolicyResult.php
new file mode 100644
index 000000000000..68b3e783edcd
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPoliciesResponse/OrgPolicyResult.php
@@ -0,0 +1,272 @@
+google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
+ */
+class OrgPolicyResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPoliciesResponse.policy_bundle][].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
+ */
+ protected $consolidated_policy = null;
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
+ */
+ private $policy_bundle;
+ /**
+ * The project that this consolidated policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the consolidated
+ * policy belongs to a project.
+ *
+ * Generated from protobuf field string project = 3;
+ */
+ protected $project = '';
+ /**
+ * The folder(s) that this consolidated policy belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the consolidated
+ * policy belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 4;
+ */
+ private $folders;
+ /**
+ * The organization that this consolidated policy belongs to, in the format
+ * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * consolidated policy belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 5;
+ */
+ protected $organization = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicy $consolidated_policy
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPoliciesResponse.policy_bundle][].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ * @type array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy>|\Google\Protobuf\Internal\RepeatedField $policy_bundle
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ * @type string $project
+ * The project that this consolidated policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the consolidated
+ * policy belongs to a project.
+ * @type array.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicy|null
+ */
+ public function getConsolidatedPolicy()
+ {
+ return $this->consolidated_policy;
+ }
+
+ public function hasConsolidatedPolicy()
+ {
+ return isset($this->consolidated_policy);
+ }
+
+ public function clearConsolidatedPolicy()
+ {
+ unset($this->consolidated_policy);
+ }
+
+ /**
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPoliciesResponse.policy_bundle][].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicy $var
+ * @return $this
+ */
+ public function setConsolidatedPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy::class);
+ $this->consolidated_policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPolicyBundle()
+ {
+ return $this->policy_bundle;
+ }
+
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPolicyBundle($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy::class);
+ $this->policy_bundle = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The project that this consolidated policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the consolidated
+ * policy belongs to a project.
+ *
+ * Generated from protobuf field string project = 3;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * The project that this consolidated policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the consolidated
+ * policy belongs to a project.
+ *
+ * Generated from protobuf field string project = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * The folder(s) that this consolidated policy belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the consolidated
+ * policy belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 4;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+
+ /**
+ * The folder(s) that this consolidated policy belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the consolidated
+ * policy belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 4;
+ * @param arraystring organization = 5;
+ * @return string
+ */
+ public function getOrganization()
+ {
+ return $this->organization;
+ }
+
+ /**
+ * The organization that this consolidated policy belongs to, in the format
+ * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * consolidated policy belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setOrganization($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->organization = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(OrgPolicyResult::class, \Google\Cloud\Asset\V1\AnalyzeOrgPoliciesResponse_OrgPolicyResult::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsRequest.php
new file mode 100644
index 000000000000..ed466722b73c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsRequest.php
@@ -0,0 +1,392 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest
+ */
+class AnalyzeOrgPolicyGovernedAssetsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output assets will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $scope = '';
+ /**
+ * Required. The name of the constraint to analyze governed assets for. The
+ * analysis only contains analyzed organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $constraint = '';
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ * For governed resources, filtering is currently available for bare literal
+ * values and the following fields:
+ * * governed_resource.project
+ * * governed_resource.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_resource.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_resource.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_resource.project="projects/12345678"`
+ * will return all the governed resources under "projects/12345678",
+ * including the project itself if applicable.
+ * For governed IAM policies, filtering is currently available for bare
+ * literal values and the following fields:
+ * * governed_iam_policy.project
+ * * governed_iam_policy.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_iam_policy.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_iam_policy.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
+ * will return all the governed IAM policies under "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ */
+ protected $filter = '';
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
+ * will contain 100 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ */
+ protected $page_size = null;
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $scope Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output assets will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ *
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @param string $constraint Required. The name of the constraint to analyze governed assets for. The
+ * analysis only contains analyzed organization policies for the provided
+ * constraint.
+ * @param string $filter The expression to filter
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ *
+ * For governed resources, filtering is currently available for bare literal
+ * values and the following fields:
+ * * governed_resource.project
+ * * governed_resource.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_resource.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_resource.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_resource.project="projects/12345678"`
+ * will return all the governed resources under "projects/12345678",
+ * including the project itself if applicable.
+ *
+ * For governed IAM policies, filtering is currently available for bare
+ * literal values and the following fields:
+ * * governed_iam_policy.project
+ * * governed_iam_policy.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_iam_policy.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_iam_policy.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
+ * will return all the governed IAM policies under "folders/001".
+ *
+ * @return \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $scope, string $constraint, string $filter): self
+ {
+ return (new self())
+ ->setScope($scope)
+ ->setConstraint($constraint)
+ ->setFilter($filter);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output assets will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @type string $constraint
+ * Required. The name of the constraint to analyze governed assets for. The
+ * analysis only contains analyzed organization policies for the provided
+ * constraint.
+ * @type string $filter
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ * For governed resources, filtering is currently available for bare literal
+ * values and the following fields:
+ * * governed_resource.project
+ * * governed_resource.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_resource.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_resource.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_resource.project="projects/12345678"`
+ * will return all the governed resources under "projects/12345678",
+ * including the project itself if applicable.
+ * For governed IAM policies, filtering is currently available for bare
+ * literal values and the following fields:
+ * * governed_iam_policy.project
+ * * governed_iam_policy.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_iam_policy.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_iam_policy.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
+ * will return all the governed IAM policies under "folders/001".
+ * @type int $page_size
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
+ * will contain 100 items with a maximum of 200.
+ * @type string $page_token
+ * The pagination token to retrieve the next page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output assets will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output assets will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the constraint to analyze governed assets for. The
+ * analysis only contains analyzed organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getConstraint()
+ {
+ return $this->constraint;
+ }
+
+ /**
+ * Required. The name of the constraint to analyze governed assets for. The
+ * analysis only contains analyzed organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setConstraint($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ * For governed resources, filtering is currently available for bare literal
+ * values and the following fields:
+ * * governed_resource.project
+ * * governed_resource.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_resource.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_resource.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_resource.project="projects/12345678"`
+ * will return all the governed resources under "projects/12345678",
+ * including the project itself if applicable.
+ * For governed IAM policies, filtering is currently available for bare
+ * literal values and the following fields:
+ * * governed_iam_policy.project
+ * * governed_iam_policy.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_iam_policy.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_iam_policy.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
+ * will return all the governed IAM policies under "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ * For governed resources, filtering is currently available for bare literal
+ * values and the following fields:
+ * * governed_resource.project
+ * * governed_resource.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_resource.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_resource.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_resource.project="projects/12345678"`
+ * will return all the governed resources under "projects/12345678",
+ * including the project itself if applicable.
+ * For governed IAM policies, filtering is currently available for bare
+ * literal values and the following fields:
+ * * governed_iam_policy.project
+ * * governed_iam_policy.folders
+ * * consolidated_policy.rules.enforce
+ * When filtering by `governed_iam_policy.project` or
+ * `consolidated_policy.rules.enforce`, the only supported operator is `=`.
+ * When filtering by `governed_iam_policy.folders`, the supported operators
+ * are `=` and `:`.
+ * For example, filtering by `governed_iam_policy.folders:"folders/12345678"`
+ * will return all the governed IAM policies under "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
+ * will contain 100 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return isset($this->page_size) ? $this->page_size : 0;
+ }
+
+ public function hasPageSize()
+ {
+ return isset($this->page_size);
+ }
+
+ public function clearPageSize()
+ {
+ unset($this->page_size);
+ }
+
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets]
+ * will contain 100 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse.php
new file mode 100644
index 000000000000..afe94d18cbcf
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse.php
@@ -0,0 +1,150 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse
+ */
+class AnalyzeOrgPolicyGovernedAssetsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The list of the analyzed governed assets.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
+ */
+ private $governed_assets;
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ */
+ protected $constraint = null;
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedAsset>|\Google\Protobuf\Internal\RepeatedField $governed_assets
+ * The list of the analyzed governed assets.
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint $constraint
+ * The definition of the constraint in the request.
+ * @type string $next_page_token
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The list of the analyzed governed assets.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGovernedAssets()
+ {
+ return $this->governed_assets;
+ }
+
+ /**
+ * The list of the analyzed governed assets.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset governed_assets = 1;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedAsset>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGovernedAssets($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedAsset::class);
+ $this->governed_assets = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint|null
+ */
+ public function getConstraint()
+ {
+ return $this->constraint;
+ }
+
+ public function hasConstraint()
+ {
+ return isset($this->constraint);
+ }
+
+ public function clearConstraint()
+ {
+ unset($this->constraint);
+ }
+
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint $var
+ * @return $this
+ */
+ public function setConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint::class);
+ $this->constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.governed_assets].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedAsset.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedAsset.php
new file mode 100644
index 000000000000..495a1be1b76a
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedAsset.php
@@ -0,0 +1,235 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
+ */
+class GovernedAsset extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The consolidated policy for the analyzed asset. The consolidated
+ * policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
+ */
+ protected $consolidated_policy = null;
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
+ */
+ private $policy_bundle;
+ protected $governed_asset;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedResource $governed_resource
+ * A Google Cloud resource governed by the organization
+ * policies of the
+ * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
+ * @type \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedIamPolicy $governed_iam_policy
+ * An IAM policy governed by the organization
+ * policies of the
+ * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicy $consolidated_policy
+ * The consolidated policy for the analyzed asset. The consolidated
+ * policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ * @type array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy>|\Google\Protobuf\Internal\RepeatedField $policy_bundle
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A Google Cloud resource governed by the organization
+ * policies of the
+ * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
+ * @return \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedResource|null
+ */
+ public function getGovernedResource()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGovernedResource()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * A Google Cloud resource governed by the organization
+ * policies of the
+ * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
+ * @param \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedResource $var
+ * @return $this
+ */
+ public function setGovernedResource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedResource::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * An IAM policy governed by the organization
+ * policies of the
+ * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
+ * @return \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedIamPolicy|null
+ */
+ public function getGovernedIamPolicy()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasGovernedIamPolicy()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * An IAM policy governed by the organization
+ * policies of the
+ * [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
+ * @param \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedIamPolicy $var
+ * @return $this
+ */
+ public function setGovernedIamPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse\GovernedIamPolicy::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * The consolidated policy for the analyzed asset. The consolidated
+ * policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicy|null
+ */
+ public function getConsolidatedPolicy()
+ {
+ return $this->consolidated_policy;
+ }
+
+ public function hasConsolidatedPolicy()
+ {
+ return isset($this->consolidated_policy);
+ }
+
+ public function clearConsolidatedPolicy()
+ {
+ unset($this->consolidated_policy);
+ }
+
+ /**
+ * The consolidated policy for the analyzed asset. The consolidated
+ * policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicy $var
+ * @return $this
+ */
+ public function setConsolidatedPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy::class);
+ $this->consolidated_policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPolicyBundle()
+ {
+ return $this->policy_bundle;
+ }
+
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPolicyBundle($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy::class);
+ $this->policy_bundle = $arr;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getGovernedAsset()
+ {
+ return $this->whichOneof("governed_asset");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GovernedAsset::class, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse_GovernedAsset::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedIamPolicy.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedIamPolicy.php
new file mode 100644
index 000000000000..32ee6c4a50a6
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedIamPolicy.php
@@ -0,0 +1,319 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy
+ */
+class GovernedIamPolicy extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The full resource name of the resource on which this IAM policy is set.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ */
+ protected $attached_resource = '';
+ /**
+ * The IAM policy directly set on the given resource.
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 2;
+ */
+ protected $policy = null;
+ /**
+ * The project that this IAM policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ */
+ protected $project = '';
+ /**
+ * The folder(s) that this IAM policy belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ */
+ private $folders;
+ /**
+ * The organization that this IAM policy belongs to, in the format of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * IAM policy belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 7;
+ */
+ protected $organization = '';
+ /**
+ * The asset type of the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
+ * Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ * See [Cloud Asset Inventory Supported Asset
+ * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field string asset_type = 8;
+ */
+ protected $asset_type = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $attached_resource
+ * The full resource name of the resource on which this IAM policy is set.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * @type \Google\Cloud\Iam\V1\Policy $policy
+ * The IAM policy directly set on the given resource.
+ * @type string $project
+ * The project that this IAM policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
+ * belongs to a project.
+ * @type arraystring attached_resource = 1;
+ * @return string
+ */
+ public function getAttachedResource()
+ {
+ return $this->attached_resource;
+ }
+
+ /**
+ * The full resource name of the resource on which this IAM policy is set.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAttachedResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->attached_resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * The IAM policy directly set on the given resource.
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 2;
+ * @return \Google\Cloud\Iam\V1\Policy|null
+ */
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+
+ public function hasPolicy()
+ {
+ return isset($this->policy);
+ }
+
+ public function clearPolicy()
+ {
+ unset($this->policy);
+ }
+
+ /**
+ * The IAM policy directly set on the given resource.
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 2;
+ * @param \Google\Cloud\Iam\V1\Policy $var
+ * @return $this
+ */
+ public function setPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\Policy::class);
+ $this->policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * The project that this IAM policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * The project that this IAM policy belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the IAM policy
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * The folder(s) that this IAM policy belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+
+ /**
+ * The folder(s) that this IAM policy belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @param arraystring organization = 7;
+ * @return string
+ */
+ public function getOrganization()
+ {
+ return $this->organization;
+ }
+
+ /**
+ * The organization that this IAM policy belongs to, in the format of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * IAM policy belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setOrganization($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->organization = $var;
+
+ return $this;
+ }
+
+ /**
+ * The asset type of the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
+ * Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ * See [Cloud Asset Inventory Supported Asset
+ * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field string asset_type = 8;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The asset type of the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
+ * Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ * See [Cloud Asset Inventory Supported Asset
+ * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field string asset_type = 8;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GovernedIamPolicy::class, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse_GovernedIamPolicy::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedResource.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedResource.php
new file mode 100644
index 000000000000..2b9b9a6bad21
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedAssetsResponse/GovernedResource.php
@@ -0,0 +1,343 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource
+ */
+class GovernedResource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the Google Cloud resource.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ */
+ protected $full_resource_name = '';
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
+ *
+ * Generated from protobuf field string parent = 2;
+ */
+ protected $parent = '';
+ /**
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ */
+ protected $project = '';
+ /**
+ * The folder(s) that this resource belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ */
+ private $folders;
+ /**
+ * The organization that this resource belongs to, in the format of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * resource belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 7;
+ */
+ protected $organization = '';
+ /**
+ * The asset type of the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name]
+ * Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ * See [Cloud Asset Inventory Supported Asset
+ * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field string asset_type = 8;
+ */
+ protected $asset_type = '';
+ /**
+ * The effective tags on this resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
+ */
+ private $effective_tags;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $full_resource_name
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the Google Cloud resource.
+ * @type string $parent
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
+ * @type string $project
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ * @type arraystring full_resource_name = 1;
+ * @return string
+ */
+ public function getFullResourceName()
+ {
+ return $this->full_resource_name;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the Google Cloud resource.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->full_resource_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
+ *
+ * Generated from protobuf field string parent = 2;
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name].
+ *
+ * Generated from protobuf field string parent = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * The folder(s) that this resource belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+
+ /**
+ * The folder(s) that this resource belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @param arraystring organization = 7;
+ * @return string
+ */
+ public function getOrganization()
+ {
+ return $this->organization;
+ }
+
+ /**
+ * The organization that this resource belongs to, in the format of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * resource belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setOrganization($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->organization = $var;
+
+ return $this;
+ }
+
+ /**
+ * The asset type of the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name]
+ * Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ * See [Cloud Asset Inventory Supported Asset
+ * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field string asset_type = 8;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The asset type of the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name]
+ * Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ * See [Cloud Asset Inventory Supported Asset
+ * Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field string asset_type = 8;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The effective tags on this resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEffectiveTags()
+ {
+ return $this->effective_tags;
+ }
+
+ /**
+ * The effective tags on this resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 9;
+ * @param array<\Google\Cloud\Asset\V1\EffectiveTagDetails>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEffectiveTags($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\EffectiveTagDetails::class);
+ $this->effective_tags = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GovernedResource::class, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedAssetsResponse_GovernedResource::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersRequest.php
new file mode 100644
index 000000000000..41e61f85b196
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersRequest.php
@@ -0,0 +1,316 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest
+ */
+class AnalyzeOrgPolicyGovernedContainersRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output containers will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $scope = '';
+ /**
+ * Required. The name of the constraint to analyze governed containers for.
+ * The analysis only contains organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $constraint = '';
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * parent
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * parent="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the containers under "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ */
+ protected $filter = '';
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
+ * will contain 100 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ */
+ protected $page_size = null;
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $scope Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output containers will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ *
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @param string $constraint Required. The name of the constraint to analyze governed containers for.
+ * The analysis only contains organization policies for the provided
+ * constraint.
+ * @param string $filter The expression to filter
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * parent
+ * * consolidated_policy.rules.enforce
+ *
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * parent="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the containers under "folders/001".
+ *
+ * @return \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersRequest
+ *
+ * @experimental
+ */
+ public static function build(string $scope, string $constraint, string $filter): self
+ {
+ return (new self())
+ ->setScope($scope)
+ ->setConstraint($constraint)
+ ->setFilter($filter);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output containers will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @type string $constraint
+ * Required. The name of the constraint to analyze governed containers for.
+ * The analysis only contains organization policies for the provided
+ * constraint.
+ * @type string $filter
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * parent
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * parent="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the containers under "folders/001".
+ * @type int $page_size
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
+ * will contain 100 items with a maximum of 200.
+ * @type string $page_token
+ * The pagination token to retrieve the next page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output containers will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. The organization to scope the request. Only organization
+ * policies within the scope will be analyzed. The output containers will
+ * also be limited to the ones governed by those in-scope organization
+ * policies.
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the constraint to analyze governed containers for.
+ * The analysis only contains organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getConstraint()
+ {
+ return $this->constraint;
+ }
+
+ /**
+ * Required. The name of the constraint to analyze governed containers for.
+ * The analysis only contains organization policies for the provided
+ * constraint.
+ *
+ * Generated from protobuf field string constraint = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setConstraint($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * parent
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * parent="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the containers under "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * The expression to filter
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ * Filtering is currently available for bare literal values and the following
+ * fields:
+ * * parent
+ * * consolidated_policy.rules.enforce
+ * When filtering by a specific field, the only supported operator is `=`.
+ * For example, filtering by
+ * parent="//cloudresourcemanager.googleapis.com/folders/001"
+ * will return all the containers under "folders/001".
+ *
+ * Generated from protobuf field string filter = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
+ * will contain 100 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return isset($this->page_size) ? $this->page_size : 0;
+ }
+
+ public function hasPageSize()
+ {
+ return isset($this->page_size);
+ }
+
+ public function clearPageSize()
+ {
+ unset($this->page_size);
+ }
+
+ /**
+ * The maximum number of items to return per page. If unspecified,
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers]
+ * will contain 100 items with a maximum of 200.
+ *
+ * Generated from protobuf field optional int32 page_size = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * The pagination token to retrieve the next page.
+ *
+ * Generated from protobuf field string page_token = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersResponse.php
new file mode 100644
index 000000000000..795d1e14a8aa
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersResponse.php
@@ -0,0 +1,150 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse
+ */
+class AnalyzeOrgPolicyGovernedContainersResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The list of the analyzed governed containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;
+ */
+ private $governed_containers;
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ */
+ protected $constraint = null;
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer>|\Google\Protobuf\Internal\RepeatedField $governed_containers
+ * The list of the analyzed governed containers.
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint $constraint
+ * The definition of the constraint in the request.
+ * @type string $next_page_token
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The list of the analyzed governed containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGovernedContainers()
+ {
+ return $this->governed_containers;
+ }
+
+ /**
+ * The list of the analyzed governed containers.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer governed_containers = 1;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGovernedContainers($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersResponse\GovernedContainer::class);
+ $this->governed_containers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint|null
+ */
+ public function getConstraint()
+ {
+ return $this->constraint;
+ }
+
+ public function hasConstraint()
+ {
+ return isset($this->constraint);
+ }
+
+ public function clearConstraint()
+ {
+ unset($this->constraint);
+ }
+
+ /**
+ * The definition of the constraint in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint constraint = 2;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint $var
+ * @return $this
+ */
+ public function setConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint::class);
+ $this->constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * The page token to fetch the next page for
+ * [AnalyzeOrgPolicyGovernedContainersResponse.governed_containers][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.governed_containers].
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersResponse/GovernedContainer.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersResponse/GovernedContainer.php
new file mode 100644
index 000000000000..117e289991fa
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzeOrgPolicyGovernedContainersResponse/GovernedContainer.php
@@ -0,0 +1,396 @@
+google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
+ */
+class GovernedContainer extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ */
+ protected $full_resource_name = '';
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
+ *
+ * Generated from protobuf field string parent = 2;
+ */
+ protected $parent = '';
+ /**
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
+ */
+ protected $consolidated_policy = null;
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
+ */
+ private $policy_bundle;
+ /**
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ */
+ protected $project = '';
+ /**
+ * The folder(s) that this resource belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ */
+ private $folders;
+ /**
+ * The organization that this resource belongs to, in the format of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * resource belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 7;
+ */
+ protected $organization = '';
+ /**
+ * The effective tags on this resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
+ */
+ private $effective_tags;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $full_resource_name
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource.
+ * @type string $parent
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicy $consolidated_policy
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ * @type array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy>|\Google\Protobuf\Internal\RepeatedField $policy_bundle
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ * @type string $project
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ * @type arraystring full_resource_name = 1;
+ * @return string
+ */
+ public function getFullResourceName()
+ {
+ return $this->full_resource_name;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->full_resource_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
+ *
+ * Generated from protobuf field string parent = 2;
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * the parent of
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
+ *
+ * Generated from protobuf field string parent = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicy|null
+ */
+ public function getConsolidatedPolicy()
+ {
+ return $this->consolidated_policy;
+ }
+
+ public function hasConsolidatedPolicy()
+ {
+ return isset($this->consolidated_policy);
+ }
+
+ public function clearConsolidatedPolicy()
+ {
+ unset($this->consolidated_policy);
+ }
+
+ /**
+ * The consolidated organization policy for the analyzed resource. The
+ * consolidated organization policy is computed by merging and evaluating
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
+ * The evaluation will respect the organization policy [hierarchy
+ * rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicy $var
+ * @return $this
+ */
+ public function setConsolidatedPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy::class);
+ $this->consolidated_policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPolicyBundle()
+ {
+ return $this->policy_bundle;
+ }
+
+ /**
+ * The ordered list of all organization policies from the
+ * [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].
+ * to the scope specified in the request.
+ * If the constraint is defined with default policy, it will also appear in
+ * the list.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPolicyBundle($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy::class);
+ $this->policy_bundle = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * The project that this resource belongs to, in the format of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ *
+ * Generated from protobuf field string project = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * The folder(s) that this resource belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+
+ /**
+ * The folder(s) that this resource belongs to, in the format of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs (directly or cascadingly) to one or more folders.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @param arraystring organization = 7;
+ * @return string
+ */
+ public function getOrganization()
+ {
+ return $this->organization;
+ }
+
+ /**
+ * The organization that this resource belongs to, in the format of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * resource belongs (directly or cascadingly) to an organization.
+ *
+ * Generated from protobuf field string organization = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setOrganization($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->organization = $var;
+
+ return $this;
+ }
+
+ /**
+ * The effective tags on this resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEffectiveTags()
+ {
+ return $this->effective_tags;
+ }
+
+ /**
+ * The effective tags on this resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
+ * @param array<\Google\Cloud\Asset\V1\EffectiveTagDetails>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEffectiveTags($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\EffectiveTagDetails::class);
+ $this->effective_tags = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GovernedContainer::class, \Google\Cloud\Asset\V1\AnalyzeOrgPolicyGovernedContainersResponse_GovernedContainer::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy.php
new file mode 100644
index 000000000000..228e2f55bc0a
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy.php
@@ -0,0 +1,278 @@
+google.cloud.asset.v1.AnalyzerOrgPolicy
+ */
+class AnalyzerOrgPolicy extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy is
+ * set.
+ * Notice that some type of constraints are defined with default policy. This
+ * field will be empty for them.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ */
+ protected $attached_resource = '';
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy
+ * applies to.
+ * For any user defined org policies, this field has the same value as
+ * the [attached_resource] field. Only for default policy, this field has
+ * the different value.
+ *
+ * Generated from protobuf field string applied_resource = 5;
+ */
+ protected $applied_resource = '';
+ /**
+ * List of rules for this organization policy.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2;
+ */
+ private $rules;
+ /**
+ * If `inherit_from_parent` is true, Rules set higher up in the
+ * hierarchy (up to the closest root) are inherited and present in the
+ * effective policy. If it is false, then no rules are inherited, and this
+ * policy becomes the effective root for evaluation.
+ *
+ * Generated from protobuf field bool inherit_from_parent = 3;
+ */
+ protected $inherit_from_parent = false;
+ /**
+ * Ignores policies set above this resource and restores the default behavior
+ * of the constraint at this resource.
+ * This field can be set in policies for either list or boolean
+ * constraints. If set, `rules` must be empty and `inherit_from_parent`
+ * must be set to false.
+ *
+ * Generated from protobuf field bool reset = 4;
+ */
+ protected $reset = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $attached_resource
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy is
+ * set.
+ * Notice that some type of constraints are defined with default policy. This
+ * field will be empty for them.
+ * @type string $applied_resource
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy
+ * applies to.
+ * For any user defined org policies, this field has the same value as
+ * the [attached_resource] field. Only for default policy, this field has
+ * the different value.
+ * @type array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule>|\Google\Protobuf\Internal\RepeatedField $rules
+ * List of rules for this organization policy.
+ * @type bool $inherit_from_parent
+ * If `inherit_from_parent` is true, Rules set higher up in the
+ * hierarchy (up to the closest root) are inherited and present in the
+ * effective policy. If it is false, then no rules are inherited, and this
+ * policy becomes the effective root for evaluation.
+ * @type bool $reset
+ * Ignores policies set above this resource and restores the default behavior
+ * of the constraint at this resource.
+ * This field can be set in policies for either list or boolean
+ * constraints. If set, `rules` must be empty and `inherit_from_parent`
+ * must be set to false.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy is
+ * set.
+ * Notice that some type of constraints are defined with default policy. This
+ * field will be empty for them.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ * @return string
+ */
+ public function getAttachedResource()
+ {
+ return $this->attached_resource;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy is
+ * set.
+ * Notice that some type of constraints are defined with default policy. This
+ * field will be empty for them.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAttachedResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->attached_resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy
+ * applies to.
+ * For any user defined org policies, this field has the same value as
+ * the [attached_resource] field. Only for default policy, this field has
+ * the different value.
+ *
+ * Generated from protobuf field string applied_resource = 5;
+ * @return string
+ */
+ public function getAppliedResource()
+ {
+ return $this->applied_resource;
+ }
+
+ /**
+ * The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
+ * an organization/folder/project resource where this organization policy
+ * applies to.
+ * For any user defined org policies, this field has the same value as
+ * the [attached_resource] field. Only for default policy, this field has
+ * the different value.
+ *
+ * Generated from protobuf field string applied_resource = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setAppliedResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->applied_resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * List of rules for this organization policy.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRules()
+ {
+ return $this->rules;
+ }
+
+ /**
+ * List of rules for this organization policy.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule rules = 2;
+ * @param array<\Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRules($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule::class);
+ $this->rules = $arr;
+
+ return $this;
+ }
+
+ /**
+ * If `inherit_from_parent` is true, Rules set higher up in the
+ * hierarchy (up to the closest root) are inherited and present in the
+ * effective policy. If it is false, then no rules are inherited, and this
+ * policy becomes the effective root for evaluation.
+ *
+ * Generated from protobuf field bool inherit_from_parent = 3;
+ * @return bool
+ */
+ public function getInheritFromParent()
+ {
+ return $this->inherit_from_parent;
+ }
+
+ /**
+ * If `inherit_from_parent` is true, Rules set higher up in the
+ * hierarchy (up to the closest root) are inherited and present in the
+ * effective policy. If it is false, then no rules are inherited, and this
+ * policy becomes the effective root for evaluation.
+ *
+ * Generated from protobuf field bool inherit_from_parent = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setInheritFromParent($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->inherit_from_parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Ignores policies set above this resource and restores the default behavior
+ * of the constraint at this resource.
+ * This field can be set in policies for either list or boolean
+ * constraints. If set, `rules` must be empty and `inherit_from_parent`
+ * must be set to false.
+ *
+ * Generated from protobuf field bool reset = 4;
+ * @return bool
+ */
+ public function getReset()
+ {
+ return $this->reset;
+ }
+
+ /**
+ * Ignores policies set above this resource and restores the default behavior
+ * of the constraint at this resource.
+ * This field can be set in policies for either list or boolean
+ * constraints. If set, `rules` must be empty and `inherit_from_parent`
+ * must be set to false.
+ *
+ * Generated from protobuf field bool reset = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setReset($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->reset = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy/Rule.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy/Rule.php
new file mode 100644
index 000000000000..c1b20c1dffd3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy/Rule.php
@@ -0,0 +1,331 @@
+google.cloud.asset.v1.AnalyzerOrgPolicy.Rule
+ */
+class Rule extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The evaluating condition for this rule.
+ *
+ * Generated from protobuf field .google.type.Expr condition = 7;
+ */
+ protected $condition = null;
+ /**
+ * The condition evaluation result for this rule.
+ * Only populated if it meets all the following criteria:
+ * * There is a
+ * [condition][google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.condition]
+ * defined for this rule.
+ * * This rule is within
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy],
+ * or
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy]
+ * when the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset]
+ * has
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 8;
+ */
+ protected $condition_evaluation = null;
+ protected $kind;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule\StringValues $values
+ * List of values to be used for this policy rule. This field can be set
+ * only in policies for list constraints.
+ * @type bool $allow_all
+ * Setting this to true means that all values are allowed. This field can
+ * be set only in Policies for list constraints.
+ * @type bool $deny_all
+ * Setting this to true means that all values are denied. This field can
+ * be set only in Policies for list constraints.
+ * @type bool $enforce
+ * If `true`, then the `Policy` is enforced. If `false`, then any
+ * configuration is acceptable.
+ * This field can be set only in Policies for boolean constraints.
+ * @type \Google\Type\Expr $condition
+ * The evaluating condition for this rule.
+ * @type \Google\Cloud\Asset\V1\ConditionEvaluation $condition_evaluation
+ * The condition evaluation result for this rule.
+ * Only populated if it meets all the following criteria:
+ * * There is a
+ * [condition][google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.condition]
+ * defined for this rule.
+ * * This rule is within
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy],
+ * or
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy]
+ * when the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset]
+ * has
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of values to be used for this policy rule. This field can be set
+ * only in policies for list constraints.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule\StringValues|null
+ */
+ public function getValues()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasValues()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * List of values to be used for this policy rule. This field can be set
+ * only in policies for list constraints.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule\StringValues $var
+ * @return $this
+ */
+ public function setValues($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy\Rule\StringValues::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Setting this to true means that all values are allowed. This field can
+ * be set only in Policies for list constraints.
+ *
+ * Generated from protobuf field bool allow_all = 4;
+ * @return bool
+ */
+ public function getAllowAll()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasAllowAll()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Setting this to true means that all values are allowed. This field can
+ * be set only in Policies for list constraints.
+ *
+ * Generated from protobuf field bool allow_all = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setAllowAll($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Setting this to true means that all values are denied. This field can
+ * be set only in Policies for list constraints.
+ *
+ * Generated from protobuf field bool deny_all = 5;
+ * @return bool
+ */
+ public function getDenyAll()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasDenyAll()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Setting this to true means that all values are denied. This field can
+ * be set only in Policies for list constraints.
+ *
+ * Generated from protobuf field bool deny_all = 5;
+ * @param bool $var
+ * @return $this
+ */
+ public function setDenyAll($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * If `true`, then the `Policy` is enforced. If `false`, then any
+ * configuration is acceptable.
+ * This field can be set only in Policies for boolean constraints.
+ *
+ * Generated from protobuf field bool enforce = 6;
+ * @return bool
+ */
+ public function getEnforce()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasEnforce()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * If `true`, then the `Policy` is enforced. If `false`, then any
+ * configuration is acceptable.
+ * This field can be set only in Policies for boolean constraints.
+ *
+ * Generated from protobuf field bool enforce = 6;
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnforce($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * The evaluating condition for this rule.
+ *
+ * Generated from protobuf field .google.type.Expr condition = 7;
+ * @return \Google\Type\Expr|null
+ */
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function hasCondition()
+ {
+ return isset($this->condition);
+ }
+
+ public function clearCondition()
+ {
+ unset($this->condition);
+ }
+
+ /**
+ * The evaluating condition for this rule.
+ *
+ * Generated from protobuf field .google.type.Expr condition = 7;
+ * @param \Google\Type\Expr $var
+ * @return $this
+ */
+ public function setCondition($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Type\Expr::class);
+ $this->condition = $var;
+
+ return $this;
+ }
+
+ /**
+ * The condition evaluation result for this rule.
+ * Only populated if it meets all the following criteria:
+ * * There is a
+ * [condition][google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.condition]
+ * defined for this rule.
+ * * This rule is within
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy],
+ * or
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy]
+ * when the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset]
+ * has
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 8;
+ * @return \Google\Cloud\Asset\V1\ConditionEvaluation|null
+ */
+ public function getConditionEvaluation()
+ {
+ return $this->condition_evaluation;
+ }
+
+ public function hasConditionEvaluation()
+ {
+ return isset($this->condition_evaluation);
+ }
+
+ public function clearConditionEvaluation()
+ {
+ unset($this->condition_evaluation);
+ }
+
+ /**
+ * The condition evaluation result for this rule.
+ * Only populated if it meets all the following criteria:
+ * * There is a
+ * [condition][google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.condition]
+ * defined for this rule.
+ * * This rule is within
+ * [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.consolidated_policy],
+ * or
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.consolidated_policy]
+ * when the
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset]
+ * has
+ * [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.governed_resource].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 8;
+ * @param \Google\Cloud\Asset\V1\ConditionEvaluation $var
+ * @return $this
+ */
+ public function setConditionEvaluation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\ConditionEvaluation::class);
+ $this->condition_evaluation = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getKind()
+ {
+ return $this->whichOneof("kind");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Rule::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicy_Rule::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy/Rule/StringValues.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy/Rule/StringValues.php
new file mode 100644
index 000000000000..fd511b380d55
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicy/Rule/StringValues.php
@@ -0,0 +1,104 @@
+google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues
+ */
+class StringValues extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of values allowed at this resource.
+ *
+ * Generated from protobuf field repeated string allowed_values = 1;
+ */
+ private $allowed_values;
+ /**
+ * List of values denied at this resource.
+ *
+ * Generated from protobuf field repeated string denied_values = 2;
+ */
+ private $denied_values;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string allowed_values = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAllowedValues()
+ {
+ return $this->allowed_values;
+ }
+
+ /**
+ * List of values allowed at this resource.
+ *
+ * Generated from protobuf field repeated string allowed_values = 1;
+ * @param arrayrepeated string denied_values = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDeniedValues()
+ {
+ return $this->denied_values;
+ }
+
+ /**
+ * List of values denied at this resource.
+ *
+ * Generated from protobuf field repeated string denied_values = 2;
+ * @param array.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint|null
+ */
+ public function getGoogleDefinedConstraint()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGoogleDefinedConstraint()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The definition of the canned constraint defined by Google.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint google_defined_constraint = 1;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint $var
+ * @return $this
+ */
+ public function setGoogleDefinedConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * The definition of the custom constraint.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\CustomConstraint|null
+ */
+ public function getCustomConstraint()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasCustomConstraint()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * The definition of the custom constraint.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint custom_constraint = 2;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\CustomConstraint $var
+ * @return $this
+ */
+ public function setCustomConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\CustomConstraint::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getConstraintDefinition()
+ {
+ return $this->whichOneof("constraint_definition");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint.php
new file mode 100644
index 000000000000..a10cef66d192
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint.php
@@ -0,0 +1,259 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint
+ */
+class Constraint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The unique name of the constraint. Format of the name should be
+ * * `constraints/{constraint_name}`
+ * For example, `constraints/compute.disableSerialPortAccess`.
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The human readable name of the constraint.
+ *
+ * Generated from protobuf field string display_name = 2;
+ */
+ protected $display_name = '';
+ /**
+ * Detailed description of what this `Constraint` controls as well as how
+ * and where it is enforced.
+ *
+ * Generated from protobuf field string description = 3;
+ */
+ protected $description = '';
+ /**
+ * The evaluation behavior of this constraint in the absence of 'Policy'.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
+ */
+ protected $constraint_default = 0;
+ protected $constraint_type;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The unique name of the constraint. Format of the name should be
+ * * `constraints/{constraint_name}`
+ * For example, `constraints/compute.disableSerialPortAccess`.
+ * @type string $display_name
+ * The human readable name of the constraint.
+ * @type string $description
+ * Detailed description of what this `Constraint` controls as well as how
+ * and where it is enforced.
+ * @type int $constraint_default
+ * The evaluation behavior of this constraint in the absence of 'Policy'.
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\ListConstraint $list_constraint
+ * Defines this constraint as being a ListConstraint.
+ * @type \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\BooleanConstraint $boolean_constraint
+ * Defines this constraint as being a BooleanConstraint.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The unique name of the constraint. Format of the name should be
+ * * `constraints/{constraint_name}`
+ * For example, `constraints/compute.disableSerialPortAccess`.
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The unique name of the constraint. Format of the name should be
+ * * `constraints/{constraint_name}`
+ * For example, `constraints/compute.disableSerialPortAccess`.
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The human readable name of the constraint.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * The human readable name of the constraint.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Detailed description of what this `Constraint` controls as well as how
+ * and where it is enforced.
+ *
+ * Generated from protobuf field string description = 3;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Detailed description of what this `Constraint` controls as well as how
+ * and where it is enforced.
+ *
+ * Generated from protobuf field string description = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * The evaluation behavior of this constraint in the absence of 'Policy'.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
+ * @return int
+ */
+ public function getConstraintDefault()
+ {
+ return $this->constraint_default;
+ }
+
+ /**
+ * The evaluation behavior of this constraint in the absence of 'Policy'.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setConstraintDefault($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\ConstraintDefault::class);
+ $this->constraint_default = $var;
+
+ return $this;
+ }
+
+ /**
+ * Defines this constraint as being a ListConstraint.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\ListConstraint|null
+ */
+ public function getListConstraint()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasListConstraint()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Defines this constraint as being a ListConstraint.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\ListConstraint $var
+ * @return $this
+ */
+ public function setListConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\ListConstraint::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Defines this constraint as being a BooleanConstraint.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
+ * @return \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\BooleanConstraint|null
+ */
+ public function getBooleanConstraint()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasBooleanConstraint()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Defines this constraint as being a BooleanConstraint.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
+ * @param \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\BooleanConstraint $var
+ * @return $this
+ */
+ public function setBooleanConstraint($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\Constraint\BooleanConstraint::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getConstraintType()
+ {
+ return $this->whichOneof("constraint_type");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Constraint::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_Constraint::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/BooleanConstraint.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/BooleanConstraint.php
new file mode 100644
index 000000000000..71cc4c750987
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/BooleanConstraint.php
@@ -0,0 +1,39 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint
+ */
+class BooleanConstraint extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(BooleanConstraint::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_Constraint_BooleanConstraint::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/ConstraintDefault.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/ConstraintDefault.php
new file mode 100644
index 000000000000..d3b8fae6657d
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/ConstraintDefault.php
@@ -0,0 +1,68 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault
+ */
+class ConstraintDefault
+{
+ /**
+ * This is only used for distinguishing unset values and should never be
+ * used.
+ *
+ * Generated from protobuf enum CONSTRAINT_DEFAULT_UNSPECIFIED = 0;
+ */
+ const CONSTRAINT_DEFAULT_UNSPECIFIED = 0;
+ /**
+ * Indicate that all values are allowed for list constraints.
+ * Indicate that enforcement is off for boolean constraints.
+ *
+ * Generated from protobuf enum ALLOW = 1;
+ */
+ const ALLOW = 1;
+ /**
+ * Indicate that all values are denied for list constraints.
+ * Indicate that enforcement is on for boolean constraints.
+ *
+ * Generated from protobuf enum DENY = 2;
+ */
+ const DENY = 2;
+
+ private static $valueToName = [
+ self::CONSTRAINT_DEFAULT_UNSPECIFIED => 'CONSTRAINT_DEFAULT_UNSPECIFIED',
+ self::ALLOW => 'ALLOW',
+ self::DENY => 'DENY',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConstraintDefault::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_Constraint_ConstraintDefault::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/ListConstraint.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/ListConstraint.php
new file mode 100644
index 000000000000..b738aa77ede8
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/Constraint/ListConstraint.php
@@ -0,0 +1,125 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
+ */
+class ListConstraint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Indicates whether values grouped into categories can be used in
+ * `Policy.allowed_values` and `Policy.denied_values`. For example,
+ * `"in:Python"` would match any value in the 'Python' group.
+ *
+ * Generated from protobuf field bool supports_in = 1;
+ */
+ protected $supports_in = false;
+ /**
+ * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
+ * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
+ * example, `"under:folders/123"` would match any resource under the
+ * 'folders/123' folder.
+ *
+ * Generated from protobuf field bool supports_under = 2;
+ */
+ protected $supports_under = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $supports_in
+ * Indicates whether values grouped into categories can be used in
+ * `Policy.allowed_values` and `Policy.denied_values`. For example,
+ * `"in:Python"` would match any value in the 'Python' group.
+ * @type bool $supports_under
+ * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
+ * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
+ * example, `"under:folders/123"` would match any resource under the
+ * 'folders/123' folder.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Indicates whether values grouped into categories can be used in
+ * `Policy.allowed_values` and `Policy.denied_values`. For example,
+ * `"in:Python"` would match any value in the 'Python' group.
+ *
+ * Generated from protobuf field bool supports_in = 1;
+ * @return bool
+ */
+ public function getSupportsIn()
+ {
+ return $this->supports_in;
+ }
+
+ /**
+ * Indicates whether values grouped into categories can be used in
+ * `Policy.allowed_values` and `Policy.denied_values`. For example,
+ * `"in:Python"` would match any value in the 'Python' group.
+ *
+ * Generated from protobuf field bool supports_in = 1;
+ * @param bool $var
+ * @return $this
+ */
+ public function setSupportsIn($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->supports_in = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
+ * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
+ * example, `"under:folders/123"` would match any resource under the
+ * 'folders/123' folder.
+ *
+ * Generated from protobuf field bool supports_under = 2;
+ * @return bool
+ */
+ public function getSupportsUnder()
+ {
+ return $this->supports_under;
+ }
+
+ /**
+ * Indicates whether subtrees of Cloud Resource Manager resource hierarchy
+ * can be used in `Policy.allowed_values` and `Policy.denied_values`. For
+ * example, `"under:folders/123"` would match any resource under the
+ * 'folders/123' folder.
+ *
+ * Generated from protobuf field bool supports_under = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setSupportsUnder($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->supports_under = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ListConstraint::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_Constraint_ListConstraint::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
new file mode 100644
index 000000000000..555a6cfeca8b
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint.php
@@ -0,0 +1,306 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint
+ */
+class CustomConstraint extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of the constraint. This is unique within the organization. Format of
+ * the name should be
+ * * `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
+ * Example :
+ * "organizations/123/customConstraints/custom.createOnlyE2TypeVms"
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The Resource Instance type on which this policy applies to. Format will
+ * be of the form : "repeated string resource_types = 2;
+ */
+ private $resource_types;
+ /**
+ * All the operations being applied for this constraint.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;
+ */
+ private $method_types;
+ /**
+ * Organization Policy condition/expression. For example:
+ * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
+ * `resource.management.auto_upgrade == true`
+ *
+ * Generated from protobuf field string condition = 4;
+ */
+ protected $condition = '';
+ /**
+ * Allow or deny type.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;
+ */
+ protected $action_type = 0;
+ /**
+ * One line display name for the UI.
+ *
+ * Generated from protobuf field string display_name = 6;
+ */
+ protected $display_name = '';
+ /**
+ * Detailed information about this custom policy constraint.
+ *
+ * Generated from protobuf field string description = 7;
+ */
+ protected $description = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Name of the constraint. This is unique within the organization. Format of
+ * the name should be
+ * * `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
+ * Example :
+ * "organizations/123/customConstraints/custom.createOnlyE2TypeVms"
+ * @type arraystring name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Name of the constraint. This is unique within the organization. Format of
+ * the name should be
+ * * `organizations/{organization_id}/customConstraints/{custom_constraint_id}`
+ * Example :
+ * "organizations/123/customConstraints/custom.createOnlyE2TypeVms"
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The Resource Instance type on which this policy applies to. Format will
+ * be of the form : "repeated string resource_types = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceTypes()
+ {
+ return $this->resource_types;
+ }
+
+ /**
+ * The Resource Instance type on which this policy applies to. Format will
+ * be of the form : "repeated string resource_types = 2;
+ * @param arrayrepeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getMethodTypes()
+ {
+ return $this->method_types;
+ }
+
+ /**
+ * All the operations being applied for this constraint.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;
+ * @param arraystring condition = 4;
+ * @return string
+ */
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ /**
+ * Organization Policy condition/expression. For example:
+ * `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or,
+ * `resource.management.auto_upgrade == true`
+ *
+ * Generated from protobuf field string condition = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setCondition($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->condition = $var;
+
+ return $this;
+ }
+
+ /**
+ * Allow or deny type.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;
+ * @return int
+ */
+ public function getActionType()
+ {
+ return $this->action_type;
+ }
+
+ /**
+ * Allow or deny type.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setActionType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint\CustomConstraint\ActionType::class);
+ $this->action_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * One line display name for the UI.
+ *
+ * Generated from protobuf field string display_name = 6;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * One line display name for the UI.
+ *
+ * Generated from protobuf field string display_name = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Detailed information about this custom policy constraint.
+ *
+ * Generated from protobuf field string description = 7;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Detailed information about this custom policy constraint.
+ *
+ * Generated from protobuf field string description = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(CustomConstraint::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_CustomConstraint::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint/ActionType.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint/ActionType.php
new file mode 100644
index 000000000000..6a5930c8ddab
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint/ActionType.php
@@ -0,0 +1,64 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType
+ */
+class ActionType
+{
+ /**
+ * Unspecified. Will results in user error.
+ *
+ * Generated from protobuf enum ACTION_TYPE_UNSPECIFIED = 0;
+ */
+ const ACTION_TYPE_UNSPECIFIED = 0;
+ /**
+ * Allowed action type.
+ *
+ * Generated from protobuf enum ALLOW = 1;
+ */
+ const ALLOW = 1;
+ /**
+ * Deny action type.
+ *
+ * Generated from protobuf enum DENY = 2;
+ */
+ const DENY = 2;
+
+ private static $valueToName = [
+ self::ACTION_TYPE_UNSPECIFIED => 'ACTION_TYPE_UNSPECIFIED',
+ self::ALLOW => 'ALLOW',
+ self::DENY => 'DENY',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ActionType::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_CustomConstraint_ActionType::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint/MethodType.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint/MethodType.php
new file mode 100644
index 000000000000..05e17c3bd686
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/AnalyzerOrgPolicyConstraint/CustomConstraint/MethodType.php
@@ -0,0 +1,74 @@
+google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType
+ */
+class MethodType
+{
+ /**
+ * Unspecified. Will results in user error.
+ *
+ * Generated from protobuf enum METHOD_TYPE_UNSPECIFIED = 0;
+ */
+ const METHOD_TYPE_UNSPECIFIED = 0;
+ /**
+ * Constraint applied when creating the resource.
+ *
+ * Generated from protobuf enum CREATE = 1;
+ */
+ const CREATE = 1;
+ /**
+ * Constraint applied when updating the resource.
+ *
+ * Generated from protobuf enum UPDATE = 2;
+ */
+ const UPDATE = 2;
+ /**
+ * Constraint applied when deleting the resource.
+ *
+ * Generated from protobuf enum DELETE = 3;
+ */
+ const DELETE = 3;
+
+ private static $valueToName = [
+ self::METHOD_TYPE_UNSPECIFIED => 'METHOD_TYPE_UNSPECIFIED',
+ self::CREATE => 'CREATE',
+ self::UPDATE => 'UPDATE',
+ self::DELETE => 'DELETE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(MethodType::class, \Google\Cloud\Asset\V1\AnalyzerOrgPolicyConstraint_CustomConstraint_MethodType::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Asset.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Asset.php
new file mode 100644
index 000000000000..63d2c319d3d3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Asset.php
@@ -0,0 +1,689 @@
+google.cloud.asset.v1.Asset
+ */
+class Asset extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 11;
+ */
+ protected $update_time = null;
+ /**
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ */
+ protected $asset_type = '';
+ /**
+ * A representation of the resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Resource resource = 3;
+ */
+ protected $resource = null;
+ /**
+ * A representation of the IAM policy set on a Google Cloud resource.
+ * There can be a maximum of one IAM policy set on any given resource.
+ * In addition, IAM policies inherit their granted access scope from any
+ * policies set on parent resources in the resource hierarchy. Therefore, the
+ * effectively policy is the union of both the policy set on this resource
+ * and each policy set on all of the resource's ancestry resource levels in
+ * the hierarchy. See
+ * [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
+ * for more information.
+ *
+ * Generated from protobuf field .google.iam.v1.Policy iam_policy = 4;
+ */
+ protected $iam_policy = null;
+ /**
+ * A representation of an [organization
+ * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
+ * There can be more than one organization policy with different constraints
+ * set on a given resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
+ */
+ private $org_policy;
+ /**
+ * A representation of runtime OS Inventory information. See [this
+ * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
+ * for more information.
+ *
+ * Generated from protobuf field .google.cloud.osconfig.v1.Inventory os_inventory = 12;
+ */
+ protected $os_inventory = null;
+ /**
+ * DEPRECATED. This field only presents for the purpose of
+ * backward-compatibility. The server will never generate responses with this
+ * field.
+ * The related assets of the asset of one relationship type. One asset
+ * only represents one type of relationship.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
+ * @deprecated
+ */
+ protected $related_assets = null;
+ /**
+ * One related asset of the current asset.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelatedAsset related_asset = 15;
+ */
+ protected $related_asset = null;
+ /**
+ * The ancestry path of an asset in Google Cloud [resource
+ * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
+ * represented as a list of relative resource names. An ancestry path starts
+ * with the closest ancestor in the hierarchy and ends at root. If the asset
+ * is a project, folder, or organization, the ancestry path starts from the
+ * asset itself.
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ *
+ * Generated from protobuf field repeated string ancestors = 10;
+ */
+ private $ancestors;
+ protected $access_context_policy;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $update_time
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ * @type string $name
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ * @type string $asset_type
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ * @type \Google\Cloud\Asset\V1\Resource $resource
+ * A representation of the resource.
+ * @type \Google\Cloud\Iam\V1\Policy $iam_policy
+ * A representation of the IAM policy set on a Google Cloud resource.
+ * There can be a maximum of one IAM policy set on any given resource.
+ * In addition, IAM policies inherit their granted access scope from any
+ * policies set on parent resources in the resource hierarchy. Therefore, the
+ * effectively policy is the union of both the policy set on this resource
+ * and each policy set on all of the resource's ancestry resource levels in
+ * the hierarchy. See
+ * [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
+ * for more information.
+ * @type array<\Google\Cloud\OrgPolicy\V1\Policy>|\Google\Protobuf\Internal\RepeatedField $org_policy
+ * A representation of an [organization
+ * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
+ * There can be more than one organization policy with different constraints
+ * set on a given resource.
+ * @type \Google\Identity\AccessContextManager\V1\AccessPolicy $access_policy
+ * Also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ * @type \Google\Identity\AccessContextManager\V1\AccessLevel $access_level
+ * Also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ * @type \Google\Identity\AccessContextManager\V1\ServicePerimeter $service_perimeter
+ * Also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ * @type \Google\Cloud\OsConfig\V1\Inventory $os_inventory
+ * A representation of runtime OS Inventory information. See [this
+ * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
+ * for more information.
+ * @type \Google\Cloud\Asset\V1\RelatedAssets $related_assets
+ * DEPRECATED. This field only presents for the purpose of
+ * backward-compatibility. The server will never generate responses with this
+ * field.
+ * The related assets of the asset of one relationship type. One asset
+ * only represents one type of relationship.
+ * @type \Google\Cloud\Asset\V1\RelatedAsset $related_asset
+ * One related asset of the current asset.
+ * @type array.google.protobuf.Timestamp update_time = 11;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * The last update timestamp of an asset. update_time is updated when
+ * create/update/delete operation is performed.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 11;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * A representation of the resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Resource resource = 3;
+ * @return \Google\Cloud\Asset\V1\Resource|null
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function hasResource()
+ {
+ return isset($this->resource);
+ }
+
+ public function clearResource()
+ {
+ unset($this->resource);
+ }
+
+ /**
+ * A representation of the resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Resource resource = 3;
+ * @param \Google\Cloud\Asset\V1\Resource $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\Resource::class);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * A representation of the IAM policy set on a Google Cloud resource.
+ * There can be a maximum of one IAM policy set on any given resource.
+ * In addition, IAM policies inherit their granted access scope from any
+ * policies set on parent resources in the resource hierarchy. Therefore, the
+ * effectively policy is the union of both the policy set on this resource
+ * and each policy set on all of the resource's ancestry resource levels in
+ * the hierarchy. See
+ * [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
+ * for more information.
+ *
+ * Generated from protobuf field .google.iam.v1.Policy iam_policy = 4;
+ * @return \Google\Cloud\Iam\V1\Policy|null
+ */
+ public function getIamPolicy()
+ {
+ return $this->iam_policy;
+ }
+
+ public function hasIamPolicy()
+ {
+ return isset($this->iam_policy);
+ }
+
+ public function clearIamPolicy()
+ {
+ unset($this->iam_policy);
+ }
+
+ /**
+ * A representation of the IAM policy set on a Google Cloud resource.
+ * There can be a maximum of one IAM policy set on any given resource.
+ * In addition, IAM policies inherit their granted access scope from any
+ * policies set on parent resources in the resource hierarchy. Therefore, the
+ * effectively policy is the union of both the policy set on this resource
+ * and each policy set on all of the resource's ancestry resource levels in
+ * the hierarchy. See
+ * [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance)
+ * for more information.
+ *
+ * Generated from protobuf field .google.iam.v1.Policy iam_policy = 4;
+ * @param \Google\Cloud\Iam\V1\Policy $var
+ * @return $this
+ */
+ public function setIamPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\Policy::class);
+ $this->iam_policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * A representation of an [organization
+ * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
+ * There can be more than one organization policy with different constraints
+ * set on a given resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getOrgPolicy()
+ {
+ return $this->org_policy;
+ }
+
+ /**
+ * A representation of an [organization
+ * policy](https://cloud.google.com/resource-manager/docs/organization-policy/overview#organization_policy).
+ * There can be more than one organization policy with different constraints
+ * set on a given resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.orgpolicy.v1.Policy org_policy = 6;
+ * @param array<\Google\Cloud\OrgPolicy\V1\Policy>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setOrgPolicy($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\OrgPolicy\V1\Policy::class);
+ $this->org_policy = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ * Generated from protobuf field .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ * @return \Google\Identity\AccessContextManager\V1\AccessPolicy|null
+ */
+ public function getAccessPolicy()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasAccessPolicy()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Also refer to the [access policy user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
+ *
+ * Generated from protobuf field .google.identity.accesscontextmanager.v1.AccessPolicy access_policy = 7;
+ * @param \Google\Identity\AccessContextManager\V1\AccessPolicy $var
+ * @return $this
+ */
+ public function setAccessPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\AccessPolicy::class);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * Also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ * Generated from protobuf field .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ * @return \Google\Identity\AccessContextManager\V1\AccessLevel|null
+ */
+ public function getAccessLevel()
+ {
+ return $this->readOneof(8);
+ }
+
+ public function hasAccessLevel()
+ {
+ return $this->hasOneof(8);
+ }
+
+ /**
+ * Also refer to the [access level user
+ * guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
+ *
+ * Generated from protobuf field .google.identity.accesscontextmanager.v1.AccessLevel access_level = 8;
+ * @param \Google\Identity\AccessContextManager\V1\AccessLevel $var
+ * @return $this
+ */
+ public function setAccessLevel($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\AccessLevel::class);
+ $this->writeOneof(8, $var);
+
+ return $this;
+ }
+
+ /**
+ * Also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ * Generated from protobuf field .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+ * @return \Google\Identity\AccessContextManager\V1\ServicePerimeter|null
+ */
+ public function getServicePerimeter()
+ {
+ return $this->readOneof(9);
+ }
+
+ public function hasServicePerimeter()
+ {
+ return $this->hasOneof(9);
+ }
+
+ /**
+ * Also refer to the [service perimeter user
+ * guide](https://cloud.google.com/vpc-service-controls/docs/overview).
+ *
+ * Generated from protobuf field .google.identity.accesscontextmanager.v1.ServicePerimeter service_perimeter = 9;
+ * @param \Google\Identity\AccessContextManager\V1\ServicePerimeter $var
+ * @return $this
+ */
+ public function setServicePerimeter($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeter::class);
+ $this->writeOneof(9, $var);
+
+ return $this;
+ }
+
+ /**
+ * A representation of runtime OS Inventory information. See [this
+ * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
+ * for more information.
+ *
+ * Generated from protobuf field .google.cloud.osconfig.v1.Inventory os_inventory = 12;
+ * @return \Google\Cloud\OsConfig\V1\Inventory|null
+ */
+ public function getOsInventory()
+ {
+ return $this->os_inventory;
+ }
+
+ public function hasOsInventory()
+ {
+ return isset($this->os_inventory);
+ }
+
+ public function clearOsInventory()
+ {
+ unset($this->os_inventory);
+ }
+
+ /**
+ * A representation of runtime OS Inventory information. See [this
+ * topic](https://cloud.google.com/compute/docs/instances/os-inventory-management)
+ * for more information.
+ *
+ * Generated from protobuf field .google.cloud.osconfig.v1.Inventory os_inventory = 12;
+ * @param \Google\Cloud\OsConfig\V1\Inventory $var
+ * @return $this
+ */
+ public function setOsInventory($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\OsConfig\V1\Inventory::class);
+ $this->os_inventory = $var;
+
+ return $this;
+ }
+
+ /**
+ * DEPRECATED. This field only presents for the purpose of
+ * backward-compatibility. The server will never generate responses with this
+ * field.
+ * The related assets of the asset of one relationship type. One asset
+ * only represents one type of relationship.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
+ * @return \Google\Cloud\Asset\V1\RelatedAssets|null
+ * @deprecated
+ */
+ public function getRelatedAssets()
+ {
+ @trigger_error('related_assets is deprecated.', E_USER_DEPRECATED);
+ return $this->related_assets;
+ }
+
+ public function hasRelatedAssets()
+ {
+ @trigger_error('related_assets is deprecated.', E_USER_DEPRECATED);
+ return isset($this->related_assets);
+ }
+
+ public function clearRelatedAssets()
+ {
+ @trigger_error('related_assets is deprecated.', E_USER_DEPRECATED);
+ unset($this->related_assets);
+ }
+
+ /**
+ * DEPRECATED. This field only presents for the purpose of
+ * backward-compatibility. The server will never generate responses with this
+ * field.
+ * The related assets of the asset of one relationship type. One asset
+ * only represents one type of relationship.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelatedAssets related_assets = 13 [deprecated = true];
+ * @param \Google\Cloud\Asset\V1\RelatedAssets $var
+ * @return $this
+ * @deprecated
+ */
+ public function setRelatedAssets($var)
+ {
+ @trigger_error('related_assets is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\RelatedAssets::class);
+ $this->related_assets = $var;
+
+ return $this;
+ }
+
+ /**
+ * One related asset of the current asset.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelatedAsset related_asset = 15;
+ * @return \Google\Cloud\Asset\V1\RelatedAsset|null
+ */
+ public function getRelatedAsset()
+ {
+ return $this->related_asset;
+ }
+
+ public function hasRelatedAsset()
+ {
+ return isset($this->related_asset);
+ }
+
+ public function clearRelatedAsset()
+ {
+ unset($this->related_asset);
+ }
+
+ /**
+ * One related asset of the current asset.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelatedAsset related_asset = 15;
+ * @param \Google\Cloud\Asset\V1\RelatedAsset $var
+ * @return $this
+ */
+ public function setRelatedAsset($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\RelatedAsset::class);
+ $this->related_asset = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ancestry path of an asset in Google Cloud [resource
+ * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
+ * represented as a list of relative resource names. An ancestry path starts
+ * with the closest ancestor in the hierarchy and ends at root. If the asset
+ * is a project, folder, or organization, the ancestry path starts from the
+ * asset itself.
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ *
+ * Generated from protobuf field repeated string ancestors = 10;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAncestors()
+ {
+ return $this->ancestors;
+ }
+
+ /**
+ * The ancestry path of an asset in Google Cloud [resource
+ * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
+ * represented as a list of relative resource names. An ancestry path starts
+ * with the closest ancestor in the hierarchy and ends at root. If the asset
+ * is a project, folder, or organization, the ancestry path starts from the
+ * asset itself.
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ *
+ * Generated from protobuf field repeated string ancestors = 10;
+ * @param arraystring asset_type = 1;
+ */
+ protected $asset_type = '';
+ /**
+ * Versioned resource representations of this attached resource. This is
+ * repeated because there could be multiple versions of the attached resource
+ * representations during version migration.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
+ */
+ private $versioned_resources;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $asset_type
+ * The type of this attached resource.
+ * Example: `osconfig.googleapis.com/Inventory`
+ * You can find the supported attached asset types of each resource in this
+ * table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ * @type array<\Google\Cloud\Asset\V1\VersionedResource>|\Google\Protobuf\Internal\RepeatedField $versioned_resources
+ * Versioned resource representations of this attached resource. This is
+ * repeated because there could be multiple versions of the attached resource
+ * representations during version migration.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The type of this attached resource.
+ * Example: `osconfig.googleapis.com/Inventory`
+ * You can find the supported attached asset types of each resource in this
+ * table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ *
+ * Generated from protobuf field string asset_type = 1;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The type of this attached resource.
+ * Example: `osconfig.googleapis.com/Inventory`
+ * You can find the supported attached asset types of each resource in this
+ * table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ *
+ * Generated from protobuf field string asset_type = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Versioned resource representations of this attached resource. This is
+ * repeated because there could be multiple versions of the attached resource
+ * representations during version migration.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVersionedResources()
+ {
+ return $this->versioned_resources;
+ }
+
+ /**
+ * Versioned resource representations of this attached resource. This is
+ * repeated because there could be multiple versions of the attached resource
+ * representations during version migration.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 3;
+ * @param array<\Google\Cloud\Asset\V1\VersionedResource>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVersionedResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\VersionedResource::class);
+ $this->versioned_resources = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetAssetsHistoryRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetAssetsHistoryRequest.php
new file mode 100644
index 000000000000..1ef54c7719ae
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetAssetsHistoryRequest.php
@@ -0,0 +1,321 @@
+google.cloud.asset.v1.BatchGetAssetsHistoryRequest
+ */
+class BatchGetAssetsHistoryRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The relative name of the root asset. It can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id")", or a project number (such as "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * The request becomes a no-op if the asset name list is empty, and the max
+ * size of the asset name list is 100 in one request.
+ *
+ * Generated from protobuf field repeated string asset_names = 2;
+ */
+ private $asset_names;
+ /**
+ * Optional. The content type.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $content_type = 0;
+ /**
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after the current time minus
+ * 35 days. If end_time is not set, it is default to current timestamp.
+ * If start_time is not set, the snapshot of the assets at end_time will be
+ * returned. The returned results contain all temporal assets whose time
+ * window overlap with read_time_window.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $read_time_window = null;
+ /**
+ * Optional. A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it outputs specified relationships' history on the [asset_names]. It
+ * returns an error if any of the [relationship_types] doesn't belong to the
+ * supported relationship types of the [asset_names] or if any of the
+ * [asset_names]'s types doesn't belong to the source types of the
+ * [relationship_types].
+ * * Otherwise:
+ * it outputs the supported relationships' history on the [asset_names] or
+ * returns an error if any of the [asset_names]'s types has no relationship
+ * support.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
+ * supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $relationship_types;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The relative name of the root asset. It can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id")", or a project number (such as "projects/12345").
+ * @type arraystring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The relative name of the root asset. It can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id")", or a project number (such as "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * The request becomes a no-op if the asset name list is empty, and the max
+ * size of the asset name list is 100 in one request.
+ *
+ * Generated from protobuf field repeated string asset_names = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetNames()
+ {
+ return $this->asset_names;
+ }
+
+ /**
+ * A list of the full names of the assets.
+ * See: https://cloud.google.com/asset-inventory/docs/resource-name-format
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * The request becomes a no-op if the asset name list is empty, and the max
+ * size of the asset name list is 100 in one request.
+ *
+ * Generated from protobuf field repeated string asset_names = 2;
+ * @param array.google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getContentType()
+ {
+ return $this->content_type;
+ }
+
+ /**
+ * Optional. The content type.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setContentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\ContentType::class);
+ $this->content_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after the current time minus
+ * 35 days. If end_time is not set, it is default to current timestamp.
+ * If start_time is not set, the snapshot of the assets at end_time will be
+ * returned. The returned results contain all temporal assets whose time
+ * window overlap with read_time_window.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\TimeWindow|null
+ */
+ public function getReadTimeWindow()
+ {
+ return $this->read_time_window;
+ }
+
+ public function hasReadTimeWindow()
+ {
+ return isset($this->read_time_window);
+ }
+
+ public function clearReadTimeWindow()
+ {
+ unset($this->read_time_window);
+ }
+
+ /**
+ * Optional. The time window for the asset history. Both start_time and
+ * end_time are optional and if set, it must be after the current time minus
+ * 35 days. If end_time is not set, it is default to current timestamp.
+ * If start_time is not set, the snapshot of the assets at end_time will be
+ * returned. The returned results contain all temporal assets whose time
+ * window overlap with read_time_window.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow read_time_window = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\TimeWindow $var
+ * @return $this
+ */
+ public function setReadTimeWindow($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\TimeWindow::class);
+ $this->read_time_window = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it outputs specified relationships' history on the [asset_names]. It
+ * returns an error if any of the [relationship_types] doesn't belong to the
+ * supported relationship types of the [asset_names] or if any of the
+ * [asset_names]'s types doesn't belong to the source types of the
+ * [relationship_types].
+ * * Otherwise:
+ * it outputs the supported relationships' history on the [asset_names] or
+ * returns an error if any of the [asset_names]'s types has no relationship
+ * support.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
+ * supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRelationshipTypes()
+ {
+ return $this->relationship_types;
+ }
+
+ /**
+ * Optional. A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it outputs specified relationships' history on the [asset_names]. It
+ * returns an error if any of the [relationship_types] doesn't belong to the
+ * supported relationship types of the [asset_names] or if any of the
+ * [asset_names]'s types doesn't belong to the source types of the
+ * [relationship_types].
+ * * Otherwise:
+ * it outputs the supported relationships' history on the [asset_names] or
+ * returns an error if any of the [asset_names]'s types has no relationship
+ * support.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
+ * supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayrepeated .google.cloud.asset.v1.TemporalAsset assets = 1;
+ */
+ private $assets;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\TemporalAsset>|\Google\Protobuf\Internal\RepeatedField $assets
+ * A list of assets with valid time windows.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of assets with valid time windows.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ /**
+ * A list of assets with valid time windows.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TemporalAsset assets = 1;
+ * @param array<\Google\Cloud\Asset\V1\TemporalAsset>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAssets($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\TemporalAsset::class);
+ $this->assets = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesRequest.php
new file mode 100644
index 000000000000..94c69e1ffe68
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesRequest.php
@@ -0,0 +1,146 @@
+google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest
+ */
+class BatchGetEffectiveIamPoliciesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Only IAM policies on or below the scope will be returned.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $scope = '';
+ /**
+ * Required. The names refer to the [full_resource_names]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ * A maximum of 20 resources' effective policies can be retrieved in a batch.
+ *
+ * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $names;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. Only IAM policies on or below the scope will be returned.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ * @type arraystring scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. Only IAM policies on or below the scope will be returned.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The names refer to the [full_resource_names]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ * A maximum of 20 resources' effective policies can be retrieved in a batch.
+ *
+ * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNames()
+ {
+ return $this->names;
+ }
+
+ /**
+ * Required. The names refer to the [full_resource_names]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ * A maximum of 20 resources' effective policies can be retrieved in a batch.
+ *
+ * Generated from protobuf field repeated string names = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param arrayrepeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+ */
+ private $policy_results;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy>|\Google\Protobuf\Internal\RepeatedField $policy_results
+ * The effective policies for a batch of resources. Note that the results
+ * order is the same as the order of
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names].
+ * When a resource does not have any effective IAM policies, its corresponding
+ * policy_result will contain empty
+ * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The effective policies for a batch of resources. Note that the results
+ * order is the same as the order of
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names].
+ * When a resource does not have any effective IAM policies, its corresponding
+ * policy_result will contain empty
+ * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPolicyResults()
+ {
+ return $this->policy_results;
+ }
+
+ /**
+ * The effective policies for a batch of resources. Note that the results
+ * order is the same as the order of
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names].
+ * When a resource does not have any effective IAM policies, its corresponding
+ * policy_result will contain empty
+ * [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
+ * @param array<\Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPolicyResults($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy::class);
+ $this->policy_results = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesResponse/EffectiveIamPolicy.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesResponse/EffectiveIamPolicy.php
new file mode 100644
index 000000000000..770fb8c4db09
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesResponse/EffectiveIamPolicy.php
@@ -0,0 +1,196 @@
+google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
+ */
+class EffectiveIamPolicy extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full_resource_name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for which the
+ * [policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies]
+ * are computed. This is one of the
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]
+ * the caller provides in the request.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ */
+ protected $full_resource_name = '';
+ /**
+ * The effective policies for the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies include the policy set on the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * and those set on its parents and ancestors up to the
+ * [BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope].
+ * Note that these policies are not filtered according to the resource type
+ * of the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies are hierarchically ordered by
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * starting from
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * itself to its parents and ancestors, such that policies[i]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * is the child of policies[i+1]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource],
+ * if policies[i+1] exists.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+ */
+ private $policies;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $full_resource_name
+ * The [full_resource_name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for which the
+ * [policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies]
+ * are computed. This is one of the
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]
+ * the caller provides in the request.
+ * @type array<\Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy\PolicyInfo>|\Google\Protobuf\Internal\RepeatedField $policies
+ * The effective policies for the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies include the policy set on the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * and those set on its parents and ancestors up to the
+ * [BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope].
+ * Note that these policies are not filtered according to the resource type
+ * of the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies are hierarchically ordered by
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * starting from
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * itself to its parents and ancestors, such that policies[i]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * is the child of policies[i+1]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource],
+ * if policies[i+1] exists.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The [full_resource_name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for which the
+ * [policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies]
+ * are computed. This is one of the
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]
+ * the caller provides in the request.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ * @return string
+ */
+ public function getFullResourceName()
+ {
+ return $this->full_resource_name;
+ }
+
+ /**
+ * The [full_resource_name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for which the
+ * [policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies]
+ * are computed. This is one of the
+ * [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]
+ * the caller provides in the request.
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->full_resource_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The effective policies for the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies include the policy set on the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * and those set on its parents and ancestors up to the
+ * [BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope].
+ * Note that these policies are not filtered according to the resource type
+ * of the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies are hierarchically ordered by
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * starting from
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * itself to its parents and ancestors, such that policies[i]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * is the child of policies[i+1]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource],
+ * if policies[i+1] exists.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPolicies()
+ {
+ return $this->policies;
+ }
+
+ /**
+ * The effective policies for the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies include the policy set on the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * and those set on its parents and ancestors up to the
+ * [BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope].
+ * Note that these policies are not filtered according to the resource type
+ * of the
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name].
+ * These policies are hierarchically ordered by
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * starting from
+ * [full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name]
+ * itself to its parents and ancestors, such that policies[i]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource]
+ * is the child of policies[i+1]'s
+ * [PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource],
+ * if policies[i+1] exists.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;
+ * @param array<\Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy\PolicyInfo>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPolicies($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse\EffectiveIamPolicy\PolicyInfo::class);
+ $this->policies = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(EffectiveIamPolicy::class, \Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesResponse/EffectiveIamPolicy/PolicyInfo.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesResponse/EffectiveIamPolicy/PolicyInfo.php
new file mode 100644
index 000000000000..90f2ab49efed
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BatchGetEffectiveIamPoliciesResponse/EffectiveIamPolicy/PolicyInfo.php
@@ -0,0 +1,126 @@
+google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
+ */
+class PolicyInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The full resource name the
+ * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
+ * is directly attached to.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ */
+ protected $attached_resource = '';
+ /**
+ * The IAM policy that's directly attached to the
+ * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 2;
+ */
+ protected $policy = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $attached_resource
+ * The full resource name the
+ * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
+ * is directly attached to.
+ * @type \Google\Cloud\Iam\V1\Policy $policy
+ * The IAM policy that's directly attached to the
+ * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The full resource name the
+ * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
+ * is directly attached to.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ * @return string
+ */
+ public function getAttachedResource()
+ {
+ return $this->attached_resource;
+ }
+
+ /**
+ * The full resource name the
+ * [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
+ * is directly attached to.
+ *
+ * Generated from protobuf field string attached_resource = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAttachedResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->attached_resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * The IAM policy that's directly attached to the
+ * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 2;
+ * @return \Google\Cloud\Iam\V1\Policy|null
+ */
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+
+ public function hasPolicy()
+ {
+ return isset($this->policy);
+ }
+
+ public function clearPolicy()
+ {
+ unset($this->policy);
+ }
+
+ /**
+ * The IAM policy that's directly attached to the
+ * [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 2;
+ * @param \Google\Cloud\Iam\V1\Policy $var
+ * @return $this
+ */
+ public function setPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\Policy::class);
+ $this->policy = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(PolicyInfo::class, \Google\Cloud\Asset\V1\BatchGetEffectiveIamPoliciesResponse_EffectiveIamPolicy_PolicyInfo::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BigQueryDestination.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BigQueryDestination.php
new file mode 100644
index 000000000000..b8c9f6d1a76c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/BigQueryDestination.php
@@ -0,0 +1,409 @@
+google.cloud.asset.v1.BigQueryDestination
+ */
+class BigQueryDestination extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the snapshot result
+ * should be exported. If this dataset does not exist, the export call returns
+ * an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets`
+ * determines the
+ * [schema](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema)
+ * of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also
+ * influences the schema.
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $dataset = '';
+ /**
+ * Required. The BigQuery table to which the snapshot result should be
+ * written. If this table does not exist, a new table with the given name
+ * will be created.
+ *
+ * Generated from protobuf field string table = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $table = '';
+ /**
+ * If the destination table already exists and this flag is `TRUE`, the
+ * table will be overwritten by the contents of assets snapshot. If the flag
+ * is `FALSE` or unset and the destination table already exists, the export
+ * call returns an INVALID_ARGUMEMT error.
+ *
+ * Generated from protobuf field bool force = 3;
+ */
+ protected $force = false;
+ /**
+ * [partition_spec] determines whether to export to partitioned table(s) and
+ * how to partition the data.
+ * If [partition_spec] is unset or [partition_spec.partition_key] is unset or
+ * `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
+ * non-partitioned table(s). [force] will decide whether to overwrite existing
+ * table(s).
+ * If [partition_spec] is specified. First, the snapshot results will be
+ * written to partitioned table(s) with two additional timestamp columns,
+ * readTime and requestTime, one of which will be the partition key. Secondly,
+ * in the case when any destination table already exists, it will first try to
+ * update existing table's schema as necessary by appending additional
+ * columns. Then, if [force] is `TRUE`, the corresponding partition will be
+ * overwritten by the snapshot results (data in different partitions will
+ * remain intact); if [force] is unset or `FALSE`, it will append the data. An
+ * error will be returned if the schema update or data appension fails.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
+ */
+ protected $partition_spec = null;
+ /**
+ * If this flag is `TRUE`, the snapshot results will be written to one or
+ * multiple tables, each of which contains results of one asset type. The
+ * [force] and [partition_spec] fields will apply to each of them.
+ * Field [table] will be concatenated with "_" and the asset type names (see
+ * https://cloud.google.com/asset-inventory/docs/supported-asset-types for
+ * supported asset types) to construct per-asset-type table names, in which
+ * all non-alphanumeric characters like "." and "/" will be substituted by
+ * "_". Example: if field [table] is "mytable" and snapshot results
+ * contain "storage.googleapis.com/Bucket" assets, the corresponding table
+ * name will be "mytable_storage_googleapis_com_Bucket". If any of these
+ * tables does not exist, a new table with the concatenated name will be
+ * created.
+ * When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of
+ * each table will include RECORD-type columns mapped to the nested fields in
+ * the Asset.resource.data field of that asset type (up to the 15 nested level
+ * BigQuery supports
+ * (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The
+ * fields in >15 nested levels will be stored in JSON format string as a child
+ * column of its parent RECORD column.
+ * If error occurs when exporting to any table, the whole export call will
+ * return an error but the export results that already succeed will persist.
+ * Example: if exporting to table_type_A succeeds when exporting to
+ * table_type_B fails during one export call, the results in table_type_A will
+ * persist and there will not be partial results persisting in a table.
+ *
+ * Generated from protobuf field bool separate_tables_per_asset_type = 5;
+ */
+ protected $separate_tables_per_asset_type = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $dataset
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the snapshot result
+ * should be exported. If this dataset does not exist, the export call returns
+ * an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets`
+ * determines the
+ * [schema](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema)
+ * of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also
+ * influences the schema.
+ * @type string $table
+ * Required. The BigQuery table to which the snapshot result should be
+ * written. If this table does not exist, a new table with the given name
+ * will be created.
+ * @type bool $force
+ * If the destination table already exists and this flag is `TRUE`, the
+ * table will be overwritten by the contents of assets snapshot. If the flag
+ * is `FALSE` or unset and the destination table already exists, the export
+ * call returns an INVALID_ARGUMEMT error.
+ * @type \Google\Cloud\Asset\V1\PartitionSpec $partition_spec
+ * [partition_spec] determines whether to export to partitioned table(s) and
+ * how to partition the data.
+ * If [partition_spec] is unset or [partition_spec.partition_key] is unset or
+ * `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
+ * non-partitioned table(s). [force] will decide whether to overwrite existing
+ * table(s).
+ * If [partition_spec] is specified. First, the snapshot results will be
+ * written to partitioned table(s) with two additional timestamp columns,
+ * readTime and requestTime, one of which will be the partition key. Secondly,
+ * in the case when any destination table already exists, it will first try to
+ * update existing table's schema as necessary by appending additional
+ * columns. Then, if [force] is `TRUE`, the corresponding partition will be
+ * overwritten by the snapshot results (data in different partitions will
+ * remain intact); if [force] is unset or `FALSE`, it will append the data. An
+ * error will be returned if the schema update or data appension fails.
+ * @type bool $separate_tables_per_asset_type
+ * If this flag is `TRUE`, the snapshot results will be written to one or
+ * multiple tables, each of which contains results of one asset type. The
+ * [force] and [partition_spec] fields will apply to each of them.
+ * Field [table] will be concatenated with "_" and the asset type names (see
+ * https://cloud.google.com/asset-inventory/docs/supported-asset-types for
+ * supported asset types) to construct per-asset-type table names, in which
+ * all non-alphanumeric characters like "." and "/" will be substituted by
+ * "_". Example: if field [table] is "mytable" and snapshot results
+ * contain "storage.googleapis.com/Bucket" assets, the corresponding table
+ * name will be "mytable_storage_googleapis_com_Bucket". If any of these
+ * tables does not exist, a new table with the concatenated name will be
+ * created.
+ * When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of
+ * each table will include RECORD-type columns mapped to the nested fields in
+ * the Asset.resource.data field of that asset type (up to the 15 nested level
+ * BigQuery supports
+ * (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The
+ * fields in >15 nested levels will be stored in JSON format string as a child
+ * column of its parent RECORD column.
+ * If error occurs when exporting to any table, the whole export call will
+ * return an error but the export results that already succeed will persist.
+ * Example: if exporting to table_type_A succeeds when exporting to
+ * table_type_B fails during one export call, the results in table_type_A will
+ * persist and there will not be partial results persisting in a table.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the snapshot result
+ * should be exported. If this dataset does not exist, the export call returns
+ * an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets`
+ * determines the
+ * [schema](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema)
+ * of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also
+ * influences the schema.
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+
+ /**
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the snapshot result
+ * should be exported. If this dataset does not exist, the export call returns
+ * an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets`
+ * determines the
+ * [schema](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema)
+ * of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also
+ * influences the schema.
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDataset($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->dataset = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The BigQuery table to which the snapshot result should be
+ * written. If this table does not exist, a new table with the given name
+ * will be created.
+ *
+ * Generated from protobuf field string table = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getTable()
+ {
+ return $this->table;
+ }
+
+ /**
+ * Required. The BigQuery table to which the snapshot result should be
+ * written. If this table does not exist, a new table with the given name
+ * will be created.
+ *
+ * Generated from protobuf field string table = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setTable($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->table = $var;
+
+ return $this;
+ }
+
+ /**
+ * If the destination table already exists and this flag is `TRUE`, the
+ * table will be overwritten by the contents of assets snapshot. If the flag
+ * is `FALSE` or unset and the destination table already exists, the export
+ * call returns an INVALID_ARGUMEMT error.
+ *
+ * Generated from protobuf field bool force = 3;
+ * @return bool
+ */
+ public function getForce()
+ {
+ return $this->force;
+ }
+
+ /**
+ * If the destination table already exists and this flag is `TRUE`, the
+ * table will be overwritten by the contents of assets snapshot. If the flag
+ * is `FALSE` or unset and the destination table already exists, the export
+ * call returns an INVALID_ARGUMEMT error.
+ *
+ * Generated from protobuf field bool force = 3;
+ * @param bool $var
+ * @return $this
+ */
+ public function setForce($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->force = $var;
+
+ return $this;
+ }
+
+ /**
+ * [partition_spec] determines whether to export to partitioned table(s) and
+ * how to partition the data.
+ * If [partition_spec] is unset or [partition_spec.partition_key] is unset or
+ * `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
+ * non-partitioned table(s). [force] will decide whether to overwrite existing
+ * table(s).
+ * If [partition_spec] is specified. First, the snapshot results will be
+ * written to partitioned table(s) with two additional timestamp columns,
+ * readTime and requestTime, one of which will be the partition key. Secondly,
+ * in the case when any destination table already exists, it will first try to
+ * update existing table's schema as necessary by appending additional
+ * columns. Then, if [force] is `TRUE`, the corresponding partition will be
+ * overwritten by the snapshot results (data in different partitions will
+ * remain intact); if [force] is unset or `FALSE`, it will append the data. An
+ * error will be returned if the schema update or data appension fails.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
+ * @return \Google\Cloud\Asset\V1\PartitionSpec|null
+ */
+ public function getPartitionSpec()
+ {
+ return $this->partition_spec;
+ }
+
+ public function hasPartitionSpec()
+ {
+ return isset($this->partition_spec);
+ }
+
+ public function clearPartitionSpec()
+ {
+ unset($this->partition_spec);
+ }
+
+ /**
+ * [partition_spec] determines whether to export to partitioned table(s) and
+ * how to partition the data.
+ * If [partition_spec] is unset or [partition_spec.partition_key] is unset or
+ * `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to
+ * non-partitioned table(s). [force] will decide whether to overwrite existing
+ * table(s).
+ * If [partition_spec] is specified. First, the snapshot results will be
+ * written to partitioned table(s) with two additional timestamp columns,
+ * readTime and requestTime, one of which will be the partition key. Secondly,
+ * in the case when any destination table already exists, it will first try to
+ * update existing table's schema as necessary by appending additional
+ * columns. Then, if [force] is `TRUE`, the corresponding partition will be
+ * overwritten by the snapshot results (data in different partitions will
+ * remain intact); if [force] is unset or `FALSE`, it will append the data. An
+ * error will be returned if the schema update or data appension fails.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PartitionSpec partition_spec = 4;
+ * @param \Google\Cloud\Asset\V1\PartitionSpec $var
+ * @return $this
+ */
+ public function setPartitionSpec($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\PartitionSpec::class);
+ $this->partition_spec = $var;
+
+ return $this;
+ }
+
+ /**
+ * If this flag is `TRUE`, the snapshot results will be written to one or
+ * multiple tables, each of which contains results of one asset type. The
+ * [force] and [partition_spec] fields will apply to each of them.
+ * Field [table] will be concatenated with "_" and the asset type names (see
+ * https://cloud.google.com/asset-inventory/docs/supported-asset-types for
+ * supported asset types) to construct per-asset-type table names, in which
+ * all non-alphanumeric characters like "." and "/" will be substituted by
+ * "_". Example: if field [table] is "mytable" and snapshot results
+ * contain "storage.googleapis.com/Bucket" assets, the corresponding table
+ * name will be "mytable_storage_googleapis_com_Bucket". If any of these
+ * tables does not exist, a new table with the concatenated name will be
+ * created.
+ * When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of
+ * each table will include RECORD-type columns mapped to the nested fields in
+ * the Asset.resource.data field of that asset type (up to the 15 nested level
+ * BigQuery supports
+ * (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The
+ * fields in >15 nested levels will be stored in JSON format string as a child
+ * column of its parent RECORD column.
+ * If error occurs when exporting to any table, the whole export call will
+ * return an error but the export results that already succeed will persist.
+ * Example: if exporting to table_type_A succeeds when exporting to
+ * table_type_B fails during one export call, the results in table_type_A will
+ * persist and there will not be partial results persisting in a table.
+ *
+ * Generated from protobuf field bool separate_tables_per_asset_type = 5;
+ * @return bool
+ */
+ public function getSeparateTablesPerAssetType()
+ {
+ return $this->separate_tables_per_asset_type;
+ }
+
+ /**
+ * If this flag is `TRUE`, the snapshot results will be written to one or
+ * multiple tables, each of which contains results of one asset type. The
+ * [force] and [partition_spec] fields will apply to each of them.
+ * Field [table] will be concatenated with "_" and the asset type names (see
+ * https://cloud.google.com/asset-inventory/docs/supported-asset-types for
+ * supported asset types) to construct per-asset-type table names, in which
+ * all non-alphanumeric characters like "." and "/" will be substituted by
+ * "_". Example: if field [table] is "mytable" and snapshot results
+ * contain "storage.googleapis.com/Bucket" assets, the corresponding table
+ * name will be "mytable_storage_googleapis_com_Bucket". If any of these
+ * tables does not exist, a new table with the concatenated name will be
+ * created.
+ * When [content_type] in the ExportAssetsRequest is `RESOURCE`, the schema of
+ * each table will include RECORD-type columns mapped to the nested fields in
+ * the Asset.resource.data field of that asset type (up to the 15 nested level
+ * BigQuery supports
+ * (https://cloud.google.com/bigquery/docs/nested-repeated#limitations)). The
+ * fields in >15 nested levels will be stored in JSON format string as a child
+ * column of its parent RECORD column.
+ * If error occurs when exporting to any table, the whole export call will
+ * return an error but the export results that already succeed will persist.
+ * Example: if exporting to table_type_A succeeds when exporting to
+ * table_type_B fails during one export call, the results in table_type_A will
+ * persist and there will not be partial results persisting in a table.
+ *
+ * Generated from protobuf field bool separate_tables_per_asset_type = 5;
+ * @param bool $var
+ * @return $this
+ */
+ public function setSeparateTablesPerAssetType($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->separate_tables_per_asset_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ConditionEvaluation.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ConditionEvaluation.php
new file mode 100644
index 000000000000..9aad71afb156
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ConditionEvaluation.php
@@ -0,0 +1,67 @@
+google.cloud.asset.v1.ConditionEvaluation
+ */
+class ConditionEvaluation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The evaluation result.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1;
+ */
+ protected $evaluation_value = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $evaluation_value
+ * The evaluation result.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The evaluation result.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1;
+ * @return int
+ */
+ public function getEvaluationValue()
+ {
+ return $this->evaluation_value;
+ }
+
+ /**
+ * The evaluation result.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation.EvaluationValue evaluation_value = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setEvaluationValue($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\ConditionEvaluation\EvaluationValue::class);
+ $this->evaluation_value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ConditionEvaluation/EvaluationValue.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ConditionEvaluation/EvaluationValue.php
new file mode 100644
index 000000000000..87c7b1254131
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ConditionEvaluation/EvaluationValue.php
@@ -0,0 +1,73 @@
+google.cloud.asset.v1.ConditionEvaluation.EvaluationValue
+ */
+class EvaluationValue
+{
+ /**
+ * Reserved for future use.
+ *
+ * Generated from protobuf enum EVALUATION_VALUE_UNSPECIFIED = 0;
+ */
+ const EVALUATION_VALUE_UNSPECIFIED = 0;
+ /**
+ * The evaluation result is `true`.
+ *
+ * Generated from protobuf enum TRUE = 1;
+ */
+ const TRUE = 1;
+ /**
+ * The evaluation result is `false`.
+ *
+ * Generated from protobuf enum FALSE = 2;
+ */
+ const FALSE = 2;
+ /**
+ * The evaluation result is `conditional` when the condition expression
+ * contains variables that are either missing input values or have not been
+ * supported by Policy Analyzer yet.
+ *
+ * Generated from protobuf enum CONDITIONAL = 3;
+ */
+ const CONDITIONAL = 3;
+
+ private static $valueToName = [
+ self::EVALUATION_VALUE_UNSPECIFIED => 'EVALUATION_VALUE_UNSPECIFIED',
+ self::TRUE => 'TRUE',
+ self::FALSE => 'FALSE',
+ self::CONDITIONAL => 'CONDITIONAL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(EvaluationValue::class, \Google\Cloud\Asset\V1\ConditionEvaluation_EvaluationValue::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ContentType.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ContentType.php
new file mode 100644
index 000000000000..256ad4bd28e7
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ContentType.php
@@ -0,0 +1,89 @@
+google.cloud.asset.v1.ContentType
+ */
+class ContentType
+{
+ /**
+ * Unspecified content type.
+ *
+ * Generated from protobuf enum CONTENT_TYPE_UNSPECIFIED = 0;
+ */
+ const CONTENT_TYPE_UNSPECIFIED = 0;
+ /**
+ * Resource metadata.
+ *
+ * Generated from protobuf enum RESOURCE = 1;
+ */
+ const RESOURCE = 1;
+ /**
+ * The actual IAM policy set on a resource.
+ *
+ * Generated from protobuf enum IAM_POLICY = 2;
+ */
+ const IAM_POLICY = 2;
+ /**
+ * The organization policy set on an asset.
+ *
+ * Generated from protobuf enum ORG_POLICY = 4;
+ */
+ const ORG_POLICY = 4;
+ /**
+ * The Access Context Manager policy set on an asset.
+ *
+ * Generated from protobuf enum ACCESS_POLICY = 5;
+ */
+ const ACCESS_POLICY = 5;
+ /**
+ * The runtime OS Inventory information.
+ *
+ * Generated from protobuf enum OS_INVENTORY = 6;
+ */
+ const OS_INVENTORY = 6;
+ /**
+ * The related resources.
+ *
+ * Generated from protobuf enum RELATIONSHIP = 7;
+ */
+ const RELATIONSHIP = 7;
+
+ private static $valueToName = [
+ self::CONTENT_TYPE_UNSPECIFIED => 'CONTENT_TYPE_UNSPECIFIED',
+ self::RESOURCE => 'RESOURCE',
+ self::IAM_POLICY => 'IAM_POLICY',
+ self::ORG_POLICY => 'ORG_POLICY',
+ self::ACCESS_POLICY => 'ACCESS_POLICY',
+ self::OS_INVENTORY => 'OS_INVENTORY',
+ self::RELATIONSHIP => 'RELATIONSHIP',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/CreateFeedRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/CreateFeedRequest.php
new file mode 100644
index 000000000000..b5c6bb66cc52
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/CreateFeedRequest.php
@@ -0,0 +1,194 @@
+google.cloud.asset.v1.CreateFeedRequest
+ */
+class CreateFeedRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the project/folder/organization where this feed
+ * should be created in. It can only be an organization number (such as
+ * "organizations/123"), a folder number (such as "folders/123"), a project ID
+ * (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $parent = '';
+ /**
+ * Required. This is the client-assigned asset feed identifier and it needs to
+ * be unique under a specific parent project/folder/organization.
+ *
+ * Generated from protobuf field string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $feed_id = '';
+ /**
+ * Required. The feed details. The field `name` must be empty and it will be
+ * generated in the format of: projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $feed = null;
+
+ /**
+ * @param string $parent Required. The name of the project/folder/organization where this feed
+ * should be created in. It can only be an organization number (such as
+ * "organizations/123"), a folder number (such as "folders/123"), a project ID
+ * (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * @return \Google\Cloud\Asset\V1\CreateFeedRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The name of the project/folder/organization where this feed
+ * should be created in. It can only be an organization number (such as
+ * "organizations/123"), a folder number (such as "folders/123"), a project ID
+ * (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ * @type string $feed_id
+ * Required. This is the client-assigned asset feed identifier and it needs to
+ * be unique under a specific parent project/folder/organization.
+ * @type \Google\Cloud\Asset\V1\Feed $feed
+ * Required. The feed details. The field `name` must be empty and it will be
+ * generated in the format of: projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the project/folder/organization where this feed
+ * should be created in. It can only be an organization number (such as
+ * "organizations/123"), a folder number (such as "folders/123"), a project ID
+ * (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The name of the project/folder/organization where this feed
+ * should be created in. It can only be an organization number (such as
+ * "organizations/123"), a folder number (such as "folders/123"), a project ID
+ * (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. This is the client-assigned asset feed identifier and it needs to
+ * be unique under a specific parent project/folder/organization.
+ *
+ * Generated from protobuf field string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getFeedId()
+ {
+ return $this->feed_id;
+ }
+
+ /**
+ * Required. This is the client-assigned asset feed identifier and it needs to
+ * be unique under a specific parent project/folder/organization.
+ *
+ * Generated from protobuf field string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setFeedId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->feed_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The feed details. The field `name` must be empty and it will be
+ * generated in the format of: projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\Feed|null
+ */
+ public function getFeed()
+ {
+ return $this->feed;
+ }
+
+ public function hasFeed()
+ {
+ return isset($this->feed);
+ }
+
+ public function clearFeed()
+ {
+ unset($this->feed);
+ }
+
+ /**
+ * Required. The feed details. The field `name` must be empty and it will be
+ * generated in the format of: projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\Feed $var
+ * @return $this
+ */
+ public function setFeed($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\Feed::class);
+ $this->feed = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/CreateSavedQueryRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/CreateSavedQueryRequest.php
new file mode 100644
index 000000000000..147d9204985c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/CreateSavedQueryRequest.php
@@ -0,0 +1,220 @@
+google.cloud.asset.v1.CreateSavedQueryRequest
+ */
+class CreateSavedQueryRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the project/folder/organization where this
+ * saved_query should be created in. It can only be an organization number
+ * (such as "organizations/123"), a folder number (such as "folders/123"), a
+ * project ID (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The saved_query details. The `name` field must be empty as it
+ * will be generated based on the parent and saved_query_id.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $saved_query = null;
+ /**
+ * Required. The ID to use for the saved query, which must be unique in the
+ * specified parent. It will become the final component of the saved query's
+ * resource name.
+ * This value should be 4-63 characters, and valid characters
+ * are `[a-z][0-9]-`.
+ * Notice that this field is required in the saved query creation, and the
+ * `name` field of the `saved_query` will be ignored.
+ *
+ * Generated from protobuf field string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $saved_query_id = '';
+
+ /**
+ * @param string $parent Required. The name of the project/folder/organization where this
+ * saved_query should be created in. It can only be an organization number
+ * (such as "organizations/123"), a folder number (such as "folders/123"), a
+ * project ID (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345"). Please see
+ * {@see AssetServiceClient::projectName()} for help formatting this field.
+ * @param \Google\Cloud\Asset\V1\SavedQuery $savedQuery Required. The saved_query details. The `name` field must be empty as it
+ * will be generated based on the parent and saved_query_id.
+ * @param string $savedQueryId Required. The ID to use for the saved query, which must be unique in the
+ * specified parent. It will become the final component of the saved query's
+ * resource name.
+ *
+ * This value should be 4-63 characters, and valid characters
+ * are `[a-z][0-9]-`.
+ *
+ * Notice that this field is required in the saved query creation, and the
+ * `name` field of the `saved_query` will be ignored.
+ *
+ * @return \Google\Cloud\Asset\V1\CreateSavedQueryRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\Asset\V1\SavedQuery $savedQuery, string $savedQueryId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setSavedQuery($savedQuery)
+ ->setSavedQueryId($savedQueryId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The name of the project/folder/organization where this
+ * saved_query should be created in. It can only be an organization number
+ * (such as "organizations/123"), a folder number (such as "folders/123"), a
+ * project ID (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ * @type \Google\Cloud\Asset\V1\SavedQuery $saved_query
+ * Required. The saved_query details. The `name` field must be empty as it
+ * will be generated based on the parent and saved_query_id.
+ * @type string $saved_query_id
+ * Required. The ID to use for the saved query, which must be unique in the
+ * specified parent. It will become the final component of the saved query's
+ * resource name.
+ * This value should be 4-63 characters, and valid characters
+ * are `[a-z][0-9]-`.
+ * Notice that this field is required in the saved query creation, and the
+ * `name` field of the `saved_query` will be ignored.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the project/folder/organization where this
+ * saved_query should be created in. It can only be an organization number
+ * (such as "organizations/123"), a folder number (such as "folders/123"), a
+ * project ID (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The name of the project/folder/organization where this
+ * saved_query should be created in. It can only be an organization number
+ * (such as "organizations/123"), a folder number (such as "folders/123"), a
+ * project ID (such as "projects/my-project-id"), or a project number (such as
+ * "projects/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The saved_query details. The `name` field must be empty as it
+ * will be generated based on the parent and saved_query_id.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\SavedQuery|null
+ */
+ public function getSavedQuery()
+ {
+ return $this->saved_query;
+ }
+
+ public function hasSavedQuery()
+ {
+ return isset($this->saved_query);
+ }
+
+ public function clearSavedQuery()
+ {
+ unset($this->saved_query);
+ }
+
+ /**
+ * Required. The saved_query details. The `name` field must be empty as it
+ * will be generated based on the parent and saved_query_id.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\SavedQuery $var
+ * @return $this
+ */
+ public function setSavedQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\SavedQuery::class);
+ $this->saved_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The ID to use for the saved query, which must be unique in the
+ * specified parent. It will become the final component of the saved query's
+ * resource name.
+ * This value should be 4-63 characters, and valid characters
+ * are `[a-z][0-9]-`.
+ * Notice that this field is required in the saved query creation, and the
+ * `name` field of the `saved_query` will be ignored.
+ *
+ * Generated from protobuf field string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getSavedQueryId()
+ {
+ return $this->saved_query_id;
+ }
+
+ /**
+ * Required. The ID to use for the saved query, which must be unique in the
+ * specified parent. It will become the final component of the saved query's
+ * resource name.
+ * This value should be 4-63 characters, and valid characters
+ * are `[a-z][0-9]-`.
+ * Notice that this field is required in the saved query creation, and the
+ * `name` field of the `saved_query` will be ignored.
+ *
+ * Generated from protobuf field string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setSavedQueryId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->saved_query_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/DeleteFeedRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/DeleteFeedRequest.php
new file mode 100644
index 000000000000..b7fef8218e4e
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/DeleteFeedRequest.php
@@ -0,0 +1,94 @@
+google.cloud.asset.v1.DeleteFeedRequest
+ */
+class DeleteFeedRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The name of the feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ * Please see {@see AssetServiceClient::feedName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Asset\V1\DeleteFeedRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/DeleteSavedQueryRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/DeleteSavedQueryRequest.php
new file mode 100644
index 000000000000..1ed46db0d2ff
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/DeleteSavedQueryRequest.php
@@ -0,0 +1,102 @@
+google.cloud.asset.v1.DeleteSavedQueryRequest
+ */
+class DeleteSavedQueryRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the saved query to delete. It must be in the format
+ * of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The name of the saved query to delete. It must be in the format
+ * of:
+ *
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * Please see {@see AssetServiceClient::savedQueryName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Asset\V1\DeleteSavedQueryRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the saved query to delete. It must be in the format
+ * of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the saved query to delete. It must be in the format
+ * of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the saved query to delete. It must be in the format
+ * of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/EffectiveTagDetails.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/EffectiveTagDetails.php
new file mode 100644
index 000000000000..bff5d0b20285
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/EffectiveTagDetails.php
@@ -0,0 +1,155 @@
+google.cloud.asset.v1.EffectiveTagDetails
+ */
+class EffectiveTagDetails extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the ancestor from which an [effective_tag][] is inherited, according to
+ * [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ *
+ * Generated from protobuf field optional string attached_resource = 1;
+ */
+ protected $attached_resource = null;
+ /**
+ * The effective tags inherited from the
+ * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
+ * Note that tags with the same key but different values may attach to
+ * resources at a different hierarchy levels. The lower hierarchy tag value
+ * will overwrite the higher hierarchy tag value of the same tag key. In this
+ * case, the tag value at the higher hierarchy level will be removed. For more
+ * information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Tag effective_tags = 2;
+ */
+ private $effective_tags;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $attached_resource
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the ancestor from which an [effective_tag][] is inherited, according to
+ * [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ * @type array<\Google\Cloud\Asset\V1\Tag>|\Google\Protobuf\Internal\RepeatedField $effective_tags
+ * The effective tags inherited from the
+ * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
+ * Note that tags with the same key but different values may attach to
+ * resources at a different hierarchy levels. The lower hierarchy tag value
+ * will overwrite the higher hierarchy tag value of the same tag key. In this
+ * case, the tag value at the higher hierarchy level will be removed. For more
+ * information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the ancestor from which an [effective_tag][] is inherited, according to
+ * [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ *
+ * Generated from protobuf field optional string attached_resource = 1;
+ * @return string
+ */
+ public function getAttachedResource()
+ {
+ return isset($this->attached_resource) ? $this->attached_resource : '';
+ }
+
+ public function hasAttachedResource()
+ {
+ return isset($this->attached_resource);
+ }
+
+ public function clearAttachedResource()
+ {
+ unset($this->attached_resource);
+ }
+
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the ancestor from which an [effective_tag][] is inherited, according to
+ * [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ *
+ * Generated from protobuf field optional string attached_resource = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAttachedResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->attached_resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * The effective tags inherited from the
+ * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
+ * Note that tags with the same key but different values may attach to
+ * resources at a different hierarchy levels. The lower hierarchy tag value
+ * will overwrite the higher hierarchy tag value of the same tag key. In this
+ * case, the tag value at the higher hierarchy level will be removed. For more
+ * information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Tag effective_tags = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEffectiveTags()
+ {
+ return $this->effective_tags;
+ }
+
+ /**
+ * The effective tags inherited from the
+ * [attached_resource][google.cloud.asset.v1.EffectiveTagDetails.attached_resource].
+ * Note that tags with the same key but different values may attach to
+ * resources at a different hierarchy levels. The lower hierarchy tag value
+ * will overwrite the higher hierarchy tag value of the same tag key. In this
+ * case, the tag value at the higher hierarchy level will be removed. For more
+ * information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Tag effective_tags = 2;
+ * @param array<\Google\Cloud\Asset\V1\Tag>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEffectiveTags($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\Tag::class);
+ $this->effective_tags = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ExportAssetsRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ExportAssetsRequest.php
new file mode 100644
index 000000000000..1e1e8ffe1043
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ExportAssetsRequest.php
@@ -0,0 +1,401 @@
+google.cloud.asset.v1.ExportAssetsRequest
+ */
+class ExportAssetsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 2;
+ */
+ protected $read_time = null;
+ /**
+ * A list of asset types to take a snapshot for. For example:
+ * "compute.googleapis.com/Disk".
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ * If specified, only matching assets will be returned, otherwise, it will
+ * snapshot all asset types. See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ */
+ private $asset_types;
+ /**
+ * Asset content type. If not specified, no content but the asset name will be
+ * returned.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 4;
+ */
+ protected $content_type = 0;
+ /**
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $output_config = null;
+ /**
+ * A list of relationship types to export, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it snapshots specified relationships. It returns an error if
+ * any of the [relationship_types] doesn't belong to the supported
+ * relationship types of the [asset_types] or if any of the [asset_types]
+ * doesn't belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it snapshots the supported relationships for all [asset_types] or returns
+ * an error if any of the [asset_types] has no relationship support.
+ * An unspecified asset types field means all supported asset_types.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
+ * supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 6;
+ */
+ private $relationship_types;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ * @type \Google\Protobuf\Timestamp $read_time
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ * @type arraystring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 2;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getReadTime()
+ {
+ return $this->read_time;
+ }
+
+ public function hasReadTime()
+ {
+ return isset($this->read_time);
+ }
+
+ public function clearReadTime()
+ {
+ unset($this->read_time);
+ }
+
+ /**
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 2;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setReadTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->read_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of asset types to take a snapshot for. For example:
+ * "compute.googleapis.com/Disk".
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ * If specified, only matching assets will be returned, otherwise, it will
+ * snapshot all asset types. See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetTypes()
+ {
+ return $this->asset_types;
+ }
+
+ /**
+ * A list of asset types to take a snapshot for. For example:
+ * "compute.googleapis.com/Disk".
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ * If specified, only matching assets will be returned, otherwise, it will
+ * snapshot all asset types. See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ * @param array.google.cloud.asset.v1.ContentType content_type = 4;
+ * @return int
+ */
+ public function getContentType()
+ {
+ return $this->content_type;
+ }
+
+ /**
+ * Asset content type. If not specified, no content but the asset name will be
+ * returned.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setContentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\ContentType::class);
+ $this->content_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\OutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Required. Output configuration indicating where the results will be output
+ * to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputConfig output_config = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\OutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\OutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of relationship types to export, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it snapshots specified relationships. It returns an error if
+ * any of the [relationship_types] doesn't belong to the supported
+ * relationship types of the [asset_types] or if any of the [asset_types]
+ * doesn't belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it snapshots the supported relationships for all [asset_types] or returns
+ * an error if any of the [asset_types] has no relationship support.
+ * An unspecified asset types field means all supported asset_types.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
+ * supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRelationshipTypes()
+ {
+ return $this->relationship_types;
+ }
+
+ /**
+ * A list of relationship types to export, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it snapshots specified relationships. It returns an error if
+ * any of the [relationship_types] doesn't belong to the supported
+ * relationship types of the [asset_types] or if any of the [asset_types]
+ * doesn't belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it snapshots the supported relationships for all [asset_types] or returns
+ * an error if any of the [asset_types] has no relationship support.
+ * An unspecified asset types field means all supported asset_types.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview) for all
+ * supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 6;
+ * @param array.google.protobuf.Timestamp read_time = 1;
+ */
+ protected $read_time = null;
+ /**
+ * Output configuration indicating where the results were output to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputConfig output_config = 2;
+ */
+ protected $output_config = null;
+ /**
+ * Output result indicating where the assets were exported to. For example, a
+ * set of actual Cloud Storage object URIs where the assets are exported to.
+ * The URIs can be different from what [output_config] has specified, as the
+ * service will split the output object into multiple ones once it exceeds a
+ * single Cloud Storage object limit.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputResult output_result = 3;
+ */
+ protected $output_result = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $read_time
+ * Time the snapshot was taken.
+ * @type \Google\Cloud\Asset\V1\OutputConfig $output_config
+ * Output configuration indicating where the results were output to.
+ * @type \Google\Cloud\Asset\V1\OutputResult $output_result
+ * Output result indicating where the assets were exported to. For example, a
+ * set of actual Cloud Storage object URIs where the assets are exported to.
+ * The URIs can be different from what [output_config] has specified, as the
+ * service will split the output object into multiple ones once it exceeds a
+ * single Cloud Storage object limit.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Time the snapshot was taken.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 1;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getReadTime()
+ {
+ return $this->read_time;
+ }
+
+ public function hasReadTime()
+ {
+ return isset($this->read_time);
+ }
+
+ public function clearReadTime()
+ {
+ unset($this->read_time);
+ }
+
+ /**
+ * Time the snapshot was taken.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 1;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setReadTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->read_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output configuration indicating where the results were output to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputConfig output_config = 2;
+ * @return \Google\Cloud\Asset\V1\OutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Output configuration indicating where the results were output to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputConfig output_config = 2;
+ * @param \Google\Cloud\Asset\V1\OutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\OutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output result indicating where the assets were exported to. For example, a
+ * set of actual Cloud Storage object URIs where the assets are exported to.
+ * The URIs can be different from what [output_config] has specified, as the
+ * service will split the output object into multiple ones once it exceeds a
+ * single Cloud Storage object limit.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputResult output_result = 3;
+ * @return \Google\Cloud\Asset\V1\OutputResult|null
+ */
+ public function getOutputResult()
+ {
+ return $this->output_result;
+ }
+
+ public function hasOutputResult()
+ {
+ return isset($this->output_result);
+ }
+
+ public function clearOutputResult()
+ {
+ unset($this->output_result);
+ }
+
+ /**
+ * Output result indicating where the assets were exported to. For example, a
+ * set of actual Cloud Storage object URIs where the assets are exported to.
+ * The URIs can be different from what [output_config] has specified, as the
+ * service will split the output object into multiple ones once it exceeds a
+ * single Cloud Storage object limit.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.OutputResult output_result = 3;
+ * @param \Google\Cloud\Asset\V1\OutputResult $var
+ * @return $this
+ */
+ public function setOutputResult($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\OutputResult::class);
+ $this->output_result = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Feed.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Feed.php
new file mode 100644
index 000000000000..f99fc94745df
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Feed.php
@@ -0,0 +1,467 @@
+google.cloud.asset.v1.Feed
+ */
+class Feed extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The format will be
+ * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
+ * folders/{folder_number}/feeds/{client-assigned_feed_identifier} or
+ * organizations/{organization_number}/feeds/{client-assigned_feed_identifier}
+ * The client-assigned feed identifier must be unique within the parent
+ * project/folder/organization.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * A list of the full names of the assets to receive updates. You must specify
+ * either or both of asset_names and asset_types. Only asset updates matching
+ * specified asset_names or asset_types are exported to the feed.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * For a list of the full names for supported asset types, see [Resource
+ * name format](/asset-inventory/docs/resource-name-format).
+ *
+ * Generated from protobuf field repeated string asset_names = 2;
+ */
+ private $asset_names;
+ /**
+ * A list of types of the assets to receive updates. You must specify either
+ * or both of asset_names and asset_types. Only asset updates matching
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
+ * For a list of all supported asset types, see
+ * [Supported asset types](/asset-inventory/docs/supported-asset-types).
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ */
+ private $asset_types;
+ /**
+ * Asset content type. If not specified, no content but the asset name and
+ * type will be returned.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 4;
+ */
+ protected $content_type = 0;
+ /**
+ * Required. Feed output configuration defining where the asset updates are
+ * published to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $feed_output_config = null;
+ /**
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields of `Expr` are
+ * optional.
+ * See our [user
+ * guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition)
+ * for detailed instructions.
+ *
+ * Generated from protobuf field .google.type.Expr condition = 6;
+ */
+ protected $condition = null;
+ /**
+ * A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it outputs specified relationship updates on the [asset_names] or the
+ * [asset_types]. It returns an error if any of the [relationship_types]
+ * doesn't belong to the supported relationship types of the [asset_names] or
+ * [asset_types], or any of the [asset_names] or the [asset_types] doesn't
+ * belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it outputs the supported relationships of the types of [asset_names] and
+ * [asset_types] or returns an error if any of the [asset_names] or the
+ * [asset_types] has no replationship support.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 7;
+ */
+ private $relationship_types;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The format will be
+ * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
+ * folders/{folder_number}/feeds/{client-assigned_feed_identifier} or
+ * organizations/{organization_number}/feeds/{client-assigned_feed_identifier}
+ * The client-assigned feed identifier must be unique within the parent
+ * project/folder/organization.
+ * @type arraystring name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The format will be
+ * projects/{project_number}/feeds/{client-assigned_feed_identifier} or
+ * folders/{folder_number}/feeds/{client-assigned_feed_identifier} or
+ * organizations/{organization_number}/feeds/{client-assigned_feed_identifier}
+ * The client-assigned feed identifier must be unique within the parent
+ * project/folder/organization.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of the full names of the assets to receive updates. You must specify
+ * either or both of asset_names and asset_types. Only asset updates matching
+ * specified asset_names or asset_types are exported to the feed.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * For a list of the full names for supported asset types, see [Resource
+ * name format](/asset-inventory/docs/resource-name-format).
+ *
+ * Generated from protobuf field repeated string asset_names = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetNames()
+ {
+ return $this->asset_names;
+ }
+
+ /**
+ * A list of the full names of the assets to receive updates. You must specify
+ * either or both of asset_names and asset_types. Only asset updates matching
+ * specified asset_names or asset_types are exported to the feed.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * For a list of the full names for supported asset types, see [Resource
+ * name format](/asset-inventory/docs/resource-name-format).
+ *
+ * Generated from protobuf field repeated string asset_names = 2;
+ * @param arrayrepeated string asset_types = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetTypes()
+ {
+ return $this->asset_types;
+ }
+
+ /**
+ * A list of types of the assets to receive updates. You must specify either
+ * or both of asset_names and asset_types. Only asset updates matching
+ * specified asset_names or asset_types are exported to the feed.
+ * Example: `"compute.googleapis.com/Disk"`
+ * For a list of all supported asset types, see
+ * [Supported asset types](/asset-inventory/docs/supported-asset-types).
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ * @param array.google.cloud.asset.v1.ContentType content_type = 4;
+ * @return int
+ */
+ public function getContentType()
+ {
+ return $this->content_type;
+ }
+
+ /**
+ * Asset content type. If not specified, no content but the asset name and
+ * type will be returned.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setContentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\ContentType::class);
+ $this->content_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Feed output configuration defining where the asset updates are
+ * published to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\FeedOutputConfig|null
+ */
+ public function getFeedOutputConfig()
+ {
+ return $this->feed_output_config;
+ }
+
+ public function hasFeedOutputConfig()
+ {
+ return isset($this->feed_output_config);
+ }
+
+ public function clearFeedOutputConfig()
+ {
+ unset($this->feed_output_config);
+ }
+
+ /**
+ * Required. Feed output configuration defining where the asset updates are
+ * published to.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.FeedOutputConfig feed_output_config = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\FeedOutputConfig $var
+ * @return $this
+ */
+ public function setFeedOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\FeedOutputConfig::class);
+ $this->feed_output_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields of `Expr` are
+ * optional.
+ * See our [user
+ * guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition)
+ * for detailed instructions.
+ *
+ * Generated from protobuf field .google.type.Expr condition = 6;
+ * @return \Google\Type\Expr|null
+ */
+ public function getCondition()
+ {
+ return $this->condition;
+ }
+
+ public function hasCondition()
+ {
+ return isset($this->condition);
+ }
+
+ public function clearCondition()
+ {
+ unset($this->condition);
+ }
+
+ /**
+ * A condition which determines whether an asset update should be published.
+ * If specified, an asset will be returned only when the expression evaluates
+ * to true.
+ * When set, `expression` field in the `Expr` must be a valid [CEL expression]
+ * (https://github.com/google/cel-spec) on a TemporalAsset with name
+ * `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted
+ * == true") will only publish Asset deletions. Other fields of `Expr` are
+ * optional.
+ * See our [user
+ * guide](https://cloud.google.com/asset-inventory/docs/monitoring-asset-changes-with-condition)
+ * for detailed instructions.
+ *
+ * Generated from protobuf field .google.type.Expr condition = 6;
+ * @param \Google\Type\Expr $var
+ * @return $this
+ */
+ public function setCondition($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Type\Expr::class);
+ $this->condition = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it outputs specified relationship updates on the [asset_names] or the
+ * [asset_types]. It returns an error if any of the [relationship_types]
+ * doesn't belong to the supported relationship types of the [asset_names] or
+ * [asset_types], or any of the [asset_names] or the [asset_types] doesn't
+ * belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it outputs the supported relationships of the types of [asset_names] and
+ * [asset_types] or returns an error if any of the [asset_names] or the
+ * [asset_types] has no replationship support.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 7;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRelationshipTypes()
+ {
+ return $this->relationship_types;
+ }
+
+ /**
+ * A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it outputs specified relationship updates on the [asset_names] or the
+ * [asset_types]. It returns an error if any of the [relationship_types]
+ * doesn't belong to the supported relationship types of the [asset_names] or
+ * [asset_types], or any of the [asset_names] or the [asset_types] doesn't
+ * belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it outputs the supported relationships of the types of [asset_names] and
+ * [asset_types] or returns an error if any of the [asset_names] or the
+ * [asset_types] has no replationship support.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 7;
+ * @param array.google.cloud.asset.v1.PubsubDestination pubsub_destination = 1;
+ * @return \Google\Cloud\Asset\V1\PubsubDestination|null
+ */
+ public function getPubsubDestination()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasPubsubDestination()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Destination on Pub/Sub.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PubsubDestination pubsub_destination = 1;
+ * @param \Google\Cloud\Asset\V1\PubsubDestination $var
+ * @return $this
+ */
+ public function setPubsubDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\PubsubDestination::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDestination()
+ {
+ return $this->whichOneof("destination");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GcsDestination.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GcsDestination.php
new file mode 100644
index 000000000000..918f57ddbeb9
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GcsDestination.php
@@ -0,0 +1,153 @@
+google.cloud.asset.v1.GcsDestination
+ */
+class GcsDestination extends \Google\Protobuf\Internal\Message
+{
+ protected $object_uri;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $uri
+ * The URI of the Cloud Storage object. It's the same URI that is used by
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * for more information.
+ * If the specified Cloud Storage object already exists and there is no
+ * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
+ * overwritten with the exported result.
+ * @type string $uri_prefix
+ * The URI prefix of all generated Cloud Storage objects. Example:
+ * "gs://bucket_name/object_name_prefix". Each object URI is in format:
+ * "gs://bucket_name/object_name_prefix/string uri = 1;
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasUri()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The URI of the Cloud Storage object. It's the same URI that is used by
+ * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * for more information.
+ * If the specified Cloud Storage object already exists and there is no
+ * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
+ * overwritten with the exported result.
+ *
+ * Generated from protobuf field string uri = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * The URI prefix of all generated Cloud Storage objects. Example:
+ * "gs://bucket_name/object_name_prefix". Each object URI is in format:
+ * "gs://bucket_name/object_name_prefix/string uri_prefix = 2;
+ * @return string
+ */
+ public function getUriPrefix()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasUriPrefix()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * The URI prefix of all generated Cloud Storage objects. Example:
+ * "gs://bucket_name/object_name_prefix". Each object URI is in format:
+ * "gs://bucket_name/object_name_prefix/string uri_prefix = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setUriPrefix($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getObjectUri()
+ {
+ return $this->whichOneof("object_uri");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GcsOutputResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GcsOutputResult.php
new file mode 100644
index 000000000000..0c04c6442dfb
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GcsOutputResult.php
@@ -0,0 +1,71 @@
+google.cloud.asset.v1.GcsOutputResult
+ */
+class GcsOutputResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of URIs of the Cloud Storage objects. Example:
+ * "gs://bucket_name/object_name".
+ *
+ * Generated from protobuf field repeated string uris = 1;
+ */
+ private $uris;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string uris = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getUris()
+ {
+ return $this->uris;
+ }
+
+ /**
+ * List of URIs of the Cloud Storage objects. Example:
+ * "gs://bucket_name/object_name".
+ *
+ * Generated from protobuf field repeated string uris = 1;
+ * @param arraystring name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The name of the Feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ * Please see {@see AssetServiceClient::feedName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Asset\V1\GetFeedRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the Feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the Feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the Feed and it must be in the format of:
+ * projects/project_number/feeds/feed_id
+ * folders/folder_number/feeds/feed_id
+ * organizations/organization_number/feeds/feed_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GetSavedQueryRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GetSavedQueryRequest.php
new file mode 100644
index 000000000000..11f6e5810471
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/GetSavedQueryRequest.php
@@ -0,0 +1,97 @@
+google.cloud.asset.v1.GetSavedQueryRequest
+ */
+class GetSavedQueryRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the saved query and it must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The name of the saved query and it must be in the format of:
+ *
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * Please see {@see AssetServiceClient::savedQueryName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Asset\V1\GetSavedQueryRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the saved query and it must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the saved query and it must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the saved query and it must be in the format of:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig.php
new file mode 100644
index 000000000000..c5920d7aafd3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig.php
@@ -0,0 +1,108 @@
+google.cloud.asset.v1.IamPolicyAnalysisOutputConfig
+ */
+class IamPolicyAnalysisOutputConfig extends \Google\Protobuf\Internal\Message
+{
+ protected $destination;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\GcsDestination $gcs_destination
+ * Destination on Cloud Storage.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\BigQueryDestination $bigquery_destination
+ * Destination on BigQuery.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Destination on Cloud Storage.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\GcsDestination|null
+ */
+ public function getGcsDestination()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsDestination()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Destination on Cloud Storage.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination gcs_destination = 1;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\GcsDestination $var
+ * @return $this
+ */
+ public function setGcsDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\GcsDestination::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Destination on BigQuery.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\BigQueryDestination|null
+ */
+ public function getBigqueryDestination()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasBigqueryDestination()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Destination on BigQuery.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination bigquery_destination = 2;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\BigQueryDestination $var
+ * @return $this
+ */
+ public function setBigqueryDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\BigQueryDestination::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDestination()
+ {
+ return $this->whichOneof("destination");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/BigQueryDestination.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/BigQueryDestination.php
new file mode 100644
index 000000000000..b3af2480f5cd
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/BigQueryDestination.php
@@ -0,0 +1,252 @@
+google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination
+ */
+class BigQueryDestination extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the analysis results
+ * should be exported. If this dataset does not exist, the export call will
+ * return an INVALID_ARGUMENT error.
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $dataset = '';
+ /**
+ * Required. The prefix of the BigQuery tables to which the analysis results
+ * will be written. Tables will be created based on this table_prefix if not
+ * exist:
+ * * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $table_prefix = '';
+ /**
+ * The partition key for BigQuery partitioned table.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;
+ */
+ protected $partition_key = 0;
+ /**
+ * Optional. Specifies the action that occurs if the destination table or
+ * partition already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, an error is
+ * returned.
+ * The default value is WRITE_APPEND. Each action is atomic and only occurs
+ * if BigQuery is able to complete the job successfully. Details are at
+ * https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.
+ *
+ * Generated from protobuf field string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $write_disposition = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $dataset
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the analysis results
+ * should be exported. If this dataset does not exist, the export call will
+ * return an INVALID_ARGUMENT error.
+ * @type string $table_prefix
+ * Required. The prefix of the BigQuery tables to which the analysis results
+ * will be written. Tables will be created based on this table_prefix if not
+ * exist:
+ * * string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+
+ /**
+ * Required. The BigQuery dataset in format
+ * "projects/projectId/datasets/datasetId", to which the analysis results
+ * should be exported. If this dataset does not exist, the export call will
+ * return an INVALID_ARGUMENT error.
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDataset($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->dataset = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The prefix of the BigQuery tables to which the analysis results
+ * will be written. Tables will be created based on this table_prefix if not
+ * exist:
+ * * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getTablePrefix()
+ {
+ return $this->table_prefix;
+ }
+
+ /**
+ * Required. The prefix of the BigQuery tables to which the analysis results
+ * will be written. Tables will be created based on this table_prefix if not
+ * exist:
+ * * string table_prefix = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setTablePrefix($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->table_prefix = $var;
+
+ return $this;
+ }
+
+ /**
+ * The partition key for BigQuery partitioned table.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;
+ * @return int
+ */
+ public function getPartitionKey()
+ {
+ return $this->partition_key;
+ }
+
+ /**
+ * The partition key for BigQuery partitioned table.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey partition_key = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setPartitionKey($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig\BigQueryDestination\PartitionKey::class);
+ $this->partition_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the action that occurs if the destination table or
+ * partition already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, an error is
+ * returned.
+ * The default value is WRITE_APPEND. Each action is atomic and only occurs
+ * if BigQuery is able to complete the job successfully. Details are at
+ * https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.
+ *
+ * Generated from protobuf field string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getWriteDisposition()
+ {
+ return $this->write_disposition;
+ }
+
+ /**
+ * Optional. Specifies the action that occurs if the destination table or
+ * partition already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, an error is
+ * returned.
+ * The default value is WRITE_APPEND. Each action is atomic and only occurs
+ * if BigQuery is able to complete the job successfully. Details are at
+ * https://cloud.google.com/bigquery/docs/loading-data-local#appending_to_or_overwriting_a_table_using_a_local_file.
+ *
+ * Generated from protobuf field string write_disposition = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setWriteDisposition($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->write_disposition = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(BigQueryDestination::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig_BigQueryDestination::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/BigQueryDestination/PartitionKey.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/BigQueryDestination/PartitionKey.php
new file mode 100644
index 000000000000..6902ee9a90e7
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/BigQueryDestination/PartitionKey.php
@@ -0,0 +1,63 @@
+google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.BigQueryDestination.PartitionKey
+ */
+class PartitionKey
+{
+ /**
+ * Unspecified partition key. Tables won't be partitioned using this
+ * option.
+ *
+ * Generated from protobuf enum PARTITION_KEY_UNSPECIFIED = 0;
+ */
+ const PARTITION_KEY_UNSPECIFIED = 0;
+ /**
+ * The time when the request is received. If specified as partition key,
+ * the result table(s) is partitoned by the RequestTime column, an
+ * additional timestamp column representing when the request was received.
+ *
+ * Generated from protobuf enum REQUEST_TIME = 1;
+ */
+ const REQUEST_TIME = 1;
+
+ private static $valueToName = [
+ self::PARTITION_KEY_UNSPECIFIED => 'PARTITION_KEY_UNSPECIFIED',
+ self::REQUEST_TIME => 'REQUEST_TIME',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(PartitionKey::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig_BigQueryDestination_PartitionKey::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/GcsDestination.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/GcsDestination.php
new file mode 100644
index 000000000000..a255efdb2975
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisOutputConfig/GcsDestination.php
@@ -0,0 +1,98 @@
+google.cloud.asset.v1.IamPolicyAnalysisOutputConfig.GcsDestination
+ */
+class GcsDestination extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The URI of the Cloud Storage object. It's the same URI that is
+ * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * for more information.
+ * If the specified Cloud Storage object already exists and there is no
+ * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
+ * overwritten with the analysis result.
+ *
+ * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $uri
+ * Required. The URI of the Cloud Storage object. It's the same URI that is
+ * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * for more information.
+ * If the specified Cloud Storage object already exists and there is no
+ * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
+ * overwritten with the analysis result.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The URI of the Cloud Storage object. It's the same URI that is
+ * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * for more information.
+ * If the specified Cloud Storage object already exists and there is no
+ * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
+ * overwritten with the analysis result.
+ *
+ * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->uri;
+ }
+
+ /**
+ * Required. The URI of the Cloud Storage object. It's the same URI that is
+ * used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
+ * Editing Object
+ * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
+ * for more information.
+ * If the specified Cloud Storage object already exists and there is no
+ * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
+ * overwritten with the analysis result.
+ *
+ * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uri = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GcsDestination::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisOutputConfig_GcsDestination::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery.php
new file mode 100644
index 000000000000..bf8de70d77ad
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery.php
@@ -0,0 +1,319 @@
+google.cloud.asset.v1.IamPolicyAnalysisQuery
+ */
+class IamPolicyAnalysisQuery extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The relative name of the root asset. Only resources and IAM
+ * policies within the scope will be analyzed.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $scope = '';
+ /**
+ * Optional. Specifies a resource for analysis.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $resource_selector = null;
+ /**
+ * Optional. Specifies an identity for analysis.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $identity_selector = null;
+ /**
+ * Optional. Specifies roles or permissions for analysis. This is optional.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $access_selector = null;
+ /**
+ * Optional. The query options.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $options = null;
+ /**
+ * Optional. The hypothetical context for IAM conditions evaluation.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $condition_context = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. The relative name of the root asset. Only resources and IAM
+ * policies within the scope will be analyzed.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ResourceSelector $resource_selector
+ * Optional. Specifies a resource for analysis.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\IdentitySelector $identity_selector
+ * Optional. Specifies an identity for analysis.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\AccessSelector $access_selector
+ * Optional. Specifies roles or permissions for analysis. This is optional.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\Options $options
+ * Optional. The query options.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ConditionContext $condition_context
+ * Optional. The hypothetical context for IAM conditions evaluation.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The relative name of the root asset. Only resources and IAM
+ * policies within the scope will be analyzed.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. The relative name of the root asset. Only resources and IAM
+ * policies within the scope will be analyzed.
+ * This can only be an organization number (such as "organizations/123"), a
+ * folder number (such as "folders/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345").
+ * To know how to get organization ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-organization#retrieving_your_organization_id).
+ * To know how to get folder or project ID, visit [here
+ * ](https://cloud.google.com/resource-manager/docs/creating-managing-folders#viewing_or_listing_folders_and_projects).
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies a resource for analysis.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ResourceSelector|null
+ */
+ public function getResourceSelector()
+ {
+ return $this->resource_selector;
+ }
+
+ public function hasResourceSelector()
+ {
+ return isset($this->resource_selector);
+ }
+
+ public function clearResourceSelector()
+ {
+ unset($this->resource_selector);
+ }
+
+ /**
+ * Optional. Specifies a resource for analysis.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector resource_selector = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ResourceSelector $var
+ * @return $this
+ */
+ public function setResourceSelector($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ResourceSelector::class);
+ $this->resource_selector = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies an identity for analysis.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\IdentitySelector|null
+ */
+ public function getIdentitySelector()
+ {
+ return $this->identity_selector;
+ }
+
+ public function hasIdentitySelector()
+ {
+ return isset($this->identity_selector);
+ }
+
+ public function clearIdentitySelector()
+ {
+ unset($this->identity_selector);
+ }
+
+ /**
+ * Optional. Specifies an identity for analysis.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector identity_selector = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\IdentitySelector $var
+ * @return $this
+ */
+ public function setIdentitySelector($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\IdentitySelector::class);
+ $this->identity_selector = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies roles or permissions for analysis. This is optional.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\AccessSelector|null
+ */
+ public function getAccessSelector()
+ {
+ return $this->access_selector;
+ }
+
+ public function hasAccessSelector()
+ {
+ return isset($this->access_selector);
+ }
+
+ public function clearAccessSelector()
+ {
+ unset($this->access_selector);
+ }
+
+ /**
+ * Optional. Specifies roles or permissions for analysis. This is optional.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector access_selector = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\AccessSelector $var
+ * @return $this
+ */
+ public function setAccessSelector($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\AccessSelector::class);
+ $this->access_selector = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The query options.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\Options|null
+ */
+ public function getOptions()
+ {
+ return $this->options;
+ }
+
+ public function hasOptions()
+ {
+ return isset($this->options);
+ }
+
+ public function clearOptions()
+ {
+ unset($this->options);
+ }
+
+ /**
+ * Optional. The query options.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.Options options = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\Options $var
+ * @return $this
+ */
+ public function setOptions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\Options::class);
+ $this->options = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The hypothetical context for IAM conditions evaluation.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ConditionContext|null
+ */
+ public function getConditionContext()
+ {
+ return $this->condition_context;
+ }
+
+ public function hasConditionContext()
+ {
+ return isset($this->condition_context);
+ }
+
+ public function clearConditionContext()
+ {
+ unset($this->condition_context);
+ }
+
+ /**
+ * Optional. The hypothetical context for IAM conditions evaluation.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery.ConditionContext condition_context = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ConditionContext $var
+ * @return $this
+ */
+ public function setConditionContext($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery\ConditionContext::class);
+ $this->condition_context = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/AccessSelector.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/AccessSelector.php
new file mode 100644
index 000000000000..4300fff07a37
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/AccessSelector.php
@@ -0,0 +1,108 @@
+google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector
+ */
+class AccessSelector extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The roles to appear in result.
+ *
+ * Generated from protobuf field repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $roles;
+ /**
+ * Optional. The permissions to appear in result.
+ *
+ * Generated from protobuf field repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $permissions;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRoles()
+ {
+ return $this->roles;
+ }
+
+ /**
+ * Optional. The roles to appear in result.
+ *
+ * Generated from protobuf field repeated string roles = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayrepeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+
+ /**
+ * Optional. The permissions to appear in result.
+ *
+ * Generated from protobuf field repeated string permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array.google.protobuf.Timestamp access_time = 1;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getAccessTime()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasAccessTime()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The hypothetical access timestamp to evaluate IAM conditions. Note that
+ * this value must not be earlier than the current time; otherwise, an
+ * INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp access_time = 1;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setAccessTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getTimeContext()
+ {
+ return $this->whichOneof("TimeContext");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConditionContext::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery_ConditionContext::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/IdentitySelector.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/IdentitySelector.php
new file mode 100644
index 000000000000..2bca0554f02f
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/IdentitySelector.php
@@ -0,0 +1,108 @@
+google.cloud.asset.v1.IamPolicyAnalysisQuery.IdentitySelector
+ */
+class IdentitySelector extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The identity appear in the form of principals in
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
+ * The examples of supported forms are:
+ * "user:mike@example.com",
+ * "group:admins@example.com",
+ * "domain:google.com",
+ * "serviceAccount:my-project-id@appspot.gserviceaccount.com".
+ * Notice that wildcard characters (such as * and ?) are not supported.
+ * You must give a specific identity.
+ *
+ * Generated from protobuf field string identity = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $identity = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $identity
+ * Required. The identity appear in the form of principals in
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
+ * The examples of supported forms are:
+ * "user:mike@example.com",
+ * "group:admins@example.com",
+ * "domain:google.com",
+ * "serviceAccount:my-project-id@appspot.gserviceaccount.com".
+ * Notice that wildcard characters (such as * and ?) are not supported.
+ * You must give a specific identity.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The identity appear in the form of principals in
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
+ * The examples of supported forms are:
+ * "user:mike@example.com",
+ * "group:admins@example.com",
+ * "domain:google.com",
+ * "serviceAccount:my-project-id@appspot.gserviceaccount.com".
+ * Notice that wildcard characters (such as * and ?) are not supported.
+ * You must give a specific identity.
+ *
+ * Generated from protobuf field string identity = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getIdentity()
+ {
+ return $this->identity;
+ }
+
+ /**
+ * Required. The identity appear in the form of principals in
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding).
+ * The examples of supported forms are:
+ * "user:mike@example.com",
+ * "group:admins@example.com",
+ * "domain:google.com",
+ * "serviceAccount:my-project-id@appspot.gserviceaccount.com".
+ * Notice that wildcard characters (such as * and ?) are not supported.
+ * You must give a specific identity.
+ *
+ * Generated from protobuf field string identity = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setIdentity($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->identity = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(IdentitySelector::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery_IdentitySelector::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/Options.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/Options.php
new file mode 100644
index 000000000000..aa83e164d5ba
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/Options.php
@@ -0,0 +1,508 @@
+google.cloud.asset.v1.IamPolicyAnalysisQuery.Options
+ */
+class Options extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. If true, the identities section of the result will expand any
+ * Google groups appearing in an IAM policy binding.
+ * If
+ * [IamPolicyAnalysisQuery.identity_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.identity_selector]
+ * is specified, the identity in the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * If true, the default max expansion per group is 1000 for
+ * AssetService.AnalyzeIamPolicy][].
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $expand_groups = false;
+ /**
+ * Optional. If true, the access section of result will expand any roles
+ * appearing in IAM policy bindings to include their permissions.
+ * If
+ * [IamPolicyAnalysisQuery.access_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.access_selector]
+ * is specified, the access section of the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $expand_roles = false;
+ /**
+ * Optional. If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is not specified, the resource section of the result will expand any
+ * resource attached to an IAM policy to include resources lower in the
+ * resource hierarchy.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and the results include an IAM policy with P on a Google
+ * Cloud folder, the results will also include resources in that folder with
+ * permission P.
+ * If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is specified, the resource section of the result will expand the
+ * specified resource to include resources lower in the resource hierarchy.
+ * Only project or lower resources are supported. Folder and organization
+ * resources cannot be used together with this option.
+ * For example, if the request analyzes for which users have permission P on
+ * a Google Cloud project with this option enabled, the results will include
+ * all users who have permission P on that project or any lower resource.
+ * If true, the default max expansion per resource is 1000 for
+ * AssetService.AnalyzeIamPolicy][] and 100000 for
+ * AssetService.AnalyzeIamPolicyLongrunning][].
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $expand_resources = false;
+ /**
+ * Optional. If true, the result will output the relevant parent/child
+ * relationships between resources. Default is false.
+ *
+ * Generated from protobuf field bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $output_resource_edges = false;
+ /**
+ * Optional. If true, the result will output the relevant membership
+ * relationships between groups and other groups, and between groups and
+ * principals. Default is false.
+ *
+ * Generated from protobuf field bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $output_group_edges = false;
+ /**
+ * Optional. If true, the response will include access analysis from
+ * identities to resources via service account impersonation. This is a very
+ * expensive operation, because many derived queries will be executed. We
+ * highly recommend you use
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC instead.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and there's an IAM policy states user A has
+ * iam.serviceAccounts.getAccessToken permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to a Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Another example, if the request analyzes for who has
+ * permission P to a Google Cloud folder F, and there's an IAM policy states
+ * user A has iam.serviceAccounts.actAs permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to the Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Only the following permissions are considered in this analysis:
+ * * `iam.serviceAccounts.actAs`
+ * * `iam.serviceAccounts.signBlob`
+ * * `iam.serviceAccounts.signJwt`
+ * * `iam.serviceAccounts.getAccessToken`
+ * * `iam.serviceAccounts.getOpenIdToken`
+ * * `iam.serviceAccounts.implicitDelegation`
+ * Default is false.
+ *
+ * Generated from protobuf field bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $analyze_service_account_impersonation = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $expand_groups
+ * Optional. If true, the identities section of the result will expand any
+ * Google groups appearing in an IAM policy binding.
+ * If
+ * [IamPolicyAnalysisQuery.identity_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.identity_selector]
+ * is specified, the identity in the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * If true, the default max expansion per group is 1000 for
+ * AssetService.AnalyzeIamPolicy][].
+ * Default is false.
+ * @type bool $expand_roles
+ * Optional. If true, the access section of result will expand any roles
+ * appearing in IAM policy bindings to include their permissions.
+ * If
+ * [IamPolicyAnalysisQuery.access_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.access_selector]
+ * is specified, the access section of the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * Default is false.
+ * @type bool $expand_resources
+ * Optional. If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is not specified, the resource section of the result will expand any
+ * resource attached to an IAM policy to include resources lower in the
+ * resource hierarchy.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and the results include an IAM policy with P on a Google
+ * Cloud folder, the results will also include resources in that folder with
+ * permission P.
+ * If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is specified, the resource section of the result will expand the
+ * specified resource to include resources lower in the resource hierarchy.
+ * Only project or lower resources are supported. Folder and organization
+ * resources cannot be used together with this option.
+ * For example, if the request analyzes for which users have permission P on
+ * a Google Cloud project with this option enabled, the results will include
+ * all users who have permission P on that project or any lower resource.
+ * If true, the default max expansion per resource is 1000 for
+ * AssetService.AnalyzeIamPolicy][] and 100000 for
+ * AssetService.AnalyzeIamPolicyLongrunning][].
+ * Default is false.
+ * @type bool $output_resource_edges
+ * Optional. If true, the result will output the relevant parent/child
+ * relationships between resources. Default is false.
+ * @type bool $output_group_edges
+ * Optional. If true, the result will output the relevant membership
+ * relationships between groups and other groups, and between groups and
+ * principals. Default is false.
+ * @type bool $analyze_service_account_impersonation
+ * Optional. If true, the response will include access analysis from
+ * identities to resources via service account impersonation. This is a very
+ * expensive operation, because many derived queries will be executed. We
+ * highly recommend you use
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC instead.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and there's an IAM policy states user A has
+ * iam.serviceAccounts.getAccessToken permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to a Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Another example, if the request analyzes for who has
+ * permission P to a Google Cloud folder F, and there's an IAM policy states
+ * user A has iam.serviceAccounts.actAs permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to the Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Only the following permissions are considered in this analysis:
+ * * `iam.serviceAccounts.actAs`
+ * * `iam.serviceAccounts.signBlob`
+ * * `iam.serviceAccounts.signJwt`
+ * * `iam.serviceAccounts.getAccessToken`
+ * * `iam.serviceAccounts.getOpenIdToken`
+ * * `iam.serviceAccounts.implicitDelegation`
+ * Default is false.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. If true, the identities section of the result will expand any
+ * Google groups appearing in an IAM policy binding.
+ * If
+ * [IamPolicyAnalysisQuery.identity_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.identity_selector]
+ * is specified, the identity in the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * If true, the default max expansion per group is 1000 for
+ * AssetService.AnalyzeIamPolicy][].
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getExpandGroups()
+ {
+ return $this->expand_groups;
+ }
+
+ /**
+ * Optional. If true, the identities section of the result will expand any
+ * Google groups appearing in an IAM policy binding.
+ * If
+ * [IamPolicyAnalysisQuery.identity_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.identity_selector]
+ * is specified, the identity in the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * If true, the default max expansion per group is 1000 for
+ * AssetService.AnalyzeIamPolicy][].
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_groups = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setExpandGroups($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->expand_groups = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true, the access section of result will expand any roles
+ * appearing in IAM policy bindings to include their permissions.
+ * If
+ * [IamPolicyAnalysisQuery.access_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.access_selector]
+ * is specified, the access section of the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getExpandRoles()
+ {
+ return $this->expand_roles;
+ }
+
+ /**
+ * Optional. If true, the access section of result will expand any roles
+ * appearing in IAM policy bindings to include their permissions.
+ * If
+ * [IamPolicyAnalysisQuery.access_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.access_selector]
+ * is specified, the access section of the result will be determined by the
+ * selector, and this flag is not allowed to set.
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_roles = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setExpandRoles($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->expand_roles = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is not specified, the resource section of the result will expand any
+ * resource attached to an IAM policy to include resources lower in the
+ * resource hierarchy.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and the results include an IAM policy with P on a Google
+ * Cloud folder, the results will also include resources in that folder with
+ * permission P.
+ * If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is specified, the resource section of the result will expand the
+ * specified resource to include resources lower in the resource hierarchy.
+ * Only project or lower resources are supported. Folder and organization
+ * resources cannot be used together with this option.
+ * For example, if the request analyzes for which users have permission P on
+ * a Google Cloud project with this option enabled, the results will include
+ * all users who have permission P on that project or any lower resource.
+ * If true, the default max expansion per resource is 1000 for
+ * AssetService.AnalyzeIamPolicy][] and 100000 for
+ * AssetService.AnalyzeIamPolicyLongrunning][].
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getExpandResources()
+ {
+ return $this->expand_resources;
+ }
+
+ /**
+ * Optional. If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is not specified, the resource section of the result will expand any
+ * resource attached to an IAM policy to include resources lower in the
+ * resource hierarchy.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and the results include an IAM policy with P on a Google
+ * Cloud folder, the results will also include resources in that folder with
+ * permission P.
+ * If true and
+ * [IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector]
+ * is specified, the resource section of the result will expand the
+ * specified resource to include resources lower in the resource hierarchy.
+ * Only project or lower resources are supported. Folder and organization
+ * resources cannot be used together with this option.
+ * For example, if the request analyzes for which users have permission P on
+ * a Google Cloud project with this option enabled, the results will include
+ * all users who have permission P on that project or any lower resource.
+ * If true, the default max expansion per resource is 1000 for
+ * AssetService.AnalyzeIamPolicy][] and 100000 for
+ * AssetService.AnalyzeIamPolicyLongrunning][].
+ * Default is false.
+ *
+ * Generated from protobuf field bool expand_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setExpandResources($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->expand_resources = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true, the result will output the relevant parent/child
+ * relationships between resources. Default is false.
+ *
+ * Generated from protobuf field bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getOutputResourceEdges()
+ {
+ return $this->output_resource_edges;
+ }
+
+ /**
+ * Optional. If true, the result will output the relevant parent/child
+ * relationships between resources. Default is false.
+ *
+ * Generated from protobuf field bool output_resource_edges = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setOutputResourceEdges($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->output_resource_edges = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true, the result will output the relevant membership
+ * relationships between groups and other groups, and between groups and
+ * principals. Default is false.
+ *
+ * Generated from protobuf field bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getOutputGroupEdges()
+ {
+ return $this->output_group_edges;
+ }
+
+ /**
+ * Optional. If true, the result will output the relevant membership
+ * relationships between groups and other groups, and between groups and
+ * principals. Default is false.
+ *
+ * Generated from protobuf field bool output_group_edges = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setOutputGroupEdges($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->output_group_edges = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true, the response will include access analysis from
+ * identities to resources via service account impersonation. This is a very
+ * expensive operation, because many derived queries will be executed. We
+ * highly recommend you use
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC instead.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and there's an IAM policy states user A has
+ * iam.serviceAccounts.getAccessToken permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to a Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Another example, if the request analyzes for who has
+ * permission P to a Google Cloud folder F, and there's an IAM policy states
+ * user A has iam.serviceAccounts.actAs permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to the Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Only the following permissions are considered in this analysis:
+ * * `iam.serviceAccounts.actAs`
+ * * `iam.serviceAccounts.signBlob`
+ * * `iam.serviceAccounts.signJwt`
+ * * `iam.serviceAccounts.getAccessToken`
+ * * `iam.serviceAccounts.getOpenIdToken`
+ * * `iam.serviceAccounts.implicitDelegation`
+ * Default is false.
+ *
+ * Generated from protobuf field bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getAnalyzeServiceAccountImpersonation()
+ {
+ return $this->analyze_service_account_impersonation;
+ }
+
+ /**
+ * Optional. If true, the response will include access analysis from
+ * identities to resources via service account impersonation. This is a very
+ * expensive operation, because many derived queries will be executed. We
+ * highly recommend you use
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC instead.
+ * For example, if the request analyzes for which resources user A has
+ * permission P, and there's an IAM policy states user A has
+ * iam.serviceAccounts.getAccessToken permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to a Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Another example, if the request analyzes for who has
+ * permission P to a Google Cloud folder F, and there's an IAM policy states
+ * user A has iam.serviceAccounts.actAs permission to a service account SA,
+ * and there's another IAM policy states service account SA has permission P
+ * to the Google Cloud folder F, then user A potentially has access to the
+ * Google Cloud folder F. And those advanced analysis results will be
+ * included in
+ * [AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis].
+ * Only the following permissions are considered in this analysis:
+ * * `iam.serviceAccounts.actAs`
+ * * `iam.serviceAccounts.signBlob`
+ * * `iam.serviceAccounts.signJwt`
+ * * `iam.serviceAccounts.getAccessToken`
+ * * `iam.serviceAccounts.getOpenIdToken`
+ * * `iam.serviceAccounts.implicitDelegation`
+ * Default is false.
+ *
+ * Generated from protobuf field bool analyze_service_account_impersonation = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setAnalyzeServiceAccountImpersonation($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->analyze_service_account_impersonation = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Options::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery_Options::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/ResourceSelector.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/ResourceSelector.php
new file mode 100644
index 000000000000..fb18d55f5bbb
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisQuery/ResourceSelector.php
@@ -0,0 +1,84 @@
+google.cloud.asset.v1.IamPolicyAnalysisQuery.ResourceSelector
+ */
+class ResourceSelector extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of a resource of [supported resource
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
+ *
+ * Generated from protobuf field string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $full_resource_name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $full_resource_name
+ * Required. The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of a resource of [supported resource
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of a resource of [supported resource
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
+ *
+ * Generated from protobuf field string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getFullResourceName()
+ {
+ return $this->full_resource_name;
+ }
+
+ /**
+ * Required. The [full resource name]
+ * (https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of a resource of [supported resource
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#analyzable_asset_types).
+ *
+ * Generated from protobuf field string full_resource_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->full_resource_name = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceSelector::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery_ResourceSelector::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult.php
new file mode 100644
index 000000000000..7d3098780e3b
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult.php
@@ -0,0 +1,268 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult
+ */
+class IamPolicyAnalysisResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the resource to which the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * policy attaches.
+ *
+ * Generated from protobuf field string attached_resource_full_name = 1;
+ */
+ protected $attached_resource_full_name = '';
+ /**
+ * The IAM policy binding under analysis.
+ *
+ * Generated from protobuf field .google.iam.v1.Binding iam_binding = 2;
+ */
+ protected $iam_binding = null;
+ /**
+ * The access control lists derived from the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match resource and access selectors specified in
+ * the request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+ */
+ private $access_control_lists;
+ /**
+ * The identity list derived from members of the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match identity selector specified in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
+ */
+ protected $identity_list = null;
+ /**
+ * Represents whether all analyses on the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * have successfully finished.
+ *
+ * Generated from protobuf field bool fully_explored = 5;
+ */
+ protected $fully_explored = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $attached_resource_full_name
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the resource to which the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * policy attaches.
+ * @type \Google\Cloud\Iam\V1\Binding $iam_binding
+ * The IAM policy binding under analysis.
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\AccessControlList>|\Google\Protobuf\Internal\RepeatedField $access_control_lists
+ * The access control lists derived from the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match resource and access selectors specified in
+ * the request.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList $identity_list
+ * The identity list derived from members of the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match identity selector specified in the request.
+ * @type bool $fully_explored
+ * Represents whether all analyses on the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * have successfully finished.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the resource to which the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * policy attaches.
+ *
+ * Generated from protobuf field string attached_resource_full_name = 1;
+ * @return string
+ */
+ public function getAttachedResourceFullName()
+ {
+ return $this->attached_resource_full_name;
+ }
+
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * of the resource to which the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * policy attaches.
+ *
+ * Generated from protobuf field string attached_resource_full_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAttachedResourceFullName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->attached_resource_full_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The IAM policy binding under analysis.
+ *
+ * Generated from protobuf field .google.iam.v1.Binding iam_binding = 2;
+ * @return \Google\Cloud\Iam\V1\Binding|null
+ */
+ public function getIamBinding()
+ {
+ return $this->iam_binding;
+ }
+
+ public function hasIamBinding()
+ {
+ return isset($this->iam_binding);
+ }
+
+ public function clearIamBinding()
+ {
+ unset($this->iam_binding);
+ }
+
+ /**
+ * The IAM policy binding under analysis.
+ *
+ * Generated from protobuf field .google.iam.v1.Binding iam_binding = 2;
+ * @param \Google\Cloud\Iam\V1\Binding $var
+ * @return $this
+ */
+ public function setIamBinding($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\Binding::class);
+ $this->iam_binding = $var;
+
+ return $this;
+ }
+
+ /**
+ * The access control lists derived from the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match resource and access selectors specified in
+ * the request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAccessControlLists()
+ {
+ return $this->access_control_lists;
+ }
+
+ /**
+ * The access control lists derived from the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match resource and access selectors specified in
+ * the request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\AccessControlList>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAccessControlLists($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\AccessControlList::class);
+ $this->access_control_lists = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The identity list derived from members of the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match identity selector specified in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList|null
+ */
+ public function getIdentityList()
+ {
+ return $this->identity_list;
+ }
+
+ public function hasIdentityList()
+ {
+ return isset($this->identity_list);
+ }
+
+ public function clearIdentityList()
+ {
+ unset($this->identity_list);
+ }
+
+ /**
+ * The identity list derived from members of the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * that match or potentially match identity selector specified in the request.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList $var
+ * @return $this
+ */
+ public function setIdentityList($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList::class);
+ $this->identity_list = $var;
+
+ return $this;
+ }
+
+ /**
+ * Represents whether all analyses on the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * have successfully finished.
+ *
+ * Generated from protobuf field bool fully_explored = 5;
+ * @return bool
+ */
+ public function getFullyExplored()
+ {
+ return $this->fully_explored;
+ }
+
+ /**
+ * Represents whether all analyses on the
+ * [iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding]
+ * have successfully finished.
+ *
+ * Generated from protobuf field bool fully_explored = 5;
+ * @param bool $var
+ * @return $this
+ */
+ public function setFullyExplored($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->fully_explored = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Access.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Access.php
new file mode 100644
index 000000000000..e7485733ea76
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Access.php
@@ -0,0 +1,155 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult.Access
+ */
+class Access extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The analysis state of this access.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
+ */
+ protected $analysis_state = null;
+ protected $oneof_access;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $role
+ * The role.
+ * @type string $permission
+ * The permission.
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisState $analysis_state
+ * The analysis state of this access.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The role.
+ *
+ * Generated from protobuf field string role = 1;
+ * @return string
+ */
+ public function getRole()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasRole()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The role.
+ *
+ * Generated from protobuf field string role = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setRole($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * The permission.
+ *
+ * Generated from protobuf field string permission = 2;
+ * @return string
+ */
+ public function getPermission()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasPermission()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * The permission.
+ *
+ * Generated from protobuf field string permission = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setPermission($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * The analysis state of this access.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisState|null
+ */
+ public function getAnalysisState()
+ {
+ return $this->analysis_state;
+ }
+
+ public function hasAnalysisState()
+ {
+ return isset($this->analysis_state);
+ }
+
+ public function clearAnalysisState()
+ {
+ unset($this->analysis_state);
+ }
+
+ /**
+ * The analysis state of this access.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisState $var
+ * @return $this
+ */
+ public function setAnalysisState($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisState::class);
+ $this->analysis_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getOneofAccess()
+ {
+ return $this->whichOneof("oneof_access");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Access::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult_Access::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/AccessControlList.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/AccessControlList.php
new file mode 100644
index 000000000000..546498886774
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/AccessControlList.php
@@ -0,0 +1,237 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList
+ */
+class AccessControlList extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resources that match one of the following conditions:
+ * - The resource_selector, if it is specified in request;
+ * - Otherwise, resources reachable from the policy attached resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
+ */
+ private $resources;
+ /**
+ * The accesses that match one of the following conditions:
+ * - The access_selector, if it is specified in request;
+ * - Otherwise, access specifiers reachable from the policy binding's role.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
+ */
+ private $accesses;
+ /**
+ * Resource edges of the graph starting from the policy attached
+ * resource to any descendant resources. The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains the full resource name of a parent resource and
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains the full resource name of a child resource. This field is
+ * present only if the output_resource_edges option is enabled in request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+ */
+ private $resource_edges;
+ /**
+ * Condition evaluation for this AccessControlList, if there is a condition
+ * defined in the above IAM policy binding.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
+ */
+ protected $condition_evaluation = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Resource>|\Google\Protobuf\Internal\RepeatedField $resources
+ * The resources that match one of the following conditions:
+ * - The resource_selector, if it is specified in request;
+ * - Otherwise, resources reachable from the policy attached resource.
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Access>|\Google\Protobuf\Internal\RepeatedField $accesses
+ * The accesses that match one of the following conditions:
+ * - The access_selector, if it is specified in request;
+ * - Otherwise, access specifiers reachable from the policy binding's role.
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge>|\Google\Protobuf\Internal\RepeatedField $resource_edges
+ * Resource edges of the graph starting from the policy attached
+ * resource to any descendant resources. The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains the full resource name of a parent resource and
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains the full resource name of a child resource. This field is
+ * present only if the output_resource_edges option is enabled in request.
+ * @type \Google\Cloud\Asset\V1\ConditionEvaluation $condition_evaluation
+ * Condition evaluation for this AccessControlList, if there is a condition
+ * defined in the above IAM policy binding.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resources that match one of the following conditions:
+ * - The resource_selector, if it is specified in request;
+ * - Otherwise, resources reachable from the policy attached resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResources()
+ {
+ return $this->resources;
+ }
+
+ /**
+ * The resources that match one of the following conditions:
+ * - The resource_selector, if it is specified in request;
+ * - Otherwise, resources reachable from the policy attached resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Resource resources = 1;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Resource>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Resource::class);
+ $this->resources = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The accesses that match one of the following conditions:
+ * - The access_selector, if it is specified in request;
+ * - Otherwise, access specifiers reachable from the policy binding's role.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAccesses()
+ {
+ return $this->accesses;
+ }
+
+ /**
+ * The accesses that match one of the following conditions:
+ * - The access_selector, if it is specified in request;
+ * - Otherwise, access specifiers reachable from the policy binding's role.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Access accesses = 2;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Access>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAccesses($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Access::class);
+ $this->accesses = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Resource edges of the graph starting from the policy attached
+ * resource to any descendant resources. The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains the full resource name of a parent resource and
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains the full resource name of a child resource. This field is
+ * present only if the output_resource_edges option is enabled in request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceEdges()
+ {
+ return $this->resource_edges;
+ }
+
+ /**
+ * Resource edges of the graph starting from the policy attached
+ * resource to any descendant resources. The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains the full resource name of a parent resource and
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains the full resource name of a child resource. This field is
+ * present only if the output_resource_edges option is enabled in request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge resource_edges = 3;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceEdges($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge::class);
+ $this->resource_edges = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Condition evaluation for this AccessControlList, if there is a condition
+ * defined in the above IAM policy binding.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
+ * @return \Google\Cloud\Asset\V1\ConditionEvaluation|null
+ */
+ public function getConditionEvaluation()
+ {
+ return $this->condition_evaluation;
+ }
+
+ public function hasConditionEvaluation()
+ {
+ return isset($this->condition_evaluation);
+ }
+
+ public function clearConditionEvaluation()
+ {
+ unset($this->condition_evaluation);
+ }
+
+ /**
+ * Condition evaluation for this AccessControlList, if there is a condition
+ * defined in the above IAM policy binding.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ConditionEvaluation condition_evaluation = 4;
+ * @param \Google\Cloud\Asset\V1\ConditionEvaluation $var
+ * @return $this
+ */
+ public function setConditionEvaluation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\ConditionEvaluation::class);
+ $this->condition_evaluation = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(AccessControlList::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult_AccessControlList::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Edge.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Edge.php
new file mode 100644
index 000000000000..6ff59e6adb86
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Edge.php
@@ -0,0 +1,112 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult.Edge
+ */
+class Edge extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The source node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ *
+ * Generated from protobuf field string source_node = 1;
+ */
+ protected $source_node = '';
+ /**
+ * The target node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ *
+ * Generated from protobuf field string target_node = 2;
+ */
+ protected $target_node = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $source_node
+ * The source node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ * @type string $target_node
+ * The target node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The source node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ *
+ * Generated from protobuf field string source_node = 1;
+ * @return string
+ */
+ public function getSourceNode()
+ {
+ return $this->source_node;
+ }
+
+ /**
+ * The source node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ *
+ * Generated from protobuf field string source_node = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setSourceNode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source_node = $var;
+
+ return $this;
+ }
+
+ /**
+ * The target node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ *
+ * Generated from protobuf field string target_node = 2;
+ * @return string
+ */
+ public function getTargetNode()
+ {
+ return $this->target_node;
+ }
+
+ /**
+ * The target node of the edge. For example, it could be a full resource
+ * name for a resource node or an email of an identity.
+ *
+ * Generated from protobuf field string target_node = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setTargetNode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->target_node = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Edge::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult_Edge::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Identity.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Identity.php
new file mode 100644
index 000000000000..7fb81d048292
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Identity.php
@@ -0,0 +1,150 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult.Identity
+ */
+class Identity extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The identity of members, formatted as appear in an
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For
+ * example, they might be formatted like the following:
+ * - user:foo@google.com
+ * - group:group1@google.com
+ * - serviceAccount:s1@prj1.iam.gserviceaccount.com
+ * - projectOwner:some_project_id
+ * - domain:google.com
+ * - allUsers
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The analysis state of this identity.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
+ */
+ protected $analysis_state = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The identity of members, formatted as appear in an
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For
+ * example, they might be formatted like the following:
+ * - user:foo@google.com
+ * - group:group1@google.com
+ * - serviceAccount:s1@prj1.iam.gserviceaccount.com
+ * - projectOwner:some_project_id
+ * - domain:google.com
+ * - allUsers
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisState $analysis_state
+ * The analysis state of this identity.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The identity of members, formatted as appear in an
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For
+ * example, they might be formatted like the following:
+ * - user:foo@google.com
+ * - group:group1@google.com
+ * - serviceAccount:s1@prj1.iam.gserviceaccount.com
+ * - projectOwner:some_project_id
+ * - domain:google.com
+ * - allUsers
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The identity of members, formatted as appear in an
+ * [IAM policy
+ * binding](https://cloud.google.com/iam/reference/rest/v1/Binding). For
+ * example, they might be formatted like the following:
+ * - user:foo@google.com
+ * - group:group1@google.com
+ * - serviceAccount:s1@prj1.iam.gserviceaccount.com
+ * - projectOwner:some_project_id
+ * - domain:google.com
+ * - allUsers
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The analysis state of this identity.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisState|null
+ */
+ public function getAnalysisState()
+ {
+ return $this->analysis_state;
+ }
+
+ public function hasAnalysisState()
+ {
+ return isset($this->analysis_state);
+ }
+
+ public function clearAnalysisState()
+ {
+ unset($this->analysis_state);
+ }
+
+ /**
+ * The analysis state of this identity.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisState $var
+ * @return $this
+ */
+ public function setAnalysisState($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisState::class);
+ $this->analysis_state = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Identity::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult_Identity::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/IdentityList.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/IdentityList.php
new file mode 100644
index 000000000000..83ce34566de4
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/IdentityList.php
@@ -0,0 +1,152 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList
+ */
+class IdentityList extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Only the identities that match one of the following conditions will be
+ * presented:
+ * - The identity_selector, if it is specified in request;
+ * - Otherwise, identities reachable from the policy binding's members.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
+ */
+ private $identities;
+ /**
+ * Group identity edges of the graph starting from the binding's
+ * group members to any node of the
+ * [identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
+ * The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains a group, such as `group:parent@google.com`. The
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains a member of the group, such as `group:child@google.com` or
+ * `user:foo@google.com`. This field is present only if the
+ * output_group_edges option is enabled in request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
+ */
+ private $group_edges;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Identity>|\Google\Protobuf\Internal\RepeatedField $identities
+ * Only the identities that match one of the following conditions will be
+ * presented:
+ * - The identity_selector, if it is specified in request;
+ * - Otherwise, identities reachable from the policy binding's members.
+ * @type array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge>|\Google\Protobuf\Internal\RepeatedField $group_edges
+ * Group identity edges of the graph starting from the binding's
+ * group members to any node of the
+ * [identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
+ * The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains a group, such as `group:parent@google.com`. The
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains a member of the group, such as `group:child@google.com` or
+ * `user:foo@google.com`. This field is present only if the
+ * output_group_edges option is enabled in request.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Only the identities that match one of the following conditions will be
+ * presented:
+ * - The identity_selector, if it is specified in request;
+ * - Otherwise, identities reachable from the policy binding's members.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getIdentities()
+ {
+ return $this->identities;
+ }
+
+ /**
+ * Only the identities that match one of the following conditions will be
+ * presented:
+ * - The identity_selector, if it is specified in request;
+ * - Otherwise, identities reachable from the policy binding's members.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Identity identities = 1;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Identity>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setIdentities($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Identity::class);
+ $this->identities = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Group identity edges of the graph starting from the binding's
+ * group members to any node of the
+ * [identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
+ * The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains a group, such as `group:parent@google.com`. The
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains a member of the group, such as `group:child@google.com` or
+ * `user:foo@google.com`. This field is present only if the
+ * output_group_edges option is enabled in request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGroupEdges()
+ {
+ return $this->group_edges;
+ }
+
+ /**
+ * Group identity edges of the graph starting from the binding's
+ * group members to any node of the
+ * [identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities].
+ * The
+ * [Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node]
+ * contains a group, such as `group:parent@google.com`. The
+ * [Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node]
+ * contains a member of the group, such as `group:child@google.com` or
+ * `user:foo@google.com`. This field is present only if the
+ * output_group_edges option is enabled in request.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.Edge group_edges = 2;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGroupEdges($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult\Edge::class);
+ $this->group_edges = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(IdentityList::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult_IdentityList::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Resource.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Resource.php
new file mode 100644
index 000000000000..e8995d92953c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisResult/Resource.php
@@ -0,0 +1,118 @@
+google.cloud.asset.v1.IamPolicyAnalysisResult.Resource
+ */
+class Resource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ */
+ protected $full_resource_name = '';
+ /**
+ * The analysis state of this resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
+ */
+ protected $analysis_state = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $full_resource_name
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisState $analysis_state
+ * The analysis state of this resource.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ * @return string
+ */
+ public function getFullResourceName()
+ {
+ return $this->full_resource_name;
+ }
+
+ /**
+ * The [full resource
+ * name](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ *
+ * Generated from protobuf field string full_resource_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->full_resource_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The analysis state of this resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisState|null
+ */
+ public function getAnalysisState()
+ {
+ return $this->analysis_state;
+ }
+
+ public function hasAnalysisState()
+ {
+ return isset($this->analysis_state);
+ }
+
+ public function clearAnalysisState()
+ {
+ unset($this->analysis_state);
+ }
+
+ /**
+ * The analysis state of this resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 2;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisState $var
+ * @return $this
+ */
+ public function setAnalysisState($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisState::class);
+ $this->analysis_state = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Resource::class, \Google\Cloud\Asset\V1\IamPolicyAnalysisResult_Resource::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisState.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisState.php
new file mode 100644
index 000000000000..9ebcebbe8a81
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicyAnalysisState.php
@@ -0,0 +1,122 @@
+google.cloud.asset.v1.IamPolicyAnalysisState
+ */
+class IamPolicyAnalysisState extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The Google standard error code that best describes the state.
+ * For example:
+ * - OK means the analysis on this entity has been successfully finished;
+ * - PERMISSION_DENIED means an access denied error is encountered;
+ * - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
+ * in time;
+ *
+ * Generated from protobuf field .google.rpc.Code code = 1;
+ */
+ protected $code = 0;
+ /**
+ * The human-readable description of the cause of failure.
+ *
+ * Generated from protobuf field string cause = 2;
+ */
+ protected $cause = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $code
+ * The Google standard error code that best describes the state.
+ * For example:
+ * - OK means the analysis on this entity has been successfully finished;
+ * - PERMISSION_DENIED means an access denied error is encountered;
+ * - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
+ * in time;
+ * @type string $cause
+ * The human-readable description of the cause of failure.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The Google standard error code that best describes the state.
+ * For example:
+ * - OK means the analysis on this entity has been successfully finished;
+ * - PERMISSION_DENIED means an access denied error is encountered;
+ * - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
+ * in time;
+ *
+ * Generated from protobuf field .google.rpc.Code code = 1;
+ * @return int
+ */
+ public function getCode()
+ {
+ return $this->code;
+ }
+
+ /**
+ * The Google standard error code that best describes the state.
+ * For example:
+ * - OK means the analysis on this entity has been successfully finished;
+ * - PERMISSION_DENIED means an access denied error is encountered;
+ * - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started
+ * in time;
+ *
+ * Generated from protobuf field .google.rpc.Code code = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setCode($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Rpc\Code::class);
+ $this->code = $var;
+
+ return $this;
+ }
+
+ /**
+ * The human-readable description of the cause of failure.
+ *
+ * Generated from protobuf field string cause = 2;
+ * @return string
+ */
+ public function getCause()
+ {
+ return $this->cause;
+ }
+
+ /**
+ * The human-readable description of the cause of failure.
+ *
+ * Generated from protobuf field string cause = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setCause($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->cause = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult.php
new file mode 100644
index 000000000000..2d9e36b7fb6a
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult.php
@@ -0,0 +1,451 @@
+google.cloud.asset.v1.IamPolicySearchResult
+ */
+class IamPolicySearchResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The full resource name of the resource associated with this IAM policy.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * To search against the `resource`:
+ * * use a field query. Example: `resource:organizations/123`
+ *
+ * Generated from protobuf field string resource = 1;
+ */
+ protected $resource = '';
+ /**
+ * The type of the resource associated with this IAM policy. Example:
+ * `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * specify the `asset_types` field in your search request.
+ *
+ * Generated from protobuf field string asset_type = 5;
+ */
+ protected $asset_type = '';
+ /**
+ * The project that the associated Google Cloud resource belongs to, in the
+ * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
+ * (like VM instance, Cloud Storage bucket), the project field will indicate
+ * the project that contains the resource. If an IAM policy is set on a folder
+ * or orgnization, this field will be empty.
+ * To search against the `project`:
+ * * specify the `scope` field as this project in your search request.
+ *
+ * Generated from protobuf field string project = 2;
+ */
+ protected $project = '';
+ /**
+ * The folder(s) that the IAM policy belongs to, in the form of
+ * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
+ * belongs to one or more folders.
+ * To search against `folders`:
+ * * use a field query. Example: `folders:(123 OR 456)`
+ * * use a free text query. Example: `123`
+ * * specify the `scope` field as this folder in your search request.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ */
+ private $folders;
+ /**
+ * The organization that the IAM policy belongs to, in the form
+ * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * IAM policy belongs to an organization.
+ * To search against `organization`:
+ * * use a field query. Example: `organization:123`
+ * * use a free text query. Example: `123`
+ * * specify the `scope` field as this organization in your search request.
+ *
+ * Generated from protobuf field string organization = 7;
+ */
+ protected $organization = '';
+ /**
+ * The IAM policy directly set on the given resource. Note that the original
+ * IAM policy can contain multiple bindings. This only contains the bindings
+ * that match the given query. For queries that don't contain a constrain on
+ * policies (e.g., an empty query), this contains all the bindings.
+ * To search against the `policy` bindings:
+ * * use a field query:
+ * - query by the policy contained members. Example:
+ * `policy:amy@gmail.com`
+ * - query by the policy contained roles. Example:
+ * `policy:roles/compute.admin`
+ * - query by the policy contained roles' included permissions. Example:
+ * `policy.role.permissions:compute.instances.create`
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 3;
+ */
+ protected $policy = null;
+ /**
+ * Explanation about the IAM policy search result. It contains additional
+ * information to explain why the search result matches the query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
+ */
+ protected $explanation = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $resource
+ * The full resource name of the resource associated with this IAM policy.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * To search against the `resource`:
+ * * use a field query. Example: `resource:organizations/123`
+ * @type string $asset_type
+ * The type of the resource associated with this IAM policy. Example:
+ * `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * specify the `asset_types` field in your search request.
+ * @type string $project
+ * The project that the associated Google Cloud resource belongs to, in the
+ * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
+ * (like VM instance, Cloud Storage bucket), the project field will indicate
+ * the project that contains the resource. If an IAM policy is set on a folder
+ * or orgnization, this field will be empty.
+ * To search against the `project`:
+ * * specify the `scope` field as this project in your search request.
+ * @type arraystring resource = 1;
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ /**
+ * The full resource name of the resource associated with this IAM policy.
+ * Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * To search against the `resource`:
+ * * use a field query. Example: `resource:organizations/123`
+ *
+ * Generated from protobuf field string resource = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of the resource associated with this IAM policy. Example:
+ * `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * specify the `asset_types` field in your search request.
+ *
+ * Generated from protobuf field string asset_type = 5;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The type of the resource associated with this IAM policy. Example:
+ * `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * specify the `asset_types` field in your search request.
+ *
+ * Generated from protobuf field string asset_type = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The project that the associated Google Cloud resource belongs to, in the
+ * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
+ * (like VM instance, Cloud Storage bucket), the project field will indicate
+ * the project that contains the resource. If an IAM policy is set on a folder
+ * or orgnization, this field will be empty.
+ * To search against the `project`:
+ * * specify the `scope` field as this project in your search request.
+ *
+ * Generated from protobuf field string project = 2;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * The project that the associated Google Cloud resource belongs to, in the
+ * form of projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource
+ * (like VM instance, Cloud Storage bucket), the project field will indicate
+ * the project that contains the resource. If an IAM policy is set on a folder
+ * or orgnization, this field will be empty.
+ * To search against the `project`:
+ * * specify the `scope` field as this project in your search request.
+ *
+ * Generated from protobuf field string project = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * The folder(s) that the IAM policy belongs to, in the form of
+ * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
+ * belongs to one or more folders.
+ * To search against `folders`:
+ * * use a field query. Example: `folders:(123 OR 456)`
+ * * use a free text query. Example: `123`
+ * * specify the `scope` field as this folder in your search request.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+
+ /**
+ * The folder(s) that the IAM policy belongs to, in the form of
+ * folders/{FOLDER_NUMBER}. This field is available when the IAM policy
+ * belongs to one or more folders.
+ * To search against `folders`:
+ * * use a field query. Example: `folders:(123 OR 456)`
+ * * use a free text query. Example: `123`
+ * * specify the `scope` field as this folder in your search request.
+ *
+ * Generated from protobuf field repeated string folders = 6;
+ * @param arraystring organization = 7;
+ * @return string
+ */
+ public function getOrganization()
+ {
+ return $this->organization;
+ }
+
+ /**
+ * The organization that the IAM policy belongs to, in the form
+ * of organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * IAM policy belongs to an organization.
+ * To search against `organization`:
+ * * use a field query. Example: `organization:123`
+ * * use a free text query. Example: `123`
+ * * specify the `scope` field as this organization in your search request.
+ *
+ * Generated from protobuf field string organization = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setOrganization($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->organization = $var;
+
+ return $this;
+ }
+
+ /**
+ * The IAM policy directly set on the given resource. Note that the original
+ * IAM policy can contain multiple bindings. This only contains the bindings
+ * that match the given query. For queries that don't contain a constrain on
+ * policies (e.g., an empty query), this contains all the bindings.
+ * To search against the `policy` bindings:
+ * * use a field query:
+ * - query by the policy contained members. Example:
+ * `policy:amy@gmail.com`
+ * - query by the policy contained roles. Example:
+ * `policy:roles/compute.admin`
+ * - query by the policy contained roles' included permissions. Example:
+ * `policy.role.permissions:compute.instances.create`
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 3;
+ * @return \Google\Cloud\Iam\V1\Policy|null
+ */
+ public function getPolicy()
+ {
+ return $this->policy;
+ }
+
+ public function hasPolicy()
+ {
+ return isset($this->policy);
+ }
+
+ public function clearPolicy()
+ {
+ unset($this->policy);
+ }
+
+ /**
+ * The IAM policy directly set on the given resource. Note that the original
+ * IAM policy can contain multiple bindings. This only contains the bindings
+ * that match the given query. For queries that don't contain a constrain on
+ * policies (e.g., an empty query), this contains all the bindings.
+ * To search against the `policy` bindings:
+ * * use a field query:
+ * - query by the policy contained members. Example:
+ * `policy:amy@gmail.com`
+ * - query by the policy contained roles. Example:
+ * `policy:roles/compute.admin`
+ * - query by the policy contained roles' included permissions. Example:
+ * `policy.role.permissions:compute.instances.create`
+ *
+ * Generated from protobuf field .google.iam.v1.Policy policy = 3;
+ * @param \Google\Cloud\Iam\V1\Policy $var
+ * @return $this
+ */
+ public function setPolicy($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Iam\V1\Policy::class);
+ $this->policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * Explanation about the IAM policy search result. It contains additional
+ * information to explain why the search result matches the query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
+ * @return \Google\Cloud\Asset\V1\IamPolicySearchResult\Explanation|null
+ */
+ public function getExplanation()
+ {
+ return $this->explanation;
+ }
+
+ public function hasExplanation()
+ {
+ return isset($this->explanation);
+ }
+
+ public function clearExplanation()
+ {
+ unset($this->explanation);
+ }
+
+ /**
+ * Explanation about the IAM policy search result. It contains additional
+ * information to explain why the search result matches the query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicySearchResult.Explanation explanation = 4;
+ * @param \Google\Cloud\Asset\V1\IamPolicySearchResult\Explanation $var
+ * @return $this
+ */
+ public function setExplanation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicySearchResult\Explanation::class);
+ $this->explanation = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult/Explanation.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult/Explanation.php
new file mode 100644
index 000000000000..ab50a6e86090
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult/Explanation.php
@@ -0,0 +1,94 @@
+google.cloud.asset.v1.IamPolicySearchResult.Explanation
+ */
+class Explanation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The map from roles to their included permissions that match the
+ * permission query (i.e., a query containing `policy.role.permissions:`).
+ * Example: if query `policy.role.permissions:compute.disk.get`
+ * matches a policy binding that contains owner role, the
+ * matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The
+ * roles can also be found in the returned `policy` bindings. Note that the
+ * map is populated only for requests with permission queries.
+ *
+ * Generated from protobuf field map matched_permissions = 1;
+ */
+ private $matched_permissions;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array|\Google\Protobuf\Internal\MapField $matched_permissions
+ * The map from roles to their included permissions that match the
+ * permission query (i.e., a query containing `policy.role.permissions:`).
+ * Example: if query `policy.role.permissions:compute.disk.get`
+ * matches a policy binding that contains owner role, the
+ * matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The
+ * roles can also be found in the returned `policy` bindings. Note that the
+ * map is populated only for requests with permission queries.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The map from roles to their included permissions that match the
+ * permission query (i.e., a query containing `policy.role.permissions:`).
+ * Example: if query `policy.role.permissions:compute.disk.get`
+ * matches a policy binding that contains owner role, the
+ * matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The
+ * roles can also be found in the returned `policy` bindings. Note that the
+ * map is populated only for requests with permission queries.
+ *
+ * Generated from protobuf field map matched_permissions = 1;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getMatchedPermissions()
+ {
+ return $this->matched_permissions;
+ }
+
+ /**
+ * The map from roles to their included permissions that match the
+ * permission query (i.e., a query containing `policy.role.permissions:`).
+ * Example: if query `policy.role.permissions:compute.disk.get`
+ * matches a policy binding that contains owner role, the
+ * matched_permissions will be `{"roles/owner": ["compute.disk.get"]}`. The
+ * roles can also be found in the returned `policy` bindings. Note that the
+ * map is populated only for requests with permission queries.
+ *
+ * Generated from protobuf field map matched_permissions = 1;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setMatchedPermissions($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicySearchResult\Explanation\Permissions::class);
+ $this->matched_permissions = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Explanation::class, \Google\Cloud\Asset\V1\IamPolicySearchResult_Explanation::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult/Explanation/Permissions.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult/Explanation/Permissions.php
new file mode 100644
index 000000000000..7524b94e63b5
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/IamPolicySearchResult/Explanation/Permissions.php
@@ -0,0 +1,70 @@
+google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions
+ */
+class Permissions extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of permissions. A sample permission string: `compute.disk.get`.
+ *
+ * Generated from protobuf field repeated string permissions = 1;
+ */
+ private $permissions;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string permissions = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPermissions()
+ {
+ return $this->permissions;
+ }
+
+ /**
+ * A list of permissions. A sample permission string: `compute.disk.get`.
+ *
+ * Generated from protobuf field repeated string permissions = 1;
+ * @param arraystring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 2;
+ */
+ protected $read_time = null;
+ /**
+ * A list of asset types to take a snapshot for. For example:
+ * "compute.googleapis.com/Disk".
+ * Regular expression is also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ * If specified, only matching assets will be returned, otherwise, it will
+ * snapshot all asset types. See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ */
+ private $asset_types;
+ /**
+ * Asset content type. If not specified, no content but the asset name will
+ * be returned.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 4;
+ */
+ protected $content_type = 0;
+ /**
+ * The maximum number of assets to be returned in a single response. Default
+ * is 100, minimum is 1, and maximum is 1000.
+ *
+ * Generated from protobuf field int32 page_size = 5;
+ */
+ protected $page_size = 0;
+ /**
+ * The `next_page_token` returned from the previous `ListAssetsResponse`, or
+ * unspecified for the first `ListAssetsRequest`. It is a continuation of a
+ * prior `ListAssets` call, and the API should return the next page of assets.
+ *
+ * Generated from protobuf field string page_token = 6;
+ */
+ protected $page_token = '';
+ /**
+ * A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it snapshots specified relationships. It returns an error if
+ * any of the [relationship_types] doesn't belong to the supported
+ * relationship types of the [asset_types] or if any of the [asset_types]
+ * doesn't belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it snapshots the supported relationships for all [asset_types] or returns
+ * an error if any of the [asset_types] has no relationship support.
+ * An unspecified asset types field means all supported asset_types.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 7;
+ */
+ private $relationship_types;
+
+ /**
+ * @param string $parent Required. Name of the organization, folder, or project the assets belong
+ * to. Format: "organizations/[organization-number]" (such as
+ * "organizations/123"), "projects/[project-id]" (such as
+ * "projects/my-project-id"), "projects/[project-number]" (such as
+ * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
+ *
+ * @return \Google\Cloud\Asset\V1\ListAssetsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Name of the organization, folder, or project the assets belong
+ * to. Format: "organizations/[organization-number]" (such as
+ * "organizations/123"), "projects/[project-id]" (such as
+ * "projects/my-project-id"), "projects/[project-number]" (such as
+ * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
+ * @type \Google\Protobuf\Timestamp $read_time
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ * @type arraystring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Name of the organization, folder, or project the assets belong
+ * to. Format: "organizations/[organization-number]" (such as
+ * "organizations/123"), "projects/[project-id]" (such as
+ * "projects/my-project-id"), "projects/[project-number]" (such as
+ * "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 2;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getReadTime()
+ {
+ return $this->read_time;
+ }
+
+ public function hasReadTime()
+ {
+ return isset($this->read_time);
+ }
+
+ public function clearReadTime()
+ {
+ unset($this->read_time);
+ }
+
+ /**
+ * Timestamp to take an asset snapshot. This can only be set to a timestamp
+ * between the current time and the current time minus 35 days (inclusive).
+ * If not specified, the current time will be used. Due to delays in resource
+ * data collection and indexing, there is a volatile window during which
+ * running the same query may get different results.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 2;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setReadTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->read_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of asset types to take a snapshot for. For example:
+ * "compute.googleapis.com/Disk".
+ * Regular expression is also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ * If specified, only matching assets will be returned, otherwise, it will
+ * snapshot all asset types. See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetTypes()
+ {
+ return $this->asset_types;
+ }
+
+ /**
+ * A list of asset types to take a snapshot for. For example:
+ * "compute.googleapis.com/Disk".
+ * Regular expression is also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ * If specified, only matching assets will be returned, otherwise, it will
+ * snapshot all asset types. See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types.
+ *
+ * Generated from protobuf field repeated string asset_types = 3;
+ * @param array.google.cloud.asset.v1.ContentType content_type = 4;
+ * @return int
+ */
+ public function getContentType()
+ {
+ return $this->content_type;
+ }
+
+ /**
+ * Asset content type. If not specified, no content but the asset name will
+ * be returned.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.ContentType content_type = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setContentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\ContentType::class);
+ $this->content_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The maximum number of assets to be returned in a single response. Default
+ * is 100, minimum is 1, and maximum is 1000.
+ *
+ * Generated from protobuf field int32 page_size = 5;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * The maximum number of assets to be returned in a single response. Default
+ * is 100, minimum is 1, and maximum is 1000.
+ *
+ * Generated from protobuf field int32 page_size = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * The `next_page_token` returned from the previous `ListAssetsResponse`, or
+ * unspecified for the first `ListAssetsRequest`. It is a continuation of a
+ * prior `ListAssets` call, and the API should return the next page of assets.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * The `next_page_token` returned from the previous `ListAssetsResponse`, or
+ * unspecified for the first `ListAssetsRequest`. It is a continuation of a
+ * prior `ListAssets` call, and the API should return the next page of assets.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it snapshots specified relationships. It returns an error if
+ * any of the [relationship_types] doesn't belong to the supported
+ * relationship types of the [asset_types] or if any of the [asset_types]
+ * doesn't belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it snapshots the supported relationships for all [asset_types] or returns
+ * an error if any of the [asset_types] has no relationship support.
+ * An unspecified asset types field means all supported asset_types.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 7;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRelationshipTypes()
+ {
+ return $this->relationship_types;
+ }
+
+ /**
+ * A list of relationship types to output, for example:
+ * `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if
+ * content_type=RELATIONSHIP.
+ * * If specified:
+ * it snapshots specified relationships. It returns an error if
+ * any of the [relationship_types] doesn't belong to the supported
+ * relationship types of the [asset_types] or if any of the [asset_types]
+ * doesn't belong to the source types of the [relationship_types].
+ * * Otherwise:
+ * it snapshots the supported relationships for all [asset_types] or returns
+ * an error if any of the [asset_types] has no relationship support.
+ * An unspecified asset types field means all supported asset_types.
+ * See [Introduction to Cloud Asset
+ * Inventory](https://cloud.google.com/asset-inventory/docs/overview)
+ * for all supported asset types and relationship types.
+ *
+ * Generated from protobuf field repeated string relationship_types = 7;
+ * @param array.google.protobuf.Timestamp read_time = 1;
+ */
+ protected $read_time = null;
+ /**
+ * Assets.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Asset assets = 2;
+ */
+ private $assets;
+ /**
+ * Token to retrieve the next page of results. It expires 72 hours after the
+ * page token for the first page is generated. Set to empty if there are no
+ * remaining results.
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $read_time
+ * Time the snapshot was taken.
+ * @type array<\Google\Cloud\Asset\V1\Asset>|\Google\Protobuf\Internal\RepeatedField $assets
+ * Assets.
+ * @type string $next_page_token
+ * Token to retrieve the next page of results. It expires 72 hours after the
+ * page token for the first page is generated. Set to empty if there are no
+ * remaining results.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Time the snapshot was taken.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 1;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getReadTime()
+ {
+ return $this->read_time;
+ }
+
+ public function hasReadTime()
+ {
+ return isset($this->read_time);
+ }
+
+ public function clearReadTime()
+ {
+ unset($this->read_time);
+ }
+
+ /**
+ * Time the snapshot was taken.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 1;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setReadTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->read_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Assets.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Asset assets = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ /**
+ * Assets.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Asset assets = 2;
+ * @param array<\Google\Cloud\Asset\V1\Asset>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAssets($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\Asset::class);
+ $this->assets = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Token to retrieve the next page of results. It expires 72 hours after the
+ * page token for the first page is generated. Set to empty if there are no
+ * remaining results.
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * Token to retrieve the next page of results. It expires 72 hours after the
+ * page token for the first page is generated. Set to empty if there are no
+ * remaining results.
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListFeedsRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListFeedsRequest.php
new file mode 100644
index 000000000000..65a48c3d0ae5
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListFeedsRequest.php
@@ -0,0 +1,90 @@
+google.cloud.asset.v1.ListFeedsRequest
+ */
+class ListFeedsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The parent project/folder/organization whose feeds are to be
+ * listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $parent = '';
+
+ /**
+ * @param string $parent Required. The parent project/folder/organization whose feeds are to be
+ * listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * @return \Google\Cloud\Asset\V1\ListFeedsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The parent project/folder/organization whose feeds are to be
+ * listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The parent project/folder/organization whose feeds are to be
+ * listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The parent project/folder/organization whose feeds are to be
+ * listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListFeedsResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListFeedsResponse.php
new file mode 100644
index 000000000000..16092aec80d7
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListFeedsResponse.php
@@ -0,0 +1,65 @@
+google.cloud.asset.v1.ListFeedsResponse
+ */
+class ListFeedsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of feeds.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Feed feeds = 1;
+ */
+ private $feeds;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\Feed>|\Google\Protobuf\Internal\RepeatedField $feeds
+ * A list of feeds.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of feeds.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Feed feeds = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFeeds()
+ {
+ return $this->feeds;
+ }
+
+ /**
+ * A list of feeds.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Feed feeds = 1;
+ * @param array<\Google\Cloud\Asset\V1\Feed>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFeeds($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\Feed::class);
+ $this->feeds = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListSavedQueriesRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListSavedQueriesRequest.php
new file mode 100644
index 000000000000..3e3581b026c6
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListSavedQueriesRequest.php
@@ -0,0 +1,237 @@
+google.cloud.asset.v1.ListSavedQueriesRequest
+ */
+class ListSavedQueriesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The parent project/folder/organization whose savedQueries are to
+ * be listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Optional. The expression to filter resources.
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations. The expression may also contain regular expressions.
+ * See https://google.aip.dev/160 for more information on the grammar.
+ *
+ * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $filter = '';
+ /**
+ * Optional. The maximum number of saved queries to return per page. The
+ * service may return fewer than this value. If unspecified, at most 50 will
+ * be returned. The maximum value is 1000; values above 1000 will be coerced
+ * to 1000.
+ *
+ * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_size = 0;
+ /**
+ * Optional. A page token, received from a previous `ListSavedQueries` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListSavedQueries` must
+ * match the call that provided the page token.
+ *
+ * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $parent Required. The parent project/folder/organization whose savedQueries are to
+ * be listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id"). Please see
+ * {@see AssetServiceClient::projectName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\Asset\V1\ListSavedQueriesRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The parent project/folder/organization whose savedQueries are to
+ * be listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ * @type string $filter
+ * Optional. The expression to filter resources.
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations. The expression may also contain regular expressions.
+ * See https://google.aip.dev/160 for more information on the grammar.
+ * @type int $page_size
+ * Optional. The maximum number of saved queries to return per page. The
+ * service may return fewer than this value. If unspecified, at most 50 will
+ * be returned. The maximum value is 1000; values above 1000 will be coerced
+ * to 1000.
+ * @type string $page_token
+ * Optional. A page token, received from a previous `ListSavedQueries` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListSavedQueries` must
+ * match the call that provided the page token.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The parent project/folder/organization whose savedQueries are to
+ * be listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The parent project/folder/organization whose savedQueries are to
+ * be listed. It can only be using project/folder/organization number (such as
+ * "folders/12345")", or a project ID (such as "projects/my-project-id").
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The expression to filter resources.
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations. The expression may also contain regular expressions.
+ * See https://google.aip.dev/160 for more information on the grammar.
+ *
+ * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * Optional. The expression to filter resources.
+ * The expression is a list of zero or more restrictions combined via logical
+ * operators `AND` and `OR`. When `AND` and `OR` are both used in the
+ * expression, parentheses must be appropriately used to group the
+ * combinations. The expression may also contain regular expressions.
+ * See https://google.aip.dev/160 for more information on the grammar.
+ *
+ * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The maximum number of saved queries to return per page. The
+ * service may return fewer than this value. If unspecified, at most 50 will
+ * be returned. The maximum value is 1000; values above 1000 will be coerced
+ * to 1000.
+ *
+ * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Optional. The maximum number of saved queries to return per page. The
+ * service may return fewer than this value. If unspecified, at most 50 will
+ * be returned. The maximum value is 1000; values above 1000 will be coerced
+ * to 1000.
+ *
+ * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A page token, received from a previous `ListSavedQueries` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListSavedQueries` must
+ * match the call that provided the page token.
+ *
+ * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Optional. A page token, received from a previous `ListSavedQueries` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListSavedQueries` must
+ * match the call that provided the page token.
+ *
+ * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListSavedQueriesResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListSavedQueriesResponse.php
new file mode 100644
index 000000000000..9ddbb17f2f2d
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ListSavedQueriesResponse.php
@@ -0,0 +1,105 @@
+google.cloud.asset.v1.ListSavedQueriesResponse
+ */
+class ListSavedQueriesResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of savedQueries.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
+ */
+ private $saved_queries;
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\SavedQuery>|\Google\Protobuf\Internal\RepeatedField $saved_queries
+ * A list of savedQueries.
+ * @type string $next_page_token
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of savedQueries.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSavedQueries()
+ {
+ return $this->saved_queries;
+ }
+
+ /**
+ * A list of savedQueries.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.SavedQuery saved_queries = 1;
+ * @param array<\Google\Cloud\Asset\V1\SavedQuery>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setSavedQueries($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\SavedQuery::class);
+ $this->saved_queries = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveAnalysis.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveAnalysis.php
new file mode 100644
index 000000000000..8661760af4e3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveAnalysis.php
@@ -0,0 +1,146 @@
+google.cloud.asset.v1.MoveAnalysis
+ */
+class MoveAnalysis extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The user friendly display name of the analysis. E.g. IAM, organization
+ * policy etc.
+ *
+ * Generated from protobuf field string display_name = 1;
+ */
+ protected $display_name = '';
+ protected $result;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $display_name
+ * The user friendly display name of the analysis. E.g. IAM, organization
+ * policy etc.
+ * @type \Google\Cloud\Asset\V1\MoveAnalysisResult $analysis
+ * Analysis result of moving the target resource.
+ * @type \Google\Rpc\Status $error
+ * Description of error encountered when performing the analysis.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The user friendly display name of the analysis. E.g. IAM, organization
+ * policy etc.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * The user friendly display name of the analysis. E.g. IAM, organization
+ * policy etc.
+ *
+ * Generated from protobuf field string display_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Analysis result of moving the target resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.MoveAnalysisResult analysis = 2;
+ * @return \Google\Cloud\Asset\V1\MoveAnalysisResult|null
+ */
+ public function getAnalysis()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasAnalysis()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Analysis result of moving the target resource.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.MoveAnalysisResult analysis = 2;
+ * @param \Google\Cloud\Asset\V1\MoveAnalysisResult $var
+ * @return $this
+ */
+ public function setAnalysis($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\MoveAnalysisResult::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Description of error encountered when performing the analysis.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ * @return \Google\Rpc\Status|null
+ */
+ public function getError()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasError()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Description of error encountered when performing the analysis.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ * @param \Google\Rpc\Status $var
+ * @return $this
+ */
+ public function setError($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Rpc\Status::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getResult()
+ {
+ return $this->whichOneof("result");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveAnalysisResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveAnalysisResult.php
new file mode 100644
index 000000000000..621242eaf526
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveAnalysisResult.php
@@ -0,0 +1,113 @@
+google.cloud.asset.v1.MoveAnalysisResult
+ */
+class MoveAnalysisResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Blocking information that would prevent the target resource from moving
+ * to the specified destination at runtime.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
+ */
+ private $blockers;
+ /**
+ * Warning information indicating that moving the target resource to the
+ * specified destination might be unsafe. This can include important policy
+ * information and configuration changes, but will not block moves at runtime.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
+ */
+ private $warnings;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\MoveImpact>|\Google\Protobuf\Internal\RepeatedField $blockers
+ * Blocking information that would prevent the target resource from moving
+ * to the specified destination at runtime.
+ * @type array<\Google\Cloud\Asset\V1\MoveImpact>|\Google\Protobuf\Internal\RepeatedField $warnings
+ * Warning information indicating that moving the target resource to the
+ * specified destination might be unsafe. This can include important policy
+ * information and configuration changes, but will not block moves at runtime.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Blocking information that would prevent the target resource from moving
+ * to the specified destination at runtime.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBlockers()
+ {
+ return $this->blockers;
+ }
+
+ /**
+ * Blocking information that would prevent the target resource from moving
+ * to the specified destination at runtime.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
+ * @param array<\Google\Cloud\Asset\V1\MoveImpact>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBlockers($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\MoveImpact::class);
+ $this->blockers = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Warning information indicating that moving the target resource to the
+ * specified destination might be unsafe. This can include important policy
+ * information and configuration changes, but will not block moves at runtime.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getWarnings()
+ {
+ return $this->warnings;
+ }
+
+ /**
+ * Warning information indicating that moving the target resource to the
+ * specified destination might be unsafe. This can include important policy
+ * information and configuration changes, but will not block moves at runtime.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
+ * @param array<\Google\Cloud\Asset\V1\MoveImpact>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setWarnings($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\MoveImpact::class);
+ $this->warnings = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveImpact.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveImpact.php
new file mode 100644
index 000000000000..6174ec1638ba
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/MoveImpact.php
@@ -0,0 +1,67 @@
+google.cloud.asset.v1.MoveImpact
+ */
+class MoveImpact extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * User friendly impact detail in a free form message.
+ *
+ * Generated from protobuf field string detail = 1;
+ */
+ protected $detail = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $detail
+ * User friendly impact detail in a free form message.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * User friendly impact detail in a free form message.
+ *
+ * Generated from protobuf field string detail = 1;
+ * @return string
+ */
+ public function getDetail()
+ {
+ return $this->detail;
+ }
+
+ /**
+ * User friendly impact detail in a free form message.
+ *
+ * Generated from protobuf field string detail = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDetail($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->detail = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/OutputConfig.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/OutputConfig.php
new file mode 100644
index 000000000000..755ecf4df045
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/OutputConfig.php
@@ -0,0 +1,111 @@
+google.cloud.asset.v1.OutputConfig
+ */
+class OutputConfig extends \Google\Protobuf\Internal\Message
+{
+ protected $destination;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\GcsDestination $gcs_destination
+ * Destination on Cloud Storage.
+ * @type \Google\Cloud\Asset\V1\BigQueryDestination $bigquery_destination
+ * Destination on BigQuery. The output table stores the fields in asset
+ * Protobuf as columns in BigQuery.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Destination on Cloud Storage.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.GcsDestination gcs_destination = 1;
+ * @return \Google\Cloud\Asset\V1\GcsDestination|null
+ */
+ public function getGcsDestination()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsDestination()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Destination on Cloud Storage.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.GcsDestination gcs_destination = 1;
+ * @param \Google\Cloud\Asset\V1\GcsDestination $var
+ * @return $this
+ */
+ public function setGcsDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\GcsDestination::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Destination on BigQuery. The output table stores the fields in asset
+ * Protobuf as columns in BigQuery.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
+ * @return \Google\Cloud\Asset\V1\BigQueryDestination|null
+ */
+ public function getBigqueryDestination()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasBigqueryDestination()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Destination on BigQuery. The output table stores the fields in asset
+ * Protobuf as columns in BigQuery.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.BigQueryDestination bigquery_destination = 2;
+ * @param \Google\Cloud\Asset\V1\BigQueryDestination $var
+ * @return $this
+ */
+ public function setBigqueryDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\BigQueryDestination::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDestination()
+ {
+ return $this->whichOneof("destination");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/OutputResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/OutputResult.php
new file mode 100644
index 000000000000..c81bfd357244
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/OutputResult.php
@@ -0,0 +1,75 @@
+google.cloud.asset.v1.OutputResult
+ */
+class OutputResult extends \Google\Protobuf\Internal\Message
+{
+ protected $result;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\GcsOutputResult $gcs_result
+ * Export result on Cloud Storage.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Export result on Cloud Storage.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.GcsOutputResult gcs_result = 1;
+ * @return \Google\Cloud\Asset\V1\GcsOutputResult|null
+ */
+ public function getGcsResult()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsResult()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Export result on Cloud Storage.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.GcsOutputResult gcs_result = 1;
+ * @param \Google\Cloud\Asset\V1\GcsOutputResult $var
+ * @return $this
+ */
+ public function setGcsResult($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\GcsOutputResult::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getResult()
+ {
+ return $this->whichOneof("result");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PartitionSpec.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PartitionSpec.php
new file mode 100644
index 000000000000..e46ad84b2576
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PartitionSpec.php
@@ -0,0 +1,67 @@
+google.cloud.asset.v1.PartitionSpec
+ */
+class PartitionSpec extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The partition key for BigQuery partitioned table.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
+ */
+ protected $partition_key = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $partition_key
+ * The partition key for BigQuery partitioned table.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The partition key for BigQuery partitioned table.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
+ * @return int
+ */
+ public function getPartitionKey()
+ {
+ return $this->partition_key;
+ }
+
+ /**
+ * The partition key for BigQuery partitioned table.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.PartitionSpec.PartitionKey partition_key = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setPartitionKey($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\PartitionSpec\PartitionKey::class);
+ $this->partition_key = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PartitionSpec/PartitionKey.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PartitionSpec/PartitionKey.php
new file mode 100644
index 000000000000..d7dd49a6d7e3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PartitionSpec/PartitionKey.php
@@ -0,0 +1,75 @@
+google.cloud.asset.v1.PartitionSpec.PartitionKey
+ */
+class PartitionKey
+{
+ /**
+ * Unspecified partition key. If used, it means using non-partitioned table.
+ *
+ * Generated from protobuf enum PARTITION_KEY_UNSPECIFIED = 0;
+ */
+ const PARTITION_KEY_UNSPECIFIED = 0;
+ /**
+ * The time when the snapshot is taken. If specified as partition key, the
+ * result table(s) is partitoned by the additional timestamp column,
+ * readTime. If [read_time] in ExportAssetsRequest is specified, the
+ * readTime column's value will be the same as it. Otherwise, its value will
+ * be the current time that is used to take the snapshot.
+ *
+ * Generated from protobuf enum READ_TIME = 1;
+ */
+ const READ_TIME = 1;
+ /**
+ * The time when the request is received and started to be processed. If
+ * specified as partition key, the result table(s) is partitoned by the
+ * requestTime column, an additional timestamp column representing when the
+ * request was received.
+ *
+ * Generated from protobuf enum REQUEST_TIME = 2;
+ */
+ const REQUEST_TIME = 2;
+
+ private static $valueToName = [
+ self::PARTITION_KEY_UNSPECIFIED => 'PARTITION_KEY_UNSPECIFIED',
+ self::READ_TIME => 'READ_TIME',
+ self::REQUEST_TIME => 'REQUEST_TIME',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(PartitionKey::class, \Google\Cloud\Asset\V1\PartitionSpec_PartitionKey::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PubsubDestination.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PubsubDestination.php
new file mode 100644
index 000000000000..a84a9c172138
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/PubsubDestination.php
@@ -0,0 +1,71 @@
+google.cloud.asset.v1.PubsubDestination
+ */
+class PubsubDestination extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The name of the Pub/Sub topic to publish to.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ *
+ * Generated from protobuf field string topic = 1;
+ */
+ protected $topic = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $topic
+ * The name of the Pub/Sub topic to publish to.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The name of the Pub/Sub topic to publish to.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ *
+ * Generated from protobuf field string topic = 1;
+ * @return string
+ */
+ public function getTopic()
+ {
+ return $this->topic;
+ }
+
+ /**
+ * The name of the Pub/Sub topic to publish to.
+ * Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
+ *
+ * Generated from protobuf field string topic = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setTopic($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->topic = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsOutputConfig.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsOutputConfig.php
new file mode 100644
index 000000000000..09c39ffdb0fb
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsOutputConfig.php
@@ -0,0 +1,77 @@
+google.cloud.asset.v1.QueryAssetsOutputConfig
+ */
+class QueryAssetsOutputConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * BigQuery destination where the query results will be saved.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1;
+ */
+ protected $bigquery_destination = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\QueryAssetsOutputConfig\BigQueryDestination $bigquery_destination
+ * BigQuery destination where the query results will be saved.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * BigQuery destination where the query results will be saved.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1;
+ * @return \Google\Cloud\Asset\V1\QueryAssetsOutputConfig\BigQueryDestination|null
+ */
+ public function getBigqueryDestination()
+ {
+ return $this->bigquery_destination;
+ }
+
+ public function hasBigqueryDestination()
+ {
+ return isset($this->bigquery_destination);
+ }
+
+ public function clearBigqueryDestination()
+ {
+ unset($this->bigquery_destination);
+ }
+
+ /**
+ * BigQuery destination where the query results will be saved.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination bigquery_destination = 1;
+ * @param \Google\Cloud\Asset\V1\QueryAssetsOutputConfig\BigQueryDestination $var
+ * @return $this
+ */
+ public function setBigqueryDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\QueryAssetsOutputConfig\BigQueryDestination::class);
+ $this->bigquery_destination = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsOutputConfig/BigQueryDestination.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsOutputConfig/BigQueryDestination.php
new file mode 100644
index 000000000000..0a95b67a1e4a
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsOutputConfig/BigQueryDestination.php
@@ -0,0 +1,182 @@
+google.cloud.asset.v1.QueryAssetsOutputConfig.BigQueryDestination
+ */
+class BigQueryDestination extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The BigQuery dataset where the query results will be saved. It
+ * has the format of "projects/{projectId}/datasets/{datasetId}".
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $dataset = '';
+ /**
+ * Required. The BigQuery table where the query results will be saved. If
+ * this table does not exist, a new table with the given name will be
+ * created.
+ *
+ * Generated from protobuf field string table = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $table = '';
+ /**
+ * Specifies the action that occurs if the destination table or partition
+ * already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, a
+ * 'duplicate' error is returned in the job result.
+ * The default value is WRITE_EMPTY.
+ *
+ * Generated from protobuf field string write_disposition = 3;
+ */
+ protected $write_disposition = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $dataset
+ * Required. The BigQuery dataset where the query results will be saved. It
+ * has the format of "projects/{projectId}/datasets/{datasetId}".
+ * @type string $table
+ * Required. The BigQuery table where the query results will be saved. If
+ * this table does not exist, a new table with the given name will be
+ * created.
+ * @type string $write_disposition
+ * Specifies the action that occurs if the destination table or partition
+ * already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, a
+ * 'duplicate' error is returned in the job result.
+ * The default value is WRITE_EMPTY.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The BigQuery dataset where the query results will be saved. It
+ * has the format of "projects/{projectId}/datasets/{datasetId}".
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+
+ /**
+ * Required. The BigQuery dataset where the query results will be saved. It
+ * has the format of "projects/{projectId}/datasets/{datasetId}".
+ *
+ * Generated from protobuf field string dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDataset($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->dataset = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The BigQuery table where the query results will be saved. If
+ * this table does not exist, a new table with the given name will be
+ * created.
+ *
+ * Generated from protobuf field string table = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getTable()
+ {
+ return $this->table;
+ }
+
+ /**
+ * Required. The BigQuery table where the query results will be saved. If
+ * this table does not exist, a new table with the given name will be
+ * created.
+ *
+ * Generated from protobuf field string table = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setTable($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->table = $var;
+
+ return $this;
+ }
+
+ /**
+ * Specifies the action that occurs if the destination table or partition
+ * already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, a
+ * 'duplicate' error is returned in the job result.
+ * The default value is WRITE_EMPTY.
+ *
+ * Generated from protobuf field string write_disposition = 3;
+ * @return string
+ */
+ public function getWriteDisposition()
+ {
+ return $this->write_disposition;
+ }
+
+ /**
+ * Specifies the action that occurs if the destination table or partition
+ * already exists. The following values are supported:
+ * * WRITE_TRUNCATE: If the table or partition already exists, BigQuery
+ * overwrites the entire table or all the partitions data.
+ * * WRITE_APPEND: If the table or partition already exists, BigQuery
+ * appends the data to the table or the latest partition.
+ * * WRITE_EMPTY: If the table already exists and contains data, a
+ * 'duplicate' error is returned in the job result.
+ * The default value is WRITE_EMPTY.
+ *
+ * Generated from protobuf field string write_disposition = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setWriteDisposition($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->write_disposition = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(BigQueryDestination::class, \Google\Cloud\Asset\V1\QueryAssetsOutputConfig_BigQueryDestination::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsRequest.php
new file mode 100644
index 000000000000..0dbf1309b55e
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsRequest.php
@@ -0,0 +1,488 @@
+google.cloud.asset.v1.QueryAssetsRequest
+ */
+class QueryAssetsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ * Only assets belonging to the `parent` will be returned.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Optional. The maximum number of rows to return in the results. Responses
+ * are limited to 10 MB and 1000 rows.
+ * By default, the maximum row count is 1000. When the byte or row count limit
+ * is reached, the rest of the query results will be paginated.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_size = 0;
+ /**
+ * Optional. A page token received from previous `QueryAssets`.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_token = '';
+ /**
+ * Optional. Specifies the maximum amount of time that the client is willing
+ * to wait for the query to complete. By default, this limit is 5 min for the
+ * first query, and 1 minute for the following queries. If the query is
+ * complete, the `done` field in the `QueryAssetsResponse` is true, otherwise
+ * false.
+ * Like BigQuery [jobs.query
+ * API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest)
+ * The call is not guaranteed to wait for the specified timeout; it typically
+ * returns after around 200 seconds (200,000 milliseconds), even if the query
+ * is not complete.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $timeout = null;
+ /**
+ * Optional. Destination where the query results will be saved.
+ * When this field is specified, the query results won't be saved in the
+ * [QueryAssetsResponse.query_result]. Instead
+ * [QueryAssetsResponse.output_config] will be set.
+ * Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used
+ * to check the status of the query job when passed to a following
+ * [QueryAssets] API call.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $output_config = null;
+ protected $query;
+ protected $time;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ * Only assets belonging to the `parent` will be returned.
+ * @type string $statement
+ * Optional. A SQL statement that's compatible with [BigQuery
+ * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
+ * @type string $job_reference
+ * Optional. Reference to the query job, which is from the
+ * `QueryAssetsResponse` of previous `QueryAssets` call.
+ * @type int $page_size
+ * Optional. The maximum number of rows to return in the results. Responses
+ * are limited to 10 MB and 1000 rows.
+ * By default, the maximum row count is 1000. When the byte or row count limit
+ * is reached, the rest of the query results will be paginated.
+ * The field will be ignored when [output_config] is specified.
+ * @type string $page_token
+ * Optional. A page token received from previous `QueryAssets`.
+ * The field will be ignored when [output_config] is specified.
+ * @type \Google\Protobuf\Duration $timeout
+ * Optional. Specifies the maximum amount of time that the client is willing
+ * to wait for the query to complete. By default, this limit is 5 min for the
+ * first query, and 1 minute for the following queries. If the query is
+ * complete, the `done` field in the `QueryAssetsResponse` is true, otherwise
+ * false.
+ * Like BigQuery [jobs.query
+ * API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest)
+ * The call is not guaranteed to wait for the specified timeout; it typically
+ * returns after around 200 seconds (200,000 milliseconds), even if the query
+ * is not complete.
+ * The field will be ignored when [output_config] is specified.
+ * @type \Google\Cloud\Asset\V1\TimeWindow $read_time_window
+ * Optional. [start_time] is required. [start_time] must be less than
+ * [end_time] Defaults [end_time] to now if [start_time] is set and
+ * [end_time] isn't. Maximum permitted time range is 7 days.
+ * @type \Google\Protobuf\Timestamp $read_time
+ * Optional. Queries cloud assets as they appeared at the specified point in
+ * time.
+ * @type \Google\Cloud\Asset\V1\QueryAssetsOutputConfig $output_config
+ * Optional. Destination where the query results will be saved.
+ * When this field is specified, the query results won't be saved in the
+ * [QueryAssetsResponse.query_result]. Instead
+ * [QueryAssetsResponse.output_config] will be set.
+ * Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used
+ * to check the status of the query job when passed to a following
+ * [QueryAssets] API call.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ * Only assets belonging to the `parent` will be returned.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The relative name of the root asset. This can only be an
+ * organization number (such as "organizations/123"), a project ID (such as
+ * "projects/my-project-id"), or a project number (such as "projects/12345"),
+ * or a folder number (such as "folders/123").
+ * Only assets belonging to the `parent` will be returned.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A SQL statement that's compatible with [BigQuery
+ * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
+ *
+ * Generated from protobuf field string statement = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getStatement()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasStatement()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Optional. A SQL statement that's compatible with [BigQuery
+ * SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
+ *
+ * Generated from protobuf field string statement = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setStatement($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. Reference to the query job, which is from the
+ * `QueryAssetsResponse` of previous `QueryAssets` call.
+ *
+ * Generated from protobuf field string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getJobReference()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasJobReference()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Optional. Reference to the query job, which is from the
+ * `QueryAssetsResponse` of previous `QueryAssets` call.
+ *
+ * Generated from protobuf field string job_reference = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setJobReference($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. The maximum number of rows to return in the results. Responses
+ * are limited to 10 MB and 1000 rows.
+ * By default, the maximum row count is 1000. When the byte or row count limit
+ * is reached, the rest of the query results will be paginated.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Optional. The maximum number of rows to return in the results. Responses
+ * are limited to 10 MB and 1000 rows.
+ * By default, the maximum row count is 1000. When the byte or row count limit
+ * is reached, the rest of the query results will be paginated.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A page token received from previous `QueryAssets`.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Optional. A page token received from previous `QueryAssets`.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the maximum amount of time that the client is willing
+ * to wait for the query to complete. By default, this limit is 5 min for the
+ * first query, and 1 minute for the following queries. If the query is
+ * complete, the `done` field in the `QueryAssetsResponse` is true, otherwise
+ * false.
+ * Like BigQuery [jobs.query
+ * API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest)
+ * The call is not guaranteed to wait for the specified timeout; it typically
+ * returns after around 200 seconds (200,000 milliseconds), even if the query
+ * is not complete.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getTimeout()
+ {
+ return $this->timeout;
+ }
+
+ public function hasTimeout()
+ {
+ return isset($this->timeout);
+ }
+
+ public function clearTimeout()
+ {
+ unset($this->timeout);
+ }
+
+ /**
+ * Optional. Specifies the maximum amount of time that the client is willing
+ * to wait for the query to complete. By default, this limit is 5 min for the
+ * first query, and 1 minute for the following queries. If the query is
+ * complete, the `done` field in the `QueryAssetsResponse` is true, otherwise
+ * false.
+ * Like BigQuery [jobs.query
+ * API](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query#queryrequest)
+ * The call is not guaranteed to wait for the specified timeout; it typically
+ * returns after around 200 seconds (200,000 milliseconds), even if the query
+ * is not complete.
+ * The field will be ignored when [output_config] is specified.
+ *
+ * Generated from protobuf field .google.protobuf.Duration timeout = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setTimeout($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->timeout = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. [start_time] is required. [start_time] must be less than
+ * [end_time] Defaults [end_time] to now if [start_time] is set and
+ * [end_time] isn't. Maximum permitted time range is 7 days.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\TimeWindow|null
+ */
+ public function getReadTimeWindow()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasReadTimeWindow()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Optional. [start_time] is required. [start_time] must be less than
+ * [end_time] Defaults [end_time] to now if [start_time] is set and
+ * [end_time] isn't. Maximum permitted time range is 7 days.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow read_time_window = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\TimeWindow $var
+ * @return $this
+ */
+ public function setReadTimeWindow($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\TimeWindow::class);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. Queries cloud assets as they appeared at the specified point in
+ * time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getReadTime()
+ {
+ return $this->readOneof(8);
+ }
+
+ public function hasReadTime()
+ {
+ return $this->hasOneof(8);
+ }
+
+ /**
+ * Optional. Queries cloud assets as they appeared at the specified point in
+ * time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp read_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setReadTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->writeOneof(8, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. Destination where the query results will be saved.
+ * When this field is specified, the query results won't be saved in the
+ * [QueryAssetsResponse.query_result]. Instead
+ * [QueryAssetsResponse.output_config] will be set.
+ * Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used
+ * to check the status of the query job when passed to a following
+ * [QueryAssets] API call.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\Asset\V1\QueryAssetsOutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Optional. Destination where the query results will be saved.
+ * When this field is specified, the query results won't be saved in the
+ * [QueryAssetsResponse.query_result]. Instead
+ * [QueryAssetsResponse.output_config] will be set.
+ * Meanwhile, [QueryAssetsResponse.job_reference] will be set and can be used
+ * to check the status of the query job when passed to a following
+ * [QueryAssets] API call.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\Asset\V1\QueryAssetsOutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\QueryAssetsOutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getQuery()
+ {
+ return $this->whichOneof("query");
+ }
+
+ /**
+ * @return string
+ */
+ public function getTime()
+ {
+ return $this->whichOneof("time");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsResponse.php
new file mode 100644
index 000000000000..cc23eb77115b
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryAssetsResponse.php
@@ -0,0 +1,239 @@
+google.cloud.asset.v1.QueryAssetsResponse
+ */
+class QueryAssetsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Reference to a query job.
+ *
+ * Generated from protobuf field string job_reference = 1;
+ */
+ protected $job_reference = '';
+ /**
+ * The query response, which can be either an `error` or a valid `response`.
+ * If `done` == `false` and the query result is being saved in an output, the
+ * output_config field will be set.
+ * If `done` == `true`, exactly one of
+ * `error`, `query_result` or `output_config` will be set.
+ * [done] is unset unless the [QueryAssetsResponse] contains a
+ * [QueryAssetsResponse.job_reference].
+ *
+ * Generated from protobuf field bool done = 2;
+ */
+ protected $done = false;
+ protected $response;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $job_reference
+ * Reference to a query job.
+ * @type bool $done
+ * The query response, which can be either an `error` or a valid `response`.
+ * If `done` == `false` and the query result is being saved in an output, the
+ * output_config field will be set.
+ * If `done` == `true`, exactly one of
+ * `error`, `query_result` or `output_config` will be set.
+ * [done] is unset unless the [QueryAssetsResponse] contains a
+ * [QueryAssetsResponse.job_reference].
+ * @type \Google\Rpc\Status $error
+ * Error status.
+ * @type \Google\Cloud\Asset\V1\QueryResult $query_result
+ * Result of the query.
+ * @type \Google\Cloud\Asset\V1\QueryAssetsOutputConfig $output_config
+ * Output configuration, which indicates that instead of being returned in
+ * an API response on the fly, the query result will be saved in a specific
+ * output.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Reference to a query job.
+ *
+ * Generated from protobuf field string job_reference = 1;
+ * @return string
+ */
+ public function getJobReference()
+ {
+ return $this->job_reference;
+ }
+
+ /**
+ * Reference to a query job.
+ *
+ * Generated from protobuf field string job_reference = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setJobReference($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->job_reference = $var;
+
+ return $this;
+ }
+
+ /**
+ * The query response, which can be either an `error` or a valid `response`.
+ * If `done` == `false` and the query result is being saved in an output, the
+ * output_config field will be set.
+ * If `done` == `true`, exactly one of
+ * `error`, `query_result` or `output_config` will be set.
+ * [done] is unset unless the [QueryAssetsResponse] contains a
+ * [QueryAssetsResponse.job_reference].
+ *
+ * Generated from protobuf field bool done = 2;
+ * @return bool
+ */
+ public function getDone()
+ {
+ return $this->done;
+ }
+
+ /**
+ * The query response, which can be either an `error` or a valid `response`.
+ * If `done` == `false` and the query result is being saved in an output, the
+ * output_config field will be set.
+ * If `done` == `true`, exactly one of
+ * `error`, `query_result` or `output_config` will be set.
+ * [done] is unset unless the [QueryAssetsResponse] contains a
+ * [QueryAssetsResponse.job_reference].
+ *
+ * Generated from protobuf field bool done = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setDone($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->done = $var;
+
+ return $this;
+ }
+
+ /**
+ * Error status.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ * @return \Google\Rpc\Status|null
+ */
+ public function getError()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasError()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Error status.
+ *
+ * Generated from protobuf field .google.rpc.Status error = 3;
+ * @param \Google\Rpc\Status $var
+ * @return $this
+ */
+ public function setError($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Rpc\Status::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Result of the query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryResult query_result = 4;
+ * @return \Google\Cloud\Asset\V1\QueryResult|null
+ */
+ public function getQueryResult()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasQueryResult()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Result of the query.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryResult query_result = 4;
+ * @param \Google\Cloud\Asset\V1\QueryResult $var
+ * @return $this
+ */
+ public function setQueryResult($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\QueryResult::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output configuration, which indicates that instead of being returned in
+ * an API response on the fly, the query result will be saved in a specific
+ * output.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;
+ * @return \Google\Cloud\Asset\V1\QueryAssetsOutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasOutputConfig()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Output configuration, which indicates that instead of being returned in
+ * an API response on the fly, the query result will be saved in a specific
+ * output.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.QueryAssetsOutputConfig output_config = 5;
+ * @param \Google\Cloud\Asset\V1\QueryAssetsOutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\QueryAssetsOutputConfig::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getResponse()
+ {
+ return $this->whichOneof("response");
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryResult.php
new file mode 100644
index 000000000000..430f80179a4e
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/QueryResult.php
@@ -0,0 +1,182 @@
+google.cloud.asset.v1.QueryResult
+ */
+class QueryResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Each row hold a query result in the format of `Struct`.
+ *
+ * Generated from protobuf field repeated .google.protobuf.Struct rows = 1;
+ */
+ private $rows;
+ /**
+ * Describes the format of the [rows].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TableSchema schema = 2;
+ */
+ protected $schema = null;
+ /**
+ * Token to retrieve the next page of the results.
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ */
+ protected $next_page_token = '';
+ /**
+ * Total rows of the whole query results.
+ *
+ * Generated from protobuf field int64 total_rows = 4;
+ */
+ protected $total_rows = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Protobuf\Struct>|\Google\Protobuf\Internal\RepeatedField $rows
+ * Each row hold a query result in the format of `Struct`.
+ * @type \Google\Cloud\Asset\V1\TableSchema $schema
+ * Describes the format of the [rows].
+ * @type string $next_page_token
+ * Token to retrieve the next page of the results.
+ * @type int|string $total_rows
+ * Total rows of the whole query results.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Each row hold a query result in the format of `Struct`.
+ *
+ * Generated from protobuf field repeated .google.protobuf.Struct rows = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRows()
+ {
+ return $this->rows;
+ }
+
+ /**
+ * Each row hold a query result in the format of `Struct`.
+ *
+ * Generated from protobuf field repeated .google.protobuf.Struct rows = 1;
+ * @param array<\Google\Protobuf\Struct>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRows($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Struct::class);
+ $this->rows = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Describes the format of the [rows].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TableSchema schema = 2;
+ * @return \Google\Cloud\Asset\V1\TableSchema|null
+ */
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function hasSchema()
+ {
+ return isset($this->schema);
+ }
+
+ public function clearSchema()
+ {
+ unset($this->schema);
+ }
+
+ /**
+ * Describes the format of the [rows].
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TableSchema schema = 2;
+ * @param \Google\Cloud\Asset\V1\TableSchema $var
+ * @return $this
+ */
+ public function setSchema($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\TableSchema::class);
+ $this->schema = $var;
+
+ return $this;
+ }
+
+ /**
+ * Token to retrieve the next page of the results.
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * Token to retrieve the next page of the results.
+ *
+ * Generated from protobuf field string next_page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Total rows of the whole query results.
+ *
+ * Generated from protobuf field int64 total_rows = 4;
+ * @return int|string
+ */
+ public function getTotalRows()
+ {
+ return $this->total_rows;
+ }
+
+ /**
+ * Total rows of the whole query results.
+ *
+ * Generated from protobuf field int64 total_rows = 4;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTotalRows($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->total_rows = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedAsset.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedAsset.php
new file mode 100644
index 000000000000..f5776b29d83c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedAsset.php
@@ -0,0 +1,224 @@
+google.cloud.asset.v1.RelatedAsset
+ */
+class RelatedAsset extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ *
+ * Generated from protobuf field string asset = 1 [(.google.api.resource_reference) = {
+ */
+ protected $asset = '';
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ */
+ protected $asset_type = '';
+ /**
+ * The ancestors of an asset in Google Cloud [resource
+ * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
+ * represented as a list of relative resource names. An ancestry path starts
+ * with the closest ancestor in the hierarchy and ends at root.
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ *
+ * Generated from protobuf field repeated string ancestors = 3;
+ */
+ private $ancestors;
+ /**
+ * The unique identifier of the relationship type. Example:
+ * `INSTANCE_TO_INSTANCEGROUP`
+ *
+ * Generated from protobuf field string relationship_type = 4;
+ */
+ protected $relationship_type = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $asset
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ * @type string $asset_type
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ * @type arraystring asset = 1 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getAsset()
+ {
+ return $this->asset;
+ }
+
+ /**
+ * The full name of the asset. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
+ * See [Resource
+ * names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ *
+ * Generated from protobuf field string asset = 1 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setAsset($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Disk`
+ * See [Supported asset
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * for more information.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ancestors of an asset in Google Cloud [resource
+ * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
+ * represented as a list of relative resource names. An ancestry path starts
+ * with the closest ancestor in the hierarchy and ends at root.
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ *
+ * Generated from protobuf field repeated string ancestors = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAncestors()
+ {
+ return $this->ancestors;
+ }
+
+ /**
+ * The ancestors of an asset in Google Cloud [resource
+ * hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
+ * represented as a list of relative resource names. An ancestry path starts
+ * with the closest ancestor in the hierarchy and ends at root.
+ * Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
+ *
+ * Generated from protobuf field repeated string ancestors = 3;
+ * @param arraystring relationship_type = 4;
+ * @return string
+ */
+ public function getRelationshipType()
+ {
+ return $this->relationship_type;
+ }
+
+ /**
+ * The unique identifier of the relationship type. Example:
+ * `INSTANCE_TO_INSTANCEGROUP`
+ *
+ * Generated from protobuf field string relationship_type = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setRelationshipType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->relationship_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedAssets.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedAssets.php
new file mode 100644
index 000000000000..3b38c610874c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedAssets.php
@@ -0,0 +1,115 @@
+google.cloud.asset.v1.RelatedAssets
+ */
+class RelatedAssets extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The detailed relationship attributes.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
+ */
+ protected $relationship_attributes = null;
+ /**
+ * The peer resources of the relationship.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
+ */
+ private $assets;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\RelationshipAttributes $relationship_attributes
+ * The detailed relationship attributes.
+ * @type array<\Google\Cloud\Asset\V1\RelatedAsset>|\Google\Protobuf\Internal\RepeatedField $assets
+ * The peer resources of the relationship.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The detailed relationship attributes.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
+ * @return \Google\Cloud\Asset\V1\RelationshipAttributes|null
+ */
+ public function getRelationshipAttributes()
+ {
+ return $this->relationship_attributes;
+ }
+
+ public function hasRelationshipAttributes()
+ {
+ return isset($this->relationship_attributes);
+ }
+
+ public function clearRelationshipAttributes()
+ {
+ unset($this->relationship_attributes);
+ }
+
+ /**
+ * The detailed relationship attributes.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.RelationshipAttributes relationship_attributes = 1;
+ * @param \Google\Cloud\Asset\V1\RelationshipAttributes $var
+ * @return $this
+ */
+ public function setRelationshipAttributes($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\RelationshipAttributes::class);
+ $this->relationship_attributes = $var;
+
+ return $this;
+ }
+
+ /**
+ * The peer resources of the relationship.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssets()
+ {
+ return $this->assets;
+ }
+
+ /**
+ * The peer resources of the relationship.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.RelatedAsset assets = 2;
+ * @param array<\Google\Cloud\Asset\V1\RelatedAsset>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAssets($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\RelatedAsset::class);
+ $this->assets = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedResource.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedResource.php
new file mode 100644
index 000000000000..276ad6987d6c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedResource.php
@@ -0,0 +1,105 @@
+google.cloud.asset.v1.RelatedResource
+ */
+class RelatedResource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Instance`
+ *
+ * Generated from protobuf field string asset_type = 1;
+ */
+ protected $asset_type = '';
+ /**
+ * The full resource name of the related resource. Example:
+ * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
+ *
+ * Generated from protobuf field string full_resource_name = 2;
+ */
+ protected $full_resource_name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $asset_type
+ * The type of the asset. Example: `compute.googleapis.com/Instance`
+ * @type string $full_resource_name
+ * The full resource name of the related resource. Example:
+ * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Instance`
+ *
+ * Generated from protobuf field string asset_type = 1;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The type of the asset. Example: `compute.googleapis.com/Instance`
+ *
+ * Generated from protobuf field string asset_type = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The full resource name of the related resource. Example:
+ * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
+ *
+ * Generated from protobuf field string full_resource_name = 2;
+ * @return string
+ */
+ public function getFullResourceName()
+ {
+ return $this->full_resource_name;
+ }
+
+ /**
+ * The full resource name of the related resource. Example:
+ * `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123`
+ *
+ * Generated from protobuf field string full_resource_name = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->full_resource_name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedResources.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedResources.php
new file mode 100644
index 000000000000..db80697a9a7c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelatedResources.php
@@ -0,0 +1,67 @@
+google.cloud.asset.v1.RelatedResources
+ */
+class RelatedResources extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The detailed related resources of the primary resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
+ */
+ private $related_resources;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\RelatedResource>|\Google\Protobuf\Internal\RepeatedField $related_resources
+ * The detailed related resources of the primary resource.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The detailed related resources of the primary resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRelatedResources()
+ {
+ return $this->related_resources;
+ }
+
+ /**
+ * The detailed related resources of the primary resource.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.RelatedResource related_resources = 1;
+ * @param array<\Google\Cloud\Asset\V1\RelatedResource>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRelatedResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\RelatedResource::class);
+ $this->related_resources = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelationshipAttributes.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelationshipAttributes.php
new file mode 100644
index 000000000000..13e68a4e5b28
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/RelationshipAttributes.php
@@ -0,0 +1,178 @@
+google.cloud.asset.v1.RelationshipAttributes
+ */
+class RelationshipAttributes extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The unique identifier of the relationship type. Example:
+ * `INSTANCE_TO_INSTANCEGROUP`
+ *
+ * Generated from protobuf field string type = 4;
+ */
+ protected $type = '';
+ /**
+ * The source asset type. Example: `compute.googleapis.com/Instance`
+ *
+ * Generated from protobuf field string source_resource_type = 1;
+ */
+ protected $source_resource_type = '';
+ /**
+ * The target asset type. Example: `compute.googleapis.com/Disk`
+ *
+ * Generated from protobuf field string target_resource_type = 2;
+ */
+ protected $target_resource_type = '';
+ /**
+ * The detail of the relationship, e.g. `contains`, `attaches`
+ *
+ * Generated from protobuf field string action = 3;
+ */
+ protected $action = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $type
+ * The unique identifier of the relationship type. Example:
+ * `INSTANCE_TO_INSTANCEGROUP`
+ * @type string $source_resource_type
+ * The source asset type. Example: `compute.googleapis.com/Instance`
+ * @type string $target_resource_type
+ * The target asset type. Example: `compute.googleapis.com/Disk`
+ * @type string $action
+ * The detail of the relationship, e.g. `contains`, `attaches`
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The unique identifier of the relationship type. Example:
+ * `INSTANCE_TO_INSTANCEGROUP`
+ *
+ * Generated from protobuf field string type = 4;
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * The unique identifier of the relationship type. Example:
+ * `INSTANCE_TO_INSTANCEGROUP`
+ *
+ * Generated from protobuf field string type = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The source asset type. Example: `compute.googleapis.com/Instance`
+ *
+ * Generated from protobuf field string source_resource_type = 1;
+ * @return string
+ */
+ public function getSourceResourceType()
+ {
+ return $this->source_resource_type;
+ }
+
+ /**
+ * The source asset type. Example: `compute.googleapis.com/Instance`
+ *
+ * Generated from protobuf field string source_resource_type = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setSourceResourceType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source_resource_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The target asset type. Example: `compute.googleapis.com/Disk`
+ *
+ * Generated from protobuf field string target_resource_type = 2;
+ * @return string
+ */
+ public function getTargetResourceType()
+ {
+ return $this->target_resource_type;
+ }
+
+ /**
+ * The target asset type. Example: `compute.googleapis.com/Disk`
+ *
+ * Generated from protobuf field string target_resource_type = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setTargetResourceType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->target_resource_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The detail of the relationship, e.g. `contains`, `attaches`
+ *
+ * Generated from protobuf field string action = 3;
+ * @return string
+ */
+ public function getAction()
+ {
+ return $this->action;
+ }
+
+ /**
+ * The detail of the relationship, e.g. `contains`, `attaches`
+ *
+ * Generated from protobuf field string action = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setAction($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->action = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Resource.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Resource.php
new file mode 100644
index 000000000000..ae0f10a874a9
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Resource.php
@@ -0,0 +1,361 @@
+google.cloud.asset.v1.Resource
+ */
+class Resource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The API version. Example: `v1`
+ *
+ * Generated from protobuf field string version = 1;
+ */
+ protected $version = '';
+ /**
+ * The URL of the discovery document containing the resource's JSON schema.
+ * Example:
+ * `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ *
+ * Generated from protobuf field string discovery_document_uri = 2;
+ */
+ protected $discovery_document_uri = '';
+ /**
+ * The JSON schema name listed in the discovery document. Example:
+ * `Project`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ *
+ * Generated from protobuf field string discovery_name = 3;
+ */
+ protected $discovery_name = '';
+ /**
+ * The REST URL for accessing the resource. An HTTP `GET` request using this
+ * URL returns the resource itself. Example:
+ * `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
+ * This value is unspecified for resources without a REST API.
+ *
+ * Generated from protobuf field string resource_url = 4;
+ */
+ protected $resource_url = '';
+ /**
+ * The full name of the immediate parent of this resource. See
+ * [Resource
+ * Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ * For Google Cloud assets, this value is the parent resource defined in the
+ * [IAM policy
+ * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+ * Example:
+ * `//cloudresourcemanager.googleapis.com/projects/my_project_123`
+ *
+ * Generated from protobuf field string parent = 5;
+ */
+ protected $parent = '';
+ /**
+ * The content of the resource, in which some sensitive fields are removed
+ * and may not be present.
+ *
+ * Generated from protobuf field .google.protobuf.Struct data = 6;
+ */
+ protected $data = null;
+ /**
+ * The location of the resource in Google Cloud, such as its zone and region.
+ * For more information, see https://cloud.google.com/about/locations/.
+ *
+ * Generated from protobuf field string location = 8;
+ */
+ protected $location = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $version
+ * The API version. Example: `v1`
+ * @type string $discovery_document_uri
+ * The URL of the discovery document containing the resource's JSON schema.
+ * Example:
+ * `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ * @type string $discovery_name
+ * The JSON schema name listed in the discovery document. Example:
+ * `Project`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ * @type string $resource_url
+ * The REST URL for accessing the resource. An HTTP `GET` request using this
+ * URL returns the resource itself. Example:
+ * `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
+ * This value is unspecified for resources without a REST API.
+ * @type string $parent
+ * The full name of the immediate parent of this resource. See
+ * [Resource
+ * Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ * For Google Cloud assets, this value is the parent resource defined in the
+ * [IAM policy
+ * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+ * Example:
+ * `//cloudresourcemanager.googleapis.com/projects/my_project_123`
+ * @type \Google\Protobuf\Struct $data
+ * The content of the resource, in which some sensitive fields are removed
+ * and may not be present.
+ * @type string $location
+ * The location of the resource in Google Cloud, such as its zone and region.
+ * For more information, see https://cloud.google.com/about/locations/.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The API version. Example: `v1`
+ *
+ * Generated from protobuf field string version = 1;
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * The API version. Example: `v1`
+ *
+ * Generated from protobuf field string version = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->version = $var;
+
+ return $this;
+ }
+
+ /**
+ * The URL of the discovery document containing the resource's JSON schema.
+ * Example:
+ * `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ *
+ * Generated from protobuf field string discovery_document_uri = 2;
+ * @return string
+ */
+ public function getDiscoveryDocumentUri()
+ {
+ return $this->discovery_document_uri;
+ }
+
+ /**
+ * The URL of the discovery document containing the resource's JSON schema.
+ * Example:
+ * `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ *
+ * Generated from protobuf field string discovery_document_uri = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDiscoveryDocumentUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->discovery_document_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * The JSON schema name listed in the discovery document. Example:
+ * `Project`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ *
+ * Generated from protobuf field string discovery_name = 3;
+ * @return string
+ */
+ public function getDiscoveryName()
+ {
+ return $this->discovery_name;
+ }
+
+ /**
+ * The JSON schema name listed in the discovery document. Example:
+ * `Project`
+ * This value is unspecified for resources that do not have an API based on a
+ * discovery document, such as Cloud Bigtable.
+ *
+ * Generated from protobuf field string discovery_name = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setDiscoveryName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->discovery_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The REST URL for accessing the resource. An HTTP `GET` request using this
+ * URL returns the resource itself. Example:
+ * `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
+ * This value is unspecified for resources without a REST API.
+ *
+ * Generated from protobuf field string resource_url = 4;
+ * @return string
+ */
+ public function getResourceUrl()
+ {
+ return $this->resource_url;
+ }
+
+ /**
+ * The REST URL for accessing the resource. An HTTP `GET` request using this
+ * URL returns the resource itself. Example:
+ * `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
+ * This value is unspecified for resources without a REST API.
+ *
+ * Generated from protobuf field string resource_url = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setResourceUrl($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource_url = $var;
+
+ return $this;
+ }
+
+ /**
+ * The full name of the immediate parent of this resource. See
+ * [Resource
+ * Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ * For Google Cloud assets, this value is the parent resource defined in the
+ * [IAM policy
+ * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+ * Example:
+ * `//cloudresourcemanager.googleapis.com/projects/my_project_123`
+ *
+ * Generated from protobuf field string parent = 5;
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * The full name of the immediate parent of this resource. See
+ * [Resource
+ * Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ * for more information.
+ * For Google Cloud assets, this value is the parent resource defined in the
+ * [IAM policy
+ * hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
+ * Example:
+ * `//cloudresourcemanager.googleapis.com/projects/my_project_123`
+ *
+ * Generated from protobuf field string parent = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * The content of the resource, in which some sensitive fields are removed
+ * and may not be present.
+ *
+ * Generated from protobuf field .google.protobuf.Struct data = 6;
+ * @return \Google\Protobuf\Struct|null
+ */
+ public function getData()
+ {
+ return $this->data;
+ }
+
+ public function hasData()
+ {
+ return isset($this->data);
+ }
+
+ public function clearData()
+ {
+ unset($this->data);
+ }
+
+ /**
+ * The content of the resource, in which some sensitive fields are removed
+ * and may not be present.
+ *
+ * Generated from protobuf field .google.protobuf.Struct data = 6;
+ * @param \Google\Protobuf\Struct $var
+ * @return $this
+ */
+ public function setData($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
+ $this->data = $var;
+
+ return $this;
+ }
+
+ /**
+ * The location of the resource in Google Cloud, such as its zone and region.
+ * For more information, see https://cloud.google.com/about/locations/.
+ *
+ * Generated from protobuf field string location = 8;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * The location of the resource in Google Cloud, such as its zone and region.
+ * For more information, see https://cloud.google.com/about/locations/.
+ *
+ * Generated from protobuf field string location = 8;
+ * @param string $var
+ * @return $this
+ */
+ public function setLocation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->location = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ResourceSearchResult.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ResourceSearchResult.php
new file mode 100644
index 000000000000..1ff1be739f9c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/ResourceSearchResult.php
@@ -0,0 +1,1849 @@
+google.cloud.asset.v1.ResourceSearchResult
+ */
+class ResourceSearchResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The full resource name of this resource. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * To search against the `name`:
+ * * Use a field query. Example: `name:instance1`
+ * * Use a free text query. Example: `instance1`
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The type of this resource. Example: `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * Specify the `asset_type` field in your search request.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ */
+ protected $asset_type = '';
+ /**
+ * The project that this resource belongs to, in the form of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ * To search against `project`:
+ * * Use a field query. Example: `project:12345`
+ * * Use a free text query. Example: `12345`
+ * * Specify the `scope` field as this project in your search request.
+ *
+ * Generated from protobuf field string project = 3;
+ */
+ protected $project = '';
+ /**
+ * The folder(s) that this resource belongs to, in the form of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs to one or more folders.
+ * To search against `folders`:
+ * * Use a field query. Example: `folders:(123 OR 456)`
+ * * Use a free text query. Example: `123`
+ * * Specify the `scope` field as this folder in your search request.
+ *
+ * Generated from protobuf field repeated string folders = 17;
+ */
+ private $folders;
+ /**
+ * The organization that this resource belongs to, in the form of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * resource belongs to an organization.
+ * To search against `organization`:
+ * * Use a field query. Example: `organization:123`
+ * * Use a free text query. Example: `123`
+ * * Specify the `scope` field as this organization in your search request.
+ *
+ * Generated from protobuf field string organization = 18;
+ */
+ protected $organization = '';
+ /**
+ * The display name of this resource. This field is available only when the
+ * resource's Protobuf contains it.
+ * To search against the `display_name`:
+ * * Use a field query. Example: `displayName:"My Instance"`
+ * * Use a free text query. Example: `"My Instance"`
+ *
+ * Generated from protobuf field string display_name = 4;
+ */
+ protected $display_name = '';
+ /**
+ * One or more paragraphs of text description of this resource. Maximum length
+ * could be up to 1M bytes. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `description`:
+ * * Use a field query. Example: `description:"important instance"`
+ * * Use a free text query. Example: `"important instance"`
+ *
+ * Generated from protobuf field string description = 5;
+ */
+ protected $description = '';
+ /**
+ * Location can be `global`, regional like `us-east1`, or zonal like
+ * `us-west1-b`. This field is available only when the resource's Protobuf
+ * contains it.
+ * To search against the `location`:
+ * * Use a field query. Example: `location:us-west*`
+ * * Use a free text query. Example: `us-west*`
+ *
+ * Generated from protobuf field string location = 6;
+ */
+ protected $location = '';
+ /**
+ * User labels associated with this resource. See [Labelling and grouping
+ * Google Cloud
+ * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
+ * for more information. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `labels`:
+ * * Use a field query:
+ * - query on any label's key or value. Example: `labels:prod`
+ * - query by a given label. Example: `labels.env:prod`
+ * - query by a given label's existence. Example: `labels.env:*`
+ * * Use a free text query. Example: `prod`
+ *
+ * Generated from protobuf field map labels = 7;
+ */
+ private $labels;
+ /**
+ * Network tags associated with this resource. Like labels, network tags are a
+ * type of annotations used to group Google Cloud resources. See [Labelling
+ * Google Cloud
+ * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
+ * for more information. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `network_tags`:
+ * * Use a field query. Example: `networkTags:internal`
+ * * Use a free text query. Example: `internal`
+ *
+ * Generated from protobuf field repeated string network_tags = 8;
+ */
+ private $network_tags;
+ /**
+ * The Cloud KMS
+ * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
+ * name or
+ * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
+ * name.
+ * This field only presents for the purpose of backward compatibility.
+ * Use the `kms_keys` field to retrieve Cloud KMS key information. This field
+ * is available only when the resource's Protobuf contains it and will only be
+ * populated for [these resource
+ * types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field)
+ * for backward compatible purposes.
+ * To search against the `kms_key`:
+ * * Use a field query. Example: `kmsKey:key`
+ * * Use a free text query. Example: `key`
+ *
+ * Generated from protobuf field string kms_key = 10 [deprecated = true];
+ * @deprecated
+ */
+ protected $kms_key = '';
+ /**
+ * The Cloud KMS
+ * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
+ * names or
+ * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
+ * names. This field is available only when the resource's Protobuf contains
+ * it.
+ * To search against the `kms_keys`:
+ * * Use a field query. Example: `kmsKeys:key`
+ * * Use a free text query. Example: `key`
+ *
+ * Generated from protobuf field repeated string kms_keys = 28;
+ */
+ private $kms_keys;
+ /**
+ * The create timestamp of this resource, at which the resource was created.
+ * The granularity is in seconds. Timestamp.nanos will always be 0. This field
+ * is available only when the resource's Protobuf contains it.
+ * To search against `create_time`:
+ * * Use a field query.
+ * - value in seconds since unix epoch. Example: `createTime > 1609459200`
+ * - value in date string. Example: `createTime > 2021-01-01`
+ * - value in date-time string (must be quoted). Example: `createTime >
+ * "2021-01-01T00:00:00"`
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 11;
+ */
+ protected $create_time = null;
+ /**
+ * The last update timestamp of this resource, at which the resource was last
+ * modified or deleted. The granularity is in seconds. Timestamp.nanos will
+ * always be 0. This field is available only when the resource's Protobuf
+ * contains it.
+ * To search against `update_time`:
+ * * Use a field query.
+ * - value in seconds since unix epoch. Example: `updateTime < 1609459200`
+ * - value in date string. Example: `updateTime < 2021-01-01`
+ * - value in date-time string (must be quoted). Example: `updateTime <
+ * "2021-01-01T00:00:00"`
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 12;
+ */
+ protected $update_time = null;
+ /**
+ * The state of this resource. Different resources types have different state
+ * definitions that are mapped from various fields of different resource
+ * types. This field is available only when the resource's Protobuf contains
+ * it.
+ * Example:
+ * If the resource is an instance provided by Compute Engine,
+ * its state will include PROVISIONING, STAGING, RUNNING, STOPPING,
+ * SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition
+ * in [API
+ * Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances).
+ * If the resource is a project provided by Resource Manager, its state
+ * will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and
+ * DELETE_IN_PROGRESS. See `lifecycleState` definition in [API
+ * Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects).
+ * To search against the `state`:
+ * * Use a field query. Example: `state:RUNNING`
+ * * Use a free text query. Example: `RUNNING`
+ *
+ * Generated from protobuf field string state = 13;
+ */
+ protected $state = '';
+ /**
+ * The additional searchable attributes of this resource. The attributes may
+ * vary from one resource type to another. Examples: `projectId` for Project,
+ * `dnsName` for DNS ManagedZone. This field contains a subset of the resource
+ * metadata fields that are returned by the List or Get APIs provided by the
+ * corresponding Google Cloud service (e.g., Compute Engine). see [API
+ * references and supported searchable
+ * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * to see which fields are included.
+ * You can search values of these fields through free text search. However,
+ * you should not consume the field programically as the field names and
+ * values may change as the Google Cloud service updates to a new incompatible
+ * API version.
+ * To search against the `additional_attributes`:
+ * * Use a free text query to match the attributes values. Example: to search
+ * `additional_attributes = { dnsName: "foobar" }`, you can issue a query
+ * `foobar`.
+ *
+ * Generated from protobuf field .google.protobuf.Struct additional_attributes = 9;
+ */
+ protected $additional_attributes = null;
+ /**
+ * The full resource name of this resource's parent, if it has one.
+ * To search against the `parent_full_resource_name`:
+ * * Use a field query. Example:
+ * `parentFullResourceName:"project-name"`
+ * * Use a free text query. Example:
+ * `project-name`
+ *
+ * Generated from protobuf field string parent_full_resource_name = 19;
+ */
+ protected $parent_full_resource_name = '';
+ /**
+ * Versioned resource representations of this resource. This is repeated
+ * because there could be multiple versions of resource representations during
+ * version migration.
+ * This `versioned_resources` field is not searchable. Some attributes of the
+ * resource representations are exposed in `additional_attributes` field, so
+ * as to allow users to search on them.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
+ */
+ private $versioned_resources;
+ /**
+ * Attached resources of this resource. For example, an OSConfig
+ * Inventory is an attached resource of a Compute Instance. This field is
+ * repeated because a resource could have multiple attached resources.
+ * This `attached_resources` field is not searchable. Some attributes
+ * of the attached resources are exposed in `additional_attributes` field, so
+ * as to allow users to search on them.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
+ */
+ private $attached_resources;
+ /**
+ * A map of related resources of this resource, keyed by the
+ * relationship type. A relationship type is in the format of
+ * {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`,
+ * `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`.
+ * See [supported relationship
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
+ *
+ * Generated from protobuf field map relationships = 21;
+ */
+ private $relationships;
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ * To search against the `tagKeys`:
+ * * Use a field query. Example:
+ * - `tagKeys:"123456789/env*"`
+ * - `tagKeys="123456789/env"`
+ * - `tagKeys:"env"`
+ * * Use a free text query. Example:
+ * - `env`
+ *
+ * Generated from protobuf field repeated string tag_keys = 23 [deprecated = true];
+ * @deprecated
+ */
+ private $tag_keys;
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagValue namespaced names, in the format of
+ * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
+ * To search against the `tagValues`:
+ * * Use a field query. Example:
+ * - `tagValues:"env"`
+ * - `tagValues:"env/prod"`
+ * - `tagValues:"123456789/env/prod*"`
+ * - `tagValues="123456789/env/prod"`
+ * * Use a free text query. Example:
+ * - `prod`
+ *
+ * Generated from protobuf field repeated string tag_values = 25 [deprecated = true];
+ * @deprecated
+ */
+ private $tag_values;
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
+ * To search against the `tagValueIds`:
+ * * Use a field query. Example:
+ * - `tagValueIds="tagValues/456"`
+ * * Use a free text query. Example:
+ * - `456`
+ *
+ * Generated from protobuf field repeated string tag_value_ids = 26 [deprecated = true];
+ * @deprecated
+ */
+ private $tag_value_ids;
+ /**
+ * The tags directly attached to this resource.
+ * To search against the `tags`:
+ * * Use a field query. Example:
+ * - `tagKeys:"123456789/env*"`
+ * - `tagKeys="123456789/env"`
+ * - `tagKeys:"env"`
+ * - `tagKeyIds="tagKeys/123"`
+ * - `tagValues:"env"`
+ * - `tagValues:"env/prod"`
+ * - `tagValues:"123456789/env/prod*"`
+ * - `tagValues="123456789/env/prod"`
+ * - `tagValueIds="tagValues/456"`
+ * * Use a free text query. Example:
+ * - `env/prod`
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Tag tags = 29;
+ */
+ private $tags;
+ /**
+ * The effective tags on this resource. All of the tags that are both attached
+ * to and inherited by a resource are collectively called the effective
+ * tags. For more information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ * To search against the `effective_tags`:
+ * * Use a field query. Example:
+ * - `effectiveTagKeys:"123456789/env*"`
+ * - `effectiveTagKeys="123456789/env"`
+ * - `effectiveTagKeys:"env"`
+ * - `effectiveTagKeyIds="tagKeys/123"`
+ * - `effectiveTagValues:"env"`
+ * - `effectiveTagValues:"env/prod"`
+ * - `effectiveTagValues:"123456789/env/prod*"`
+ * - `effectiveTagValues="123456789/env/prod"`
+ * - `effectiveTagValueIds="tagValues/456"`
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
+ */
+ private $effective_tags;
+ /**
+ * The type of this resource's immediate parent, if there is one.
+ * To search against the `parent_asset_type`:
+ * * Use a field query. Example:
+ * `parentAssetType:"cloudresourcemanager.googleapis.com/Project"`
+ * * Use a free text query. Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ *
+ * Generated from protobuf field string parent_asset_type = 103;
+ */
+ protected $parent_asset_type = '';
+ /**
+ * The actual content of Security Command Center security marks associated
+ * with the asset.
+ * To search against SCC SecurityMarks field:
+ * * Use a field query:
+ * - query by a given key value pair. Example: `sccSecurityMarks.foo=bar`
+ * - query by a given key's existence. Example: `sccSecurityMarks.foo:*`
+ *
+ * Generated from protobuf field map scc_security_marks = 32;
+ */
+ private $scc_security_marks;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The full resource name of this resource. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * To search against the `name`:
+ * * Use a field query. Example: `name:instance1`
+ * * Use a free text query. Example: `instance1`
+ * @type string $asset_type
+ * The type of this resource. Example: `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * Specify the `asset_type` field in your search request.
+ * @type string $project
+ * The project that this resource belongs to, in the form of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ * To search against `project`:
+ * * Use a field query. Example: `project:12345`
+ * * Use a free text query. Example: `12345`
+ * * Specify the `scope` field as this project in your search request.
+ * @type arraystring name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The full resource name of this resource. Example:
+ * `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
+ * See [Cloud Asset Inventory Resource Name
+ * Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
+ * for more information.
+ * To search against the `name`:
+ * * Use a field query. Example: `name:instance1`
+ * * Use a free text query. Example: `instance1`
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of this resource. Example: `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * Specify the `asset_type` field in your search request.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ * @return string
+ */
+ public function getAssetType()
+ {
+ return $this->asset_type;
+ }
+
+ /**
+ * The type of this resource. Example: `compute.googleapis.com/Disk`.
+ * To search against the `asset_type`:
+ * * Specify the `asset_type` field in your search request.
+ *
+ * Generated from protobuf field string asset_type = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The project that this resource belongs to, in the form of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ * To search against `project`:
+ * * Use a field query. Example: `project:12345`
+ * * Use a free text query. Example: `12345`
+ * * Specify the `scope` field as this project in your search request.
+ *
+ * Generated from protobuf field string project = 3;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * The project that this resource belongs to, in the form of
+ * projects/{PROJECT_NUMBER}. This field is available when the resource
+ * belongs to a project.
+ * To search against `project`:
+ * * Use a field query. Example: `project:12345`
+ * * Use a free text query. Example: `12345`
+ * * Specify the `scope` field as this project in your search request.
+ *
+ * Generated from protobuf field string project = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * The folder(s) that this resource belongs to, in the form of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs to one or more folders.
+ * To search against `folders`:
+ * * Use a field query. Example: `folders:(123 OR 456)`
+ * * Use a free text query. Example: `123`
+ * * Specify the `scope` field as this folder in your search request.
+ *
+ * Generated from protobuf field repeated string folders = 17;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFolders()
+ {
+ return $this->folders;
+ }
+
+ /**
+ * The folder(s) that this resource belongs to, in the form of
+ * folders/{FOLDER_NUMBER}. This field is available when the resource
+ * belongs to one or more folders.
+ * To search against `folders`:
+ * * Use a field query. Example: `folders:(123 OR 456)`
+ * * Use a free text query. Example: `123`
+ * * Specify the `scope` field as this folder in your search request.
+ *
+ * Generated from protobuf field repeated string folders = 17;
+ * @param arraystring organization = 18;
+ * @return string
+ */
+ public function getOrganization()
+ {
+ return $this->organization;
+ }
+
+ /**
+ * The organization that this resource belongs to, in the form of
+ * organizations/{ORGANIZATION_NUMBER}. This field is available when the
+ * resource belongs to an organization.
+ * To search against `organization`:
+ * * Use a field query. Example: `organization:123`
+ * * Use a free text query. Example: `123`
+ * * Specify the `scope` field as this organization in your search request.
+ *
+ * Generated from protobuf field string organization = 18;
+ * @param string $var
+ * @return $this
+ */
+ public function setOrganization($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->organization = $var;
+
+ return $this;
+ }
+
+ /**
+ * The display name of this resource. This field is available only when the
+ * resource's Protobuf contains it.
+ * To search against the `display_name`:
+ * * Use a field query. Example: `displayName:"My Instance"`
+ * * Use a free text query. Example: `"My Instance"`
+ *
+ * Generated from protobuf field string display_name = 4;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * The display name of this resource. This field is available only when the
+ * resource's Protobuf contains it.
+ * To search against the `display_name`:
+ * * Use a field query. Example: `displayName:"My Instance"`
+ * * Use a free text query. Example: `"My Instance"`
+ *
+ * Generated from protobuf field string display_name = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * One or more paragraphs of text description of this resource. Maximum length
+ * could be up to 1M bytes. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `description`:
+ * * Use a field query. Example: `description:"important instance"`
+ * * Use a free text query. Example: `"important instance"`
+ *
+ * Generated from protobuf field string description = 5;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * One or more paragraphs of text description of this resource. Maximum length
+ * could be up to 1M bytes. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `description`:
+ * * Use a field query. Example: `description:"important instance"`
+ * * Use a free text query. Example: `"important instance"`
+ *
+ * Generated from protobuf field string description = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Location can be `global`, regional like `us-east1`, or zonal like
+ * `us-west1-b`. This field is available only when the resource's Protobuf
+ * contains it.
+ * To search against the `location`:
+ * * Use a field query. Example: `location:us-west*`
+ * * Use a free text query. Example: `us-west*`
+ *
+ * Generated from protobuf field string location = 6;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * Location can be `global`, regional like `us-east1`, or zonal like
+ * `us-west1-b`. This field is available only when the resource's Protobuf
+ * contains it.
+ * To search against the `location`:
+ * * Use a field query. Example: `location:us-west*`
+ * * Use a free text query. Example: `us-west*`
+ *
+ * Generated from protobuf field string location = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setLocation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->location = $var;
+
+ return $this;
+ }
+
+ /**
+ * User labels associated with this resource. See [Labelling and grouping
+ * Google Cloud
+ * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
+ * for more information. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `labels`:
+ * * Use a field query:
+ * - query on any label's key or value. Example: `labels:prod`
+ * - query by a given label. Example: `labels.env:prod`
+ * - query by a given label's existence. Example: `labels.env:*`
+ * * Use a free text query. Example: `prod`
+ *
+ * Generated from protobuf field map labels = 7;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * User labels associated with this resource. See [Labelling and grouping
+ * Google Cloud
+ * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
+ * for more information. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `labels`:
+ * * Use a field query:
+ * - query on any label's key or value. Example: `labels:prod`
+ * - query by a given label. Example: `labels.env:prod`
+ * - query by a given label's existence. Example: `labels.env:*`
+ * * Use a free text query. Example: `prod`
+ *
+ * Generated from protobuf field map labels = 7;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Network tags associated with this resource. Like labels, network tags are a
+ * type of annotations used to group Google Cloud resources. See [Labelling
+ * Google Cloud
+ * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
+ * for more information. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `network_tags`:
+ * * Use a field query. Example: `networkTags:internal`
+ * * Use a free text query. Example: `internal`
+ *
+ * Generated from protobuf field repeated string network_tags = 8;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNetworkTags()
+ {
+ return $this->network_tags;
+ }
+
+ /**
+ * Network tags associated with this resource. Like labels, network tags are a
+ * type of annotations used to group Google Cloud resources. See [Labelling
+ * Google Cloud
+ * resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-cloud-platform-resources)
+ * for more information. This field is available only when the resource's
+ * Protobuf contains it.
+ * To search against the `network_tags`:
+ * * Use a field query. Example: `networkTags:internal`
+ * * Use a free text query. Example: `internal`
+ *
+ * Generated from protobuf field repeated string network_tags = 8;
+ * @param arraystring kms_key = 10 [deprecated = true];
+ * @return string
+ * @deprecated
+ */
+ public function getKmsKey()
+ {
+ @trigger_error('kms_key is deprecated.', E_USER_DEPRECATED);
+ return $this->kms_key;
+ }
+
+ /**
+ * The Cloud KMS
+ * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
+ * name or
+ * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
+ * name.
+ * This field only presents for the purpose of backward compatibility.
+ * Use the `kms_keys` field to retrieve Cloud KMS key information. This field
+ * is available only when the resource's Protobuf contains it and will only be
+ * populated for [these resource
+ * types](https://cloud.google.com/asset-inventory/docs/legacy-field-names#resource_types_with_the_to_be_deprecated_kmskey_field)
+ * for backward compatible purposes.
+ * To search against the `kms_key`:
+ * * Use a field query. Example: `kmsKey:key`
+ * * Use a free text query. Example: `key`
+ *
+ * Generated from protobuf field string kms_key = 10 [deprecated = true];
+ * @param string $var
+ * @return $this
+ * @deprecated
+ */
+ public function setKmsKey($var)
+ {
+ @trigger_error('kms_key is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkString($var, True);
+ $this->kms_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * The Cloud KMS
+ * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
+ * names or
+ * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
+ * names. This field is available only when the resource's Protobuf contains
+ * it.
+ * To search against the `kms_keys`:
+ * * Use a field query. Example: `kmsKeys:key`
+ * * Use a free text query. Example: `key`
+ *
+ * Generated from protobuf field repeated string kms_keys = 28;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getKmsKeys()
+ {
+ return $this->kms_keys;
+ }
+
+ /**
+ * The Cloud KMS
+ * [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys)
+ * names or
+ * [CryptoKeyVersion](https://cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys.cryptoKeyVersions)
+ * names. This field is available only when the resource's Protobuf contains
+ * it.
+ * To search against the `kms_keys`:
+ * * Use a field query. Example: `kmsKeys:key`
+ * * Use a free text query. Example: `key`
+ *
+ * Generated from protobuf field repeated string kms_keys = 28;
+ * @param array.google.protobuf.Timestamp create_time = 11;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * The create timestamp of this resource, at which the resource was created.
+ * The granularity is in seconds. Timestamp.nanos will always be 0. This field
+ * is available only when the resource's Protobuf contains it.
+ * To search against `create_time`:
+ * * Use a field query.
+ * - value in seconds since unix epoch. Example: `createTime > 1609459200`
+ * - value in date string. Example: `createTime > 2021-01-01`
+ * - value in date-time string (must be quoted). Example: `createTime >
+ * "2021-01-01T00:00:00"`
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 11;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The last update timestamp of this resource, at which the resource was last
+ * modified or deleted. The granularity is in seconds. Timestamp.nanos will
+ * always be 0. This field is available only when the resource's Protobuf
+ * contains it.
+ * To search against `update_time`:
+ * * Use a field query.
+ * - value in seconds since unix epoch. Example: `updateTime < 1609459200`
+ * - value in date string. Example: `updateTime < 2021-01-01`
+ * - value in date-time string (must be quoted). Example: `updateTime <
+ * "2021-01-01T00:00:00"`
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 12;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * The last update timestamp of this resource, at which the resource was last
+ * modified or deleted. The granularity is in seconds. Timestamp.nanos will
+ * always be 0. This field is available only when the resource's Protobuf
+ * contains it.
+ * To search against `update_time`:
+ * * Use a field query.
+ * - value in seconds since unix epoch. Example: `updateTime < 1609459200`
+ * - value in date string. Example: `updateTime < 2021-01-01`
+ * - value in date-time string (must be quoted). Example: `updateTime <
+ * "2021-01-01T00:00:00"`
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 12;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The state of this resource. Different resources types have different state
+ * definitions that are mapped from various fields of different resource
+ * types. This field is available only when the resource's Protobuf contains
+ * it.
+ * Example:
+ * If the resource is an instance provided by Compute Engine,
+ * its state will include PROVISIONING, STAGING, RUNNING, STOPPING,
+ * SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition
+ * in [API
+ * Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances).
+ * If the resource is a project provided by Resource Manager, its state
+ * will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and
+ * DELETE_IN_PROGRESS. See `lifecycleState` definition in [API
+ * Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects).
+ * To search against the `state`:
+ * * Use a field query. Example: `state:RUNNING`
+ * * Use a free text query. Example: `RUNNING`
+ *
+ * Generated from protobuf field string state = 13;
+ * @return string
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * The state of this resource. Different resources types have different state
+ * definitions that are mapped from various fields of different resource
+ * types. This field is available only when the resource's Protobuf contains
+ * it.
+ * Example:
+ * If the resource is an instance provided by Compute Engine,
+ * its state will include PROVISIONING, STAGING, RUNNING, STOPPING,
+ * SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition
+ * in [API
+ * Reference](https://cloud.google.com/compute/docs/reference/rest/v1/instances).
+ * If the resource is a project provided by Resource Manager, its state
+ * will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and
+ * DELETE_IN_PROGRESS. See `lifecycleState` definition in [API
+ * Reference](https://cloud.google.com/resource-manager/reference/rest/v1/projects).
+ * To search against the `state`:
+ * * Use a field query. Example: `state:RUNNING`
+ * * Use a free text query. Example: `RUNNING`
+ *
+ * Generated from protobuf field string state = 13;
+ * @param string $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * The additional searchable attributes of this resource. The attributes may
+ * vary from one resource type to another. Examples: `projectId` for Project,
+ * `dnsName` for DNS ManagedZone. This field contains a subset of the resource
+ * metadata fields that are returned by the List or Get APIs provided by the
+ * corresponding Google Cloud service (e.g., Compute Engine). see [API
+ * references and supported searchable
+ * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * to see which fields are included.
+ * You can search values of these fields through free text search. However,
+ * you should not consume the field programically as the field names and
+ * values may change as the Google Cloud service updates to a new incompatible
+ * API version.
+ * To search against the `additional_attributes`:
+ * * Use a free text query to match the attributes values. Example: to search
+ * `additional_attributes = { dnsName: "foobar" }`, you can issue a query
+ * `foobar`.
+ *
+ * Generated from protobuf field .google.protobuf.Struct additional_attributes = 9;
+ * @return \Google\Protobuf\Struct|null
+ */
+ public function getAdditionalAttributes()
+ {
+ return $this->additional_attributes;
+ }
+
+ public function hasAdditionalAttributes()
+ {
+ return isset($this->additional_attributes);
+ }
+
+ public function clearAdditionalAttributes()
+ {
+ unset($this->additional_attributes);
+ }
+
+ /**
+ * The additional searchable attributes of this resource. The attributes may
+ * vary from one resource type to another. Examples: `projectId` for Project,
+ * `dnsName` for DNS ManagedZone. This field contains a subset of the resource
+ * metadata fields that are returned by the List or Get APIs provided by the
+ * corresponding Google Cloud service (e.g., Compute Engine). see [API
+ * references and supported searchable
+ * attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * to see which fields are included.
+ * You can search values of these fields through free text search. However,
+ * you should not consume the field programically as the field names and
+ * values may change as the Google Cloud service updates to a new incompatible
+ * API version.
+ * To search against the `additional_attributes`:
+ * * Use a free text query to match the attributes values. Example: to search
+ * `additional_attributes = { dnsName: "foobar" }`, you can issue a query
+ * `foobar`.
+ *
+ * Generated from protobuf field .google.protobuf.Struct additional_attributes = 9;
+ * @param \Google\Protobuf\Struct $var
+ * @return $this
+ */
+ public function setAdditionalAttributes($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
+ $this->additional_attributes = $var;
+
+ return $this;
+ }
+
+ /**
+ * The full resource name of this resource's parent, if it has one.
+ * To search against the `parent_full_resource_name`:
+ * * Use a field query. Example:
+ * `parentFullResourceName:"project-name"`
+ * * Use a free text query. Example:
+ * `project-name`
+ *
+ * Generated from protobuf field string parent_full_resource_name = 19;
+ * @return string
+ */
+ public function getParentFullResourceName()
+ {
+ return $this->parent_full_resource_name;
+ }
+
+ /**
+ * The full resource name of this resource's parent, if it has one.
+ * To search against the `parent_full_resource_name`:
+ * * Use a field query. Example:
+ * `parentFullResourceName:"project-name"`
+ * * Use a free text query. Example:
+ * `project-name`
+ *
+ * Generated from protobuf field string parent_full_resource_name = 19;
+ * @param string $var
+ * @return $this
+ */
+ public function setParentFullResourceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent_full_resource_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Versioned resource representations of this resource. This is repeated
+ * because there could be multiple versions of resource representations during
+ * version migration.
+ * This `versioned_resources` field is not searchable. Some attributes of the
+ * resource representations are exposed in `additional_attributes` field, so
+ * as to allow users to search on them.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getVersionedResources()
+ {
+ return $this->versioned_resources;
+ }
+
+ /**
+ * Versioned resource representations of this resource. This is repeated
+ * because there could be multiple versions of resource representations during
+ * version migration.
+ * This `versioned_resources` field is not searchable. Some attributes of the
+ * resource representations are exposed in `additional_attributes` field, so
+ * as to allow users to search on them.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.VersionedResource versioned_resources = 16;
+ * @param array<\Google\Cloud\Asset\V1\VersionedResource>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setVersionedResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\VersionedResource::class);
+ $this->versioned_resources = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Attached resources of this resource. For example, an OSConfig
+ * Inventory is an attached resource of a Compute Instance. This field is
+ * repeated because a resource could have multiple attached resources.
+ * This `attached_resources` field is not searchable. Some attributes
+ * of the attached resources are exposed in `additional_attributes` field, so
+ * as to allow users to search on them.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAttachedResources()
+ {
+ return $this->attached_resources;
+ }
+
+ /**
+ * Attached resources of this resource. For example, an OSConfig
+ * Inventory is an attached resource of a Compute Instance. This field is
+ * repeated because a resource could have multiple attached resources.
+ * This `attached_resources` field is not searchable. Some attributes
+ * of the attached resources are exposed in `additional_attributes` field, so
+ * as to allow users to search on them.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.AttachedResource attached_resources = 20;
+ * @param array<\Google\Cloud\Asset\V1\AttachedResource>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setAttachedResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\AttachedResource::class);
+ $this->attached_resources = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A map of related resources of this resource, keyed by the
+ * relationship type. A relationship type is in the format of
+ * {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`,
+ * `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`.
+ * See [supported relationship
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
+ *
+ * Generated from protobuf field map relationships = 21;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getRelationships()
+ {
+ return $this->relationships;
+ }
+
+ /**
+ * A map of related resources of this resource, keyed by the
+ * relationship type. A relationship type is in the format of
+ * {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`,
+ * `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`.
+ * See [supported relationship
+ * types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#supported_relationship_types).
+ *
+ * Generated from protobuf field map relationships = 21;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setRelationships($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\RelatedResources::class);
+ $this->relationships = $arr;
+
+ return $this;
+ }
+
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ * To search against the `tagKeys`:
+ * * Use a field query. Example:
+ * - `tagKeys:"123456789/env*"`
+ * - `tagKeys="123456789/env"`
+ * - `tagKeys:"env"`
+ * * Use a free text query. Example:
+ * - `env`
+ *
+ * Generated from protobuf field repeated string tag_keys = 23 [deprecated = true];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ * @deprecated
+ */
+ public function getTagKeys()
+ {
+ @trigger_error('tag_keys is deprecated.', E_USER_DEPRECATED);
+ return $this->tag_keys;
+ }
+
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ * To search against the `tagKeys`:
+ * * Use a field query. Example:
+ * - `tagKeys:"123456789/env*"`
+ * - `tagKeys="123456789/env"`
+ * - `tagKeys:"env"`
+ * * Use a free text query. Example:
+ * - `env`
+ *
+ * Generated from protobuf field repeated string tag_keys = 23 [deprecated = true];
+ * @param arrayrepeated string tag_values = 25 [deprecated = true];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ * @deprecated
+ */
+ public function getTagValues()
+ {
+ @trigger_error('tag_values is deprecated.', E_USER_DEPRECATED);
+ return $this->tag_values;
+ }
+
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagValue namespaced names, in the format of
+ * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
+ * To search against the `tagValues`:
+ * * Use a field query. Example:
+ * - `tagValues:"env"`
+ * - `tagValues:"env/prod"`
+ * - `tagValues:"123456789/env/prod*"`
+ * - `tagValues="123456789/env/prod"`
+ * * Use a free text query. Example:
+ * - `prod`
+ *
+ * Generated from protobuf field repeated string tag_values = 25 [deprecated = true];
+ * @param arrayrepeated string tag_value_ids = 26 [deprecated = true];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ * @deprecated
+ */
+ public function getTagValueIds()
+ {
+ @trigger_error('tag_value_ids is deprecated.', E_USER_DEPRECATED);
+ return $this->tag_value_ids;
+ }
+
+ /**
+ * This field is only present for the purpose of backward compatibility.
+ * Use the `tags` field instead.
+ * TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}.
+ * To search against the `tagValueIds`:
+ * * Use a field query. Example:
+ * - `tagValueIds="tagValues/456"`
+ * * Use a free text query. Example:
+ * - `456`
+ *
+ * Generated from protobuf field repeated string tag_value_ids = 26 [deprecated = true];
+ * @param arrayrepeated .google.cloud.asset.v1.Tag tags = 29;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ /**
+ * The tags directly attached to this resource.
+ * To search against the `tags`:
+ * * Use a field query. Example:
+ * - `tagKeys:"123456789/env*"`
+ * - `tagKeys="123456789/env"`
+ * - `tagKeys:"env"`
+ * - `tagKeyIds="tagKeys/123"`
+ * - `tagValues:"env"`
+ * - `tagValues:"env/prod"`
+ * - `tagValues:"123456789/env/prod*"`
+ * - `tagValues="123456789/env/prod"`
+ * - `tagValueIds="tagValues/456"`
+ * * Use a free text query. Example:
+ * - `env/prod`
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.Tag tags = 29;
+ * @param array<\Google\Cloud\Asset\V1\Tag>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setTags($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\Tag::class);
+ $this->tags = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The effective tags on this resource. All of the tags that are both attached
+ * to and inherited by a resource are collectively called the effective
+ * tags. For more information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ * To search against the `effective_tags`:
+ * * Use a field query. Example:
+ * - `effectiveTagKeys:"123456789/env*"`
+ * - `effectiveTagKeys="123456789/env"`
+ * - `effectiveTagKeys:"env"`
+ * - `effectiveTagKeyIds="tagKeys/123"`
+ * - `effectiveTagValues:"env"`
+ * - `effectiveTagValues:"env/prod"`
+ * - `effectiveTagValues:"123456789/env/prod*"`
+ * - `effectiveTagValues="123456789/env/prod"`
+ * - `effectiveTagValueIds="tagValues/456"`
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getEffectiveTags()
+ {
+ return $this->effective_tags;
+ }
+
+ /**
+ * The effective tags on this resource. All of the tags that are both attached
+ * to and inherited by a resource are collectively called the effective
+ * tags. For more information, see [tag
+ * inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#inheritance).
+ * To search against the `effective_tags`:
+ * * Use a field query. Example:
+ * - `effectiveTagKeys:"123456789/env*"`
+ * - `effectiveTagKeys="123456789/env"`
+ * - `effectiveTagKeys:"env"`
+ * - `effectiveTagKeyIds="tagKeys/123"`
+ * - `effectiveTagValues:"env"`
+ * - `effectiveTagValues:"env/prod"`
+ * - `effectiveTagValues:"123456789/env/prod*"`
+ * - `effectiveTagValues="123456789/env/prod"`
+ * - `effectiveTagValueIds="tagValues/456"`
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 30;
+ * @param array<\Google\Cloud\Asset\V1\EffectiveTagDetails>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setEffectiveTags($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\EffectiveTagDetails::class);
+ $this->effective_tags = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The type of this resource's immediate parent, if there is one.
+ * To search against the `parent_asset_type`:
+ * * Use a field query. Example:
+ * `parentAssetType:"cloudresourcemanager.googleapis.com/Project"`
+ * * Use a free text query. Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ *
+ * Generated from protobuf field string parent_asset_type = 103;
+ * @return string
+ */
+ public function getParentAssetType()
+ {
+ return $this->parent_asset_type;
+ }
+
+ /**
+ * The type of this resource's immediate parent, if there is one.
+ * To search against the `parent_asset_type`:
+ * * Use a field query. Example:
+ * `parentAssetType:"cloudresourcemanager.googleapis.com/Project"`
+ * * Use a free text query. Example:
+ * `cloudresourcemanager.googleapis.com/Project`
+ *
+ * Generated from protobuf field string parent_asset_type = 103;
+ * @param string $var
+ * @return $this
+ */
+ public function setParentAssetType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent_asset_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The actual content of Security Command Center security marks associated
+ * with the asset.
+ * To search against SCC SecurityMarks field:
+ * * Use a field query:
+ * - query by a given key value pair. Example: `sccSecurityMarks.foo=bar`
+ * - query by a given key's existence. Example: `sccSecurityMarks.foo:*`
+ *
+ * Generated from protobuf field map scc_security_marks = 32;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getSccSecurityMarks()
+ {
+ return $this->scc_security_marks;
+ }
+
+ /**
+ * The actual content of Security Command Center security marks associated
+ * with the asset.
+ * To search against SCC SecurityMarks field:
+ * * Use a field query:
+ * - query by a given key value pair. Example: `sccSecurityMarks.foo=bar`
+ * - query by a given key's existence. Example: `sccSecurityMarks.foo:*`
+ *
+ * Generated from protobuf field map scc_security_marks = 32;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setSccSecurityMarks($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->scc_security_marks = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SavedQuery.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SavedQuery.php
new file mode 100644
index 000000000000..3928fe35a45c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SavedQuery.php
@@ -0,0 +1,363 @@
+google.cloud.asset.v1.SavedQuery
+ */
+class SavedQuery extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resource name of the saved query. The format must be:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The description of this saved query. This value should be fewer than 255
+ * characters.
+ *
+ * Generated from protobuf field string description = 2;
+ */
+ protected $description = '';
+ /**
+ * Output only. The create time of this saved query.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The account's email address who has created this saved query.
+ *
+ * Generated from protobuf field string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $creator = '';
+ /**
+ * Output only. The last update time of this saved query.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_update_time = null;
+ /**
+ * Output only. The account's email address who has updated this saved query
+ * most recently.
+ *
+ * Generated from protobuf field string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_updater = '';
+ /**
+ * Labels applied on the resource.
+ * This value should not contain more than 10 entries. The key and value of
+ * each entry must be non-empty and fewer than 64 characters.
+ *
+ * Generated from protobuf field map labels = 7;
+ */
+ private $labels;
+ /**
+ * The query content.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
+ */
+ protected $content = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * The resource name of the saved query. The format must be:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * @type string $description
+ * The description of this saved query. This value should be fewer than 255
+ * characters.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The create time of this saved query.
+ * @type string $creator
+ * Output only. The account's email address who has created this saved query.
+ * @type \Google\Protobuf\Timestamp $last_update_time
+ * Output only. The last update time of this saved query.
+ * @type string $last_updater
+ * Output only. The account's email address who has updated this saved query
+ * most recently.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Labels applied on the resource.
+ * This value should not contain more than 10 entries. The key and value of
+ * each entry must be non-empty and fewer than 64 characters.
+ * @type \Google\Cloud\Asset\V1\SavedQuery\QueryContent $content
+ * The query content.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resource name of the saved query. The format must be:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * The resource name of the saved query. The format must be:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The description of this saved query. This value should be fewer than 255
+ * characters.
+ *
+ * Generated from protobuf field string description = 2;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * The description of this saved query. This value should be fewer than 255
+ * characters.
+ *
+ * Generated from protobuf field string description = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The create time of this saved query.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The create time of this saved query.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The account's email address who has created this saved query.
+ *
+ * Generated from protobuf field string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getCreator()
+ {
+ return $this->creator;
+ }
+
+ /**
+ * Output only. The account's email address who has created this saved query.
+ *
+ * Generated from protobuf field string creator = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setCreator($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->creator = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last update time of this saved query.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getLastUpdateTime()
+ {
+ return $this->last_update_time;
+ }
+
+ public function hasLastUpdateTime()
+ {
+ return isset($this->last_update_time);
+ }
+
+ public function clearLastUpdateTime()
+ {
+ unset($this->last_update_time);
+ }
+
+ /**
+ * Output only. The last update time of this saved query.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setLastUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->last_update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The account's email address who has updated this saved query
+ * most recently.
+ *
+ * Generated from protobuf field string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getLastUpdater()
+ {
+ return $this->last_updater;
+ }
+
+ /**
+ * Output only. The account's email address who has updated this saved query
+ * most recently.
+ *
+ * Generated from protobuf field string last_updater = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setLastUpdater($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->last_updater = $var;
+
+ return $this;
+ }
+
+ /**
+ * Labels applied on the resource.
+ * This value should not contain more than 10 entries. The key and value of
+ * each entry must be non-empty and fewer than 64 characters.
+ *
+ * Generated from protobuf field map labels = 7;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Labels applied on the resource.
+ * This value should not contain more than 10 entries. The key and value of
+ * each entry must be non-empty and fewer than 64 characters.
+ *
+ * Generated from protobuf field map labels = 7;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The query content.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
+ * @return \Google\Cloud\Asset\V1\SavedQuery\QueryContent|null
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ public function hasContent()
+ {
+ return isset($this->content);
+ }
+
+ public function clearContent()
+ {
+ unset($this->content);
+ }
+
+ /**
+ * The query content.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery.QueryContent content = 8;
+ * @param \Google\Cloud\Asset\V1\SavedQuery\QueryContent $var
+ * @return $this
+ */
+ public function setContent($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\SavedQuery\QueryContent::class);
+ $this->content = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SavedQuery/QueryContent.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SavedQuery/QueryContent.php
new file mode 100644
index 000000000000..f88f91e790a2
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SavedQuery/QueryContent.php
@@ -0,0 +1,93 @@
+google.cloud.asset.v1.SavedQuery.QueryContent
+ */
+class QueryContent extends \Google\Protobuf\Internal\Message
+{
+ protected $query_content;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $iam_policy_analysis_query
+ * An IAM Policy Analysis query, which could be used in
+ * the
+ * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
+ * RPC or the
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An IAM Policy Analysis query, which could be used in
+ * the
+ * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
+ * RPC or the
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
+ * @return \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery|null
+ */
+ public function getIamPolicyAnalysisQuery()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasIamPolicyAnalysisQuery()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * An IAM Policy Analysis query, which could be used in
+ * the
+ * [AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy]
+ * RPC or the
+ * [AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning]
+ * RPC.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisQuery iam_policy_analysis_query = 1;
+ * @param \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery $var
+ * @return $this
+ */
+ public function setIamPolicyAnalysisQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\IamPolicyAnalysisQuery::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getQueryContent()
+ {
+ return $this->whichOneof("query_content");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(QueryContent::class, \Google\Cloud\Asset\V1\SavedQuery_QueryContent::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllIamPoliciesRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllIamPoliciesRequest.php
new file mode 100644
index 000000000000..f12c14204e78
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllIamPoliciesRequest.php
@@ -0,0 +1,612 @@
+google.cloud.asset.v1.SearchAllIamPoliciesRequest
+ */
+class SearchAllIamPoliciesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the IAM policies within the `scope`. The caller must
+ * be granted the
+ * [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ * The allowed values are:
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $scope = '';
+ /**
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * IAM policies within the specified `scope`. Note that the query string is
+ * compared against each IAM policy binding, including its principals,
+ * roles, and IAM conditions. The returned IAM policies will only
+ * contain the bindings that match your query. To learn more about the IAM
+ * policy structure, see the [IAM policy
+ * documentation](https://cloud.google.com/iam/help/allow-policies/structure).
+ * Examples:
+ * * `policy:amy@gmail.com` to find IAM policy bindings that specify user
+ * "amy@gmail.com".
+ * * `policy:roles/compute.admin` to find IAM policy bindings that specify
+ * the Compute Admin role.
+ * * `policy:comp*` to find IAM policy bindings that contain "comp" as a
+ * prefix of any word in the binding.
+ * * `policy.role.permissions:storage.buckets.update` to find IAM policy
+ * bindings that specify a role containing "storage.buckets.update"
+ * permission. Note that if callers don't have `iam.roles.get` access to a
+ * role's included permissions, policy bindings that specify this role will
+ * be dropped from the search results.
+ * * `policy.role.permissions:upd*` to find IAM policy bindings that specify a
+ * role containing "upd" as a prefix of any word in the role permission.
+ * Note that if callers don't have `iam.roles.get` access to a role's
+ * included permissions, policy bindings that specify this role will be
+ * dropped from the search results.
+ * * `resource:organizations/123456` to find IAM policy bindings
+ * that are set on "organizations/123456".
+ * * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to
+ * find IAM policy bindings that are set on the project named "myproject".
+ * * `Important` to find IAM policy bindings that contain "Important" as a
+ * word in any of the searchable fields (except for the included
+ * permissions).
+ * * `resource:(instance1 OR instance2) policy:amy` to find
+ * IAM policy bindings that are set on resources "instance1" or
+ * "instance2" and also specify user "amy".
+ * * `roles:roles/compute.admin` to find IAM policy bindings that specify the
+ * Compute Admin role.
+ * * `memberTypes:user` to find IAM policy bindings that contain the
+ * principal type "user".
+ *
+ * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $query = '';
+ /**
+ * Optional. The page size for search result pagination. Page size is capped
+ * at 500 even if a larger value is given. If set to zero or a negative value,
+ * server will pick an appropriate default. Returned results may be fewer than
+ * requested. When this happens, there could be more results as long as
+ * `next_page_token` is returned.
+ *
+ * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_size = 0;
+ /**
+ * Optional. If present, retrieve the next batch of results from the preceding
+ * call to this method. `page_token` must be the value of `next_page_token`
+ * from the previous response. The values of all other method parameters must
+ * be identical to those in the previous call.
+ *
+ * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_token = '';
+ /**
+ * Optional. A list of asset types that the IAM policies are attached to. If
+ * empty, it will search the IAM policies that are attached to all the asset
+ * types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots IAM policies attached to asset type
+ * starts with "compute.googleapis.com".
+ * * ".*Instance" snapshots IAM policies attached to asset type ends with
+ * "Instance".
+ * * ".*Instance.*" snapshots IAM policies attached to asset type contains
+ * "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $asset_types;
+ /**
+ * Optional. A comma-separated list of fields specifying the sorting order of
+ * the results. The default order is ascending. Add " DESC" after the field
+ * name to indicate descending order. Redundant space characters are ignored.
+ * Example: "assetType DESC, resource".
+ * Only singular primitive fields in the response are sortable:
+ * * resource
+ * * assetType
+ * * project
+ * All the other fields such as repeated fields (e.g., `folders`) and
+ * non-primitive fields (e.g., `policy`) are not supported.
+ *
+ * Generated from protobuf field string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $order_by = '';
+
+ /**
+ * @param string $scope Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the IAM policies within the `scope`. The caller must
+ * be granted the
+ * [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @param string $query Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * IAM policies within the specified `scope`. Note that the query string is
+ * compared against each IAM policy binding, including its principals,
+ * roles, and IAM conditions. The returned IAM policies will only
+ * contain the bindings that match your query. To learn more about the IAM
+ * policy structure, see the [IAM policy
+ * documentation](https://cloud.google.com/iam/help/allow-policies/structure).
+ *
+ * Examples:
+ *
+ * * `policy:amy@gmail.com` to find IAM policy bindings that specify user
+ * "amy@gmail.com".
+ * * `policy:roles/compute.admin` to find IAM policy bindings that specify
+ * the Compute Admin role.
+ * * `policy:comp*` to find IAM policy bindings that contain "comp" as a
+ * prefix of any word in the binding.
+ * * `policy.role.permissions:storage.buckets.update` to find IAM policy
+ * bindings that specify a role containing "storage.buckets.update"
+ * permission. Note that if callers don't have `iam.roles.get` access to a
+ * role's included permissions, policy bindings that specify this role will
+ * be dropped from the search results.
+ * * `policy.role.permissions:upd*` to find IAM policy bindings that specify a
+ * role containing "upd" as a prefix of any word in the role permission.
+ * Note that if callers don't have `iam.roles.get` access to a role's
+ * included permissions, policy bindings that specify this role will be
+ * dropped from the search results.
+ * * `resource:organizations/123456` to find IAM policy bindings
+ * that are set on "organizations/123456".
+ * * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to
+ * find IAM policy bindings that are set on the project named "myproject".
+ * * `Important` to find IAM policy bindings that contain "Important" as a
+ * word in any of the searchable fields (except for the included
+ * permissions).
+ * * `resource:(instance1 OR instance2) policy:amy` to find
+ * IAM policy bindings that are set on resources "instance1" or
+ * "instance2" and also specify user "amy".
+ * * `roles:roles/compute.admin` to find IAM policy bindings that specify the
+ * Compute Admin role.
+ * * `memberTypes:user` to find IAM policy bindings that contain the
+ * principal type "user".
+ *
+ * @return \Google\Cloud\Asset\V1\SearchAllIamPoliciesRequest
+ *
+ * @experimental
+ */
+ public static function build(string $scope, string $query): self
+ {
+ return (new self())
+ ->setScope($scope)
+ ->setQuery($query);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the IAM policies within the `scope`. The caller must
+ * be granted the
+ * [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ * The allowed values are:
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @type string $query
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * IAM policies within the specified `scope`. Note that the query string is
+ * compared against each IAM policy binding, including its principals,
+ * roles, and IAM conditions. The returned IAM policies will only
+ * contain the bindings that match your query. To learn more about the IAM
+ * policy structure, see the [IAM policy
+ * documentation](https://cloud.google.com/iam/help/allow-policies/structure).
+ * Examples:
+ * * `policy:amy@gmail.com` to find IAM policy bindings that specify user
+ * "amy@gmail.com".
+ * * `policy:roles/compute.admin` to find IAM policy bindings that specify
+ * the Compute Admin role.
+ * * `policy:comp*` to find IAM policy bindings that contain "comp" as a
+ * prefix of any word in the binding.
+ * * `policy.role.permissions:storage.buckets.update` to find IAM policy
+ * bindings that specify a role containing "storage.buckets.update"
+ * permission. Note that if callers don't have `iam.roles.get` access to a
+ * role's included permissions, policy bindings that specify this role will
+ * be dropped from the search results.
+ * * `policy.role.permissions:upd*` to find IAM policy bindings that specify a
+ * role containing "upd" as a prefix of any word in the role permission.
+ * Note that if callers don't have `iam.roles.get` access to a role's
+ * included permissions, policy bindings that specify this role will be
+ * dropped from the search results.
+ * * `resource:organizations/123456` to find IAM policy bindings
+ * that are set on "organizations/123456".
+ * * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to
+ * find IAM policy bindings that are set on the project named "myproject".
+ * * `Important` to find IAM policy bindings that contain "Important" as a
+ * word in any of the searchable fields (except for the included
+ * permissions).
+ * * `resource:(instance1 OR instance2) policy:amy` to find
+ * IAM policy bindings that are set on resources "instance1" or
+ * "instance2" and also specify user "amy".
+ * * `roles:roles/compute.admin` to find IAM policy bindings that specify the
+ * Compute Admin role.
+ * * `memberTypes:user` to find IAM policy bindings that contain the
+ * principal type "user".
+ * @type int $page_size
+ * Optional. The page size for search result pagination. Page size is capped
+ * at 500 even if a larger value is given. If set to zero or a negative value,
+ * server will pick an appropriate default. Returned results may be fewer than
+ * requested. When this happens, there could be more results as long as
+ * `next_page_token` is returned.
+ * @type string $page_token
+ * Optional. If present, retrieve the next batch of results from the preceding
+ * call to this method. `page_token` must be the value of `next_page_token`
+ * from the previous response. The values of all other method parameters must
+ * be identical to those in the previous call.
+ * @type arraystring scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the IAM policies within the `scope`. The caller must
+ * be granted the
+ * [`cloudasset.assets.searchAllIamPolicies`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ * The allowed values are:
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * IAM policies within the specified `scope`. Note that the query string is
+ * compared against each IAM policy binding, including its principals,
+ * roles, and IAM conditions. The returned IAM policies will only
+ * contain the bindings that match your query. To learn more about the IAM
+ * policy structure, see the [IAM policy
+ * documentation](https://cloud.google.com/iam/help/allow-policies/structure).
+ * Examples:
+ * * `policy:amy@gmail.com` to find IAM policy bindings that specify user
+ * "amy@gmail.com".
+ * * `policy:roles/compute.admin` to find IAM policy bindings that specify
+ * the Compute Admin role.
+ * * `policy:comp*` to find IAM policy bindings that contain "comp" as a
+ * prefix of any word in the binding.
+ * * `policy.role.permissions:storage.buckets.update` to find IAM policy
+ * bindings that specify a role containing "storage.buckets.update"
+ * permission. Note that if callers don't have `iam.roles.get` access to a
+ * role's included permissions, policy bindings that specify this role will
+ * be dropped from the search results.
+ * * `policy.role.permissions:upd*` to find IAM policy bindings that specify a
+ * role containing "upd" as a prefix of any word in the role permission.
+ * Note that if callers don't have `iam.roles.get` access to a role's
+ * included permissions, policy bindings that specify this role will be
+ * dropped from the search results.
+ * * `resource:organizations/123456` to find IAM policy bindings
+ * that are set on "organizations/123456".
+ * * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to
+ * find IAM policy bindings that are set on the project named "myproject".
+ * * `Important` to find IAM policy bindings that contain "Important" as a
+ * word in any of the searchable fields (except for the included
+ * permissions).
+ * * `resource:(instance1 OR instance2) policy:amy` to find
+ * IAM policy bindings that are set on resources "instance1" or
+ * "instance2" and also specify user "amy".
+ * * `roles:roles/compute.admin` to find IAM policy bindings that specify the
+ * Compute Admin role.
+ * * `memberTypes:user` to find IAM policy bindings that contain the
+ * principal type "user".
+ *
+ * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getQuery()
+ {
+ return $this->query;
+ }
+
+ /**
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * IAM policies within the specified `scope`. Note that the query string is
+ * compared against each IAM policy binding, including its principals,
+ * roles, and IAM conditions. The returned IAM policies will only
+ * contain the bindings that match your query. To learn more about the IAM
+ * policy structure, see the [IAM policy
+ * documentation](https://cloud.google.com/iam/help/allow-policies/structure).
+ * Examples:
+ * * `policy:amy@gmail.com` to find IAM policy bindings that specify user
+ * "amy@gmail.com".
+ * * `policy:roles/compute.admin` to find IAM policy bindings that specify
+ * the Compute Admin role.
+ * * `policy:comp*` to find IAM policy bindings that contain "comp" as a
+ * prefix of any word in the binding.
+ * * `policy.role.permissions:storage.buckets.update` to find IAM policy
+ * bindings that specify a role containing "storage.buckets.update"
+ * permission. Note that if callers don't have `iam.roles.get` access to a
+ * role's included permissions, policy bindings that specify this role will
+ * be dropped from the search results.
+ * * `policy.role.permissions:upd*` to find IAM policy bindings that specify a
+ * role containing "upd" as a prefix of any word in the role permission.
+ * Note that if callers don't have `iam.roles.get` access to a role's
+ * included permissions, policy bindings that specify this role will be
+ * dropped from the search results.
+ * * `resource:organizations/123456` to find IAM policy bindings
+ * that are set on "organizations/123456".
+ * * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to
+ * find IAM policy bindings that are set on the project named "myproject".
+ * * `Important` to find IAM policy bindings that contain "Important" as a
+ * word in any of the searchable fields (except for the included
+ * permissions).
+ * * `resource:(instance1 OR instance2) policy:amy` to find
+ * IAM policy bindings that are set on resources "instance1" or
+ * "instance2" and also specify user "amy".
+ * * `roles:roles/compute.admin` to find IAM policy bindings that specify the
+ * Compute Admin role.
+ * * `memberTypes:user` to find IAM policy bindings that contain the
+ * principal type "user".
+ *
+ * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setQuery($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The page size for search result pagination. Page size is capped
+ * at 500 even if a larger value is given. If set to zero or a negative value,
+ * server will pick an appropriate default. Returned results may be fewer than
+ * requested. When this happens, there could be more results as long as
+ * `next_page_token` is returned.
+ *
+ * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Optional. The page size for search result pagination. Page size is capped
+ * at 500 even if a larger value is given. If set to zero or a negative value,
+ * server will pick an appropriate default. Returned results may be fewer than
+ * requested. When this happens, there could be more results as long as
+ * `next_page_token` is returned.
+ *
+ * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If present, retrieve the next batch of results from the preceding
+ * call to this method. `page_token` must be the value of `next_page_token`
+ * from the previous response. The values of all other method parameters must
+ * be identical to those in the previous call.
+ *
+ * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Optional. If present, retrieve the next batch of results from the preceding
+ * call to this method. `page_token` must be the value of `next_page_token`
+ * from the previous response. The values of all other method parameters must
+ * be identical to those in the previous call.
+ *
+ * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of asset types that the IAM policies are attached to. If
+ * empty, it will search the IAM policies that are attached to all the asset
+ * types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots IAM policies attached to asset type
+ * starts with "compute.googleapis.com".
+ * * ".*Instance" snapshots IAM policies attached to asset type ends with
+ * "Instance".
+ * * ".*Instance.*" snapshots IAM policies attached to asset type contains
+ * "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetTypes()
+ {
+ return $this->asset_types;
+ }
+
+ /**
+ * Optional. A list of asset types that the IAM policies are attached to. If
+ * empty, it will search the IAM policies that are attached to all the asset
+ * types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots IAM policies attached to asset type
+ * starts with "compute.googleapis.com".
+ * * ".*Instance" snapshots IAM policies attached to asset type ends with
+ * "Instance".
+ * * ".*Instance.*" snapshots IAM policies attached to asset type contains
+ * "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field repeated string asset_types = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arraystring order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getOrderBy()
+ {
+ return $this->order_by;
+ }
+
+ /**
+ * Optional. A comma-separated list of fields specifying the sorting order of
+ * the results. The default order is ascending. Add " DESC" after the field
+ * name to indicate descending order. Redundant space characters are ignored.
+ * Example: "assetType DESC, resource".
+ * Only singular primitive fields in the response are sortable:
+ * * resource
+ * * assetType
+ * * project
+ * All the other fields such as repeated fields (e.g., `folders`) and
+ * non-primitive fields (e.g., `policy`) are not supported.
+ *
+ * Generated from protobuf field string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setOrderBy($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->order_by = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllIamPoliciesResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllIamPoliciesResponse.php
new file mode 100644
index 000000000000..c1f4ab0abb2f
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllIamPoliciesResponse.php
@@ -0,0 +1,113 @@
+google.cloud.asset.v1.SearchAllIamPoliciesResponse
+ */
+class SearchAllIamPoliciesResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of IAM policies that match the search query. Related information
+ * such as the associated resource is returned along with the policy.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
+ */
+ private $results;
+ /**
+ * Set if there are more results than those appearing in this response; to get
+ * the next set of results, call this method again, using this value as the
+ * `page_token`.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\IamPolicySearchResult>|\Google\Protobuf\Internal\RepeatedField $results
+ * A list of IAM policies that match the search query. Related information
+ * such as the associated resource is returned along with the policy.
+ * @type string $next_page_token
+ * Set if there are more results than those appearing in this response; to get
+ * the next set of results, call this method again, using this value as the
+ * `page_token`.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of IAM policies that match the search query. Related information
+ * such as the associated resource is returned along with the policy.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResults()
+ {
+ return $this->results;
+ }
+
+ /**
+ * A list of IAM policies that match the search query. Related information
+ * such as the associated resource is returned along with the policy.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicySearchResult results = 1;
+ * @param array<\Google\Cloud\Asset\V1\IamPolicySearchResult>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResults($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\IamPolicySearchResult::class);
+ $this->results = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Set if there are more results than those appearing in this response; to get
+ * the next set of results, call this method again, using this value as the
+ * `page_token`.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * Set if there are more results than those appearing in this response; to get
+ * the next set of results, call this method again, using this value as the
+ * `page_token`.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllResourcesRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllResourcesRequest.php
new file mode 100644
index 000000000000..700bd3911bd3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllResourcesRequest.php
@@ -0,0 +1,985 @@
+google.cloud.asset.v1.SearchAllResourcesRequest
+ */
+class SearchAllResourcesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the resources within the `scope`. The caller must be
+ * granted the
+ * [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ * The allowed values are:
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $scope = '';
+ /**
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * resources within the specified `scope`.
+ * Examples:
+ * * `name:Important` to find Google Cloud resources whose name contains
+ * `Important` as a word.
+ * * `name=Important` to find the Google Cloud resource whose name is exactly
+ * `Important`.
+ * * `displayName:Impor*` to find Google Cloud resources whose display name
+ * contains `Impor` as a prefix of any word in the field.
+ * * `location:us-west*` to find Google Cloud resources whose location
+ * contains both `us` and `west` as prefixes.
+ * * `labels:prod` to find Google Cloud resources whose labels contain `prod`
+ * as a key or value.
+ * * `labels.env:prod` to find Google Cloud resources that have a label `env`
+ * and its value is `prod`.
+ * * `labels.env:*` to find Google Cloud resources that have a label `env`.
+ * * `tagKeys:env` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `tagValues:prod*` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `tagValueIds=tagValues/123` to find Google Cloud resources that have
+ * directly attached tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `effectiveTagKeys:env` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `effectiveTagValues:prod*` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
+ * have directly attached or inherited tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `kmsKey:key` to find Google Cloud resources encrypted with a
+ * customer-managed encryption key whose name contains `key` as a word. This
+ * field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
+ * key information.
+ * * `kmsKeys:key` to find Google Cloud resources encrypted with
+ * customer-managed encryption keys whose name contains the word `key`.
+ * * `relationships:instance-group-1` to find Google Cloud resources that have
+ * relationships with `instance-group-1` in the related resource name.
+ * * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine
+ * instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`.
+ * * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
+ * Compute Engine instances that have relationships with `instance-group-1`
+ * in the Compute Engine instance group resource name, for relationship type
+ * `INSTANCE_TO_INSTANCEGROUP`.
+ * * `sccSecurityMarks.key=value` to find Cloud resources that are attached
+ * with security marks whose key is `key` and value is `value`.
+ * * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
+ * security marks whose key is `key`.
+ * * `state:ACTIVE` to find Google Cloud resources whose state contains
+ * `ACTIVE` as a word.
+ * * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
+ * contain `ACTIVE` as a word.
+ * * `createTime<1609459200` to find Google Cloud resources that were created
+ * before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `updateTime>1609459200` to find Google Cloud resources that were updated
+ * after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `Important` to find Google Cloud resources that contain `Important` as a
+ * word in any of the searchable fields.
+ * * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix
+ * of any word in any of the searchable fields.
+ * * `Important location:(us-west1 OR global)` to find Google Cloud
+ * resources that contain `Important` as a word in any of the searchable
+ * fields and are also located in the `us-west1` region or the `global`
+ * location.
+ *
+ * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $query = '';
+ /**
+ * Optional. A list of asset types that this request searches for. If empty,
+ * it will search all the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $asset_types;
+ /**
+ * Optional. The page size for search result pagination. Page size is capped
+ * at 500 even if a larger value is given. If set to zero or a negative value,
+ * server will pick an appropriate default. Returned results may be fewer than
+ * requested. When this happens, there could be more results as long as
+ * `next_page_token` is returned.
+ *
+ * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_size = 0;
+ /**
+ * Optional. If present, then retrieve the next batch of results from the
+ * preceding call to this method. `page_token` must be the value of
+ * `next_page_token` from the previous response. The values of all other
+ * method parameters, must be identical to those in the previous call.
+ *
+ * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_token = '';
+ /**
+ * Optional. A comma-separated list of fields specifying the sorting order of
+ * the results. The default order is ascending. Add " DESC" after the field
+ * name to indicate descending order. Redundant space characters are ignored.
+ * Example: "location DESC, name".
+ * Only the following fields in the response are sortable:
+ * * name
+ * * assetType
+ * * project
+ * * displayName
+ * * description
+ * * location
+ * * createTime
+ * * updateTime
+ * * state
+ * * parentFullResourceName
+ * * parentAssetType
+ *
+ * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $order_by = '';
+ /**
+ * Optional. A comma-separated list of fields that you want returned in the
+ * results. The following fields are returned by default if not specified:
+ * * `name`
+ * * `assetType`
+ * * `project`
+ * * `folders`
+ * * `organization`
+ * * `displayName`
+ * * `description`
+ * * `location`
+ * * `labels`
+ * * `tags`
+ * * `effectiveTags`
+ * * `networkTags`
+ * * `kmsKeys`
+ * * `createTime`
+ * * `updateTime`
+ * * `state`
+ * * `additionalAttributes`
+ * * `parentFullResourceName`
+ * * `parentAssetType`
+ * Some fields of large size, such as `versionedResources`,
+ * `attachedResources`, `effectiveTags` etc., are not returned by default, but
+ * you can specify them in the `read_mask` parameter if you want to include
+ * them. If `"*"` is specified, all [available
+ * fields](https://cloud.google.com/asset-inventory/docs/reference/rest/v1/TopLevel/searchAllResources#resourcesearchresult)
+ * are returned.
+ * Examples: `"name,location"`, `"name,versionedResources"`, `"*"`.
+ * Any invalid field path will trigger INVALID_ARGUMENT error.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $read_mask = null;
+
+ /**
+ * @param string $scope Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the resources within the `scope`. The caller must be
+ * granted the
+ * [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ *
+ * The allowed values are:
+ *
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @param string $query Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * resources within the specified `scope`.
+ *
+ * Examples:
+ *
+ * * `name:Important` to find Google Cloud resources whose name contains
+ * `Important` as a word.
+ * * `name=Important` to find the Google Cloud resource whose name is exactly
+ * `Important`.
+ * * `displayName:Impor*` to find Google Cloud resources whose display name
+ * contains `Impor` as a prefix of any word in the field.
+ * * `location:us-west*` to find Google Cloud resources whose location
+ * contains both `us` and `west` as prefixes.
+ * * `labels:prod` to find Google Cloud resources whose labels contain `prod`
+ * as a key or value.
+ * * `labels.env:prod` to find Google Cloud resources that have a label `env`
+ * and its value is `prod`.
+ * * `labels.env:*` to find Google Cloud resources that have a label `env`.
+ * * `tagKeys:env` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `tagValues:prod*` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `tagValueIds=tagValues/123` to find Google Cloud resources that have
+ * directly attached tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `effectiveTagKeys:env` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `effectiveTagValues:prod*` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
+ * have directly attached or inherited tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `kmsKey:key` to find Google Cloud resources encrypted with a
+ * customer-managed encryption key whose name contains `key` as a word. This
+ * field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
+ * key information.
+ * * `kmsKeys:key` to find Google Cloud resources encrypted with
+ * customer-managed encryption keys whose name contains the word `key`.
+ * * `relationships:instance-group-1` to find Google Cloud resources that have
+ * relationships with `instance-group-1` in the related resource name.
+ * * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine
+ * instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`.
+ * * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
+ * Compute Engine instances that have relationships with `instance-group-1`
+ * in the Compute Engine instance group resource name, for relationship type
+ * `INSTANCE_TO_INSTANCEGROUP`.
+ * * `sccSecurityMarks.key=value` to find Cloud resources that are attached
+ * with security marks whose key is `key` and value is `value`.
+ * * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
+ * security marks whose key is `key`.
+ * * `state:ACTIVE` to find Google Cloud resources whose state contains
+ * `ACTIVE` as a word.
+ * * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
+ * contain `ACTIVE` as a word.
+ * * `createTime<1609459200` to find Google Cloud resources that were created
+ * before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `updateTime>1609459200` to find Google Cloud resources that were updated
+ * after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `Important` to find Google Cloud resources that contain `Important` as a
+ * word in any of the searchable fields.
+ * * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix
+ * of any word in any of the searchable fields.
+ * * `Important location:(us-west1 OR global)` to find Google Cloud
+ * resources that contain `Important` as a word in any of the searchable
+ * fields and are also located in the `us-west1` region or the `global`
+ * location.
+ * @param string[] $assetTypes Optional. A list of asset types that this request searches for. If empty,
+ * it will search all the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ *
+ * Regular expressions are also supported. For example:
+ *
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ *
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * @return \Google\Cloud\Asset\V1\SearchAllResourcesRequest
+ *
+ * @experimental
+ */
+ public static function build(string $scope, string $query, array $assetTypes): self
+ {
+ return (new self())
+ ->setScope($scope)
+ ->setQuery($query)
+ ->setAssetTypes($assetTypes);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $scope
+ * Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the resources within the `scope`. The caller must be
+ * granted the
+ * [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ * The allowed values are:
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ * @type string $query
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * resources within the specified `scope`.
+ * Examples:
+ * * `name:Important` to find Google Cloud resources whose name contains
+ * `Important` as a word.
+ * * `name=Important` to find the Google Cloud resource whose name is exactly
+ * `Important`.
+ * * `displayName:Impor*` to find Google Cloud resources whose display name
+ * contains `Impor` as a prefix of any word in the field.
+ * * `location:us-west*` to find Google Cloud resources whose location
+ * contains both `us` and `west` as prefixes.
+ * * `labels:prod` to find Google Cloud resources whose labels contain `prod`
+ * as a key or value.
+ * * `labels.env:prod` to find Google Cloud resources that have a label `env`
+ * and its value is `prod`.
+ * * `labels.env:*` to find Google Cloud resources that have a label `env`.
+ * * `tagKeys:env` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `tagValues:prod*` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `tagValueIds=tagValues/123` to find Google Cloud resources that have
+ * directly attached tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `effectiveTagKeys:env` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `effectiveTagValues:prod*` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
+ * have directly attached or inherited tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `kmsKey:key` to find Google Cloud resources encrypted with a
+ * customer-managed encryption key whose name contains `key` as a word. This
+ * field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
+ * key information.
+ * * `kmsKeys:key` to find Google Cloud resources encrypted with
+ * customer-managed encryption keys whose name contains the word `key`.
+ * * `relationships:instance-group-1` to find Google Cloud resources that have
+ * relationships with `instance-group-1` in the related resource name.
+ * * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine
+ * instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`.
+ * * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
+ * Compute Engine instances that have relationships with `instance-group-1`
+ * in the Compute Engine instance group resource name, for relationship type
+ * `INSTANCE_TO_INSTANCEGROUP`.
+ * * `sccSecurityMarks.key=value` to find Cloud resources that are attached
+ * with security marks whose key is `key` and value is `value`.
+ * * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
+ * security marks whose key is `key`.
+ * * `state:ACTIVE` to find Google Cloud resources whose state contains
+ * `ACTIVE` as a word.
+ * * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
+ * contain `ACTIVE` as a word.
+ * * `createTime<1609459200` to find Google Cloud resources that were created
+ * before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `updateTime>1609459200` to find Google Cloud resources that were updated
+ * after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `Important` to find Google Cloud resources that contain `Important` as a
+ * word in any of the searchable fields.
+ * * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix
+ * of any word in any of the searchable fields.
+ * * `Important location:(us-west1 OR global)` to find Google Cloud
+ * resources that contain `Important` as a word in any of the searchable
+ * fields and are also located in the `us-west1` region or the `global`
+ * location.
+ * @type arraystring scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->scope;
+ }
+
+ /**
+ * Required. A scope can be a project, a folder, or an organization. The
+ * search is limited to the resources within the `scope`. The caller must be
+ * granted the
+ * [`cloudasset.assets.searchAllResources`](https://cloud.google.com/asset-inventory/docs/access-control#required_permissions)
+ * permission on the desired scope.
+ * The allowed values are:
+ * * projects/{PROJECT_ID} (e.g., "projects/foo-bar")
+ * * projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
+ * * folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
+ * * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
+ *
+ * Generated from protobuf field string scope = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setScope($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->scope = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * resources within the specified `scope`.
+ * Examples:
+ * * `name:Important` to find Google Cloud resources whose name contains
+ * `Important` as a word.
+ * * `name=Important` to find the Google Cloud resource whose name is exactly
+ * `Important`.
+ * * `displayName:Impor*` to find Google Cloud resources whose display name
+ * contains `Impor` as a prefix of any word in the field.
+ * * `location:us-west*` to find Google Cloud resources whose location
+ * contains both `us` and `west` as prefixes.
+ * * `labels:prod` to find Google Cloud resources whose labels contain `prod`
+ * as a key or value.
+ * * `labels.env:prod` to find Google Cloud resources that have a label `env`
+ * and its value is `prod`.
+ * * `labels.env:*` to find Google Cloud resources that have a label `env`.
+ * * `tagKeys:env` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `tagValues:prod*` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `tagValueIds=tagValues/123` to find Google Cloud resources that have
+ * directly attached tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `effectiveTagKeys:env` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `effectiveTagValues:prod*` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
+ * have directly attached or inherited tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `kmsKey:key` to find Google Cloud resources encrypted with a
+ * customer-managed encryption key whose name contains `key` as a word. This
+ * field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
+ * key information.
+ * * `kmsKeys:key` to find Google Cloud resources encrypted with
+ * customer-managed encryption keys whose name contains the word `key`.
+ * * `relationships:instance-group-1` to find Google Cloud resources that have
+ * relationships with `instance-group-1` in the related resource name.
+ * * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine
+ * instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`.
+ * * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
+ * Compute Engine instances that have relationships with `instance-group-1`
+ * in the Compute Engine instance group resource name, for relationship type
+ * `INSTANCE_TO_INSTANCEGROUP`.
+ * * `sccSecurityMarks.key=value` to find Cloud resources that are attached
+ * with security marks whose key is `key` and value is `value`.
+ * * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
+ * security marks whose key is `key`.
+ * * `state:ACTIVE` to find Google Cloud resources whose state contains
+ * `ACTIVE` as a word.
+ * * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
+ * contain `ACTIVE` as a word.
+ * * `createTime<1609459200` to find Google Cloud resources that were created
+ * before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `updateTime>1609459200` to find Google Cloud resources that were updated
+ * after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `Important` to find Google Cloud resources that contain `Important` as a
+ * word in any of the searchable fields.
+ * * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix
+ * of any word in any of the searchable fields.
+ * * `Important location:(us-west1 OR global)` to find Google Cloud
+ * resources that contain `Important` as a word in any of the searchable
+ * fields and are also located in the `us-west1` region or the `global`
+ * location.
+ *
+ * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getQuery()
+ {
+ return $this->query;
+ }
+
+ /**
+ * Optional. The query statement. See [how to construct a
+ * query](https://cloud.google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
+ * for more information. If not specified or empty, it will search all the
+ * resources within the specified `scope`.
+ * Examples:
+ * * `name:Important` to find Google Cloud resources whose name contains
+ * `Important` as a word.
+ * * `name=Important` to find the Google Cloud resource whose name is exactly
+ * `Important`.
+ * * `displayName:Impor*` to find Google Cloud resources whose display name
+ * contains `Impor` as a prefix of any word in the field.
+ * * `location:us-west*` to find Google Cloud resources whose location
+ * contains both `us` and `west` as prefixes.
+ * * `labels:prod` to find Google Cloud resources whose labels contain `prod`
+ * as a key or value.
+ * * `labels.env:prod` to find Google Cloud resources that have a label `env`
+ * and its value is `prod`.
+ * * `labels.env:*` to find Google Cloud resources that have a label `env`.
+ * * `tagKeys:env` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `tagValues:prod*` to find Google Cloud resources that have directly
+ * attached tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `tagValueIds=tagValues/123` to find Google Cloud resources that have
+ * directly attached tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `effectiveTagKeys:env` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagKey.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey)
+ * contains `env`.
+ * * `effectiveTagValues:prod*` to find Google Cloud resources that have
+ * directly attached or inherited tags where the
+ * [`TagValue.namespacedName`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * contains a word prefixed by `prod`.
+ * * `effectiveTagValueIds=tagValues/123` to find Google Cloud resources that
+ * have directly attached or inherited tags where the
+ * [`TagValue.name`](https://cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue)
+ * is exactly `tagValues/123`.
+ * * `kmsKey:key` to find Google Cloud resources encrypted with a
+ * customer-managed encryption key whose name contains `key` as a word. This
+ * field is deprecated. Use the `kmsKeys` field to retrieve Cloud KMS
+ * key information.
+ * * `kmsKeys:key` to find Google Cloud resources encrypted with
+ * customer-managed encryption keys whose name contains the word `key`.
+ * * `relationships:instance-group-1` to find Google Cloud resources that have
+ * relationships with `instance-group-1` in the related resource name.
+ * * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute Engine
+ * instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`.
+ * * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find
+ * Compute Engine instances that have relationships with `instance-group-1`
+ * in the Compute Engine instance group resource name, for relationship type
+ * `INSTANCE_TO_INSTANCEGROUP`.
+ * * `sccSecurityMarks.key=value` to find Cloud resources that are attached
+ * with security marks whose key is `key` and value is `value`.
+ * * `sccSecurityMarks.key:*` to find Cloud resources that are attached with
+ * security marks whose key is `key`.
+ * * `state:ACTIVE` to find Google Cloud resources whose state contains
+ * `ACTIVE` as a word.
+ * * `NOT state:ACTIVE` to find Google Cloud resources whose state doesn't
+ * contain `ACTIVE` as a word.
+ * * `createTime<1609459200` to find Google Cloud resources that were created
+ * before `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `updateTime>1609459200` to find Google Cloud resources that were updated
+ * after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch timestamp of
+ * `2021-01-01 00:00:00 UTC` in seconds.
+ * * `Important` to find Google Cloud resources that contain `Important` as a
+ * word in any of the searchable fields.
+ * * `Impor*` to find Google Cloud resources that contain `Impor` as a prefix
+ * of any word in any of the searchable fields.
+ * * `Important location:(us-west1 OR global)` to find Google Cloud
+ * resources that contain `Important` as a word in any of the searchable
+ * fields and are also located in the `us-west1` region or the `global`
+ * location.
+ *
+ * Generated from protobuf field string query = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setQuery($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of asset types that this request searches for. If empty,
+ * it will search all the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAssetTypes()
+ {
+ return $this->asset_types;
+ }
+
+ /**
+ * Optional. A list of asset types that this request searches for. If empty,
+ * it will search all the asset types [supported by search
+ * APIs](https://cloud.google.com/asset-inventory/docs/supported-asset-types).
+ * Regular expressions are also supported. For example:
+ * * "compute.googleapis.com.*" snapshots resources whose asset type starts
+ * with "compute.googleapis.com".
+ * * ".*Instance" snapshots resources whose asset type ends with "Instance".
+ * * ".*Instance.*" snapshots resources whose asset type contains "Instance".
+ * See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
+ * regular expression syntax. If the regular expression does not match any
+ * supported asset type, an INVALID_ARGUMENT error will be returned.
+ *
+ * Generated from protobuf field repeated string asset_types = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayint32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Optional. The page size for search result pagination. Page size is capped
+ * at 500 even if a larger value is given. If set to zero or a negative value,
+ * server will pick an appropriate default. Returned results may be fewer than
+ * requested. When this happens, there could be more results as long as
+ * `next_page_token` is returned.
+ *
+ * Generated from protobuf field int32 page_size = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If present, then retrieve the next batch of results from the
+ * preceding call to this method. `page_token` must be the value of
+ * `next_page_token` from the previous response. The values of all other
+ * method parameters, must be identical to those in the previous call.
+ *
+ * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Optional. If present, then retrieve the next batch of results from the
+ * preceding call to this method. `page_token` must be the value of
+ * `next_page_token` from the previous response. The values of all other
+ * method parameters, must be identical to those in the previous call.
+ *
+ * Generated from protobuf field string page_token = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A comma-separated list of fields specifying the sorting order of
+ * the results. The default order is ascending. Add " DESC" after the field
+ * name to indicate descending order. Redundant space characters are ignored.
+ * Example: "location DESC, name".
+ * Only the following fields in the response are sortable:
+ * * name
+ * * assetType
+ * * project
+ * * displayName
+ * * description
+ * * location
+ * * createTime
+ * * updateTime
+ * * state
+ * * parentFullResourceName
+ * * parentAssetType
+ *
+ * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getOrderBy()
+ {
+ return $this->order_by;
+ }
+
+ /**
+ * Optional. A comma-separated list of fields specifying the sorting order of
+ * the results. The default order is ascending. Add " DESC" after the field
+ * name to indicate descending order. Redundant space characters are ignored.
+ * Example: "location DESC, name".
+ * Only the following fields in the response are sortable:
+ * * name
+ * * assetType
+ * * project
+ * * displayName
+ * * description
+ * * location
+ * * createTime
+ * * updateTime
+ * * state
+ * * parentFullResourceName
+ * * parentAssetType
+ *
+ * Generated from protobuf field string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setOrderBy($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->order_by = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A comma-separated list of fields that you want returned in the
+ * results. The following fields are returned by default if not specified:
+ * * `name`
+ * * `assetType`
+ * * `project`
+ * * `folders`
+ * * `organization`
+ * * `displayName`
+ * * `description`
+ * * `location`
+ * * `labels`
+ * * `tags`
+ * * `effectiveTags`
+ * * `networkTags`
+ * * `kmsKeys`
+ * * `createTime`
+ * * `updateTime`
+ * * `state`
+ * * `additionalAttributes`
+ * * `parentFullResourceName`
+ * * `parentAssetType`
+ * Some fields of large size, such as `versionedResources`,
+ * `attachedResources`, `effectiveTags` etc., are not returned by default, but
+ * you can specify them in the `read_mask` parameter if you want to include
+ * them. If `"*"` is specified, all [available
+ * fields](https://cloud.google.com/asset-inventory/docs/reference/rest/v1/TopLevel/searchAllResources#resourcesearchresult)
+ * are returned.
+ * Examples: `"name,location"`, `"name,versionedResources"`, `"*"`.
+ * Any invalid field path will trigger INVALID_ARGUMENT error.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getReadMask()
+ {
+ return $this->read_mask;
+ }
+
+ public function hasReadMask()
+ {
+ return isset($this->read_mask);
+ }
+
+ public function clearReadMask()
+ {
+ unset($this->read_mask);
+ }
+
+ /**
+ * Optional. A comma-separated list of fields that you want returned in the
+ * results. The following fields are returned by default if not specified:
+ * * `name`
+ * * `assetType`
+ * * `project`
+ * * `folders`
+ * * `organization`
+ * * `displayName`
+ * * `description`
+ * * `location`
+ * * `labels`
+ * * `tags`
+ * * `effectiveTags`
+ * * `networkTags`
+ * * `kmsKeys`
+ * * `createTime`
+ * * `updateTime`
+ * * `state`
+ * * `additionalAttributes`
+ * * `parentFullResourceName`
+ * * `parentAssetType`
+ * Some fields of large size, such as `versionedResources`,
+ * `attachedResources`, `effectiveTags` etc., are not returned by default, but
+ * you can specify them in the `read_mask` parameter if you want to include
+ * them. If `"*"` is specified, all [available
+ * fields](https://cloud.google.com/asset-inventory/docs/reference/rest/v1/TopLevel/searchAllResources#resourcesearchresult)
+ * are returned.
+ * Examples: `"name,location"`, `"name,versionedResources"`, `"*"`.
+ * Any invalid field path will trigger INVALID_ARGUMENT error.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask read_mask = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setReadMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->read_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllResourcesResponse.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllResourcesResponse.php
new file mode 100644
index 000000000000..7cdfc2756d4d
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/SearchAllResourcesResponse.php
@@ -0,0 +1,113 @@
+google.cloud.asset.v1.SearchAllResourcesResponse
+ */
+class SearchAllResourcesResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of Resources that match the search query. It contains the resource
+ * standard metadata information.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
+ */
+ private $results;
+ /**
+ * If there are more results than those appearing in this response, then
+ * `next_page_token` is included. To get the next set of results, call this
+ * method again using the value of `next_page_token` as `page_token`.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\ResourceSearchResult>|\Google\Protobuf\Internal\RepeatedField $results
+ * A list of Resources that match the search query. It contains the resource
+ * standard metadata information.
+ * @type string $next_page_token
+ * If there are more results than those appearing in this response, then
+ * `next_page_token` is included. To get the next set of results, call this
+ * method again using the value of `next_page_token` as `page_token`.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of Resources that match the search query. It contains the resource
+ * standard metadata information.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResults()
+ {
+ return $this->results;
+ }
+
+ /**
+ * A list of Resources that match the search query. It contains the resource
+ * standard metadata information.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;
+ * @param array<\Google\Cloud\Asset\V1\ResourceSearchResult>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResults($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\ResourceSearchResult::class);
+ $this->results = $arr;
+
+ return $this;
+ }
+
+ /**
+ * If there are more results than those appearing in this response, then
+ * `next_page_token` is included. To get the next set of results, call this
+ * method again using the value of `next_page_token` as `page_token`.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * If there are more results than those appearing in this response, then
+ * `next_page_token` is included. To get the next set of results, call this
+ * method again using the value of `next_page_token` as `page_token`.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TableFieldSchema.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TableFieldSchema.php
new file mode 100644
index 000000000000..16e9d9f4bf28
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TableFieldSchema.php
@@ -0,0 +1,241 @@
+google.cloud.asset.v1.TableFieldSchema
+ */
+class TableFieldSchema extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The field name. The name must contain only letters (a-z, A-Z),
+ * numbers (0-9), or underscores (_), and must start with a letter or
+ * underscore. The maximum length is 128 characters.
+ *
+ * Generated from protobuf field string field = 1;
+ */
+ protected $field = '';
+ /**
+ * The field data type. Possible values include
+ * * STRING
+ * * BYTES
+ * * INTEGER
+ * * FLOAT
+ * * BOOLEAN
+ * * TIMESTAMP
+ * * DATE
+ * * TIME
+ * * DATETIME
+ * * GEOGRAPHY,
+ * * NUMERIC,
+ * * BIGNUMERIC,
+ * * RECORD
+ * (where RECORD indicates that the field contains a nested schema).
+ *
+ * Generated from protobuf field string type = 2;
+ */
+ protected $type = '';
+ /**
+ * The field mode. Possible values include NULLABLE, REQUIRED and
+ * REPEATED. The default value is NULLABLE.
+ *
+ * Generated from protobuf field string mode = 3;
+ */
+ protected $mode = '';
+ /**
+ * Describes the nested schema fields if the type property is set
+ * to RECORD.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
+ */
+ private $fields;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $field
+ * The field name. The name must contain only letters (a-z, A-Z),
+ * numbers (0-9), or underscores (_), and must start with a letter or
+ * underscore. The maximum length is 128 characters.
+ * @type string $type
+ * The field data type. Possible values include
+ * * STRING
+ * * BYTES
+ * * INTEGER
+ * * FLOAT
+ * * BOOLEAN
+ * * TIMESTAMP
+ * * DATE
+ * * TIME
+ * * DATETIME
+ * * GEOGRAPHY,
+ * * NUMERIC,
+ * * BIGNUMERIC,
+ * * RECORD
+ * (where RECORD indicates that the field contains a nested schema).
+ * @type string $mode
+ * The field mode. Possible values include NULLABLE, REQUIRED and
+ * REPEATED. The default value is NULLABLE.
+ * @type array<\Google\Cloud\Asset\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $fields
+ * Describes the nested schema fields if the type property is set
+ * to RECORD.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The field name. The name must contain only letters (a-z, A-Z),
+ * numbers (0-9), or underscores (_), and must start with a letter or
+ * underscore. The maximum length is 128 characters.
+ *
+ * Generated from protobuf field string field = 1;
+ * @return string
+ */
+ public function getField()
+ {
+ return $this->field;
+ }
+
+ /**
+ * The field name. The name must contain only letters (a-z, A-Z),
+ * numbers (0-9), or underscores (_), and must start with a letter or
+ * underscore. The maximum length is 128 characters.
+ *
+ * Generated from protobuf field string field = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setField($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->field = $var;
+
+ return $this;
+ }
+
+ /**
+ * The field data type. Possible values include
+ * * STRING
+ * * BYTES
+ * * INTEGER
+ * * FLOAT
+ * * BOOLEAN
+ * * TIMESTAMP
+ * * DATE
+ * * TIME
+ * * DATETIME
+ * * GEOGRAPHY,
+ * * NUMERIC,
+ * * BIGNUMERIC,
+ * * RECORD
+ * (where RECORD indicates that the field contains a nested schema).
+ *
+ * Generated from protobuf field string type = 2;
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * The field data type. Possible values include
+ * * STRING
+ * * BYTES
+ * * INTEGER
+ * * FLOAT
+ * * BOOLEAN
+ * * TIMESTAMP
+ * * DATE
+ * * TIME
+ * * DATETIME
+ * * GEOGRAPHY,
+ * * NUMERIC,
+ * * BIGNUMERIC,
+ * * RECORD
+ * (where RECORD indicates that the field contains a nested schema).
+ *
+ * Generated from protobuf field string type = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The field mode. Possible values include NULLABLE, REQUIRED and
+ * REPEATED. The default value is NULLABLE.
+ *
+ * Generated from protobuf field string mode = 3;
+ * @return string
+ */
+ public function getMode()
+ {
+ return $this->mode;
+ }
+
+ /**
+ * The field mode. Possible values include NULLABLE, REQUIRED and
+ * REPEATED. The default value is NULLABLE.
+ *
+ * Generated from protobuf field string mode = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setMode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->mode = $var;
+
+ return $this;
+ }
+
+ /**
+ * Describes the nested schema fields if the type property is set
+ * to RECORD.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFields()
+ {
+ return $this->fields;
+ }
+
+ /**
+ * Describes the nested schema fields if the type property is set
+ * to RECORD.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TableFieldSchema fields = 4;
+ * @param array<\Google\Cloud\Asset\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFields($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\TableFieldSchema::class);
+ $this->fields = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TableSchema.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TableSchema.php
new file mode 100644
index 000000000000..b987755cd551
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TableSchema.php
@@ -0,0 +1,67 @@
+google.cloud.asset.v1.TableSchema
+ */
+class TableSchema extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Describes the fields in a table.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TableFieldSchema fields = 1;
+ */
+ private $fields;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\Asset\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $fields
+ * Describes the fields in a table.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Describes the fields in a table.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TableFieldSchema fields = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFields()
+ {
+ return $this->fields;
+ }
+
+ /**
+ * Describes the fields in a table.
+ *
+ * Generated from protobuf field repeated .google.cloud.asset.v1.TableFieldSchema fields = 1;
+ * @param array<\Google\Cloud\Asset\V1\TableFieldSchema>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFields($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Asset\V1\TableFieldSchema::class);
+ $this->fields = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Tag.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Tag.php
new file mode 100644
index 000000000000..63be120eea87
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/Tag.php
@@ -0,0 +1,214 @@
+google.cloud.asset.v1.Tag
+ */
+class Tag extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ *
+ * Generated from protobuf field optional string tag_key = 1;
+ */
+ protected $tag_key = null;
+ /**
+ * TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
+ *
+ * Generated from protobuf field optional string tag_key_id = 2;
+ */
+ protected $tag_key_id = null;
+ /**
+ * TagValue namespaced name, in the format of
+ * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
+ *
+ * Generated from protobuf field optional string tag_value = 3;
+ */
+ protected $tag_value = null;
+ /**
+ * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
+ *
+ * Generated from protobuf field optional string tag_value_id = 4;
+ */
+ protected $tag_value_id = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $tag_key
+ * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ * @type string $tag_key_id
+ * TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
+ * @type string $tag_value
+ * TagValue namespaced name, in the format of
+ * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
+ * @type string $tag_value_id
+ * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ *
+ * Generated from protobuf field optional string tag_key = 1;
+ * @return string
+ */
+ public function getTagKey()
+ {
+ return isset($this->tag_key) ? $this->tag_key : '';
+ }
+
+ public function hasTagKey()
+ {
+ return isset($this->tag_key);
+ }
+
+ public function clearTagKey()
+ {
+ unset($this->tag_key);
+ }
+
+ /**
+ * TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}.
+ *
+ * Generated from protobuf field optional string tag_key = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setTagKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->tag_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
+ *
+ * Generated from protobuf field optional string tag_key_id = 2;
+ * @return string
+ */
+ public function getTagKeyId()
+ {
+ return isset($this->tag_key_id) ? $this->tag_key_id : '';
+ }
+
+ public function hasTagKeyId()
+ {
+ return isset($this->tag_key_id);
+ }
+
+ public function clearTagKeyId()
+ {
+ unset($this->tag_key_id);
+ }
+
+ /**
+ * TagKey ID, in the format of tagKeys/{TAG_KEY_ID}.
+ *
+ * Generated from protobuf field optional string tag_key_id = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setTagKeyId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->tag_key_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * TagValue namespaced name, in the format of
+ * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
+ *
+ * Generated from protobuf field optional string tag_value = 3;
+ * @return string
+ */
+ public function getTagValue()
+ {
+ return isset($this->tag_value) ? $this->tag_value : '';
+ }
+
+ public function hasTagValue()
+ {
+ return isset($this->tag_value);
+ }
+
+ public function clearTagValue()
+ {
+ unset($this->tag_value);
+ }
+
+ /**
+ * TagValue namespaced name, in the format of
+ * {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}.
+ *
+ * Generated from protobuf field optional string tag_value = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setTagValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->tag_value = $var;
+
+ return $this;
+ }
+
+ /**
+ * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
+ *
+ * Generated from protobuf field optional string tag_value_id = 4;
+ * @return string
+ */
+ public function getTagValueId()
+ {
+ return isset($this->tag_value_id) ? $this->tag_value_id : '';
+ }
+
+ public function hasTagValueId()
+ {
+ return isset($this->tag_value_id);
+ }
+
+ public function clearTagValueId()
+ {
+ unset($this->tag_value_id);
+ }
+
+ /**
+ * TagValue ID, in the format of tagValues/{TAG_VALUE_ID}.
+ *
+ * Generated from protobuf field optional string tag_value_id = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setTagValueId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->tag_value_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TemporalAsset.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TemporalAsset.php
new file mode 100644
index 000000000000..b3996645ed09
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TemporalAsset.php
@@ -0,0 +1,238 @@
+google.cloud.asset.v1.TemporalAsset
+ */
+class TemporalAsset extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The time window when the asset data and state was observed.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow window = 1;
+ */
+ protected $window = null;
+ /**
+ * Whether the asset has been deleted or not.
+ *
+ * Generated from protobuf field bool deleted = 2;
+ */
+ protected $deleted = false;
+ /**
+ * An asset in Google Cloud.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Asset asset = 3;
+ */
+ protected $asset = null;
+ /**
+ * State of prior_asset.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ */
+ protected $prior_asset_state = 0;
+ /**
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Asset prior_asset = 5;
+ */
+ protected $prior_asset = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\TimeWindow $window
+ * The time window when the asset data and state was observed.
+ * @type bool $deleted
+ * Whether the asset has been deleted or not.
+ * @type \Google\Cloud\Asset\V1\Asset $asset
+ * An asset in Google Cloud.
+ * @type int $prior_asset_state
+ * State of prior_asset.
+ * @type \Google\Cloud\Asset\V1\Asset $prior_asset
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The time window when the asset data and state was observed.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow window = 1;
+ * @return \Google\Cloud\Asset\V1\TimeWindow|null
+ */
+ public function getWindow()
+ {
+ return $this->window;
+ }
+
+ public function hasWindow()
+ {
+ return isset($this->window);
+ }
+
+ public function clearWindow()
+ {
+ unset($this->window);
+ }
+
+ /**
+ * The time window when the asset data and state was observed.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TimeWindow window = 1;
+ * @param \Google\Cloud\Asset\V1\TimeWindow $var
+ * @return $this
+ */
+ public function setWindow($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\TimeWindow::class);
+ $this->window = $var;
+
+ return $this;
+ }
+
+ /**
+ * Whether the asset has been deleted or not.
+ *
+ * Generated from protobuf field bool deleted = 2;
+ * @return bool
+ */
+ public function getDeleted()
+ {
+ return $this->deleted;
+ }
+
+ /**
+ * Whether the asset has been deleted or not.
+ *
+ * Generated from protobuf field bool deleted = 2;
+ * @param bool $var
+ * @return $this
+ */
+ public function setDeleted($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->deleted = $var;
+
+ return $this;
+ }
+
+ /**
+ * An asset in Google Cloud.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Asset asset = 3;
+ * @return \Google\Cloud\Asset\V1\Asset|null
+ */
+ public function getAsset()
+ {
+ return $this->asset;
+ }
+
+ public function hasAsset()
+ {
+ return isset($this->asset);
+ }
+
+ public function clearAsset()
+ {
+ unset($this->asset);
+ }
+
+ /**
+ * An asset in Google Cloud.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Asset asset = 3;
+ * @param \Google\Cloud\Asset\V1\Asset $var
+ * @return $this
+ */
+ public function setAsset($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\Asset::class);
+ $this->asset = $var;
+
+ return $this;
+ }
+
+ /**
+ * State of prior_asset.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ * @return int
+ */
+ public function getPriorAssetState()
+ {
+ return $this->prior_asset_state;
+ }
+
+ /**
+ * State of prior_asset.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.TemporalAsset.PriorAssetState prior_asset_state = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPriorAssetState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\Asset\V1\TemporalAsset\PriorAssetState::class);
+ $this->prior_asset_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Asset prior_asset = 5;
+ * @return \Google\Cloud\Asset\V1\Asset|null
+ */
+ public function getPriorAsset()
+ {
+ return $this->prior_asset;
+ }
+
+ public function hasPriorAsset()
+ {
+ return isset($this->prior_asset);
+ }
+
+ public function clearPriorAsset()
+ {
+ unset($this->prior_asset);
+ }
+
+ /**
+ * Prior copy of the asset. Populated if prior_asset_state is PRESENT.
+ * Currently this is only set for responses in Real-Time Feed.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Asset prior_asset = 5;
+ * @param \Google\Cloud\Asset\V1\Asset $var
+ * @return $this
+ */
+ public function setPriorAsset($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\Asset::class);
+ $this->prior_asset = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TemporalAsset/PriorAssetState.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TemporalAsset/PriorAssetState.php
new file mode 100644
index 000000000000..f20c1d628b9c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TemporalAsset/PriorAssetState.php
@@ -0,0 +1,78 @@
+google.cloud.asset.v1.TemporalAsset.PriorAssetState
+ */
+class PriorAssetState
+{
+ /**
+ * prior_asset is not applicable for the current asset.
+ *
+ * Generated from protobuf enum PRIOR_ASSET_STATE_UNSPECIFIED = 0;
+ */
+ const PRIOR_ASSET_STATE_UNSPECIFIED = 0;
+ /**
+ * prior_asset is populated correctly.
+ *
+ * Generated from protobuf enum PRESENT = 1;
+ */
+ const PRESENT = 1;
+ /**
+ * Failed to set prior_asset.
+ *
+ * Generated from protobuf enum INVALID = 2;
+ */
+ const INVALID = 2;
+ /**
+ * Current asset is the first known state.
+ *
+ * Generated from protobuf enum DOES_NOT_EXIST = 3;
+ */
+ const DOES_NOT_EXIST = 3;
+ /**
+ * prior_asset is a deletion.
+ *
+ * Generated from protobuf enum DELETED = 4;
+ */
+ const DELETED = 4;
+
+ private static $valueToName = [
+ self::PRIOR_ASSET_STATE_UNSPECIFIED => 'PRIOR_ASSET_STATE_UNSPECIFIED',
+ self::PRESENT => 'PRESENT',
+ self::INVALID => 'INVALID',
+ self::DOES_NOT_EXIST => 'DOES_NOT_EXIST',
+ self::DELETED => 'DELETED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(PriorAssetState::class, \Google\Cloud\Asset\V1\TemporalAsset_PriorAssetState::class);
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TimeWindow.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TimeWindow.php
new file mode 100644
index 000000000000..ddaa9aebfee5
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/TimeWindow.php
@@ -0,0 +1,125 @@
+google.cloud.asset.v1.TimeWindow
+ */
+class TimeWindow extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Start time of the time window (exclusive).
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
+ */
+ protected $start_time = null;
+ /**
+ * End time of the time window (inclusive). If not specified, the current
+ * timestamp is used instead.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
+ */
+ protected $end_time = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $start_time
+ * Start time of the time window (exclusive).
+ * @type \Google\Protobuf\Timestamp $end_time
+ * End time of the time window (inclusive). If not specified, the current
+ * timestamp is used instead.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Start time of the time window (exclusive).
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getStartTime()
+ {
+ return $this->start_time;
+ }
+
+ public function hasStartTime()
+ {
+ return isset($this->start_time);
+ }
+
+ public function clearStartTime()
+ {
+ unset($this->start_time);
+ }
+
+ /**
+ * Start time of the time window (exclusive).
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setStartTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->start_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * End time of the time window (inclusive). If not specified, the current
+ * timestamp is used instead.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getEndTime()
+ {
+ return $this->end_time;
+ }
+
+ public function hasEndTime()
+ {
+ return isset($this->end_time);
+ }
+
+ public function clearEndTime()
+ {
+ unset($this->end_time);
+ }
+
+ /**
+ * End time of the time window (inclusive). If not specified, the current
+ * timestamp is used instead.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setEndTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->end_time = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/UpdateFeedRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/UpdateFeedRequest.php
new file mode 100644
index 000000000000..484371b1a06b
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/UpdateFeedRequest.php
@@ -0,0 +1,162 @@
+google.cloud.asset.v1.UpdateFeedRequest
+ */
+class UpdateFeedRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The new values of feed details. It must match an existing feed
+ * and the field `name` must be in the format of:
+ * projects/project_number/feeds/feed_id or
+ * folders/folder_number/feeds/feed_id or
+ * organizations/organization_number/feeds/feed_id.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $feed = null;
+ /**
+ * Required. Only updates the `feed` fields indicated by this mask.
+ * The field mask must not be empty, and it must not contain fields that
+ * are immutable or only set by the server.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $update_mask = null;
+
+ /**
+ * @param \Google\Cloud\Asset\V1\Feed $feed Required. The new values of feed details. It must match an existing feed
+ * and the field `name` must be in the format of:
+ * projects/project_number/feeds/feed_id or
+ * folders/folder_number/feeds/feed_id or
+ * organizations/organization_number/feeds/feed_id.
+ *
+ * @return \Google\Cloud\Asset\V1\UpdateFeedRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\Asset\V1\Feed $feed): self
+ {
+ return (new self())
+ ->setFeed($feed);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\Feed $feed
+ * Required. The new values of feed details. It must match an existing feed
+ * and the field `name` must be in the format of:
+ * projects/project_number/feeds/feed_id or
+ * folders/folder_number/feeds/feed_id or
+ * organizations/organization_number/feeds/feed_id.
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. Only updates the `feed` fields indicated by this mask.
+ * The field mask must not be empty, and it must not contain fields that
+ * are immutable or only set by the server.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The new values of feed details. It must match an existing feed
+ * and the field `name` must be in the format of:
+ * projects/project_number/feeds/feed_id or
+ * folders/folder_number/feeds/feed_id or
+ * organizations/organization_number/feeds/feed_id.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\Feed|null
+ */
+ public function getFeed()
+ {
+ return $this->feed;
+ }
+
+ public function hasFeed()
+ {
+ return isset($this->feed);
+ }
+
+ public function clearFeed()
+ {
+ unset($this->feed);
+ }
+
+ /**
+ * Required. The new values of feed details. It must match an existing feed
+ * and the field `name` must be in the format of:
+ * projects/project_number/feeds/feed_id or
+ * folders/folder_number/feeds/feed_id or
+ * organizations/organization_number/feeds/feed_id.
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.Feed feed = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\Feed $var
+ * @return $this
+ */
+ public function setFeed($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\Feed::class);
+ $this->feed = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Only updates the `feed` fields indicated by this mask.
+ * The field mask must not be empty, and it must not contain fields that
+ * are immutable or only set by the server.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. Only updates the `feed` fields indicated by this mask.
+ * The field mask must not be empty, and it must not contain fields that
+ * are immutable or only set by the server.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/UpdateSavedQueryRequest.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/UpdateSavedQueryRequest.php
new file mode 100644
index 000000000000..ba87744907e0
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/UpdateSavedQueryRequest.php
@@ -0,0 +1,163 @@
+google.cloud.asset.v1.UpdateSavedQueryRequest
+ */
+class UpdateSavedQueryRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The saved query to update.
+ * The saved query's `name` field is used to identify the one to update,
+ * which has format as below:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $saved_query = null;
+ /**
+ * Required. The list of fields to update.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $update_mask = null;
+
+ /**
+ * @param \Google\Cloud\Asset\V1\SavedQuery $savedQuery Required. The saved query to update.
+ *
+ * The saved query's `name` field is used to identify the one to update,
+ * which has format as below:
+ *
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to update.
+ *
+ * @return \Google\Cloud\Asset\V1\UpdateSavedQueryRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\Asset\V1\SavedQuery $savedQuery, \Google\Protobuf\FieldMask $updateMask): self
+ {
+ return (new self())
+ ->setSavedQuery($savedQuery)
+ ->setUpdateMask($updateMask);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\Asset\V1\SavedQuery $saved_query
+ * Required. The saved query to update.
+ * The saved query's `name` field is used to identify the one to update,
+ * which has format as below:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. The list of fields to update.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\AssetService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The saved query to update.
+ * The saved query's `name` field is used to identify the one to update,
+ * which has format as below:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\Asset\V1\SavedQuery|null
+ */
+ public function getSavedQuery()
+ {
+ return $this->saved_query;
+ }
+
+ public function hasSavedQuery()
+ {
+ return isset($this->saved_query);
+ }
+
+ public function clearSavedQuery()
+ {
+ unset($this->saved_query);
+ }
+
+ /**
+ * Required. The saved query to update.
+ * The saved query's `name` field is used to identify the one to update,
+ * which has format as below:
+ * * projects/project_number/savedQueries/saved_query_id
+ * * folders/folder_number/savedQueries/saved_query_id
+ * * organizations/organization_number/savedQueries/saved_query_id
+ *
+ * Generated from protobuf field .google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\Asset\V1\SavedQuery $var
+ * @return $this
+ */
+ public function setSavedQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\Asset\V1\SavedQuery::class);
+ $this->saved_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The list of fields to update.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. The list of fields to update.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/VersionedResource.php b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/VersionedResource.php
new file mode 100644
index 000000000000..09ceb2e0a744
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/proto/src/Google/Cloud/Asset/V1/VersionedResource.php
@@ -0,0 +1,164 @@
+google.cloud.asset.v1.VersionedResource
+ */
+class VersionedResource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * API version of the resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine v1 API as defined
+ * in `https://cloud.google.com/compute/docs/reference/rest/v1/instances`,
+ * version will be "v1".
+ *
+ * Generated from protobuf field string version = 1;
+ */
+ protected $version = '';
+ /**
+ * JSON representation of the resource as defined by the corresponding
+ * service providing this resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine, this field will
+ * contain the JSON representation of the instance as defined by Compute
+ * Engine:
+ * `https://cloud.google.com/compute/docs/reference/rest/v1/instances`.
+ * You can find the resource definition for each supported resource type in
+ * this table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ *
+ * Generated from protobuf field .google.protobuf.Struct resource = 2;
+ */
+ protected $resource = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $version
+ * API version of the resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine v1 API as defined
+ * in `https://cloud.google.com/compute/docs/reference/rest/v1/instances`,
+ * version will be "v1".
+ * @type \Google\Protobuf\Struct $resource
+ * JSON representation of the resource as defined by the corresponding
+ * service providing this resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine, this field will
+ * contain the JSON representation of the instance as defined by Compute
+ * Engine:
+ * `https://cloud.google.com/compute/docs/reference/rest/v1/instances`.
+ * You can find the resource definition for each supported resource type in
+ * this table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Asset\V1\Assets::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * API version of the resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine v1 API as defined
+ * in `https://cloud.google.com/compute/docs/reference/rest/v1/instances`,
+ * version will be "v1".
+ *
+ * Generated from protobuf field string version = 1;
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * API version of the resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine v1 API as defined
+ * in `https://cloud.google.com/compute/docs/reference/rest/v1/instances`,
+ * version will be "v1".
+ *
+ * Generated from protobuf field string version = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setVersion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->version = $var;
+
+ return $this;
+ }
+
+ /**
+ * JSON representation of the resource as defined by the corresponding
+ * service providing this resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine, this field will
+ * contain the JSON representation of the instance as defined by Compute
+ * Engine:
+ * `https://cloud.google.com/compute/docs/reference/rest/v1/instances`.
+ * You can find the resource definition for each supported resource type in
+ * this table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ *
+ * Generated from protobuf field .google.protobuf.Struct resource = 2;
+ * @return \Google\Protobuf\Struct|null
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ public function hasResource()
+ {
+ return isset($this->resource);
+ }
+
+ public function clearResource()
+ {
+ unset($this->resource);
+ }
+
+ /**
+ * JSON representation of the resource as defined by the corresponding
+ * service providing this resource.
+ * Example:
+ * If the resource is an instance provided by Compute Engine, this field will
+ * contain the JSON representation of the instance as defined by Compute
+ * Engine:
+ * `https://cloud.google.com/compute/docs/reference/rest/v1/instances`.
+ * You can find the resource definition for each supported resource type in
+ * this table:
+ * `https://cloud.google.com/asset-inventory/docs/supported-asset-types`
+ *
+ * Generated from protobuf field .google.protobuf.Struct resource = 2;
+ * @param \Google\Protobuf\Struct $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_iam_policy.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_iam_policy.php
new file mode 100644
index 000000000000..a0846e032f8c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_iam_policy.php
@@ -0,0 +1,85 @@
+setScope($analysisQueryScope);
+ $request = (new AnalyzeIamPolicyRequest())
+ ->setAnalysisQuery($analysisQuery);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var AnalyzeIamPolicyResponse $response */
+ $response = $assetServiceClient->analyzeIamPolicy($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $analysisQueryScope = '[SCOPE]';
+
+ analyze_iam_policy_sample($analysisQueryScope);
+}
+// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_iam_policy_longrunning.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_iam_policy_longrunning.php
new file mode 100644
index 000000000000..63808cf33542
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_iam_policy_longrunning.php
@@ -0,0 +1,108 @@
+setScope($analysisQueryScope);
+ $outputConfig = new IamPolicyAnalysisOutputConfig();
+ $request = (new AnalyzeIamPolicyLongrunningRequest())
+ ->setAnalysisQuery($analysisQuery)
+ ->setOutputConfig($outputConfig);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $assetServiceClient->analyzeIamPolicyLongrunning($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var AnalyzeIamPolicyLongrunningResponse $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $analysisQueryScope = '[SCOPE]';
+
+ analyze_iam_policy_longrunning_sample($analysisQueryScope);
+}
+// [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_move.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_move.php
new file mode 100644
index 000000000000..6fa609bf3d7f
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_move.php
@@ -0,0 +1,85 @@
+setResource($formattedResource)
+ ->setDestinationParent($destinationParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var AnalyzeMoveResponse $response */
+ $response = $assetServiceClient->analyzeMove($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedResource = AssetServiceClient::projectName('[PROJECT]');
+ $destinationParent = '[DESTINATION_PARENT]';
+
+ analyze_move_sample($formattedResource, $destinationParent);
+}
+// [END cloudasset_v1_generated_AssetService_AnalyzeMove_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policies.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policies.php
new file mode 100644
index 000000000000..21f5dbe75964
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policies.php
@@ -0,0 +1,83 @@
+setScope($scope)
+ ->setConstraint($constraint);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->analyzeOrgPolicies($request);
+
+ /** @var OrgPolicyResult $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $scope = '[SCOPE]';
+ $constraint = '[CONSTRAINT]';
+
+ analyze_org_policies_sample($scope, $constraint);
+}
+// [END cloudasset_v1_generated_AssetService_AnalyzeOrgPolicies_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policy_governed_assets.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policy_governed_assets.php
new file mode 100644
index 000000000000..789a887d378e
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policy_governed_assets.php
@@ -0,0 +1,133 @@
+setScope($scope)
+ ->setConstraint($constraint);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->analyzeOrgPolicyGovernedAssets($request);
+
+ /** @var GovernedAsset $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $scope = '[SCOPE]';
+ $constraint = '[CONSTRAINT]';
+
+ analyze_org_policy_governed_assets_sample($scope, $constraint);
+}
+// [END cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedAssets_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policy_governed_containers.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policy_governed_containers.php
new file mode 100644
index 000000000000..97713c0767b8
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/analyze_org_policy_governed_containers.php
@@ -0,0 +1,86 @@
+setScope($scope)
+ ->setConstraint($constraint);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->analyzeOrgPolicyGovernedContainers($request);
+
+ /** @var GovernedContainer $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $scope = '[SCOPE]';
+ $constraint = '[CONSTRAINT]';
+
+ analyze_org_policy_governed_containers_sample($scope, $constraint);
+}
+// [END cloudasset_v1_generated_AssetService_AnalyzeOrgPolicyGovernedContainers_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/batch_get_assets_history.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/batch_get_assets_history.php
new file mode 100644
index 000000000000..6e878fb7c64c
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/batch_get_assets_history.php
@@ -0,0 +1,85 @@
+setParent($parent)
+ ->setContentType($contentType)
+ ->setReadTimeWindow($readTimeWindow);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var BatchGetAssetsHistoryResponse $response */
+ $response = $assetServiceClient->batchGetAssetsHistory($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+ $contentType = ContentType::CONTENT_TYPE_UNSPECIFIED;
+
+ batch_get_assets_history_sample($parent, $contentType);
+}
+// [END cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/batch_get_effective_iam_policies.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/batch_get_effective_iam_policies.php
new file mode 100644
index 000000000000..04f9181c08a8
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/batch_get_effective_iam_policies.php
@@ -0,0 +1,88 @@
+setScope($scope)
+ ->setNames($names);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var BatchGetEffectiveIamPoliciesResponse $response */
+ $response = $assetServiceClient->batchGetEffectiveIamPolicies($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $scope = '[SCOPE]';
+ $namesElement = '[NAMES]';
+
+ batch_get_effective_iam_policies_sample($scope, $namesElement);
+}
+// [END cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/create_feed.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/create_feed.php
new file mode 100644
index 000000000000..302ed9c76b26
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/create_feed.php
@@ -0,0 +1,93 @@
+setName($feedName)
+ ->setFeedOutputConfig($feedFeedOutputConfig);
+ $request = (new CreateFeedRequest())
+ ->setParent($parent)
+ ->setFeedId($feedId)
+ ->setFeed($feed);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Feed $response */
+ $response = $assetServiceClient->createFeed($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+ $feedId = '[FEED_ID]';
+ $feedName = '[NAME]';
+
+ create_feed_sample($parent, $feedId, $feedName);
+}
+// [END cloudasset_v1_generated_AssetService_CreateFeed_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/create_saved_query.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/create_saved_query.php
new file mode 100644
index 000000000000..1256b5ff4f0a
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/create_saved_query.php
@@ -0,0 +1,88 @@
+setParent($formattedParent)
+ ->setSavedQuery($savedQuery)
+ ->setSavedQueryId($savedQueryId);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var SavedQuery $response */
+ $response = $assetServiceClient->createSavedQuery($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssetServiceClient::projectName('[PROJECT]');
+ $savedQueryId = '[SAVED_QUERY_ID]';
+
+ create_saved_query_sample($formattedParent, $savedQueryId);
+}
+// [END cloudasset_v1_generated_AssetService_CreateSavedQuery_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/delete_feed.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/delete_feed.php
new file mode 100644
index 000000000000..61e2b3d40712
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/delete_feed.php
@@ -0,0 +1,72 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ $assetServiceClient->deleteFeed($request);
+ printf('Call completed successfully.' . PHP_EOL);
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssetServiceClient::feedName('[PROJECT]', '[FEED]');
+
+ delete_feed_sample($formattedName);
+}
+// [END cloudasset_v1_generated_AssetService_DeleteFeed_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/delete_saved_query.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/delete_saved_query.php
new file mode 100644
index 000000000000..f26af88ac8a2
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/delete_saved_query.php
@@ -0,0 +1,74 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ $assetServiceClient->deleteSavedQuery($request);
+ printf('Call completed successfully.' . PHP_EOL);
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssetServiceClient::savedQueryName('[PROJECT]', '[SAVED_QUERY]');
+
+ delete_saved_query_sample($formattedName);
+}
+// [END cloudasset_v1_generated_AssetService_DeleteSavedQuery_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/export_assets.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/export_assets.php
new file mode 100644
index 000000000000..9e9488e8dc9f
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/export_assets.php
@@ -0,0 +1,98 @@
+setParent($parent)
+ ->setOutputConfig($outputConfig);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $assetServiceClient->exportAssets($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var ExportAssetsResponse $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+
+ export_assets_sample($parent);
+}
+// [END cloudasset_v1_generated_AssetService_ExportAssets_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/get_feed.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/get_feed.php
new file mode 100644
index 000000000000..f30a24190f83
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/get_feed.php
@@ -0,0 +1,74 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Feed $response */
+ $response = $assetServiceClient->getFeed($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssetServiceClient::feedName('[PROJECT]', '[FEED]');
+
+ get_feed_sample($formattedName);
+}
+// [END cloudasset_v1_generated_AssetService_GetFeed_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/get_saved_query.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/get_saved_query.php
new file mode 100644
index 000000000000..bf9996e18809
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/get_saved_query.php
@@ -0,0 +1,75 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var SavedQuery $response */
+ $response = $assetServiceClient->getSavedQuery($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssetServiceClient::savedQueryName('[PROJECT]', '[SAVED_QUERY]');
+
+ get_saved_query_sample($formattedName);
+}
+// [END cloudasset_v1_generated_AssetService_GetSavedQuery_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_assets.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_assets.php
new file mode 100644
index 000000000000..6403d446c771
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_assets.php
@@ -0,0 +1,80 @@
+setParent($parent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->listAssets($request);
+
+ /** @var Asset $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+
+ list_assets_sample($parent);
+}
+// [END cloudasset_v1_generated_AssetService_ListAssets_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_feeds.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_feeds.php
new file mode 100644
index 000000000000..1d4deea1ab11
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_feeds.php
@@ -0,0 +1,72 @@
+setParent($parent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var ListFeedsResponse $response */
+ $response = $assetServiceClient->listFeeds($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+
+ list_feeds_sample($parent);
+}
+// [END cloudasset_v1_generated_AssetService_ListFeeds_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_saved_queries.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_saved_queries.php
new file mode 100644
index 000000000000..acb7ff749d56
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/list_saved_queries.php
@@ -0,0 +1,78 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->listSavedQueries($request);
+
+ /** @var SavedQuery $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssetServiceClient::projectName('[PROJECT]');
+
+ list_saved_queries_sample($formattedParent);
+}
+// [END cloudasset_v1_generated_AssetService_ListSavedQueries_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/query_assets.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/query_assets.php
new file mode 100644
index 000000000000..3e1f4c5d93cf
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/query_assets.php
@@ -0,0 +1,86 @@
+setParent($parent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var QueryAssetsResponse $response */
+ $response = $assetServiceClient->queryAssets($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $parent = '[PARENT]';
+
+ query_assets_sample($parent);
+}
+// [END cloudasset_v1_generated_AssetService_QueryAssets_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/search_all_iam_policies.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/search_all_iam_policies.php
new file mode 100644
index 000000000000..4fc4e19ecbd0
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/search_all_iam_policies.php
@@ -0,0 +1,89 @@
+setScope($scope);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->searchAllIamPolicies($request);
+
+ /** @var IamPolicySearchResult $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $scope = '[SCOPE]';
+
+ search_all_iam_policies_sample($scope);
+}
+// [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/search_all_resources.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/search_all_resources.php
new file mode 100644
index 000000000000..f338d2e4f57b
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/search_all_resources.php
@@ -0,0 +1,89 @@
+setScope($scope);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assetServiceClient->searchAllResources($request);
+
+ /** @var ResourceSearchResult $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $scope = '[SCOPE]';
+
+ search_all_resources_sample($scope);
+}
+// [END cloudasset_v1_generated_AssetService_SearchAllResources_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/update_feed.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/update_feed.php
new file mode 100644
index 000000000000..d037cbd8faf3
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/update_feed.php
@@ -0,0 +1,84 @@
+setName($feedName)
+ ->setFeedOutputConfig($feedFeedOutputConfig);
+ $updateMask = new FieldMask();
+ $request = (new UpdateFeedRequest())
+ ->setFeed($feed)
+ ->setUpdateMask($updateMask);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Feed $response */
+ $response = $assetServiceClient->updateFeed($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $feedName = '[NAME]';
+
+ update_feed_sample($feedName);
+}
+// [END cloudasset_v1_generated_AssetService_UpdateFeed_sync]
diff --git a/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/update_saved_query.php b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/update_saved_query.php
new file mode 100644
index 000000000000..3ba9f0ee02ed
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/samples/V1/AssetServiceClient/update_saved_query.php
@@ -0,0 +1,62 @@
+setSavedQuery($savedQuery)
+ ->setUpdateMask($updateMask);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var SavedQuery $response */
+ $response = $assetServiceClient->updateSavedQuery($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+// [END cloudasset_v1_generated_AssetService_UpdateSavedQuery_sync]
diff --git a/owl-bot-staging/Asset/v1/src/V1/Client/AssetServiceClient.php b/owl-bot-staging/Asset/v1/src/V1/Client/AssetServiceClient.php
new file mode 100644
index 000000000000..6288d820b2e7
--- /dev/null
+++ b/owl-bot-staging/Asset/v1/src/V1/Client/AssetServiceClient.php
@@ -0,0 +1,1191 @@
+ analyzeIamPolicyAsync(AnalyzeIamPolicyRequest $request, array $optionalArgs = [])
+ * @method PromiseInterfacestring name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Required. Business justification explaining the need for violation acknowledgement
+ *
+ * Generated from protobuf field string comment = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $comment = '';
+ /**
+ * Optional. This field is deprecated and will be removed in future version of the API.
+ * Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted in this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ *
+ * Generated from protobuf field string non_compliant_org_policy = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ * @deprecated
+ */
+ protected $non_compliant_org_policy = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the Violation to acknowledge.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ * @type string $comment
+ * Required. Business justification explaining the need for violation acknowledgement
+ * @type string $non_compliant_org_policy
+ * Optional. This field is deprecated and will be removed in future version of the API.
+ * Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted in this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the Violation to acknowledge.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the Violation to acknowledge.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Business justification explaining the need for violation acknowledgement
+ *
+ * Generated from protobuf field string comment = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getComment()
+ {
+ return $this->comment;
+ }
+
+ /**
+ * Required. Business justification explaining the need for violation acknowledgement
+ *
+ * Generated from protobuf field string comment = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setComment($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->comment = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. This field is deprecated and will be removed in future version of the API.
+ * Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted in this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ *
+ * Generated from protobuf field string non_compliant_org_policy = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ * @deprecated
+ */
+ public function getNonCompliantOrgPolicy()
+ {
+ @trigger_error('non_compliant_org_policy is deprecated.', E_USER_DEPRECATED);
+ return $this->non_compliant_org_policy;
+ }
+
+ /**
+ * Optional. This field is deprecated and will be removed in future version of the API.
+ * Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted in this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ *
+ * Generated from protobuf field string non_compliant_org_policy = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ * @deprecated
+ */
+ public function setNonCompliantOrgPolicy($var)
+ {
+ @trigger_error('non_compliant_org_policy is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkString($var, True);
+ $this->non_compliant_org_policy = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/AcknowledgeViolationResponse.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/AcknowledgeViolationResponse.php
new file mode 100644
index 000000000000..f8958f14d1b6
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/AcknowledgeViolationResponse.php
@@ -0,0 +1,33 @@
+google.cloud.assuredworkloads.v1.AcknowledgeViolationResponse
+ */
+class AcknowledgeViolationResponse extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/CreateWorkloadOperationMetadata.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/CreateWorkloadOperationMetadata.php
new file mode 100644
index 000000000000..1a4b40123dbc
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/CreateWorkloadOperationMetadata.php
@@ -0,0 +1,183 @@
+google.cloud.assuredworkloads.v1.CreateWorkloadOperationMetadata
+ */
+class CreateWorkloadOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $create_time = null;
+ /**
+ * Optional. The display name of the workload.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $display_name = '';
+ /**
+ * Optional. The parent of the workload.
+ *
+ * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $parent = '';
+ /**
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $compliance_regime = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Optional. Time when the operation was created.
+ * @type string $display_name
+ * Optional. The display name of the workload.
+ * @type string $parent
+ * Optional. The parent of the workload.
+ * @type int $compliance_regime
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Optional. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The display name of the workload.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Optional. The display name of the workload.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The parent of the workload.
+ *
+ * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Optional. The parent of the workload.
+ *
+ * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getComplianceRegime()
+ {
+ return $this->compliance_regime;
+ }
+
+ /**
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setComplianceRegime($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\ComplianceRegime::class);
+ $this->compliance_regime = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/CreateWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/CreateWorkloadRequest.php
new file mode 100644
index 000000000000..be66d2add195
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/CreateWorkloadRequest.php
@@ -0,0 +1,178 @@
+google.cloud.assuredworkloads.v1.CreateWorkloadRequest
+ */
+class CreateWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. Assured Workload to create
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $workload = null;
+ /**
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ *
+ * Generated from protobuf field string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $external_id = '';
+
+ /**
+ * @param string $parent Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`. Please see
+ * {@see AssuredWorkloadsServiceClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\AssuredWorkloads\V1\Workload $workload Required. Assured Workload to create
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\CreateWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\AssuredWorkloads\V1\Workload $workload): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setWorkload($workload);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ * @type \Google\Cloud\AssuredWorkloads\V1\Workload $workload
+ * Required. Assured Workload to create
+ * @type string $external_id
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Assured Workload to create
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AssuredWorkloads\V1\Workload|null
+ */
+ public function getWorkload()
+ {
+ return $this->workload;
+ }
+
+ public function hasWorkload()
+ {
+ return isset($this->workload);
+ }
+
+ public function clearWorkload()
+ {
+ unset($this->workload);
+ }
+
+ /**
+ * Required. Assured Workload to create
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AssuredWorkloads\V1\Workload $var
+ * @return $this
+ */
+ public function setWorkload($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Workload::class);
+ $this->workload = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ *
+ * Generated from protobuf field string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getExternalId()
+ {
+ return $this->external_id;
+ }
+
+ /**
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ *
+ * Generated from protobuf field string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setExternalId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->external_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/DeleteWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/DeleteWorkloadRequest.php
new file mode 100644
index 000000000000..2c5dfe38cdf4
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/DeleteWorkloadRequest.php
@@ -0,0 +1,129 @@
+google.cloud.assuredworkloads.v1.DeleteWorkloadRequest
+ */
+class DeleteWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ *
+ * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * Please see {@see AssuredWorkloadsServiceClient::workloadName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\DeleteWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * @type string $etag
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ *
+ * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ *
+ * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/GetViolationRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/GetViolationRequest.php
new file mode 100644
index 000000000000..6790c069eb29
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/GetViolationRequest.php
@@ -0,0 +1,91 @@
+google.cloud.assuredworkloads.v1.GetViolationRequest
+ */
+class GetViolationRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the Violation to fetch (ie. Violation.name).
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The resource name of the Violation to fetch (ie. Violation.name).
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ * Please see {@see AssuredWorkloadsServiceClient::violationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\GetViolationRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the Violation to fetch (ie. Violation.name).
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the Violation to fetch (ie. Violation.name).
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the Violation to fetch (ie. Violation.name).
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}/violations/{violation}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/GetWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/GetWorkloadRequest.php
new file mode 100644
index 000000000000..96dccb40d104
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/GetWorkloadRequest.php
@@ -0,0 +1,101 @@
+google.cloud.assuredworkloads.v1.GetWorkloadRequest
+ */
+class GetWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the Workload to fetch. This is the workload's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The resource name of the Workload to fetch. This is the workload's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1". Please see
+ * {@see AssuredWorkloadsServiceClient::workloadName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\GetWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the Workload to fetch. This is the workload's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the Workload to fetch. This is the workload's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the Workload to fetch. This is the workload's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListViolationsRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListViolationsRequest.php
new file mode 100644
index 000000000000..deeba4814a66
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListViolationsRequest.php
@@ -0,0 +1,240 @@
+google.cloud.assuredworkloads.v1.ListViolationsRequest
+ */
+class ListViolationsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The Workload name.
+ * Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Optional. Specifies the time window for retrieving active Violations.
+ * When specified, retrieves Violations that were active between start_time
+ * and end_time.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.TimeWindow interval = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $interval = null;
+ /**
+ * Optional. Page size.
+ *
+ * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_size = 0;
+ /**
+ * Optional. Page token returned from previous request.
+ *
+ * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_token = '';
+ /**
+ * Optional. A custom filter for filtering by the Violations properties.
+ *
+ * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $filter = '';
+
+ /**
+ * @param string $parent Required. The Workload name.
+ * Format `organizations/{org_id}/locations/{location}/workloads/{workload}`. Please see
+ * {@see AssuredWorkloadsServiceClient::workloadName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\ListViolationsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The Workload name.
+ * Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.
+ * @type \Google\Cloud\AssuredWorkloads\V1\TimeWindow $interval
+ * Optional. Specifies the time window for retrieving active Violations.
+ * When specified, retrieves Violations that were active between start_time
+ * and end_time.
+ * @type int $page_size
+ * Optional. Page size.
+ * @type string $page_token
+ * Optional. Page token returned from previous request.
+ * @type string $filter
+ * Optional. A custom filter for filtering by the Violations properties.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Workload name.
+ * Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The Workload name.
+ * Format `organizations/{org_id}/locations/{location}/workloads/{workload}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the time window for retrieving active Violations.
+ * When specified, retrieves Violations that were active between start_time
+ * and end_time.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.TimeWindow interval = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\AssuredWorkloads\V1\TimeWindow|null
+ */
+ public function getInterval()
+ {
+ return $this->interval;
+ }
+
+ public function hasInterval()
+ {
+ return isset($this->interval);
+ }
+
+ public function clearInterval()
+ {
+ unset($this->interval);
+ }
+
+ /**
+ * Optional. Specifies the time window for retrieving active Violations.
+ * When specified, retrieves Violations that were active between start_time
+ * and end_time.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.TimeWindow interval = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\AssuredWorkloads\V1\TimeWindow $var
+ * @return $this
+ */
+ public function setInterval($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\TimeWindow::class);
+ $this->interval = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Page size.
+ *
+ * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Optional. Page size.
+ *
+ * Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Page token returned from previous request.
+ *
+ * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Optional. Page token returned from previous request.
+ *
+ * Generated from protobuf field string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A custom filter for filtering by the Violations properties.
+ *
+ * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * Optional. A custom filter for filtering by the Violations properties.
+ *
+ * Generated from protobuf field string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListViolationsResponse.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListViolationsResponse.php
new file mode 100644
index 000000000000..9cd32a438855
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListViolationsResponse.php
@@ -0,0 +1,101 @@
+google.cloud.assuredworkloads.v1.ListViolationsResponse
+ */
+class ListViolationsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of Violations under a Workload.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;
+ */
+ private $violations;
+ /**
+ * The next page token. Returns empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AssuredWorkloads\V1\Violation>|\Google\Protobuf\Internal\RepeatedField $violations
+ * List of Violations under a Workload.
+ * @type string $next_page_token
+ * The next page token. Returns empty if reached the last page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of Violations under a Workload.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getViolations()
+ {
+ return $this->violations;
+ }
+
+ /**
+ * List of Violations under a Workload.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Violation violations = 1;
+ * @param array<\Google\Cloud\AssuredWorkloads\V1\Violation>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setViolations($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1\Violation::class);
+ $this->violations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The next page token. Returns empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * The next page token. Returns empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListWorkloadsRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListWorkloadsRequest.php
new file mode 100644
index 000000000000..fc9101c054ff
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListWorkloadsRequest.php
@@ -0,0 +1,200 @@
+google.cloud.assuredworkloads.v1.ListWorkloadsRequest
+ */
+class ListWorkloadsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Page size.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ *
+ * Generated from protobuf field string filter = 4;
+ */
+ protected $filter = '';
+
+ /**
+ * @param string $parent Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`. Please see
+ * {@see AssuredWorkloadsServiceClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\ListWorkloadsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ * @type int $page_size
+ * Page size.
+ * @type string $page_token
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ * @type string $filter
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Page size.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Page size.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ *
+ * Generated from protobuf field string filter = 4;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ *
+ * Generated from protobuf field string filter = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListWorkloadsResponse.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListWorkloadsResponse.php
new file mode 100644
index 000000000000..0c78b8bd31d0
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/ListWorkloadsResponse.php
@@ -0,0 +1,101 @@
+google.cloud.assuredworkloads.v1.ListWorkloadsResponse
+ */
+class ListWorkloadsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of Workloads under a given parent.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload workloads = 1;
+ */
+ private $workloads;
+ /**
+ * The next page token. Return empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AssuredWorkloads\V1\Workload>|\Google\Protobuf\Internal\RepeatedField $workloads
+ * List of Workloads under a given parent.
+ * @type string $next_page_token
+ * The next page token. Return empty if reached the last page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of Workloads under a given parent.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload workloads = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getWorkloads()
+ {
+ return $this->workloads;
+ }
+
+ /**
+ * List of Workloads under a given parent.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload workloads = 1;
+ * @param array<\Google\Cloud\AssuredWorkloads\V1\Workload>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setWorkloads($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1\Workload::class);
+ $this->workloads = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The next page token. Return empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * The next page token. Return empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesRequest.php
new file mode 100644
index 000000000000..12940165bbd3
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesRequest.php
@@ -0,0 +1,117 @@
+google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest
+ */
+class RestrictAllowedResourcesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $restriction_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ * @type int $restriction_type
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getRestrictionType()
+ {
+ return $this->restriction_type;
+ }
+
+ /**
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setRestrictionType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\RestrictAllowedResourcesRequest\RestrictionType::class);
+ $this->restriction_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesRequest/RestrictionType.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesRequest/RestrictionType.php
new file mode 100644
index 000000000000..630c16506a1c
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesRequest/RestrictionType.php
@@ -0,0 +1,68 @@
+google.cloud.assuredworkloads.v1.RestrictAllowedResourcesRequest.RestrictionType
+ */
+class RestrictionType
+{
+ /**
+ * Unknown restriction type.
+ *
+ * Generated from protobuf enum RESTRICTION_TYPE_UNSPECIFIED = 0;
+ */
+ const RESTRICTION_TYPE_UNSPECIFIED = 0;
+ /**
+ * Allow the use all of all gcp products, irrespective of the compliance
+ * posture. This effectively removes gcp.restrictServiceUsage OrgPolicy
+ * on the AssuredWorkloads Folder.
+ *
+ * Generated from protobuf enum ALLOW_ALL_GCP_RESOURCES = 1;
+ */
+ const ALLOW_ALL_GCP_RESOURCES = 1;
+ /**
+ * Based on Workload's compliance regime, allowed list changes.
+ * See - https://cloud.google.com/assured-workloads/docs/supported-products
+ * for the list of supported resources.
+ *
+ * Generated from protobuf enum ALLOW_COMPLIANT_RESOURCES = 2;
+ */
+ const ALLOW_COMPLIANT_RESOURCES = 2;
+
+ private static $valueToName = [
+ self::RESTRICTION_TYPE_UNSPECIFIED => 'RESTRICTION_TYPE_UNSPECIFIED',
+ self::ALLOW_ALL_GCP_RESOURCES => 'ALLOW_ALL_GCP_RESOURCES',
+ self::ALLOW_COMPLIANT_RESOURCES => 'ALLOW_COMPLIANT_RESOURCES',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(RestrictionType::class, \Google\Cloud\AssuredWorkloads\V1\RestrictAllowedResourcesRequest_RestrictionType::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesResponse.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesResponse.php
new file mode 100644
index 000000000000..d1fa4eabe5f6
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/RestrictAllowedResourcesResponse.php
@@ -0,0 +1,33 @@
+google.cloud.assuredworkloads.v1.RestrictAllowedResourcesResponse
+ */
+class RestrictAllowedResourcesResponse extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/TimeWindow.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/TimeWindow.php
new file mode 100644
index 000000000000..d85b5f8d271b
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/TimeWindow.php
@@ -0,0 +1,121 @@
+google.cloud.assuredworkloads.v1.TimeWindow
+ */
+class TimeWindow extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The start of the time window.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
+ */
+ protected $start_time = null;
+ /**
+ * The end of the time window.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
+ */
+ protected $end_time = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $start_time
+ * The start of the time window.
+ * @type \Google\Protobuf\Timestamp $end_time
+ * The end of the time window.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The start of the time window.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getStartTime()
+ {
+ return $this->start_time;
+ }
+
+ public function hasStartTime()
+ {
+ return isset($this->start_time);
+ }
+
+ public function clearStartTime()
+ {
+ unset($this->start_time);
+ }
+
+ /**
+ * The start of the time window.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setStartTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->start_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * The end of the time window.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getEndTime()
+ {
+ return $this->end_time;
+ }
+
+ public function hasEndTime()
+ {
+ return isset($this->end_time);
+ }
+
+ public function clearEndTime()
+ {
+ unset($this->end_time);
+ }
+
+ /**
+ * The end of the time window.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setEndTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->end_time = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/UpdateWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/UpdateWorkloadRequest.php
new file mode 100644
index 000000000000..686a9c01e44b
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/UpdateWorkloadRequest.php
@@ -0,0 +1,151 @@
+google.cloud.assuredworkloads.v1.UpdateWorkloadRequest
+ */
+class UpdateWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload workload = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $workload = null;
+ /**
+ * Required. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $update_mask = null;
+
+ /**
+ * @param \Google\Cloud\AssuredWorkloads\V1\Workload $workload Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1\UpdateWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\AssuredWorkloads\V1\Workload $workload, \Google\Protobuf\FieldMask $updateMask): self
+ {
+ return (new self())
+ ->setWorkload($workload)
+ ->setUpdateMask($updateMask);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1\Workload $workload
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. The list of fields to be updated.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload workload = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AssuredWorkloads\V1\Workload|null
+ */
+ public function getWorkload()
+ {
+ return $this->workload;
+ }
+
+ public function hasWorkload()
+ {
+ return isset($this->workload);
+ }
+
+ public function clearWorkload()
+ {
+ unset($this->workload);
+ }
+
+ /**
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload workload = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AssuredWorkloads\V1\Workload $var
+ * @return $this
+ */
+ public function setWorkload($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Workload::class);
+ $this->workload = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation.php
new file mode 100644
index 000000000000..513913ec2734
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation.php
@@ -0,0 +1,623 @@
+google.cloud.assuredworkloads.v1.Violation
+ */
+class Violation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Immutable. Name of the Violation.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $name = '';
+ /**
+ * Output only. Description for the Violation.
+ * e.g. OrgPolicy gcp.resourceLocations has non compliant value.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $description = '';
+ /**
+ * Output only. Time of the event which triggered the Violation.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $begin_time = null;
+ /**
+ * Output only. The last time when the Violation record was updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. Time of the event which fixed the Violation.
+ * If the violation is ACTIVE this will be empty.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $resolve_time = null;
+ /**
+ * Output only. Category under which this violation is mapped.
+ * e.g. Location, Service Usage, Access, Encryption, etc.
+ *
+ * Generated from protobuf field string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $category = '';
+ /**
+ * Output only. State of the violation
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $state = 0;
+ /**
+ * Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in
+ * this violation.
+ *
+ * Generated from protobuf field string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $org_policy_constraint = '';
+ /**
+ * Output only. Immutable. Audit Log Link for violated resource
+ * Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
+ *
+ * Generated from protobuf field string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $audit_log_link = '';
+ /**
+ * Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ *
+ * Generated from protobuf field string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $non_compliant_org_policy = '';
+ /**
+ * Output only. Compliance violation remediation
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $remediation = null;
+ /**
+ * Output only. A boolean that indicates if the violation is acknowledged
+ *
+ * Generated from protobuf field bool acknowledged = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $acknowledged = false;
+ /**
+ * Optional. Timestamp when this violation was acknowledged last.
+ * This will be absent when acknowledged field is marked as false.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $acknowledgement_time = null;
+ /**
+ * Output only. Immutable. Audit Log link to find business justification provided for violation
+ * exception. Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
+ *
+ * Generated from protobuf field string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $exception_audit_log_link = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Immutable. Name of the Violation.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
+ * @type string $description
+ * Output only. Description for the Violation.
+ * e.g. OrgPolicy gcp.resourceLocations has non compliant value.
+ * @type \Google\Protobuf\Timestamp $begin_time
+ * Output only. Time of the event which triggered the Violation.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The last time when the Violation record was updated.
+ * @type \Google\Protobuf\Timestamp $resolve_time
+ * Output only. Time of the event which fixed the Violation.
+ * If the violation is ACTIVE this will be empty.
+ * @type string $category
+ * Output only. Category under which this violation is mapped.
+ * e.g. Location, Service Usage, Access, Encryption, etc.
+ * @type int $state
+ * Output only. State of the violation
+ * @type string $org_policy_constraint
+ * Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in
+ * this violation.
+ * @type string $audit_log_link
+ * Output only. Immutable. Audit Log Link for violated resource
+ * Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
+ * @type string $non_compliant_org_policy
+ * Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ * @type \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation $remediation
+ * Output only. Compliance violation remediation
+ * @type bool $acknowledged
+ * Output only. A boolean that indicates if the violation is acknowledged
+ * @type \Google\Protobuf\Timestamp $acknowledgement_time
+ * Optional. Timestamp when this violation was acknowledged last.
+ * This will be absent when acknowledged field is marked as false.
+ * @type string $exception_audit_log_link
+ * Output only. Immutable. Audit Log link to find business justification provided for violation
+ * exception. Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Immutable. Name of the Violation.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Immutable. Name of the Violation.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Description for the Violation.
+ * e.g. OrgPolicy gcp.resourceLocations has non compliant value.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Output only. Description for the Violation.
+ * e.g. OrgPolicy gcp.resourceLocations has non compliant value.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Time of the event which triggered the Violation.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getBeginTime()
+ {
+ return $this->begin_time;
+ }
+
+ public function hasBeginTime()
+ {
+ return isset($this->begin_time);
+ }
+
+ public function clearBeginTime()
+ {
+ unset($this->begin_time);
+ }
+
+ /**
+ * Output only. Time of the event which triggered the Violation.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setBeginTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->begin_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The last time when the Violation record was updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The last time when the Violation record was updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Time of the event which fixed the Violation.
+ * If the violation is ACTIVE this will be empty.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getResolveTime()
+ {
+ return $this->resolve_time;
+ }
+
+ public function hasResolveTime()
+ {
+ return isset($this->resolve_time);
+ }
+
+ public function clearResolveTime()
+ {
+ unset($this->resolve_time);
+ }
+
+ /**
+ * Output only. Time of the event which fixed the Violation.
+ * If the violation is ACTIVE this will be empty.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setResolveTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->resolve_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Category under which this violation is mapped.
+ * e.g. Location, Service Usage, Access, Encryption, etc.
+ *
+ * Generated from protobuf field string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getCategory()
+ {
+ return $this->category;
+ }
+
+ /**
+ * Output only. Category under which this violation is mapped.
+ * e.g. Location, Service Usage, Access, Encryption, etc.
+ *
+ * Generated from protobuf field string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setCategory($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->category = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. State of the violation
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Output only. State of the violation
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Violation\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in
+ * this violation.
+ *
+ * Generated from protobuf field string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getOrgPolicyConstraint()
+ {
+ return $this->org_policy_constraint;
+ }
+
+ /**
+ * Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in
+ * this violation.
+ *
+ * Generated from protobuf field string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setOrgPolicyConstraint($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->org_policy_constraint = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Immutable. Audit Log Link for violated resource
+ * Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
+ *
+ * Generated from protobuf field string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getAuditLogLink()
+ {
+ return $this->audit_log_link;
+ }
+
+ /**
+ * Output only. Immutable. Audit Log Link for violated resource
+ * Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
+ *
+ * Generated from protobuf field string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setAuditLogLink($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->audit_log_link = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ *
+ * Generated from protobuf field string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getNonCompliantOrgPolicy()
+ {
+ return $this->non_compliant_org_policy;
+ }
+
+ /**
+ * Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and
+ * resulted this violation.
+ * Format:
+ * projects/{project_number}/policies/{constraint_name}
+ * folders/{folder_id}/policies/{constraint_name}
+ * organizations/{organization_id}/policies/{constraint_name}
+ *
+ * Generated from protobuf field string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setNonCompliantOrgPolicy($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->non_compliant_org_policy = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Compliance violation remediation
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation|null
+ */
+ public function getRemediation()
+ {
+ return $this->remediation;
+ }
+
+ public function hasRemediation()
+ {
+ return isset($this->remediation);
+ }
+
+ public function clearRemediation()
+ {
+ unset($this->remediation);
+ }
+
+ /**
+ * Output only. Compliance violation remediation
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation $var
+ * @return $this
+ */
+ public function setRemediation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation::class);
+ $this->remediation = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. A boolean that indicates if the violation is acknowledged
+ *
+ * Generated from protobuf field bool acknowledged = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getAcknowledged()
+ {
+ return $this->acknowledged;
+ }
+
+ /**
+ * Output only. A boolean that indicates if the violation is acknowledged
+ *
+ * Generated from protobuf field bool acknowledged = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setAcknowledged($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->acknowledged = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Timestamp when this violation was acknowledged last.
+ * This will be absent when acknowledged field is marked as false.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getAcknowledgementTime()
+ {
+ return $this->acknowledgement_time;
+ }
+
+ public function hasAcknowledgementTime()
+ {
+ return isset($this->acknowledgement_time);
+ }
+
+ public function clearAcknowledgementTime()
+ {
+ unset($this->acknowledgement_time);
+ }
+
+ /**
+ * Optional. Timestamp when this violation was acknowledged last.
+ * This will be absent when acknowledged field is marked as false.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setAcknowledgementTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->acknowledgement_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Immutable. Audit Log link to find business justification provided for violation
+ * exception. Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
+ *
+ * Generated from protobuf field string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getExceptionAuditLogLink()
+ {
+ return $this->exception_audit_log_link;
+ }
+
+ /**
+ * Output only. Immutable. Audit Log link to find business justification provided for violation
+ * exception. Format:
+ * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
+ *
+ * Generated from protobuf field string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setExceptionAuditLogLink($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->exception_audit_log_link = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation.php
new file mode 100644
index 000000000000..6a70f24bf5f4
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation.php
@@ -0,0 +1,157 @@
+google.cloud.assuredworkloads.v1.Violation.Remediation
+ */
+class Remediation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Remediation instructions to resolve violations
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $instructions = null;
+ /**
+ * Values that can resolve the violation
+ * For example: for list org policy violations, this will either be the list
+ * of allowed or denied values
+ *
+ * Generated from protobuf field repeated string compliant_values = 2;
+ */
+ private $compliant_values;
+ /**
+ * Output only. Reemediation type based on the type of org policy values violated
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $remediation_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions $instructions
+ * Required. Remediation instructions to resolve violations
+ * @type array.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions|null
+ */
+ public function getInstructions()
+ {
+ return $this->instructions;
+ }
+
+ public function hasInstructions()
+ {
+ return isset($this->instructions);
+ }
+
+ public function clearInstructions()
+ {
+ unset($this->instructions);
+ }
+
+ /**
+ * Required. Remediation instructions to resolve violations
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions $var
+ * @return $this
+ */
+ public function setInstructions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions::class);
+ $this->instructions = $var;
+
+ return $this;
+ }
+
+ /**
+ * Values that can resolve the violation
+ * For example: for list org policy violations, this will either be the list
+ * of allowed or denied values
+ *
+ * Generated from protobuf field repeated string compliant_values = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getCompliantValues()
+ {
+ return $this->compliant_values;
+ }
+
+ /**
+ * Values that can resolve the violation
+ * For example: for list org policy violations, this will either be the list
+ * of allowed or denied values
+ *
+ * Generated from protobuf field repeated string compliant_values = 2;
+ * @param array.google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getRemediationType()
+ {
+ return $this->remediation_type;
+ }
+
+ /**
+ * Output only. Reemediation type based on the type of org policy values violated
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setRemediationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\RemediationType::class);
+ $this->remediation_type = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Remediation::class, \Google\Cloud\AssuredWorkloads\V1\Violation_Remediation::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation/Instructions.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation/Instructions.php
new file mode 100644
index 000000000000..531bdb233085
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation/Instructions.php
@@ -0,0 +1,124 @@
+google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions
+ */
+class Instructions extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Remediation instructions to resolve violation via gcloud cli
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
+ */
+ protected $gcloud_instructions = null;
+ /**
+ * Remediation instructions to resolve violation via cloud console
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
+ */
+ protected $console_instructions = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud $gcloud_instructions
+ * Remediation instructions to resolve violation via gcloud cli
+ * @type \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console $console_instructions
+ * Remediation instructions to resolve violation via cloud console
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Remediation instructions to resolve violation via gcloud cli
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
+ * @return \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud|null
+ */
+ public function getGcloudInstructions()
+ {
+ return $this->gcloud_instructions;
+ }
+
+ public function hasGcloudInstructions()
+ {
+ return isset($this->gcloud_instructions);
+ }
+
+ public function clearGcloudInstructions()
+ {
+ unset($this->gcloud_instructions);
+ }
+
+ /**
+ * Remediation instructions to resolve violation via gcloud cli
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
+ * @param \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud $var
+ * @return $this
+ */
+ public function setGcloudInstructions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Gcloud::class);
+ $this->gcloud_instructions = $var;
+
+ return $this;
+ }
+
+ /**
+ * Remediation instructions to resolve violation via cloud console
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
+ * @return \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console|null
+ */
+ public function getConsoleInstructions()
+ {
+ return $this->console_instructions;
+ }
+
+ public function hasConsoleInstructions()
+ {
+ return isset($this->console_instructions);
+ }
+
+ public function clearConsoleInstructions()
+ {
+ unset($this->console_instructions);
+ }
+
+ /**
+ * Remediation instructions to resolve violation via cloud console
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
+ * @param \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console $var
+ * @return $this
+ */
+ public function setConsoleInstructions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Violation\Remediation\Instructions\Console::class);
+ $this->console_instructions = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Instructions::class, \Google\Cloud\AssuredWorkloads\V1\Violation_Remediation_Instructions::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation/Instructions/Console.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation/Instructions/Console.php
new file mode 100644
index 000000000000..cdf9485e5183
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/Remediation/Instructions/Console.php
@@ -0,0 +1,138 @@
+google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console
+ */
+class Console extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Link to console page where violations can be resolved
+ *
+ * Generated from protobuf field repeated string console_uris = 1;
+ */
+ private $console_uris;
+ /**
+ * Steps to resolve violation via cloud console
+ *
+ * Generated from protobuf field repeated string steps = 2;
+ */
+ private $steps;
+ /**
+ * Additional urls for more information about steps
+ *
+ * Generated from protobuf field repeated string additional_links = 3;
+ */
+ private $additional_links;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string console_uris = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConsoleUris()
+ {
+ return $this->console_uris;
+ }
+
+ /**
+ * Link to console page where violations can be resolved
+ *
+ * Generated from protobuf field repeated string console_uris = 1;
+ * @param arrayrepeated string steps = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+
+ /**
+ * Steps to resolve violation via cloud console
+ *
+ * Generated from protobuf field repeated string steps = 2;
+ * @param arrayrepeated string additional_links = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAdditionalLinks()
+ {
+ return $this->additional_links;
+ }
+
+ /**
+ * Additional urls for more information about steps
+ *
+ * Generated from protobuf field repeated string additional_links = 3;
+ * @param arrayrepeated string gcloud_commands = 1;
+ */
+ private $gcloud_commands;
+ /**
+ * Steps to resolve violation via gcloud cli
+ *
+ * Generated from protobuf field repeated string steps = 2;
+ */
+ private $steps;
+ /**
+ * Additional urls for more information about steps
+ *
+ * Generated from protobuf field repeated string additional_links = 3;
+ */
+ private $additional_links;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string gcloud_commands = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGcloudCommands()
+ {
+ return $this->gcloud_commands;
+ }
+
+ /**
+ * Gcloud command to resolve violation
+ *
+ * Generated from protobuf field repeated string gcloud_commands = 1;
+ * @param arrayrepeated string steps = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSteps()
+ {
+ return $this->steps;
+ }
+
+ /**
+ * Steps to resolve violation via gcloud cli
+ *
+ * Generated from protobuf field repeated string steps = 2;
+ * @param arrayrepeated string additional_links = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAdditionalLinks()
+ {
+ return $this->additional_links;
+ }
+
+ /**
+ * Additional urls for more information about steps
+ *
+ * Generated from protobuf field repeated string additional_links = 3;
+ * @param arrayREMEDIATION_TYPE_UNSPECIFIED = 0;
+ */
+ const REMEDIATION_TYPE_UNSPECIFIED = 0;
+ /**
+ * Remediation type for boolean org policy
+ *
+ * Generated from protobuf enum REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION = 1;
+ */
+ const REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION = 1;
+ /**
+ * Remediation type for list org policy which have allowed values in the
+ * monitoring rule
+ *
+ * Generated from protobuf enum REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION = 2;
+ */
+ const REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION = 2;
+ /**
+ * Remediation type for list org policy which have denied values in the
+ * monitoring rule
+ *
+ * Generated from protobuf enum REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION = 3;
+ */
+ const REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION = 3;
+ /**
+ * Remediation type for gcp.restrictCmekCryptoKeyProjects
+ *
+ * Generated from protobuf enum REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION = 4;
+ */
+ const REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION = 4;
+
+ private static $valueToName = [
+ self::REMEDIATION_TYPE_UNSPECIFIED => 'REMEDIATION_TYPE_UNSPECIFIED',
+ self::REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION => 'REMEDIATION_BOOLEAN_ORG_POLICY_VIOLATION',
+ self::REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION => 'REMEDIATION_LIST_ALLOWED_VALUES_ORG_POLICY_VIOLATION',
+ self::REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION => 'REMEDIATION_LIST_DENIED_VALUES_ORG_POLICY_VIOLATION',
+ self::REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION => 'REMEDIATION_RESTRICT_CMEK_CRYPTO_KEY_PROJECTS_ORG_POLICY_VIOLATION',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(RemediationType::class, \Google\Cloud\AssuredWorkloads\V1\Violation_Remediation_RemediationType::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/State.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/State.php
new file mode 100644
index 000000000000..3dffecec7cbf
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Violation/State.php
@@ -0,0 +1,71 @@
+google.cloud.assuredworkloads.v1.Violation.State
+ */
+class State
+{
+ /**
+ * Unspecified state.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * Violation is resolved.
+ *
+ * Generated from protobuf enum RESOLVED = 2;
+ */
+ const RESOLVED = 2;
+ /**
+ * Violation is Unresolved
+ *
+ * Generated from protobuf enum UNRESOLVED = 3;
+ */
+ const UNRESOLVED = 3;
+ /**
+ * Violation is Exception
+ *
+ * Generated from protobuf enum EXCEPTION = 4;
+ */
+ const EXCEPTION = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::RESOLVED => 'RESOLVED',
+ self::UNRESOLVED => 'UNRESOLVED',
+ self::EXCEPTION => 'EXCEPTION',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\AssuredWorkloads\V1\Violation_State::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload.php
new file mode 100644
index 000000000000..134a7e8f8a3b
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload.php
@@ -0,0 +1,755 @@
+google.cloud.assuredworkloads.v1.Workload
+ */
+class Workload extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The resource name of the workload.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}
+ * Read-only.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $name = '';
+ /**
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $display_name = '';
+ /**
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $resources;
+ /**
+ * Required. Immutable. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $compliance_regime = 0;
+ /**
+ * Output only. Immutable. The Workload creation timestamp.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $create_time = null;
+ /**
+ * Optional. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ *
+ * Generated from protobuf field string billing_account = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $billing_account = '';
+ /**
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = '';
+ /**
+ * Optional. Labels applied to the workload.
+ *
+ * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ *
+ * Generated from protobuf field string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ protected $provisioned_resources_parent = '';
+ /**
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
+ * @deprecated
+ */
+ protected $kms_settings = null;
+ /**
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ private $resource_settings;
+ /**
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $kaj_enrollment_state = 0;
+ /**
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ *
+ * Generated from protobuf field bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_sovereign_controls = false;
+ /**
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $saa_enrollment_response = null;
+ /**
+ * Output only. Urls for services which are compliant for this Assured Workload, but which
+ * are currently disallowed by the ResourceUsageRestriction org policy.
+ * Invoke RestrictAllowedResources endpoint to allow your project developers
+ * to use these services in their environment."
+ *
+ * Generated from protobuf field repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $compliant_but_disallowed_services;
+ /**
+ * Optional. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $partner = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Optional. The resource name of the workload.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}
+ * Read-only.
+ * @type string $display_name
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ * @type array<\Google\Cloud\AssuredWorkloads\V1\Workload\ResourceInfo>|\Google\Protobuf\Internal\RepeatedField $resources
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ * @type int $compliance_regime
+ * Required. Immutable. Compliance Regime associated with this workload.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Immutable. The Workload creation timestamp.
+ * @type string $billing_account
+ * Optional. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ * @type string $etag
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Labels applied to the workload.
+ * @type string $provisioned_resources_parent
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ * @type \Google\Cloud\AssuredWorkloads\V1\Workload\KMSSettings $kms_settings
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ * @type array<\Google\Cloud\AssuredWorkloads\V1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $resource_settings
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ * @type int $kaj_enrollment_state
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ * @type bool $enable_sovereign_controls
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ * @type \Google\Cloud\AssuredWorkloads\V1\Workload\SaaEnrollmentResponse $saa_enrollment_response
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ * @type arraystring name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Optional. The resource name of the workload.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}
+ * Read-only.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResources()
+ {
+ return $this->resources;
+ }
+
+ /**
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\AssuredWorkloads\V1\Workload\ResourceInfo>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1\Workload\ResourceInfo::class);
+ $this->resources = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Required. Immutable. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ * @return int
+ */
+ public function getComplianceRegime()
+ {
+ return $this->compliance_regime;
+ }
+
+ /**
+ * Required. Immutable. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ * @param int $var
+ * @return $this
+ */
+ public function setComplianceRegime($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\ComplianceRegime::class);
+ $this->compliance_regime = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Immutable. The Workload creation timestamp.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Immutable. The Workload creation timestamp.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ *
+ * Generated from protobuf field string billing_account = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getBillingAccount()
+ {
+ return $this->billing_account;
+ }
+
+ /**
+ * Optional. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ *
+ * Generated from protobuf field string billing_account = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setBillingAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->billing_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Labels applied to the workload.
+ *
+ * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Labels applied to the workload.
+ *
+ * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ *
+ * Generated from protobuf field string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return string
+ */
+ public function getProvisionedResourcesParent()
+ {
+ return $this->provisioned_resources_parent;
+ }
+
+ /**
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ *
+ * Generated from protobuf field string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setProvisionedResourcesParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->provisioned_resources_parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
+ * @return \Google\Cloud\AssuredWorkloads\V1\Workload\KMSSettings|null
+ * @deprecated
+ */
+ public function getKmsSettings()
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->kms_settings;
+ }
+
+ public function hasKmsSettings()
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ return isset($this->kms_settings);
+ }
+
+ public function clearKmsSettings()
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ unset($this->kms_settings);
+ }
+
+ /**
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
+ * @param \Google\Cloud\AssuredWorkloads\V1\Workload\KMSSettings $var
+ * @return $this
+ * @deprecated
+ */
+ public function setKmsSettings($var)
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Workload\KMSSettings::class);
+ $this->kms_settings = $var;
+
+ return $this;
+ }
+
+ /**
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceSettings()
+ {
+ return $this->resource_settings;
+ }
+
+ /**
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param array<\Google\Cloud\AssuredWorkloads\V1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceSettings($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1\Workload\ResourceSettings::class);
+ $this->resource_settings = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getKajEnrollmentState()
+ {
+ return $this->kaj_enrollment_state;
+ }
+
+ /**
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setKajEnrollmentState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\KajEnrollmentState::class);
+ $this->kaj_enrollment_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ *
+ * Generated from protobuf field bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableSovereignControls()
+ {
+ return $this->enable_sovereign_controls;
+ }
+
+ /**
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ *
+ * Generated from protobuf field bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableSovereignControls($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_sovereign_controls = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\AssuredWorkloads\V1\Workload\SaaEnrollmentResponse|null
+ */
+ public function getSaaEnrollmentResponse()
+ {
+ return $this->saa_enrollment_response;
+ }
+
+ public function hasSaaEnrollmentResponse()
+ {
+ return isset($this->saa_enrollment_response);
+ }
+
+ public function clearSaaEnrollmentResponse()
+ {
+ unset($this->saa_enrollment_response);
+ }
+
+ /**
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\AssuredWorkloads\V1\Workload\SaaEnrollmentResponse $var
+ * @return $this
+ */
+ public function setSaaEnrollmentResponse($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1\Workload\SaaEnrollmentResponse::class);
+ $this->saa_enrollment_response = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Urls for services which are compliant for this Assured Workload, but which
+ * are currently disallowed by the ResourceUsageRestriction org policy.
+ * Invoke RestrictAllowedResources endpoint to allow your project developers
+ * to use these services in their environment."
+ *
+ * Generated from protobuf field repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getCompliantButDisallowedServices()
+ {
+ return $this->compliant_but_disallowed_services;
+ }
+
+ /**
+ * Output only. Urls for services which are compliant for this Assured Workload, but which
+ * are currently disallowed by the ResourceUsageRestriction org policy.
+ * Invoke RestrictAllowedResources endpoint to allow your project developers
+ * to use these services in their environment."
+ *
+ * Generated from protobuf field repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array.google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPartner()
+ {
+ return $this->partner;
+ }
+
+ /**
+ * Optional. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.Partner partner = 25 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPartner($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\Partner::class);
+ $this->partner = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ComplianceRegime.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ComplianceRegime.php
new file mode 100644
index 000000000000..f921eaced85e
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ComplianceRegime.php
@@ -0,0 +1,136 @@
+google.cloud.assuredworkloads.v1.Workload.ComplianceRegime
+ */
+class ComplianceRegime
+{
+ /**
+ * Unknown compliance regime.
+ *
+ * Generated from protobuf enum COMPLIANCE_REGIME_UNSPECIFIED = 0;
+ */
+ const COMPLIANCE_REGIME_UNSPECIFIED = 0;
+ /**
+ * Information protection as per DoD IL4 requirements.
+ *
+ * Generated from protobuf enum IL4 = 1;
+ */
+ const IL4 = 1;
+ /**
+ * Criminal Justice Information Services (CJIS) Security policies.
+ *
+ * Generated from protobuf enum CJIS = 2;
+ */
+ const CJIS = 2;
+ /**
+ * FedRAMP High data protection controls
+ *
+ * Generated from protobuf enum FEDRAMP_HIGH = 3;
+ */
+ const FEDRAMP_HIGH = 3;
+ /**
+ * FedRAMP Moderate data protection controls
+ *
+ * Generated from protobuf enum FEDRAMP_MODERATE = 4;
+ */
+ const FEDRAMP_MODERATE = 4;
+ /**
+ * Assured Workloads For US Regions data protection controls
+ *
+ * Generated from protobuf enum US_REGIONAL_ACCESS = 5;
+ */
+ const US_REGIONAL_ACCESS = 5;
+ /**
+ * Health Insurance Portability and Accountability Act controls
+ *
+ * Generated from protobuf enum HIPAA = 6;
+ */
+ const HIPAA = 6;
+ /**
+ * Health Information Trust Alliance controls
+ *
+ * Generated from protobuf enum HITRUST = 7;
+ */
+ const HITRUST = 7;
+ /**
+ * Assured Workloads For EU Regions and Support controls
+ *
+ * Generated from protobuf enum EU_REGIONS_AND_SUPPORT = 8;
+ */
+ const EU_REGIONS_AND_SUPPORT = 8;
+ /**
+ * Assured Workloads For Canada Regions and Support controls
+ *
+ * Generated from protobuf enum CA_REGIONS_AND_SUPPORT = 9;
+ */
+ const CA_REGIONS_AND_SUPPORT = 9;
+ /**
+ * International Traffic in Arms Regulations
+ *
+ * Generated from protobuf enum ITAR = 10;
+ */
+ const ITAR = 10;
+ /**
+ * Assured Workloads for Australia Regions and Support controls
+ * Available for public preview consumption.
+ * Don't create production workloads.
+ *
+ * Generated from protobuf enum AU_REGIONS_AND_US_SUPPORT = 11;
+ */
+ const AU_REGIONS_AND_US_SUPPORT = 11;
+ /**
+ * Assured Workloads for Partners
+ *
+ * Generated from protobuf enum ASSURED_WORKLOADS_FOR_PARTNERS = 12;
+ */
+ const ASSURED_WORKLOADS_FOR_PARTNERS = 12;
+
+ private static $valueToName = [
+ self::COMPLIANCE_REGIME_UNSPECIFIED => 'COMPLIANCE_REGIME_UNSPECIFIED',
+ self::IL4 => 'IL4',
+ self::CJIS => 'CJIS',
+ self::FEDRAMP_HIGH => 'FEDRAMP_HIGH',
+ self::FEDRAMP_MODERATE => 'FEDRAMP_MODERATE',
+ self::US_REGIONAL_ACCESS => 'US_REGIONAL_ACCESS',
+ self::HIPAA => 'HIPAA',
+ self::HITRUST => 'HITRUST',
+ self::EU_REGIONS_AND_SUPPORT => 'EU_REGIONS_AND_SUPPORT',
+ self::CA_REGIONS_AND_SUPPORT => 'CA_REGIONS_AND_SUPPORT',
+ self::ITAR => 'ITAR',
+ self::AU_REGIONS_AND_US_SUPPORT => 'AU_REGIONS_AND_US_SUPPORT',
+ self::ASSURED_WORKLOADS_FOR_PARTNERS => 'ASSURED_WORKLOADS_FOR_PARTNERS',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ComplianceRegime::class, \Google\Cloud\AssuredWorkloads\V1\Workload_ComplianceRegime::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/KMSSettings.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/KMSSettings.php
new file mode 100644
index 000000000000..ff277045e5cb
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/KMSSettings.php
@@ -0,0 +1,140 @@
+google.cloud.assuredworkloads.v1.Workload.KMSSettings
+ */
+class KMSSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $next_rotation_time = null;
+ /**
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ *
+ * Generated from protobuf field .google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $rotation_period = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $next_rotation_time
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ * @type \Google\Protobuf\Duration $rotation_period
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getNextRotationTime()
+ {
+ return $this->next_rotation_time;
+ }
+
+ public function hasNextRotationTime()
+ {
+ return isset($this->next_rotation_time);
+ }
+
+ public function clearNextRotationTime()
+ {
+ unset($this->next_rotation_time);
+ }
+
+ /**
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setNextRotationTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->next_rotation_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ *
+ * Generated from protobuf field .google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getRotationPeriod()
+ {
+ return $this->rotation_period;
+ }
+
+ public function hasRotationPeriod()
+ {
+ return isset($this->rotation_period);
+ }
+
+ public function clearRotationPeriod()
+ {
+ unset($this->rotation_period);
+ }
+
+ /**
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ *
+ * Generated from protobuf field .google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setRotationPeriod($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->rotation_period = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(KMSSettings::class, \Google\Cloud\AssuredWorkloads\V1\Workload_KMSSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/KajEnrollmentState.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/KajEnrollmentState.php
new file mode 100644
index 000000000000..5daeeb90a74f
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/KajEnrollmentState.php
@@ -0,0 +1,64 @@
+google.cloud.assuredworkloads.v1.Workload.KajEnrollmentState
+ */
+class KajEnrollmentState
+{
+ /**
+ * Default State for KAJ Enrollment.
+ *
+ * Generated from protobuf enum KAJ_ENROLLMENT_STATE_UNSPECIFIED = 0;
+ */
+ const KAJ_ENROLLMENT_STATE_UNSPECIFIED = 0;
+ /**
+ * Pending State for KAJ Enrollment.
+ *
+ * Generated from protobuf enum KAJ_ENROLLMENT_STATE_PENDING = 1;
+ */
+ const KAJ_ENROLLMENT_STATE_PENDING = 1;
+ /**
+ * Complete State for KAJ Enrollment.
+ *
+ * Generated from protobuf enum KAJ_ENROLLMENT_STATE_COMPLETE = 2;
+ */
+ const KAJ_ENROLLMENT_STATE_COMPLETE = 2;
+
+ private static $valueToName = [
+ self::KAJ_ENROLLMENT_STATE_UNSPECIFIED => 'KAJ_ENROLLMENT_STATE_UNSPECIFIED',
+ self::KAJ_ENROLLMENT_STATE_PENDING => 'KAJ_ENROLLMENT_STATE_PENDING',
+ self::KAJ_ENROLLMENT_STATE_COMPLETE => 'KAJ_ENROLLMENT_STATE_COMPLETE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(KajEnrollmentState::class, \Google\Cloud\AssuredWorkloads\V1\Workload_KajEnrollmentState::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/Partner.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/Partner.php
new file mode 100644
index 000000000000..b3ab77303ba3
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/Partner.php
@@ -0,0 +1,57 @@
+google.cloud.assuredworkloads.v1.Workload.Partner
+ */
+class Partner
+{
+ /**
+ * Unknown partner regime/controls.
+ *
+ * Generated from protobuf enum PARTNER_UNSPECIFIED = 0;
+ */
+ const PARTNER_UNSPECIFIED = 0;
+ /**
+ * S3NS regime/controls.
+ *
+ * Generated from protobuf enum LOCAL_CONTROLS_BY_S3NS = 1;
+ */
+ const LOCAL_CONTROLS_BY_S3NS = 1;
+
+ private static $valueToName = [
+ self::PARTNER_UNSPECIFIED => 'PARTNER_UNSPECIFIED',
+ self::LOCAL_CONTROLS_BY_S3NS => 'LOCAL_CONTROLS_BY_S3NS',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Partner::class, \Google\Cloud\AssuredWorkloads\V1\Workload_Partner::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceInfo.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceInfo.php
new file mode 100644
index 000000000000..7d1d6d014207
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceInfo.php
@@ -0,0 +1,108 @@
+google.cloud.assuredworkloads.v1.Workload.ResourceInfo
+ */
+class ResourceInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Resource identifier.
+ * For a project this represents project_number.
+ *
+ * Generated from protobuf field int64 resource_id = 1;
+ */
+ protected $resource_id = 0;
+ /**
+ * Indicates the type of resource.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ */
+ protected $resource_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $resource_id
+ * Resource identifier.
+ * For a project this represents project_number.
+ * @type int $resource_type
+ * Indicates the type of resource.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_number.
+ *
+ * Generated from protobuf field int64 resource_id = 1;
+ * @return int|string
+ */
+ public function getResourceId()
+ {
+ return $this->resource_id;
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_number.
+ *
+ * Generated from protobuf field int64 resource_id = 1;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setResourceId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->resource_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates the type of resource.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @return int
+ */
+ public function getResourceType()
+ {
+ return $this->resource_type;
+ }
+
+ /**
+ * Indicates the type of resource.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setResourceType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\ResourceInfo\ResourceType::class);
+ $this->resource_type = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceInfo::class, \Google\Cloud\AssuredWorkloads\V1\Workload_ResourceInfo::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceInfo/ResourceType.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceInfo/ResourceType.php
new file mode 100644
index 000000000000..dc3182744b09
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceInfo/ResourceType.php
@@ -0,0 +1,82 @@
+google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType
+ */
+class ResourceType
+{
+ /**
+ * Unknown resource type.
+ *
+ * Generated from protobuf enum RESOURCE_TYPE_UNSPECIFIED = 0;
+ */
+ const RESOURCE_TYPE_UNSPECIFIED = 0;
+ /**
+ * Consumer project.
+ * AssuredWorkloads Projects are no longer supported. This field will be
+ * ignored only in CreateWorkload requests. ListWorkloads and GetWorkload
+ * will continue to provide projects information.
+ * Use CONSUMER_FOLDER instead.
+ *
+ * Generated from protobuf enum CONSUMER_PROJECT = 1 [deprecated = true];
+ */
+ const CONSUMER_PROJECT = 1;
+ /**
+ * Consumer Folder.
+ *
+ * Generated from protobuf enum CONSUMER_FOLDER = 4;
+ */
+ const CONSUMER_FOLDER = 4;
+ /**
+ * Consumer project containing encryption keys.
+ *
+ * Generated from protobuf enum ENCRYPTION_KEYS_PROJECT = 2;
+ */
+ const ENCRYPTION_KEYS_PROJECT = 2;
+ /**
+ * Keyring resource that hosts encryption keys.
+ *
+ * Generated from protobuf enum KEYRING = 3;
+ */
+ const KEYRING = 3;
+
+ private static $valueToName = [
+ self::RESOURCE_TYPE_UNSPECIFIED => 'RESOURCE_TYPE_UNSPECIFIED',
+ self::CONSUMER_PROJECT => 'CONSUMER_PROJECT',
+ self::CONSUMER_FOLDER => 'CONSUMER_FOLDER',
+ self::ENCRYPTION_KEYS_PROJECT => 'ENCRYPTION_KEYS_PROJECT',
+ self::KEYRING => 'KEYRING',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceType::class, \Google\Cloud\AssuredWorkloads\V1\Workload_ResourceInfo_ResourceType::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceSettings.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceSettings.php
new file mode 100644
index 000000000000..8383ef765da3
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/ResourceSettings.php
@@ -0,0 +1,170 @@
+google.cloud.assuredworkloads.v1.Workload.ResourceSettings
+ */
+class ResourceSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ *
+ * Generated from protobuf field string resource_id = 1;
+ */
+ protected $resource_id = '';
+ /**
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right resource type (CONSUMER_FOLDER or
+ * ENCRYPTION_KEYS_PROJECT)
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ */
+ protected $resource_type = 0;
+ /**
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ *
+ * Generated from protobuf field string display_name = 3;
+ */
+ protected $display_name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $resource_id
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ * @type int $resource_type
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right resource type (CONSUMER_FOLDER or
+ * ENCRYPTION_KEYS_PROJECT)
+ * @type string $display_name
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ *
+ * Generated from protobuf field string resource_id = 1;
+ * @return string
+ */
+ public function getResourceId()
+ {
+ return $this->resource_id;
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ *
+ * Generated from protobuf field string resource_id = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setResourceId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right resource type (CONSUMER_FOLDER or
+ * ENCRYPTION_KEYS_PROJECT)
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @return int
+ */
+ public function getResourceType()
+ {
+ return $this->resource_type;
+ }
+
+ /**
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right resource type (CONSUMER_FOLDER or
+ * ENCRYPTION_KEYS_PROJECT)
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setResourceType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\ResourceInfo\ResourceType::class);
+ $this->resource_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ *
+ * Generated from protobuf field string display_name = 3;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ *
+ * Generated from protobuf field string display_name = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceSettings::class, \Google\Cloud\AssuredWorkloads\V1\Workload_ResourceSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/SaaEnrollmentResponse.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/SaaEnrollmentResponse.php
new file mode 100644
index 000000000000..2adc6b7d7780
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/SaaEnrollmentResponse.php
@@ -0,0 +1,114 @@
+google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse
+ */
+class SaaEnrollmentResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Indicates SAA enrollment status of a given workload.
+ *
+ * Generated from protobuf field optional .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
+ */
+ protected $setup_status = null;
+ /**
+ * Indicates SAA enrollment setup error if any.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
+ */
+ private $setup_errors;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $setup_status
+ * Indicates SAA enrollment status of a given workload.
+ * @type arrayoptional .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
+ * @return int
+ */
+ public function getSetupStatus()
+ {
+ return isset($this->setup_status) ? $this->setup_status : 0;
+ }
+
+ public function hasSetupStatus()
+ {
+ return isset($this->setup_status);
+ }
+
+ public function clearSetupStatus()
+ {
+ unset($this->setup_status);
+ }
+
+ /**
+ * Indicates SAA enrollment status of a given workload.
+ *
+ * Generated from protobuf field optional .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setSetupStatus($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1\Workload\SaaEnrollmentResponse\SetupState::class);
+ $this->setup_status = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates SAA enrollment setup error if any.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSetupErrors()
+ {
+ return $this->setup_errors;
+ }
+
+ /**
+ * Indicates SAA enrollment setup error if any.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
+ * @param arraySETUP_ERROR_UNSPECIFIED = 0;
+ */
+ const SETUP_ERROR_UNSPECIFIED = 0;
+ /**
+ * Invalid states for all customers, to be redirected to AA UI for
+ * additional details.
+ *
+ * Generated from protobuf enum ERROR_INVALID_BASE_SETUP = 1;
+ */
+ const ERROR_INVALID_BASE_SETUP = 1;
+ /**
+ * Returned when there is not an EKM key configured.
+ *
+ * Generated from protobuf enum ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2;
+ */
+ const ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2;
+ /**
+ * Returned when there are no enrolled services or the customer is
+ * enrolled in CAA only for a subset of services.
+ *
+ * Generated from protobuf enum ERROR_NOT_ALL_SERVICES_ENROLLED = 3;
+ */
+ const ERROR_NOT_ALL_SERVICES_ENROLLED = 3;
+ /**
+ * Returned when exception was encountered during evaluation of other
+ * criteria.
+ *
+ * Generated from protobuf enum ERROR_SETUP_CHECK_FAILED = 4;
+ */
+ const ERROR_SETUP_CHECK_FAILED = 4;
+
+ private static $valueToName = [
+ self::SETUP_ERROR_UNSPECIFIED => 'SETUP_ERROR_UNSPECIFIED',
+ self::ERROR_INVALID_BASE_SETUP => 'ERROR_INVALID_BASE_SETUP',
+ self::ERROR_MISSING_EXTERNAL_SIGNING_KEY => 'ERROR_MISSING_EXTERNAL_SIGNING_KEY',
+ self::ERROR_NOT_ALL_SERVICES_ENROLLED => 'ERROR_NOT_ALL_SERVICES_ENROLLED',
+ self::ERROR_SETUP_CHECK_FAILED => 'ERROR_SETUP_CHECK_FAILED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(SetupError::class, \Google\Cloud\AssuredWorkloads\V1\Workload_SaaEnrollmentResponse_SetupError::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/SaaEnrollmentResponse/SetupState.php b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/SaaEnrollmentResponse/SetupState.php
new file mode 100644
index 000000000000..27112e59383a
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/proto/src/Google/Cloud/AssuredWorkloads/V1/Workload/SaaEnrollmentResponse/SetupState.php
@@ -0,0 +1,64 @@
+google.cloud.assuredworkloads.v1.Workload.SaaEnrollmentResponse.SetupState
+ */
+class SetupState
+{
+ /**
+ * Unspecified.
+ *
+ * Generated from protobuf enum SETUP_STATE_UNSPECIFIED = 0;
+ */
+ const SETUP_STATE_UNSPECIFIED = 0;
+ /**
+ * SAA enrollment pending.
+ *
+ * Generated from protobuf enum STATUS_PENDING = 1;
+ */
+ const STATUS_PENDING = 1;
+ /**
+ * SAA enrollment comopleted.
+ *
+ * Generated from protobuf enum STATUS_COMPLETE = 2;
+ */
+ const STATUS_COMPLETE = 2;
+
+ private static $valueToName = [
+ self::SETUP_STATE_UNSPECIFIED => 'SETUP_STATE_UNSPECIFIED',
+ self::STATUS_PENDING => 'STATUS_PENDING',
+ self::STATUS_COMPLETE => 'STATUS_COMPLETE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(SetupState::class, \Google\Cloud\AssuredWorkloads\V1\Workload_SaaEnrollmentResponse_SetupState::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/acknowledge_violation.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/acknowledge_violation.php
new file mode 100644
index 000000000000..9fa186961d47
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/acknowledge_violation.php
@@ -0,0 +1,78 @@
+setName($name)
+ ->setComment($comment);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var AcknowledgeViolationResponse $response */
+ $response = $assuredWorkloadsServiceClient->acknowledgeViolation($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $name = '[NAME]';
+ $comment = '[COMMENT]';
+
+ acknowledge_violation_sample($name, $comment);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_AcknowledgeViolation_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/create_workload.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/create_workload.php
new file mode 100644
index 000000000000..73d455b3660f
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/create_workload.php
@@ -0,0 +1,101 @@
+setDisplayName($workloadDisplayName)
+ ->setComplianceRegime($workloadComplianceRegime);
+ $request = (new CreateWorkloadRequest())
+ ->setParent($formattedParent)
+ ->setWorkload($workload);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $assuredWorkloadsServiceClient->createWorkload($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Workload $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssuredWorkloadsServiceClient::locationName('[ORGANIZATION]', '[LOCATION]');
+ $workloadDisplayName = '[DISPLAY_NAME]';
+ $workloadComplianceRegime = ComplianceRegime::COMPLIANCE_REGIME_UNSPECIFIED;
+
+ create_workload_sample($formattedParent, $workloadDisplayName, $workloadComplianceRegime);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/delete_workload.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/delete_workload.php
new file mode 100644
index 000000000000..29e6b12a3b8c
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/delete_workload.php
@@ -0,0 +1,77 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ $assuredWorkloadsServiceClient->deleteWorkload($request);
+ printf('Call completed successfully.' . PHP_EOL);
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssuredWorkloadsServiceClient::workloadName(
+ '[ORGANIZATION]',
+ '[LOCATION]',
+ '[WORKLOAD]'
+ );
+
+ delete_workload_sample($formattedName);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/get_violation.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/get_violation.php
new file mode 100644
index 000000000000..5326a0b9b957
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/get_violation.php
@@ -0,0 +1,78 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Violation $response */
+ $response = $assuredWorkloadsServiceClient->getViolation($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssuredWorkloadsServiceClient::violationName(
+ '[ORGANIZATION]',
+ '[LOCATION]',
+ '[WORKLOAD]',
+ '[VIOLATION]'
+ );
+
+ get_violation_sample($formattedName);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_GetViolation_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/get_workload.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/get_workload.php
new file mode 100644
index 000000000000..b1be4c5a3dc7
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/get_workload.php
@@ -0,0 +1,79 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Workload $response */
+ $response = $assuredWorkloadsServiceClient->getWorkload($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssuredWorkloadsServiceClient::workloadName(
+ '[ORGANIZATION]',
+ '[LOCATION]',
+ '[WORKLOAD]'
+ );
+
+ get_workload_sample($formattedName);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/list_violations.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/list_violations.php
new file mode 100644
index 000000000000..249e4ed2bddd
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/list_violations.php
@@ -0,0 +1,85 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assuredWorkloadsServiceClient->listViolations($request);
+
+ /** @var Violation $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssuredWorkloadsServiceClient::workloadName(
+ '[ORGANIZATION]',
+ '[LOCATION]',
+ '[WORKLOAD]'
+ );
+
+ list_violations_sample($formattedParent);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_ListViolations_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/list_workloads.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/list_workloads.php
new file mode 100644
index 000000000000..4eb61c7f4e44
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/list_workloads.php
@@ -0,0 +1,77 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assuredWorkloadsServiceClient->listWorkloads($request);
+
+ /** @var Workload $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssuredWorkloadsServiceClient::locationName('[ORGANIZATION]', '[LOCATION]');
+
+ list_workloads_sample($formattedParent);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/restrict_allowed_resources.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/restrict_allowed_resources.php
new file mode 100644
index 000000000000..f990cf50b7e5
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/restrict_allowed_resources.php
@@ -0,0 +1,83 @@
+setName($name)
+ ->setRestrictionType($restrictionType);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var RestrictAllowedResourcesResponse $response */
+ $response = $assuredWorkloadsServiceClient->restrictAllowedResources($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $name = '[NAME]';
+ $restrictionType = RestrictionType::RESTRICTION_TYPE_UNSPECIFIED;
+
+ restrict_allowed_resources_sample($name, $restrictionType);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/update_workload.php b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/update_workload.php
new file mode 100644
index 000000000000..dd70542a994c
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/samples/V1/AssuredWorkloadsServiceClient/update_workload.php
@@ -0,0 +1,87 @@
+setDisplayName($workloadDisplayName)
+ ->setComplianceRegime($workloadComplianceRegime);
+ $updateMask = new FieldMask();
+ $request = (new UpdateWorkloadRequest())
+ ->setWorkload($workload)
+ ->setUpdateMask($updateMask);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Workload $response */
+ $response = $assuredWorkloadsServiceClient->updateWorkload($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $workloadDisplayName = '[DISPLAY_NAME]';
+ $workloadComplianceRegime = ComplianceRegime::COMPLIANCE_REGIME_UNSPECIFIED;
+
+ update_workload_sample($workloadDisplayName, $workloadComplianceRegime);
+}
+// [END assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1/src/V1/Client/AssuredWorkloadsServiceClient.php b/owl-bot-staging/AssuredWorkloads/v1/src/V1/Client/AssuredWorkloadsServiceClient.php
new file mode 100644
index 000000000000..861ea3c828b9
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1/src/V1/Client/AssuredWorkloadsServiceClient.php
@@ -0,0 +1,587 @@
+ acknowledgeViolationAsync(AcknowledgeViolationRequest $request, array $optionalArgs = [])
+ * @method PromiseInterfacestring target = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $target = '';
+ protected $projectOrWorkloadResource;
+
+ /**
+ * @param string $project The source type is a project. Specify the project's relative resource
+ * name, formatted as either a project number or a project ID:
+ * "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}"
+ * For example:
+ * "projects/951040570662" when specifying a project number, or
+ * "projects/my-project-123" when specifying a project ID.
+ * @param string $target Required. The resource ID of the folder-based destination workload. This workload is
+ * where the source project will hypothetically be moved to. Specify the
+ * workload's relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-2"
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\AnalyzeWorkloadMoveRequest
+ *
+ * @experimental
+ */
+ public static function build(string $project, string $target): self
+ {
+ return (new self())
+ ->setProject($project)
+ ->setTarget($target);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $source
+ * The source type is a project-based workload. Specify the workloads's
+ * relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1"
+ * @type string $project
+ * The source type is a project. Specify the project's relative resource
+ * name, formatted as either a project number or a project ID:
+ * "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}"
+ * For example:
+ * "projects/951040570662" when specifying a project number, or
+ * "projects/my-project-123" when specifying a project ID.
+ * @type string $target
+ * Required. The resource ID of the folder-based destination workload. This workload is
+ * where the source project will hypothetically be moved to. Specify the
+ * workload's relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-2"
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The source type is a project-based workload. Specify the workloads's
+ * relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1"
+ *
+ * Generated from protobuf field string source = 1;
+ * @return string
+ */
+ public function getSource()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasSource()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The source type is a project-based workload. Specify the workloads's
+ * relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1"
+ *
+ * Generated from protobuf field string source = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setSource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * The source type is a project. Specify the project's relative resource
+ * name, formatted as either a project number or a project ID:
+ * "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}"
+ * For example:
+ * "projects/951040570662" when specifying a project number, or
+ * "projects/my-project-123" when specifying a project ID.
+ *
+ * Generated from protobuf field string project = 3;
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasProject()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * The source type is a project. Specify the project's relative resource
+ * name, formatted as either a project number or a project ID:
+ * "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}"
+ * For example:
+ * "projects/951040570662" when specifying a project number, or
+ * "projects/my-project-123" when specifying a project ID.
+ *
+ * Generated from protobuf field string project = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Required. The resource ID of the folder-based destination workload. This workload is
+ * where the source project will hypothetically be moved to. Specify the
+ * workload's relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-2"
+ *
+ * Generated from protobuf field string target = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getTarget()
+ {
+ return $this->target;
+ }
+
+ /**
+ * Required. The resource ID of the folder-based destination workload. This workload is
+ * where the source project will hypothetically be moved to. Specify the
+ * workload's relative resource name, formatted as:
+ * "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}"
+ * For example:
+ * "organizations/123/locations/us-east1/workloads/assured-workload-2"
+ *
+ * Generated from protobuf field string target = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setTarget($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->target = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getProjectOrWorkloadResource()
+ {
+ return $this->whichOneof("projectOrWorkloadResource");
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/AnalyzeWorkloadMoveResponse.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/AnalyzeWorkloadMoveResponse.php
new file mode 100644
index 000000000000..358677fb9f89
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/AnalyzeWorkloadMoveResponse.php
@@ -0,0 +1,71 @@
+google.cloud.assuredworkloads.v1beta1.AnalyzeWorkloadMoveResponse
+ */
+class AnalyzeWorkloadMoveResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of blockers that should be addressed before moving the source
+ * project or project-based workload to the destination folder-based workload.
+ *
+ * Generated from protobuf field repeated string blockers = 1;
+ */
+ private $blockers;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string blockers = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBlockers()
+ {
+ return $this->blockers;
+ }
+
+ /**
+ * A list of blockers that should be addressed before moving the source
+ * project or project-based workload to the destination folder-based workload.
+ *
+ * Generated from protobuf field repeated string blockers = 1;
+ * @param array.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $create_time = null;
+ /**
+ * Optional. The display name of the workload.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $display_name = '';
+ /**
+ * Optional. The parent of the workload.
+ *
+ * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $parent = '';
+ /**
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $compliance_regime = 0;
+ /**
+ * Optional. Resource properties in the input that are used for creating/customizing
+ * workload resources.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $resource_settings;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Optional. Time when the operation was created.
+ * @type string $display_name
+ * Optional. The display name of the workload.
+ * @type string $parent
+ * Optional. The parent of the workload.
+ * @type int $compliance_regime
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ * @type array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $resource_settings
+ * Optional. Resource properties in the input that are used for creating/customizing
+ * workload resources.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Optional. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The display name of the workload.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Optional. The display name of the workload.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The parent of the workload.
+ *
+ * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Optional. The parent of the workload.
+ *
+ * Generated from protobuf field string parent = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getComplianceRegime()
+ {
+ return $this->compliance_regime;
+ }
+
+ /**
+ * Optional. Compliance controls that should be applied to the resources managed by
+ * the workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setComplianceRegime($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ComplianceRegime::class);
+ $this->compliance_regime = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Resource properties in the input that are used for creating/customizing
+ * workload resources.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceSettings()
+ {
+ return $this->resource_settings;
+ }
+
+ /**
+ * Optional. Resource properties in the input that are used for creating/customizing
+ * workload resources.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceSettings($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings::class);
+ $this->resource_settings = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/CreateWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/CreateWorkloadRequest.php
new file mode 100644
index 000000000000..65461d55a2b0
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/CreateWorkloadRequest.php
@@ -0,0 +1,178 @@
+google.cloud.assuredworkloads.v1beta1.CreateWorkloadRequest
+ */
+class CreateWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. Assured Workload to create
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $workload = null;
+ /**
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ *
+ * Generated from protobuf field string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $external_id = '';
+
+ /**
+ * @param string $parent Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`. Please see
+ * {@see AssuredWorkloadsServiceClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload $workload Required. Assured Workload to create
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\CreateWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\AssuredWorkloads\V1beta1\Workload $workload): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setWorkload($workload);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload $workload
+ * Required. Assured Workload to create
+ * @type string $external_id
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The resource name of the new Workload's parent.
+ * Must be of the form `organizations/{org_id}/locations/{location_id}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Assured Workload to create
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload|null
+ */
+ public function getWorkload()
+ {
+ return $this->workload;
+ }
+
+ public function hasWorkload()
+ {
+ return isset($this->workload);
+ }
+
+ public function clearWorkload()
+ {
+ unset($this->workload);
+ }
+
+ /**
+ * Required. Assured Workload to create
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload workload = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload $var
+ * @return $this
+ */
+ public function setWorkload($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload::class);
+ $this->workload = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ *
+ * Generated from protobuf field string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getExternalId()
+ {
+ return $this->external_id;
+ }
+
+ /**
+ * Optional. A identifier associated with the workload and underlying projects which
+ * allows for the break down of billing costs for a workload. The value
+ * provided for the identifier will add a label to the workload and contained
+ * projects with the identifier as the value.
+ *
+ * Generated from protobuf field string external_id = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setExternalId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->external_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/DeleteWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/DeleteWorkloadRequest.php
new file mode 100644
index 000000000000..06ffdd344fa8
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/DeleteWorkloadRequest.php
@@ -0,0 +1,129 @@
+google.cloud.assuredworkloads.v1beta1.DeleteWorkloadRequest
+ */
+class DeleteWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ *
+ * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = '';
+
+ /**
+ * @param string $name Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * Please see {@see AssuredWorkloadsServiceClient::workloadName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\DeleteWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * @type string $etag
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The `name` field is used to identify the workload.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ *
+ * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Optional. The etag of the workload.
+ * If this is provided, it must match the server's etag.
+ *
+ * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/GetWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/GetWorkloadRequest.php
new file mode 100644
index 000000000000..28e30c7b02ba
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/GetWorkloadRequest.php
@@ -0,0 +1,101 @@
+google.cloud.assuredworkloads.v1beta1.GetWorkloadRequest
+ */
+class GetWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the Workload to fetch. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The resource name of the Workload to fetch. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1". Please see
+ * {@see AssuredWorkloadsServiceClient::workloadName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\GetWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the Workload to fetch. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the Workload to fetch. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the Workload to fetch. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/ListWorkloadsRequest.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/ListWorkloadsRequest.php
new file mode 100644
index 000000000000..ead0ff47b4e2
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/ListWorkloadsRequest.php
@@ -0,0 +1,200 @@
+google.cloud.assuredworkloads.v1beta1.ListWorkloadsRequest
+ */
+class ListWorkloadsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Page size.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ protected $page_size = 0;
+ /**
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ protected $page_token = '';
+ /**
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ *
+ * Generated from protobuf field string filter = 4;
+ */
+ protected $filter = '';
+
+ /**
+ * @param string $parent Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`. Please see
+ * {@see AssuredWorkloadsServiceClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\ListWorkloadsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ * @type int $page_size
+ * Page size.
+ * @type string $page_token
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ * @type string $filter
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Parent Resource to list workloads from.
+ * Must be of the form `organizations/{org_id}/locations/{location}`.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Page size.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Page size.
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Page token returned from previous request. Page token contains context from
+ * previous request. Page token needs to be passed in the second and following
+ * requests.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ *
+ * Generated from protobuf field string filter = 4;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * A custom filter for filtering by properties of a workload. At this time,
+ * only filtering by labels is supported.
+ *
+ * Generated from protobuf field string filter = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/ListWorkloadsResponse.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/ListWorkloadsResponse.php
new file mode 100644
index 000000000000..41c3865caecf
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/ListWorkloadsResponse.php
@@ -0,0 +1,101 @@
+google.cloud.assuredworkloads.v1beta1.ListWorkloadsResponse
+ */
+class ListWorkloadsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of Workloads under a given parent.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
+ */
+ private $workloads;
+ /**
+ * The next page token. Return empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload>|\Google\Protobuf\Internal\RepeatedField $workloads
+ * List of Workloads under a given parent.
+ * @type string $next_page_token
+ * The next page token. Return empty if reached the last page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of Workloads under a given parent.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getWorkloads()
+ {
+ return $this->workloads;
+ }
+
+ /**
+ * List of Workloads under a given parent.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload workloads = 1;
+ * @param array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setWorkloads($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1beta1\Workload::class);
+ $this->workloads = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The next page token. Return empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * The next page token. Return empty if reached the last page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesRequest.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesRequest.php
new file mode 100644
index 000000000000..4c34526ed7ef
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesRequest.php
@@ -0,0 +1,117 @@
+google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest
+ */
+class RestrictAllowedResourcesRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $restriction_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ * @type int $restriction_type
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the Workload. This is the workloads's
+ * relative path in the API, formatted as
+ * "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}".
+ * For example,
+ * "organizations/123/locations/us-east1/workloads/assured-workload-1".
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getRestrictionType()
+ {
+ return $this->restriction_type;
+ }
+
+ /**
+ * Required. The type of restriction for using gcp products in the Workload environment.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest.RestrictionType restriction_type = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setRestrictionType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\RestrictAllowedResourcesRequest\RestrictionType::class);
+ $this->restriction_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesRequest/RestrictionType.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesRequest/RestrictionType.php
new file mode 100644
index 000000000000..b6587e19dd4d
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesRequest/RestrictionType.php
@@ -0,0 +1,68 @@
+google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesRequest.RestrictionType
+ */
+class RestrictionType
+{
+ /**
+ * Unknown restriction type.
+ *
+ * Generated from protobuf enum RESTRICTION_TYPE_UNSPECIFIED = 0;
+ */
+ const RESTRICTION_TYPE_UNSPECIFIED = 0;
+ /**
+ * Allow the use all of all gcp products, irrespective of the compliance
+ * posture. This effectively removes gcp.restrictServiceUsage OrgPolicy
+ * on the AssuredWorkloads Folder.
+ *
+ * Generated from protobuf enum ALLOW_ALL_GCP_RESOURCES = 1;
+ */
+ const ALLOW_ALL_GCP_RESOURCES = 1;
+ /**
+ * Based on Workload's compliance regime, allowed list changes.
+ * See - https://cloud.google.com/assured-workloads/docs/supported-products
+ * for the list of supported resources.
+ *
+ * Generated from protobuf enum ALLOW_COMPLIANT_RESOURCES = 2;
+ */
+ const ALLOW_COMPLIANT_RESOURCES = 2;
+
+ private static $valueToName = [
+ self::RESTRICTION_TYPE_UNSPECIFIED => 'RESTRICTION_TYPE_UNSPECIFIED',
+ self::ALLOW_ALL_GCP_RESOURCES => 'ALLOW_ALL_GCP_RESOURCES',
+ self::ALLOW_COMPLIANT_RESOURCES => 'ALLOW_COMPLIANT_RESOURCES',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(RestrictionType::class, \Google\Cloud\AssuredWorkloads\V1beta1\RestrictAllowedResourcesRequest_RestrictionType::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesResponse.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesResponse.php
new file mode 100644
index 000000000000..206494d5f65d
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/RestrictAllowedResourcesResponse.php
@@ -0,0 +1,33 @@
+google.cloud.assuredworkloads.v1beta1.RestrictAllowedResourcesResponse
+ */
+class RestrictAllowedResourcesResponse extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/UpdateWorkloadRequest.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/UpdateWorkloadRequest.php
new file mode 100644
index 000000000000..d2102c333654
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/UpdateWorkloadRequest.php
@@ -0,0 +1,151 @@
+google.cloud.assuredworkloads.v1beta1.UpdateWorkloadRequest
+ */
+class UpdateWorkloadRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload workload = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $workload = null;
+ /**
+ * Required. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $update_mask = null;
+
+ /**
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload $workload Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * @param \Google\Protobuf\FieldMask $updateMask Required. The list of fields to be updated.
+ *
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\UpdateWorkloadRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\AssuredWorkloads\V1beta1\Workload $workload, \Google\Protobuf\FieldMask $updateMask): self
+ {
+ return (new self())
+ ->setWorkload($workload)
+ ->setUpdateMask($updateMask);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload $workload
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. The list of fields to be updated.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload workload = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload|null
+ */
+ public function getWorkload()
+ {
+ return $this->workload;
+ }
+
+ public function hasWorkload()
+ {
+ return isset($this->workload);
+ }
+
+ public function clearWorkload()
+ {
+ unset($this->workload);
+ }
+
+ /**
+ * Required. The workload to update.
+ * The workload's `name` field is used to identify the workload to be updated.
+ * Format:
+ * organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload workload = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload $var
+ * @return $this
+ */
+ public function setWorkload($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload::class);
+ $this->workload = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. The list of fields to be updated.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload.php
new file mode 100644
index 000000000000..e71607673b5a
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload.php
@@ -0,0 +1,882 @@
+google.cloud.assuredworkloads.v1beta1.Workload
+ */
+class Workload extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The resource name of the workload.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}
+ * Read-only.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $name = '';
+ /**
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $display_name = '';
+ /**
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $resources;
+ /**
+ * Required. Immutable. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $compliance_regime = 0;
+ /**
+ * Output only. Immutable. The Workload creation timestamp.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ *
+ * Generated from protobuf field string billing_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $billing_account = '';
+ /**
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = '';
+ /**
+ * Optional. Labels applied to the workload.
+ *
+ * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ *
+ * Generated from protobuf field string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ protected $provisioned_resources_parent = '';
+ /**
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
+ * @deprecated
+ */
+ protected $kms_settings = null;
+ /**
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ private $resource_settings;
+ /**
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $kaj_enrollment_state = 0;
+ /**
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ *
+ * Generated from protobuf field bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_sovereign_controls = false;
+ /**
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $saa_enrollment_response = null;
+ /**
+ * Output only. Urls for services which are compliant for this Assured Workload, but which
+ * are currently disallowed by the ResourceUsageRestriction org policy.
+ * Invoke RestrictAllowedResources endpoint to allow your project developers
+ * to use these services in their environment."
+ *
+ * Generated from protobuf field repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $compliant_but_disallowed_services;
+ protected $compliance_regime_settings;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Optional. The resource name of the workload.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}
+ * Read-only.
+ * @type string $display_name
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ * @type array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo>|\Google\Protobuf\Internal\RepeatedField $resources
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ * @type int $compliance_regime
+ * Required. Immutable. Compliance Regime associated with this workload.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Immutable. The Workload creation timestamp.
+ * @type string $billing_account
+ * Output only. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings $il4_settings
+ * Input only. Immutable. Settings specific to resources needed for IL4.
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings $cjis_settings
+ * Input only. Immutable. Settings specific to resources needed for CJIS.
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings $fedramp_high_settings
+ * Input only. Immutable. Settings specific to resources needed for FedRAMP High.
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings $fedramp_moderate_settings
+ * Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
+ * @type string $etag
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Labels applied to the workload.
+ * @type string $provisioned_resources_parent
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $kms_settings
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ * @type array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $resource_settings
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ * @type int $kaj_enrollment_state
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ * @type bool $enable_sovereign_controls
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse $saa_enrollment_response
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ * @type arraystring name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Optional. The resource name of the workload.
+ * Format:
+ * organizations/{organization}/locations/{location}/workloads/{workload}
+ * Read-only.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Required. The user-assigned display name of the Workload.
+ * When present it must be between 4 to 30 characters.
+ * Allowed characters are: lowercase and uppercase letters, numbers,
+ * hyphen, and spaces.
+ * Example: My Workload
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResources()
+ {
+ return $this->resources;
+ }
+
+ /**
+ * Output only. The resources associated with this workload.
+ * These resources will be created when creating the workload.
+ * If any of the projects already exist, the workload creation will fail.
+ * Always read only.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo resources = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo::class);
+ $this->resources = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Required. Immutable. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ * @return int
+ */
+ public function getComplianceRegime()
+ {
+ return $this->compliance_regime;
+ }
+
+ /**
+ * Required. Immutable. Compliance Regime associated with this workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime compliance_regime = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ * @param int $var
+ * @return $this
+ */
+ public function setComplianceRegime($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ComplianceRegime::class);
+ $this->compliance_regime = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Immutable. The Workload creation timestamp.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Immutable. The Workload creation timestamp.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ *
+ * Generated from protobuf field string billing_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getBillingAccount()
+ {
+ return $this->billing_account;
+ }
+
+ /**
+ * Output only. The billing account used for the resources which are
+ * direct children of workload. This billing account is initially associated
+ * with the resources created as part of Workload creation.
+ * After the initial creation of these resources, the customer can change
+ * the assigned billing account.
+ * The resource name has the form
+ * `billingAccounts/{billing_account_id}`. For example,
+ * `billingAccounts/012345-567890-ABCDEF`.
+ *
+ * Generated from protobuf field string billing_account = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setBillingAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->billing_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for IL4.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings|null
+ * @deprecated
+ */
+ public function getIl4Settings()
+ {
+ @trigger_error('il4_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->readOneof(7);
+ }
+
+ public function hasIl4Settings()
+ {
+ @trigger_error('il4_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for IL4.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings il4_settings = 7 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings $var
+ * @return $this
+ * @deprecated
+ */
+ public function setIl4Settings($var)
+ {
+ @trigger_error('il4_settings is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\IL4Settings::class);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for CJIS.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings|null
+ * @deprecated
+ */
+ public function getCjisSettings()
+ {
+ @trigger_error('cjis_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->readOneof(8);
+ }
+
+ public function hasCjisSettings()
+ {
+ @trigger_error('cjis_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->hasOneof(8);
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for CJIS.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.CJISSettings cjis_settings = 8 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings $var
+ * @return $this
+ * @deprecated
+ */
+ public function setCjisSettings($var)
+ {
+ @trigger_error('cjis_settings is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\CJISSettings::class);
+ $this->writeOneof(8, $var);
+
+ return $this;
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for FedRAMP High.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings|null
+ * @deprecated
+ */
+ public function getFedrampHighSettings()
+ {
+ @trigger_error('fedramp_high_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->readOneof(11);
+ }
+
+ public function hasFedrampHighSettings()
+ {
+ @trigger_error('fedramp_high_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->hasOneof(11);
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for FedRAMP High.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings fedramp_high_settings = 11 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings $var
+ * @return $this
+ * @deprecated
+ */
+ public function setFedrampHighSettings($var)
+ {
+ @trigger_error('fedramp_high_settings is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampHighSettings::class);
+ $this->writeOneof(11, $var);
+
+ return $this;
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings|null
+ * @deprecated
+ */
+ public function getFedrampModerateSettings()
+ {
+ @trigger_error('fedramp_moderate_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->readOneof(12);
+ }
+
+ public function hasFedrampModerateSettings()
+ {
+ @trigger_error('fedramp_moderate_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->hasOneof(12);
+ }
+
+ /**
+ * Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings fedramp_moderate_settings = 12 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings $var
+ * @return $this
+ * @deprecated
+ */
+ public function setFedrampModerateSettings($var)
+ {
+ @trigger_error('fedramp_moderate_settings is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\FedrampModerateSettings::class);
+ $this->writeOneof(12, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Optional. ETag of the workload, it is calculated on the basis
+ * of the Workload contents. It will be used in Update & Delete operations.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Labels applied to the workload.
+ *
+ * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Labels applied to the workload.
+ *
+ * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ *
+ * Generated from protobuf field string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return string
+ */
+ public function getProvisionedResourcesParent()
+ {
+ return $this->provisioned_resources_parent;
+ }
+
+ /**
+ * Input only. The parent resource for the resources managed by this Assured Workload. May
+ * be either empty or a folder resource which is a child of the
+ * Workload parent. If not specified all resources are created under the
+ * parent organization.
+ * Format:
+ * folders/{folder_id}
+ *
+ * Generated from protobuf field string provisioned_resources_parent = 13 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setProvisionedResourcesParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->provisioned_resources_parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings|null
+ * @deprecated
+ */
+ public function getKmsSettings()
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ return $this->kms_settings;
+ }
+
+ public function hasKmsSettings()
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ return isset($this->kms_settings);
+ }
+
+ public function clearKmsSettings()
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ unset($this->kms_settings);
+ }
+
+ /**
+ * Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS
+ * CMEK key is provisioned.
+ * This field is deprecated as of Feb 28, 2022.
+ * In order to create a Keyring, callers should specify,
+ * ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 14 [deprecated = true, (.google.api.field_behavior) = INPUT_ONLY];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $var
+ * @return $this
+ * @deprecated
+ */
+ public function setKmsSettings($var)
+ {
+ @trigger_error('kms_settings is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings::class);
+ $this->kms_settings = $var;
+
+ return $this;
+ }
+
+ /**
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourceSettings()
+ {
+ return $this->resource_settings;
+ }
+
+ /**
+ * Input only. Resource properties that are used to customize workload resources.
+ * These properties (such as custom project id) will be used to create
+ * workload resources if possible. This field is optional.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setResourceSettings($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings::class);
+ $this->resource_settings = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getKajEnrollmentState()
+ {
+ return $this->kaj_enrollment_state;
+ }
+
+ /**
+ * Output only. Represents the KAJ enrollment state of the given workload.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setKajEnrollmentState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KajEnrollmentState::class);
+ $this->kaj_enrollment_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ *
+ * Generated from protobuf field bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableSovereignControls()
+ {
+ return $this->enable_sovereign_controls;
+ }
+
+ /**
+ * Optional. Indicates the sovereignty status of the given workload.
+ * Currently meant to be used by Europe/Canada customers.
+ *
+ * Generated from protobuf field bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableSovereignControls($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_sovereign_controls = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse|null
+ */
+ public function getSaaEnrollmentResponse()
+ {
+ return $this->saa_enrollment_response;
+ }
+
+ public function hasSaaEnrollmentResponse()
+ {
+ return isset($this->saa_enrollment_response);
+ }
+
+ public function clearSaaEnrollmentResponse()
+ {
+ unset($this->saa_enrollment_response);
+ }
+
+ /**
+ * Output only. Represents the SAA enrollment response of the given workload.
+ * SAA enrollment response is queried during GetWorkload call.
+ * In failure cases, user friendly error message is shown in SAA details page.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse $var
+ * @return $this
+ */
+ public function setSaaEnrollmentResponse($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse::class);
+ $this->saa_enrollment_response = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Urls for services which are compliant for this Assured Workload, but which
+ * are currently disallowed by the ResourceUsageRestriction org policy.
+ * Invoke RestrictAllowedResources endpoint to allow your project developers
+ * to use these services in their environment."
+ *
+ * Generated from protobuf field repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getCompliantButDisallowedServices()
+ {
+ return $this->compliant_but_disallowed_services;
+ }
+
+ /**
+ * Output only. Urls for services which are compliant for this Assured Workload, but which
+ * are currently disallowed by the ResourceUsageRestriction org policy.
+ * Invoke RestrictAllowedResources endpoint to allow your project developers
+ * to use these services in their environment."
+ *
+ * Generated from protobuf field repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array.google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $kms_settings = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $kms_settings
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings|null
+ */
+ public function getKmsSettings()
+ {
+ return $this->kms_settings;
+ }
+
+ public function hasKmsSettings()
+ {
+ return isset($this->kms_settings);
+ }
+
+ public function clearKmsSettings()
+ {
+ unset($this->kms_settings);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $var
+ * @return $this
+ */
+ public function setKmsSettings($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings::class);
+ $this->kms_settings = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(CJISSettings::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_CJISSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ComplianceRegime.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ComplianceRegime.php
new file mode 100644
index 000000000000..2a313655a862
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ComplianceRegime.php
@@ -0,0 +1,127 @@
+google.cloud.assuredworkloads.v1beta1.Workload.ComplianceRegime
+ */
+class ComplianceRegime
+{
+ /**
+ * Unknown compliance regime.
+ *
+ * Generated from protobuf enum COMPLIANCE_REGIME_UNSPECIFIED = 0;
+ */
+ const COMPLIANCE_REGIME_UNSPECIFIED = 0;
+ /**
+ * Information protection as per DoD IL4 requirements.
+ *
+ * Generated from protobuf enum IL4 = 1;
+ */
+ const IL4 = 1;
+ /**
+ * Criminal Justice Information Services (CJIS) Security policies.
+ *
+ * Generated from protobuf enum CJIS = 2;
+ */
+ const CJIS = 2;
+ /**
+ * FedRAMP High data protection controls
+ *
+ * Generated from protobuf enum FEDRAMP_HIGH = 3;
+ */
+ const FEDRAMP_HIGH = 3;
+ /**
+ * FedRAMP Moderate data protection controls
+ *
+ * Generated from protobuf enum FEDRAMP_MODERATE = 4;
+ */
+ const FEDRAMP_MODERATE = 4;
+ /**
+ * Assured Workloads For US Regions data protection controls
+ *
+ * Generated from protobuf enum US_REGIONAL_ACCESS = 5;
+ */
+ const US_REGIONAL_ACCESS = 5;
+ /**
+ * Health Insurance Portability and Accountability Act controls
+ *
+ * Generated from protobuf enum HIPAA = 6;
+ */
+ const HIPAA = 6;
+ /**
+ * Health Information Trust Alliance controls
+ *
+ * Generated from protobuf enum HITRUST = 7;
+ */
+ const HITRUST = 7;
+ /**
+ * Assured Workloads For EU Regions and Support controls
+ *
+ * Generated from protobuf enum EU_REGIONS_AND_SUPPORT = 8;
+ */
+ const EU_REGIONS_AND_SUPPORT = 8;
+ /**
+ * Assured Workloads For Canada Regions and Support controls
+ *
+ * Generated from protobuf enum CA_REGIONS_AND_SUPPORT = 9;
+ */
+ const CA_REGIONS_AND_SUPPORT = 9;
+ /**
+ * International Traffic in Arms Regulations
+ *
+ * Generated from protobuf enum ITAR = 10;
+ */
+ const ITAR = 10;
+ /**
+ * Assured Workloads for Australia Regions and Support controls
+ *
+ * Generated from protobuf enum AU_REGIONS_AND_US_SUPPORT = 11;
+ */
+ const AU_REGIONS_AND_US_SUPPORT = 11;
+
+ private static $valueToName = [
+ self::COMPLIANCE_REGIME_UNSPECIFIED => 'COMPLIANCE_REGIME_UNSPECIFIED',
+ self::IL4 => 'IL4',
+ self::CJIS => 'CJIS',
+ self::FEDRAMP_HIGH => 'FEDRAMP_HIGH',
+ self::FEDRAMP_MODERATE => 'FEDRAMP_MODERATE',
+ self::US_REGIONAL_ACCESS => 'US_REGIONAL_ACCESS',
+ self::HIPAA => 'HIPAA',
+ self::HITRUST => 'HITRUST',
+ self::EU_REGIONS_AND_SUPPORT => 'EU_REGIONS_AND_SUPPORT',
+ self::CA_REGIONS_AND_SUPPORT => 'CA_REGIONS_AND_SUPPORT',
+ self::ITAR => 'ITAR',
+ self::AU_REGIONS_AND_US_SUPPORT => 'AU_REGIONS_AND_US_SUPPORT',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ComplianceRegime::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_ComplianceRegime::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/FedrampHighSettings.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/FedrampHighSettings.php
new file mode 100644
index 000000000000..bbc6ff8eccca
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/FedrampHighSettings.php
@@ -0,0 +1,81 @@
+google.cloud.assuredworkloads.v1beta1.Workload.FedrampHighSettings
+ */
+class FedrampHighSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $kms_settings = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $kms_settings
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings|null
+ */
+ public function getKmsSettings()
+ {
+ return $this->kms_settings;
+ }
+
+ public function hasKmsSettings()
+ {
+ return isset($this->kms_settings);
+ }
+
+ public function clearKmsSettings()
+ {
+ unset($this->kms_settings);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $var
+ * @return $this
+ */
+ public function setKmsSettings($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings::class);
+ $this->kms_settings = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(FedrampHighSettings::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_FedrampHighSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/FedrampModerateSettings.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/FedrampModerateSettings.php
new file mode 100644
index 000000000000..11083bfa95ae
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/FedrampModerateSettings.php
@@ -0,0 +1,81 @@
+google.cloud.assuredworkloads.v1beta1.Workload.FedrampModerateSettings
+ */
+class FedrampModerateSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $kms_settings = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $kms_settings
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings|null
+ */
+ public function getKmsSettings()
+ {
+ return $this->kms_settings;
+ }
+
+ public function hasKmsSettings()
+ {
+ return isset($this->kms_settings);
+ }
+
+ public function clearKmsSettings()
+ {
+ unset($this->kms_settings);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $var
+ * @return $this
+ */
+ public function setKmsSettings($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings::class);
+ $this->kms_settings = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(FedrampModerateSettings::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_FedrampModerateSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/IL4Settings.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/IL4Settings.php
new file mode 100644
index 000000000000..83a0e87805c8
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/IL4Settings.php
@@ -0,0 +1,81 @@
+google.cloud.assuredworkloads.v1beta1.Workload.IL4Settings
+ */
+class IL4Settings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $kms_settings = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $kms_settings
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings|null
+ */
+ public function getKmsSettings()
+ {
+ return $this->kms_settings;
+ }
+
+ public function hasKmsSettings()
+ {
+ return isset($this->kms_settings);
+ }
+
+ public function clearKmsSettings()
+ {
+ unset($this->kms_settings);
+ }
+
+ /**
+ * Input only. Immutable. Settings used to create a CMEK crypto key.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings kms_settings = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings $var
+ * @return $this
+ */
+ public function setKmsSettings($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KMSSettings::class);
+ $this->kms_settings = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(IL4Settings::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_IL4Settings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/KMSSettings.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/KMSSettings.php
new file mode 100644
index 000000000000..3c10c5c601b4
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/KMSSettings.php
@@ -0,0 +1,137 @@
+google.cloud.assuredworkloads.v1beta1.Workload.KMSSettings
+ */
+class KMSSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $next_rotation_time = null;
+ /**
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ *
+ * Generated from protobuf field .google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $rotation_period = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $next_rotation_time
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ * @type \Google\Protobuf\Duration $rotation_period
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getNextRotationTime()
+ {
+ return $this->next_rotation_time;
+ }
+
+ public function hasNextRotationTime()
+ {
+ return isset($this->next_rotation_time);
+ }
+
+ public function clearNextRotationTime()
+ {
+ unset($this->next_rotation_time);
+ }
+
+ /**
+ * Required. Input only. Immutable. The time at which the Key Management Service will automatically create a
+ * new version of the crypto key and mark it as the primary.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp next_rotation_time = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setNextRotationTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->next_rotation_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ *
+ * Generated from protobuf field .google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getRotationPeriod()
+ {
+ return $this->rotation_period;
+ }
+
+ public function hasRotationPeriod()
+ {
+ return isset($this->rotation_period);
+ }
+
+ public function clearRotationPeriod()
+ {
+ unset($this->rotation_period);
+ }
+
+ /**
+ * Required. Input only. Immutable. [next_rotation_time] will be advanced by this period when the Key
+ * Management Service automatically rotates a key. Must be at least 24 hours
+ * and at most 876,000 hours.
+ *
+ * Generated from protobuf field .google.protobuf.Duration rotation_period = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setRotationPeriod($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->rotation_period = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(KMSSettings::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_KMSSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/KajEnrollmentState.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/KajEnrollmentState.php
new file mode 100644
index 000000000000..393673186a18
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/KajEnrollmentState.php
@@ -0,0 +1,64 @@
+google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState
+ */
+class KajEnrollmentState
+{
+ /**
+ * Default State for KAJ Enrollment.
+ *
+ * Generated from protobuf enum KAJ_ENROLLMENT_STATE_UNSPECIFIED = 0;
+ */
+ const KAJ_ENROLLMENT_STATE_UNSPECIFIED = 0;
+ /**
+ * Pending State for KAJ Enrollment.
+ *
+ * Generated from protobuf enum KAJ_ENROLLMENT_STATE_PENDING = 1;
+ */
+ const KAJ_ENROLLMENT_STATE_PENDING = 1;
+ /**
+ * Complete State for KAJ Enrollment.
+ *
+ * Generated from protobuf enum KAJ_ENROLLMENT_STATE_COMPLETE = 2;
+ */
+ const KAJ_ENROLLMENT_STATE_COMPLETE = 2;
+
+ private static $valueToName = [
+ self::KAJ_ENROLLMENT_STATE_UNSPECIFIED => 'KAJ_ENROLLMENT_STATE_UNSPECIFIED',
+ self::KAJ_ENROLLMENT_STATE_PENDING => 'KAJ_ENROLLMENT_STATE_PENDING',
+ self::KAJ_ENROLLMENT_STATE_COMPLETE => 'KAJ_ENROLLMENT_STATE_COMPLETE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(KajEnrollmentState::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_KajEnrollmentState::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceInfo.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceInfo.php
new file mode 100644
index 000000000000..50fc16731dbc
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceInfo.php
@@ -0,0 +1,108 @@
+google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo
+ */
+class ResourceInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Resource identifier.
+ * For a project this represents project_number.
+ *
+ * Generated from protobuf field int64 resource_id = 1;
+ */
+ protected $resource_id = 0;
+ /**
+ * Indicates the type of resource.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ */
+ protected $resource_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $resource_id
+ * Resource identifier.
+ * For a project this represents project_number.
+ * @type int $resource_type
+ * Indicates the type of resource.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_number.
+ *
+ * Generated from protobuf field int64 resource_id = 1;
+ * @return int|string
+ */
+ public function getResourceId()
+ {
+ return $this->resource_id;
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_number.
+ *
+ * Generated from protobuf field int64 resource_id = 1;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setResourceId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->resource_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates the type of resource.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @return int
+ */
+ public function getResourceType()
+ {
+ return $this->resource_type;
+ }
+
+ /**
+ * Indicates the type of resource.
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setResourceType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo\ResourceType::class);
+ $this->resource_type = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceInfo::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_ResourceInfo::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceInfo/ResourceType.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceInfo/ResourceType.php
new file mode 100644
index 000000000000..0e9955769014
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceInfo/ResourceType.php
@@ -0,0 +1,79 @@
+google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType
+ */
+class ResourceType
+{
+ /**
+ * Unknown resource type.
+ *
+ * Generated from protobuf enum RESOURCE_TYPE_UNSPECIFIED = 0;
+ */
+ const RESOURCE_TYPE_UNSPECIFIED = 0;
+ /**
+ * Deprecated. Existing workloads will continue to support this, but new
+ * CreateWorkloadRequests should not specify this as an input value.
+ *
+ * Generated from protobuf enum CONSUMER_PROJECT = 1 [deprecated = true];
+ */
+ const CONSUMER_PROJECT = 1;
+ /**
+ * Consumer Folder.
+ *
+ * Generated from protobuf enum CONSUMER_FOLDER = 4;
+ */
+ const CONSUMER_FOLDER = 4;
+ /**
+ * Consumer project containing encryption keys.
+ *
+ * Generated from protobuf enum ENCRYPTION_KEYS_PROJECT = 2;
+ */
+ const ENCRYPTION_KEYS_PROJECT = 2;
+ /**
+ * Keyring resource that hosts encryption keys.
+ *
+ * Generated from protobuf enum KEYRING = 3;
+ */
+ const KEYRING = 3;
+
+ private static $valueToName = [
+ self::RESOURCE_TYPE_UNSPECIFIED => 'RESOURCE_TYPE_UNSPECIFIED',
+ self::CONSUMER_PROJECT => 'CONSUMER_PROJECT',
+ self::CONSUMER_FOLDER => 'CONSUMER_FOLDER',
+ self::ENCRYPTION_KEYS_PROJECT => 'ENCRYPTION_KEYS_PROJECT',
+ self::KEYRING => 'KEYRING',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceType::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_ResourceInfo_ResourceType::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceSettings.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceSettings.php
new file mode 100644
index 000000000000..6cf59ec7c72f
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/ResourceSettings.php
@@ -0,0 +1,170 @@
+google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings
+ */
+class ResourceSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ *
+ * Generated from protobuf field string resource_id = 1;
+ */
+ protected $resource_id = '';
+ /**
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right project type (CONSUMER_PROJECT or
+ * ENCRYPTION_KEYS_PROJECT)
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ */
+ protected $resource_type = 0;
+ /**
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ *
+ * Generated from protobuf field string display_name = 3;
+ */
+ protected $display_name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $resource_id
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ * @type int $resource_type
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right project type (CONSUMER_PROJECT or
+ * ENCRYPTION_KEYS_PROJECT)
+ * @type string $display_name
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Assuredworkloads\V1Beta1\Assuredworkloads::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ *
+ * Generated from protobuf field string resource_id = 1;
+ * @return string
+ */
+ public function getResourceId()
+ {
+ return $this->resource_id;
+ }
+
+ /**
+ * Resource identifier.
+ * For a project this represents project_id. If the project is already
+ * taken, the workload creation will fail.
+ * For KeyRing, this represents the keyring_id.
+ * For a folder, don't set this value as folder_id is assigned by Google.
+ *
+ * Generated from protobuf field string resource_id = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setResourceId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right project type (CONSUMER_PROJECT or
+ * ENCRYPTION_KEYS_PROJECT)
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @return int
+ */
+ public function getResourceType()
+ {
+ return $this->resource_type;
+ }
+
+ /**
+ * Indicates the type of resource. This field should be specified to
+ * correspond the id to the right project type (CONSUMER_PROJECT or
+ * ENCRYPTION_KEYS_PROJECT)
+ *
+ * Generated from protobuf field .google.cloud.assuredworkloads.v1beta1.Workload.ResourceInfo.ResourceType resource_type = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setResourceType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceInfo\ResourceType::class);
+ $this->resource_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ *
+ * Generated from protobuf field string display_name = 3;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * User-assigned resource display name.
+ * If not empty it will be used to create a resource with the specified
+ * name.
+ *
+ * Generated from protobuf field string display_name = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ResourceSettings::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_ResourceSettings::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/SaaEnrollmentResponse.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/SaaEnrollmentResponse.php
new file mode 100644
index 000000000000..a18d70e9ae5c
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/SaaEnrollmentResponse.php
@@ -0,0 +1,114 @@
+google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse
+ */
+class SaaEnrollmentResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Indicates SAA enrollment status of a given workload.
+ *
+ * Generated from protobuf field optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
+ */
+ protected $setup_status = null;
+ /**
+ * Indicates SAA enrollment setup error if any.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
+ */
+ private $setup_errors;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $setup_status
+ * Indicates SAA enrollment status of a given workload.
+ * @type arrayoptional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
+ * @return int
+ */
+ public function getSetupStatus()
+ {
+ return isset($this->setup_status) ? $this->setup_status : 0;
+ }
+
+ public function hasSetupStatus()
+ {
+ return isset($this->setup_status);
+ }
+
+ public function clearSetupStatus()
+ {
+ unset($this->setup_status);
+ }
+
+ /**
+ * Indicates SAA enrollment status of a given workload.
+ *
+ * Generated from protobuf field optional .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState setup_status = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setSetupStatus($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse\SetupState::class);
+ $this->setup_status = $var;
+
+ return $this;
+ }
+
+ /**
+ * Indicates SAA enrollment setup error if any.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSetupErrors()
+ {
+ return $this->setup_errors;
+ }
+
+ /**
+ * Indicates SAA enrollment setup error if any.
+ *
+ * Generated from protobuf field repeated .google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupError setup_errors = 2;
+ * @param arraySETUP_ERROR_UNSPECIFIED = 0;
+ */
+ const SETUP_ERROR_UNSPECIFIED = 0;
+ /**
+ * Invalid states for all customers, to be redirected to AA UI for
+ * additional details.
+ *
+ * Generated from protobuf enum ERROR_INVALID_BASE_SETUP = 1;
+ */
+ const ERROR_INVALID_BASE_SETUP = 1;
+ /**
+ * Returned when there is not an EKM key configured.
+ *
+ * Generated from protobuf enum ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2;
+ */
+ const ERROR_MISSING_EXTERNAL_SIGNING_KEY = 2;
+ /**
+ * Returned when there are no enrolled services or the customer is
+ * enrolled in CAA only for a subset of services.
+ *
+ * Generated from protobuf enum ERROR_NOT_ALL_SERVICES_ENROLLED = 3;
+ */
+ const ERROR_NOT_ALL_SERVICES_ENROLLED = 3;
+ /**
+ * Returned when exception was encountered during evaluation of other
+ * criteria.
+ *
+ * Generated from protobuf enum ERROR_SETUP_CHECK_FAILED = 4;
+ */
+ const ERROR_SETUP_CHECK_FAILED = 4;
+
+ private static $valueToName = [
+ self::SETUP_ERROR_UNSPECIFIED => 'SETUP_ERROR_UNSPECIFIED',
+ self::ERROR_INVALID_BASE_SETUP => 'ERROR_INVALID_BASE_SETUP',
+ self::ERROR_MISSING_EXTERNAL_SIGNING_KEY => 'ERROR_MISSING_EXTERNAL_SIGNING_KEY',
+ self::ERROR_NOT_ALL_SERVICES_ENROLLED => 'ERROR_NOT_ALL_SERVICES_ENROLLED',
+ self::ERROR_SETUP_CHECK_FAILED => 'ERROR_SETUP_CHECK_FAILED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(SetupError::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_SaaEnrollmentResponse_SetupError::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/SaaEnrollmentResponse/SetupState.php b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/SaaEnrollmentResponse/SetupState.php
new file mode 100644
index 000000000000..14bd01931eb5
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/proto/src/Google/Cloud/AssuredWorkloads/V1beta1/Workload/SaaEnrollmentResponse/SetupState.php
@@ -0,0 +1,64 @@
+google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse.SetupState
+ */
+class SetupState
+{
+ /**
+ * Unspecified.
+ *
+ * Generated from protobuf enum SETUP_STATE_UNSPECIFIED = 0;
+ */
+ const SETUP_STATE_UNSPECIFIED = 0;
+ /**
+ * SAA enrollment pending.
+ *
+ * Generated from protobuf enum STATUS_PENDING = 1;
+ */
+ const STATUS_PENDING = 1;
+ /**
+ * SAA enrollment comopleted.
+ *
+ * Generated from protobuf enum STATUS_COMPLETE = 2;
+ */
+ const STATUS_COMPLETE = 2;
+
+ private static $valueToName = [
+ self::SETUP_STATE_UNSPECIFIED => 'SETUP_STATE_UNSPECIFIED',
+ self::STATUS_PENDING => 'STATUS_PENDING',
+ self::STATUS_COMPLETE => 'STATUS_COMPLETE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(SetupState::class, \Google\Cloud\AssuredWorkloads\V1beta1\Workload_SaaEnrollmentResponse_SetupState::class);
+
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/analyze_workload_move.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/analyze_workload_move.php
new file mode 100644
index 000000000000..c0d32052155e
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/analyze_workload_move.php
@@ -0,0 +1,76 @@
+setTarget($target);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var AnalyzeWorkloadMoveResponse $response */
+ $response = $assuredWorkloadsServiceClient->analyzeWorkloadMove($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $target = '[TARGET]';
+
+ analyze_workload_move_sample($target);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_AnalyzeWorkloadMove_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/create_workload.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/create_workload.php
new file mode 100644
index 000000000000..0cf7a6358265
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/create_workload.php
@@ -0,0 +1,101 @@
+setDisplayName($workloadDisplayName)
+ ->setComplianceRegime($workloadComplianceRegime);
+ $request = (new CreateWorkloadRequest())
+ ->setParent($formattedParent)
+ ->setWorkload($workload);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $assuredWorkloadsServiceClient->createWorkload($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Workload $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssuredWorkloadsServiceClient::locationName('[ORGANIZATION]', '[LOCATION]');
+ $workloadDisplayName = '[DISPLAY_NAME]';
+ $workloadComplianceRegime = ComplianceRegime::COMPLIANCE_REGIME_UNSPECIFIED;
+
+ create_workload_sample($formattedParent, $workloadDisplayName, $workloadComplianceRegime);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/delete_workload.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/delete_workload.php
new file mode 100644
index 000000000000..a6e87ac47c90
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/delete_workload.php
@@ -0,0 +1,80 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ $assuredWorkloadsServiceClient->deleteWorkload($request);
+ printf('Call completed successfully.' . PHP_EOL);
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssuredWorkloadsServiceClient::workloadName(
+ '[ORGANIZATION]',
+ '[LOCATION]',
+ '[WORKLOAD]'
+ );
+
+ delete_workload_sample($formattedName);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/get_workload.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/get_workload.php
new file mode 100644
index 000000000000..8264dc04ae18
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/get_workload.php
@@ -0,0 +1,79 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Workload $response */
+ $response = $assuredWorkloadsServiceClient->getWorkload($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AssuredWorkloadsServiceClient::workloadName(
+ '[ORGANIZATION]',
+ '[LOCATION]',
+ '[WORKLOAD]'
+ );
+
+ get_workload_sample($formattedName);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_GetWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/list_workloads.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/list_workloads.php
new file mode 100644
index 000000000000..ab0f2400f6a2
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/list_workloads.php
@@ -0,0 +1,77 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $assuredWorkloadsServiceClient->listWorkloads($request);
+
+ /** @var Workload $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AssuredWorkloadsServiceClient::locationName('[ORGANIZATION]', '[LOCATION]');
+
+ list_workloads_sample($formattedParent);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_ListWorkloads_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/restrict_allowed_resources.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/restrict_allowed_resources.php
new file mode 100644
index 000000000000..781f82ef643d
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/restrict_allowed_resources.php
@@ -0,0 +1,83 @@
+setName($name)
+ ->setRestrictionType($restrictionType);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var RestrictAllowedResourcesResponse $response */
+ $response = $assuredWorkloadsServiceClient->restrictAllowedResources($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $name = '[NAME]';
+ $restrictionType = RestrictionType::RESTRICTION_TYPE_UNSPECIFIED;
+
+ restrict_allowed_resources_sample($name, $restrictionType);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_RestrictAllowedResources_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/update_workload.php b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/update_workload.php
new file mode 100644
index 000000000000..9e67b46c56ed
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/samples/V1beta1/AssuredWorkloadsServiceClient/update_workload.php
@@ -0,0 +1,87 @@
+setDisplayName($workloadDisplayName)
+ ->setComplianceRegime($workloadComplianceRegime);
+ $updateMask = new FieldMask();
+ $request = (new UpdateWorkloadRequest())
+ ->setWorkload($workload)
+ ->setUpdateMask($updateMask);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Workload $response */
+ $response = $assuredWorkloadsServiceClient->updateWorkload($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $workloadDisplayName = '[DISPLAY_NAME]';
+ $workloadComplianceRegime = ComplianceRegime::COMPLIANCE_REGIME_UNSPECIFIED;
+
+ update_workload_sample($workloadDisplayName, $workloadComplianceRegime);
+}
+// [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_UpdateWorkload_sync]
diff --git a/owl-bot-staging/AssuredWorkloads/v1beta1/src/V1beta1/Client/AssuredWorkloadsServiceClient.php b/owl-bot-staging/AssuredWorkloads/v1beta1/src/V1beta1/Client/AssuredWorkloadsServiceClient.php
new file mode 100644
index 000000000000..86acd45ffa11
--- /dev/null
+++ b/owl-bot-staging/AssuredWorkloads/v1beta1/src/V1beta1/Client/AssuredWorkloadsServiceClient.php
@@ -0,0 +1,534 @@
+ analyzeWorkloadMoveAsync(AnalyzeWorkloadMoveRequest $request, array $optionalArgs = [])
+ * @method PromiseInterfacestring annotation_spec_id = 1;
+ */
+ protected $annotation_spec_id = '';
+ /**
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * when the model was trained. Because this field returns a value at model
+ * training time, for different models trained using the same dataset, the
+ * returned value could be different as model owner could update the
+ * `display_name` between any two model training.
+ *
+ * Generated from protobuf field string display_name = 5;
+ */
+ protected $display_name = '';
+ protected $detail;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\TranslationAnnotation $translation
+ * Annotation details for translation.
+ * @type \Google\Cloud\AutoMl\V1\ClassificationAnnotation $classification
+ * Annotation details for content or image classification.
+ * @type \Google\Cloud\AutoMl\V1\ImageObjectDetectionAnnotation $image_object_detection
+ * Annotation details for image object detection.
+ * @type \Google\Cloud\AutoMl\V1\TextExtractionAnnotation $text_extraction
+ * Annotation details for text extraction.
+ * @type \Google\Cloud\AutoMl\V1\TextSentimentAnnotation $text_sentiment
+ * Annotation details for text sentiment.
+ * @type string $annotation_spec_id
+ * Output only . The resource ID of the annotation spec that
+ * this annotation pertains to. The annotation spec comes from either an
+ * ancestor dataset, or the dataset that was used to train the model in use.
+ * @type string $display_name
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * when the model was trained. Because this field returns a value at model
+ * training time, for different models trained using the same dataset, the
+ * returned value could be different as model owner could update the
+ * `display_name` between any two model training.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\AnnotationPayload::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Annotation details for translation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationAnnotation translation = 2;
+ * @return \Google\Cloud\AutoMl\V1\TranslationAnnotation|null
+ */
+ public function getTranslation()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasTranslation()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Annotation details for translation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationAnnotation translation = 2;
+ * @param \Google\Cloud\AutoMl\V1\TranslationAnnotation $var
+ * @return $this
+ */
+ public function setTranslation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TranslationAnnotation::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Annotation details for content or image classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationAnnotation classification = 3;
+ * @return \Google\Cloud\AutoMl\V1\ClassificationAnnotation|null
+ */
+ public function getClassification()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasClassification()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Annotation details for content or image classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationAnnotation classification = 3;
+ * @param \Google\Cloud\AutoMl\V1\ClassificationAnnotation $var
+ * @return $this
+ */
+ public function setClassification($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ClassificationAnnotation::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Annotation details for image object detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4;
+ * @return \Google\Cloud\AutoMl\V1\ImageObjectDetectionAnnotation|null
+ */
+ public function getImageObjectDetection()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasImageObjectDetection()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Annotation details for image object detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionAnnotation image_object_detection = 4;
+ * @param \Google\Cloud\AutoMl\V1\ImageObjectDetectionAnnotation $var
+ * @return $this
+ */
+ public function setImageObjectDetection($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageObjectDetectionAnnotation::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Annotation details for text extraction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6;
+ * @return \Google\Cloud\AutoMl\V1\TextExtractionAnnotation|null
+ */
+ public function getTextExtraction()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasTextExtraction()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * Annotation details for text extraction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionAnnotation text_extraction = 6;
+ * @param \Google\Cloud\AutoMl\V1\TextExtractionAnnotation $var
+ * @return $this
+ */
+ public function setTextExtraction($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextExtractionAnnotation::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * Annotation details for text sentiment.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7;
+ * @return \Google\Cloud\AutoMl\V1\TextSentimentAnnotation|null
+ */
+ public function getTextSentiment()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasTextSentiment()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * Annotation details for text sentiment.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentAnnotation text_sentiment = 7;
+ * @param \Google\Cloud\AutoMl\V1\TextSentimentAnnotation $var
+ * @return $this
+ */
+ public function setTextSentiment($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSentimentAnnotation::class);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only . The resource ID of the annotation spec that
+ * this annotation pertains to. The annotation spec comes from either an
+ * ancestor dataset, or the dataset that was used to train the model in use.
+ *
+ * Generated from protobuf field string annotation_spec_id = 1;
+ * @return string
+ */
+ public function getAnnotationSpecId()
+ {
+ return $this->annotation_spec_id;
+ }
+
+ /**
+ * Output only . The resource ID of the annotation spec that
+ * this annotation pertains to. The annotation spec comes from either an
+ * ancestor dataset, or the dataset that was used to train the model in use.
+ *
+ * Generated from protobuf field string annotation_spec_id = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setAnnotationSpecId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->annotation_spec_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * when the model was trained. Because this field returns a value at model
+ * training time, for different models trained using the same dataset, the
+ * returned value could be different as model owner could update the
+ * `display_name` between any two model training.
+ *
+ * Generated from protobuf field string display_name = 5;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * when the model was trained. Because this field returns a value at model
+ * training time, for different models trained using the same dataset, the
+ * returned value could be different as model owner could update the
+ * `display_name` between any two model training.
+ *
+ * Generated from protobuf field string display_name = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDetail()
+ {
+ return $this->whichOneof("detail");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/AnnotationSpec.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/AnnotationSpec.php
new file mode 100644
index 000000000000..3bfaaba11c7b
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/AnnotationSpec.php
@@ -0,0 +1,151 @@
+google.cloud.automl.v1.AnnotationSpec
+ */
+class AnnotationSpec extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Resource name of the annotation spec.
+ * Form:
+ * 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Required. The name of the annotation spec to show in the interface. The name can be
+ * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
+ *
+ * Generated from protobuf field string display_name = 2;
+ */
+ protected $display_name = '';
+ /**
+ * Output only. The number of examples in the parent dataset
+ * labeled by the annotation spec.
+ *
+ * Generated from protobuf field int32 example_count = 9;
+ */
+ protected $example_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Resource name of the annotation spec.
+ * Form:
+ * 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
+ * @type string $display_name
+ * Required. The name of the annotation spec to show in the interface. The name can be
+ * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
+ * @type int $example_count
+ * Output only. The number of examples in the parent dataset
+ * labeled by the annotation spec.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\AnnotationSpec::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Resource name of the annotation spec.
+ * Form:
+ * 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Resource name of the annotation spec.
+ * Form:
+ * 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the annotation spec to show in the interface. The name can be
+ * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Required. The name of the annotation spec to show in the interface. The name can be
+ * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of examples in the parent dataset
+ * labeled by the annotation spec.
+ *
+ * Generated from protobuf field int32 example_count = 9;
+ * @return int
+ */
+ public function getExampleCount()
+ {
+ return $this->example_count;
+ }
+
+ /**
+ * Output only. The number of examples in the parent dataset
+ * labeled by the annotation spec.
+ *
+ * Generated from protobuf field int32 example_count = 9;
+ * @param int $var
+ * @return $this
+ */
+ public function setExampleCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->example_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictInputConfig.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictInputConfig.php
new file mode 100644
index 000000000000..a7c1163a47f4
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictInputConfig.php
@@ -0,0 +1,271 @@
+
+ * "First Name","Last Name","Dob","Addresses"
+ * "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
+ * "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
+ *
+ * **For bigquery_source:**
+ * The URI of a BigQuery table. The user data size of the BigQuery
+ * table must be 100GB or smaller.
+ * The column names must contain the model's
+ * [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs]
+ * [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name]
+ * (order doesn't matter). The columns corresponding to the model's
+ * input feature column specs must contain values compatible with the
+ * column spec's data types. Prediction on all the rows of the table
+ * will be attempted.
+ * **Input field definitions:**
+ * `GCS_FILE_PATH`
+ * : The path to a file on Google Cloud Storage. For example,
+ * "gs://folder/video.avi".
+ * `TIME_SEGMENT_START`
+ * : (`TIME_OFFSET`)
+ * Expresses a beginning, inclusive, of a time segment
+ * within an example that has a time dimension
+ * (e.g. video).
+ * `TIME_SEGMENT_END`
+ * : (`TIME_OFFSET`)
+ * Expresses an end, exclusive, of a time segment within
+ * n example that has a time dimension (e.g. video).
+ * `TIME_OFFSET`
+ * : A number of seconds as measured from the start of an
+ * example (e.g. video). Fractions are allowed, up to a
+ * microsecond precision. "inf" is allowed, and it means the end
+ * of the example.
+ * **Errors:**
+ * If any of the provided CSV files can't be parsed or if more than certain
+ * percent of CSV rows cannot be processed then the operation fails and
+ * prediction does not happen. Regardless of overall success or failure the
+ * per-row failures, up to a certain count cap, will be listed in
+ * Operation.metadata.partial_failures.
+ *
+ * Generated from protobuf message google.cloud.automl.v1.BatchPredictInputConfig
+ */
+class BatchPredictInputConfig extends \Google\Protobuf\Internal\Message
+{
+ protected $source;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\GcsSource $gcs_source
+ * Required. The Google Cloud Storage location for the input content.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Io::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Google Cloud Storage location for the input content.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\GcsSource|null
+ */
+ public function getGcsSource()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsSource()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Required. The Google Cloud Storage location for the input content.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\GcsSource $var
+ * @return $this
+ */
+ public function setGcsSource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\GcsSource::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSource()
+ {
+ return $this->whichOneof("source");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOperationMetadata.php
new file mode 100644
index 000000000000..e4da433620a5
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOperationMetadata.php
@@ -0,0 +1,125 @@
+google.cloud.automl.v1.BatchPredictOperationMetadata
+ */
+class BatchPredictOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The input config that was given upon starting this
+ * batch predict operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictInputConfig input_config = 1;
+ */
+ protected $input_config = null;
+ /**
+ * Output only. Information further describing this batch predict's output.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOperationMetadata.BatchPredictOutputInfo output_info = 2;
+ */
+ protected $output_info = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\BatchPredictInputConfig $input_config
+ * Output only. The input config that was given upon starting this
+ * batch predict operation.
+ * @type \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata\BatchPredictOutputInfo $output_info
+ * Output only. Information further describing this batch predict's output.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The input config that was given upon starting this
+ * batch predict operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictInputConfig input_config = 1;
+ * @return \Google\Cloud\AutoMl\V1\BatchPredictInputConfig|null
+ */
+ public function getInputConfig()
+ {
+ return $this->input_config;
+ }
+
+ public function hasInputConfig()
+ {
+ return isset($this->input_config);
+ }
+
+ public function clearInputConfig()
+ {
+ unset($this->input_config);
+ }
+
+ /**
+ * Output only. The input config that was given upon starting this
+ * batch predict operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictInputConfig input_config = 1;
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictInputConfig $var
+ * @return $this
+ */
+ public function setInputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BatchPredictInputConfig::class);
+ $this->input_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Information further describing this batch predict's output.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOperationMetadata.BatchPredictOutputInfo output_info = 2;
+ * @return \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata\BatchPredictOutputInfo|null
+ */
+ public function getOutputInfo()
+ {
+ return $this->output_info;
+ }
+
+ public function hasOutputInfo()
+ {
+ return isset($this->output_info);
+ }
+
+ public function clearOutputInfo()
+ {
+ unset($this->output_info);
+ }
+
+ /**
+ * Output only. Information further describing this batch predict's output.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOperationMetadata.BatchPredictOutputInfo output_info = 2;
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata\BatchPredictOutputInfo $var
+ * @return $this
+ */
+ public function setOutputInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata\BatchPredictOutputInfo::class);
+ $this->output_info = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOperationMetadata/BatchPredictOutputInfo.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOperationMetadata/BatchPredictOutputInfo.php
new file mode 100644
index 000000000000..602511a659d7
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOperationMetadata/BatchPredictOutputInfo.php
@@ -0,0 +1,83 @@
+google.cloud.automl.v1.BatchPredictOperationMetadata.BatchPredictOutputInfo
+ */
+class BatchPredictOutputInfo extends \Google\Protobuf\Internal\Message
+{
+ protected $output_location;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $gcs_output_directory
+ * The full path of the Google Cloud Storage directory created, into which
+ * the prediction output is written.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the prediction output is written.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ * @return string
+ */
+ public function getGcsOutputDirectory()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsOutputDirectory()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the prediction output is written.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setGcsOutputDirectory($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getOutputLocation()
+ {
+ return $this->whichOneof("output_location");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(BatchPredictOutputInfo::class, \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata_BatchPredictOutputInfo::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOutputConfig.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOutputConfig.php
new file mode 100644
index 000000000000..90d16feeab7f
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictOutputConfig.php
@@ -0,0 +1,311 @@
+-google.cloud.automl.v1.BatchPredictOutputConfig
+ */
+class BatchPredictOutputConfig extends \Google\Protobuf\Internal\Message
+{
+ protected $destination;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\GcsDestination $gcs_destination
+ * Required. The Google Cloud Storage location of the directory where the
+ * output is to be written to.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Io::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The Google Cloud Storage location of the directory where the
+ * output is to be written to.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\GcsDestination|null
+ */
+ public function getGcsDestination()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsDestination()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Required. The Google Cloud Storage location of the directory where the
+ * output is to be written to.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\GcsDestination $var
+ * @return $this
+ */
+ public function setGcsDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\GcsDestination::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDestination()
+ {
+ return $this->whichOneof("destination");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictRequest.php
new file mode 100644
index 000000000000..581405bbbb17
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictRequest.php
@@ -0,0 +1,553 @@
+google.cloud.automl.v1.BatchPredictRequest
+ */
+class BatchPredictRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the model requested to serve the batch prediction.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Required. The input configuration for batch prediction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $input_config = null;
+ /**
+ * Required. The Configuration specifying where output predictions should
+ * be written.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $output_config = null;
+ /**
+ * Additional domain-specific parameters for the predictions, any string must
+ * be up to 25000 characters long.
+ * AutoML Natural Language Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * AutoML Video Intelligence Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a video, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * `segment_classification`
+ * : (boolean) Set to true to request
+ * segment-level classification. AutoML Video Intelligence returns
+ * labels and their confidence scores for the entire segment of the
+ * video that user specified in the request configuration.
+ * The default is true.
+ * `shot_classification`
+ * : (boolean) Set to true to request shot-level
+ * classification. AutoML Video Intelligence determines the boundaries
+ * for each camera shot in the entire segment of the video that user
+ * specified in the request configuration. AutoML Video Intelligence
+ * then returns labels and their confidence scores for each detected
+ * shot, along with the start and end time of the shot.
+ * The default is false.
+ * WARNING: Model evaluation is not done for this classification type,
+ * the quality of it depends on training data, but there are no metrics
+ * provided to describe that quality.
+ * `1s_interval_classification`
+ * : (boolean) Set to true to request
+ * classification for a video at one-second intervals. AutoML Video
+ * Intelligence returns labels and their confidence scores for each
+ * second of the entire segment of the video that user specified in the
+ * request configuration. The default is false.
+ * WARNING: Model evaluation is not done for this classification
+ * type, the quality of it depends on training data, but there are no
+ * metrics provided to describe that quality.
+ * AutoML Video Intelligence Object Tracking
+ * `score_threshold`
+ * : (float) When Model detects objects on video frames,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * `min_bounding_box_size`
+ * : (float) Only bounding boxes with shortest edge
+ * at least that long as a relative value of video frame size are
+ * returned. Value in 0 to 1 range. Default is 0.
+ *
+ * Generated from protobuf field map params = 5;
+ */
+ private $params;
+
+ /**
+ * @param string $name Required. Name of the model requested to serve the batch prediction. Please see
+ * {@see PredictionServiceClient::modelName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictInputConfig $inputConfig Required. The input configuration for batch prediction.
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictOutputConfig $outputConfig Required. The Configuration specifying where output predictions should
+ * be written.
+ * @param array $params Additional domain-specific parameters for the predictions, any string must
+ * be up to 25000 characters long.
+ *
+ * AutoML Natural Language Classification
+ *
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ *
+ *
+ * AutoML Vision Classification
+ *
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ *
+ * AutoML Vision Object Detection
+ *
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ *
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * AutoML Video Intelligence Classification
+ *
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a video, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ *
+ * `segment_classification`
+ * : (boolean) Set to true to request
+ * segment-level classification. AutoML Video Intelligence returns
+ * labels and their confidence scores for the entire segment of the
+ * video that user specified in the request configuration.
+ * The default is true.
+ *
+ * `shot_classification`
+ * : (boolean) Set to true to request shot-level
+ * classification. AutoML Video Intelligence determines the boundaries
+ * for each camera shot in the entire segment of the video that user
+ * specified in the request configuration. AutoML Video Intelligence
+ * then returns labels and their confidence scores for each detected
+ * shot, along with the start and end time of the shot.
+ * The default is false.
+ *
+ * WARNING: Model evaluation is not done for this classification type,
+ * the quality of it depends on training data, but there are no metrics
+ * provided to describe that quality.
+ *
+ * `1s_interval_classification`
+ * : (boolean) Set to true to request
+ * classification for a video at one-second intervals. AutoML Video
+ * Intelligence returns labels and their confidence scores for each
+ * second of the entire segment of the video that user specified in the
+ * request configuration. The default is false.
+ *
+ * WARNING: Model evaluation is not done for this classification
+ * type, the quality of it depends on training data, but there are no
+ * metrics provided to describe that quality.
+ *
+ * AutoML Video Intelligence Object Tracking
+ *
+ * `score_threshold`
+ * : (float) When Model detects objects on video frames,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ *
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ *
+ * `min_bounding_box_size`
+ * : (float) Only bounding boxes with shortest edge
+ * at least that long as a relative value of video frame size are
+ * returned. Value in 0 to 1 range. Default is 0.
+ *
+ *
+ * @return \Google\Cloud\AutoMl\V1\BatchPredictRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name, \Google\Cloud\AutoMl\V1\BatchPredictInputConfig $inputConfig, \Google\Cloud\AutoMl\V1\BatchPredictOutputConfig $outputConfig, array $params): self
+ {
+ return (new self())
+ ->setName($name)
+ ->setInputConfig($inputConfig)
+ ->setOutputConfig($outputConfig)
+ ->setParams($params);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the model requested to serve the batch prediction.
+ * @type \Google\Cloud\AutoMl\V1\BatchPredictInputConfig $input_config
+ * Required. The input configuration for batch prediction.
+ * @type \Google\Cloud\AutoMl\V1\BatchPredictOutputConfig $output_config
+ * Required. The Configuration specifying where output predictions should
+ * be written.
+ * @type array|\Google\Protobuf\Internal\MapField $params
+ * Additional domain-specific parameters for the predictions, any string must
+ * be up to 25000 characters long.
+ * AutoML Natural Language Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * AutoML Video Intelligence Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a video, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * `segment_classification`
+ * : (boolean) Set to true to request
+ * segment-level classification. AutoML Video Intelligence returns
+ * labels and their confidence scores for the entire segment of the
+ * video that user specified in the request configuration.
+ * The default is true.
+ * `shot_classification`
+ * : (boolean) Set to true to request shot-level
+ * classification. AutoML Video Intelligence determines the boundaries
+ * for each camera shot in the entire segment of the video that user
+ * specified in the request configuration. AutoML Video Intelligence
+ * then returns labels and their confidence scores for each detected
+ * shot, along with the start and end time of the shot.
+ * The default is false.
+ * WARNING: Model evaluation is not done for this classification type,
+ * the quality of it depends on training data, but there are no metrics
+ * provided to describe that quality.
+ * `1s_interval_classification`
+ * : (boolean) Set to true to request
+ * classification for a video at one-second intervals. AutoML Video
+ * Intelligence returns labels and their confidence scores for each
+ * second of the entire segment of the video that user specified in the
+ * request configuration. The default is false.
+ * WARNING: Model evaluation is not done for this classification
+ * type, the quality of it depends on training data, but there are no
+ * metrics provided to describe that quality.
+ * AutoML Video Intelligence Object Tracking
+ * `score_threshold`
+ * : (float) When Model detects objects on video frames,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * `min_bounding_box_size`
+ * : (float) Only bounding boxes with shortest edge
+ * at least that long as a relative value of video frame size are
+ * returned. Value in 0 to 1 range. Default is 0.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\PredictionService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the model requested to serve the batch prediction.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the model requested to serve the batch prediction.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The input configuration for batch prediction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\BatchPredictInputConfig|null
+ */
+ public function getInputConfig()
+ {
+ return $this->input_config;
+ }
+
+ public function hasInputConfig()
+ {
+ return isset($this->input_config);
+ }
+
+ public function clearInputConfig()
+ {
+ unset($this->input_config);
+ }
+
+ /**
+ * Required. The input configuration for batch prediction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictInputConfig $var
+ * @return $this
+ */
+ public function setInputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BatchPredictInputConfig::class);
+ $this->input_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The Configuration specifying where output predictions should
+ * be written.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\BatchPredictOutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Required. The Configuration specifying where output predictions should
+ * be written.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictOutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BatchPredictOutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * Additional domain-specific parameters for the predictions, any string must
+ * be up to 25000 characters long.
+ * AutoML Natural Language Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * AutoML Video Intelligence Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a video, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * `segment_classification`
+ * : (boolean) Set to true to request
+ * segment-level classification. AutoML Video Intelligence returns
+ * labels and their confidence scores for the entire segment of the
+ * video that user specified in the request configuration.
+ * The default is true.
+ * `shot_classification`
+ * : (boolean) Set to true to request shot-level
+ * classification. AutoML Video Intelligence determines the boundaries
+ * for each camera shot in the entire segment of the video that user
+ * specified in the request configuration. AutoML Video Intelligence
+ * then returns labels and their confidence scores for each detected
+ * shot, along with the start and end time of the shot.
+ * The default is false.
+ * WARNING: Model evaluation is not done for this classification type,
+ * the quality of it depends on training data, but there are no metrics
+ * provided to describe that quality.
+ * `1s_interval_classification`
+ * : (boolean) Set to true to request
+ * classification for a video at one-second intervals. AutoML Video
+ * Intelligence returns labels and their confidence scores for each
+ * second of the entire segment of the video that user specified in the
+ * request configuration. The default is false.
+ * WARNING: Model evaluation is not done for this classification
+ * type, the quality of it depends on training data, but there are no
+ * metrics provided to describe that quality.
+ * AutoML Video Intelligence Object Tracking
+ * `score_threshold`
+ * : (float) When Model detects objects on video frames,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * `min_bounding_box_size`
+ * : (float) Only bounding boxes with shortest edge
+ * at least that long as a relative value of video frame size are
+ * returned. Value in 0 to 1 range. Default is 0.
+ *
+ * Generated from protobuf field map params = 5;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ /**
+ * Additional domain-specific parameters for the predictions, any string must
+ * be up to 25000 characters long.
+ * AutoML Natural Language Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * AutoML Video Intelligence Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a video, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * `segment_classification`
+ * : (boolean) Set to true to request
+ * segment-level classification. AutoML Video Intelligence returns
+ * labels and their confidence scores for the entire segment of the
+ * video that user specified in the request configuration.
+ * The default is true.
+ * `shot_classification`
+ * : (boolean) Set to true to request shot-level
+ * classification. AutoML Video Intelligence determines the boundaries
+ * for each camera shot in the entire segment of the video that user
+ * specified in the request configuration. AutoML Video Intelligence
+ * then returns labels and their confidence scores for each detected
+ * shot, along with the start and end time of the shot.
+ * The default is false.
+ * WARNING: Model evaluation is not done for this classification type,
+ * the quality of it depends on training data, but there are no metrics
+ * provided to describe that quality.
+ * `1s_interval_classification`
+ * : (boolean) Set to true to request
+ * classification for a video at one-second intervals. AutoML Video
+ * Intelligence returns labels and their confidence scores for each
+ * second of the entire segment of the video that user specified in the
+ * request configuration. The default is false.
+ * WARNING: Model evaluation is not done for this classification
+ * type, the quality of it depends on training data, but there are no
+ * metrics provided to describe that quality.
+ * AutoML Video Intelligence Object Tracking
+ * `score_threshold`
+ * : (float) When Model detects objects on video frames,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned per image. The default is 100, the
+ * number of bounding boxes returned might be limited by the server.
+ * `min_bounding_box_size`
+ * : (float) Only bounding boxes with shortest edge
+ * at least that long as a relative value of video frame size are
+ * returned. Value in 0 to 1 range. Default is 0.
+ *
+ * Generated from protobuf field map params = 5;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setParams($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->params = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictResult.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictResult.php
new file mode 100644
index 000000000000..cba80eebfee9
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BatchPredictResult.php
@@ -0,0 +1,93 @@
+google.cloud.automl.v1.BatchPredictResult
+ */
+class BatchPredictResult extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per image.
+ * AutoML Video Intelligence Object Tracking
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per frame.
+ *
+ * Generated from protobuf field map metadata = 1;
+ */
+ private $metadata;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array|\Google\Protobuf\Internal\MapField $metadata
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per image.
+ * AutoML Video Intelligence Object Tracking
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per frame.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\PredictionService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per image.
+ * AutoML Video Intelligence Object Tracking
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per frame.
+ *
+ * Generated from protobuf field map metadata = 1;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ /**
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per image.
+ * AutoML Video Intelligence Object Tracking
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes returned per frame.
+ *
+ * Generated from protobuf field map metadata = 1;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setMetadata($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->metadata = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingBoxMetricsEntry.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingBoxMetricsEntry.php
new file mode 100644
index 000000000000..375e95b8e033
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingBoxMetricsEntry.php
@@ -0,0 +1,148 @@
+google.cloud.automl.v1.BoundingBoxMetricsEntry
+ */
+class BoundingBoxMetricsEntry extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The intersection-over-union threshold value used to compute
+ * this metrics entry.
+ *
+ * Generated from protobuf field float iou_threshold = 1;
+ */
+ protected $iou_threshold = 0.0;
+ /**
+ * Output only. The mean average precision, most often close to au_prc.
+ *
+ * Generated from protobuf field float mean_average_precision = 2;
+ */
+ protected $mean_average_precision = 0.0;
+ /**
+ * Output only. Metrics for each label-match confidence_threshold from
+ * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
+ * derived from them.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
+ */
+ private $confidence_metrics_entries;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $iou_threshold
+ * Output only. The intersection-over-union threshold value used to compute
+ * this metrics entry.
+ * @type float $mean_average_precision
+ * Output only. The mean average precision, most often close to au_prc.
+ * @type array<\Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry\ConfidenceMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $confidence_metrics_entries
+ * Output only. Metrics for each label-match confidence_threshold from
+ * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
+ * derived from them.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Detection::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The intersection-over-union threshold value used to compute
+ * this metrics entry.
+ *
+ * Generated from protobuf field float iou_threshold = 1;
+ * @return float
+ */
+ public function getIouThreshold()
+ {
+ return $this->iou_threshold;
+ }
+
+ /**
+ * Output only. The intersection-over-union threshold value used to compute
+ * this metrics entry.
+ *
+ * Generated from protobuf field float iou_threshold = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setIouThreshold($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->iou_threshold = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The mean average precision, most often close to au_prc.
+ *
+ * Generated from protobuf field float mean_average_precision = 2;
+ * @return float
+ */
+ public function getMeanAveragePrecision()
+ {
+ return $this->mean_average_precision;
+ }
+
+ /**
+ * Output only. The mean average precision, most often close to au_prc.
+ *
+ * Generated from protobuf field float mean_average_precision = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setMeanAveragePrecision($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->mean_average_precision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Metrics for each label-match confidence_threshold from
+ * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
+ * derived from them.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConfidenceMetricsEntries()
+ {
+ return $this->confidence_metrics_entries;
+ }
+
+ /**
+ * Output only. Metrics for each label-match confidence_threshold from
+ * 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
+ * derived from them.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry confidence_metrics_entries = 3;
+ * @param array<\Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry\ConfidenceMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConfidenceMetricsEntries($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry\ConfidenceMetricsEntry::class);
+ $this->confidence_metrics_entries = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingBoxMetricsEntry/ConfidenceMetricsEntry.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingBoxMetricsEntry/ConfidenceMetricsEntry.php
new file mode 100644
index 000000000000..7b96c02b4d5a
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingBoxMetricsEntry/ConfidenceMetricsEntry.php
@@ -0,0 +1,172 @@
+google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry
+ */
+class ConfidenceMetricsEntry extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The confidence threshold value used to compute the metrics.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ */
+ protected $confidence_threshold = 0.0;
+ /**
+ * Output only. Recall under the given confidence threshold.
+ *
+ * Generated from protobuf field float recall = 2;
+ */
+ protected $recall = 0.0;
+ /**
+ * Output only. Precision under the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 3;
+ */
+ protected $precision = 0.0;
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 4;
+ */
+ protected $f1_score = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $confidence_threshold
+ * Output only. The confidence threshold value used to compute the metrics.
+ * @type float $recall
+ * Output only. Recall under the given confidence threshold.
+ * @type float $precision
+ * Output only. Precision under the given confidence threshold.
+ * @type float $f1_score
+ * Output only. The harmonic mean of recall and precision.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Detection::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The confidence threshold value used to compute the metrics.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ * @return float
+ */
+ public function getConfidenceThreshold()
+ {
+ return $this->confidence_threshold;
+ }
+
+ /**
+ * Output only. The confidence threshold value used to compute the metrics.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setConfidenceThreshold($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->confidence_threshold = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Recall under the given confidence threshold.
+ *
+ * Generated from protobuf field float recall = 2;
+ * @return float
+ */
+ public function getRecall()
+ {
+ return $this->recall;
+ }
+
+ /**
+ * Output only. Recall under the given confidence threshold.
+ *
+ * Generated from protobuf field float recall = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setRecall($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->recall = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Precision under the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 3;
+ * @return float
+ */
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ /**
+ * Output only. Precision under the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 3;
+ * @param float $var
+ * @return $this
+ */
+ public function setPrecision($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->precision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 4;
+ * @return float
+ */
+ public function getF1Score()
+ {
+ return $this->f1_score;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 4;
+ * @param float $var
+ * @return $this
+ */
+ public function setF1Score($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->f1_score = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConfidenceMetricsEntry::class, \Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry_ConfidenceMetricsEntry::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingPoly.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingPoly.php
new file mode 100644
index 000000000000..9155aadb93dd
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/BoundingPoly.php
@@ -0,0 +1,69 @@
+google.cloud.automl.v1.BoundingPoly
+ */
+class BoundingPoly extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only . The bounding polygon normalized vertices.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.NormalizedVertex normalized_vertices = 2;
+ */
+ private $normalized_vertices;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AutoMl\V1\NormalizedVertex>|\Google\Protobuf\Internal\RepeatedField $normalized_vertices
+ * Output only . The bounding polygon normalized vertices.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Geometry::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only . The bounding polygon normalized vertices.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.NormalizedVertex normalized_vertices = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNormalizedVertices()
+ {
+ return $this->normalized_vertices;
+ }
+
+ /**
+ * Output only . The bounding polygon normalized vertices.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.NormalizedVertex normalized_vertices = 2;
+ * @param array<\Google\Cloud\AutoMl\V1\NormalizedVertex>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setNormalizedVertices($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\NormalizedVertex::class);
+ $this->normalized_vertices = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationAnnotation.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationAnnotation.php
new file mode 100644
index 000000000000..1a78afa7261b
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationAnnotation.php
@@ -0,0 +1,83 @@
+google.cloud.automl.v1.ClassificationAnnotation
+ */
+class ClassificationAnnotation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence that the annotation is positive. If a user
+ * approves an annotation as negative or positive, the score value remains
+ * unchanged. If a user creates an annotation, the score is 0 for negative or
+ * 1 for positive.
+ *
+ * Generated from protobuf field float score = 1;
+ */
+ protected $score = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $score
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence that the annotation is positive. If a user
+ * approves an annotation as negative or positive, the score value remains
+ * unchanged. If a user creates an annotation, the score is 0 for negative or
+ * 1 for positive.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Classification::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence that the annotation is positive. If a user
+ * approves an annotation as negative or positive, the score value remains
+ * unchanged. If a user creates an annotation, the score is 0 for negative or
+ * 1 for positive.
+ *
+ * Generated from protobuf field float score = 1;
+ * @return float
+ */
+ public function getScore()
+ {
+ return $this->score;
+ }
+
+ /**
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence that the annotation is positive. If a user
+ * approves an annotation as negative or positive, the score value remains
+ * unchanged. If a user creates an annotation, the score is 0 for negative or
+ * 1 for positive.
+ *
+ * Generated from protobuf field float score = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setScore($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->score = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics.php
new file mode 100644
index 000000000000..4391dc5673d6
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics.php
@@ -0,0 +1,293 @@
+google.cloud.automl.v1.ClassificationEvaluationMetrics
+ */
+class ClassificationEvaluationMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The Area Under Precision-Recall Curve metric. Micro-averaged
+ * for the overall evaluation.
+ *
+ * Generated from protobuf field float au_prc = 1;
+ */
+ protected $au_prc = 0.0;
+ /**
+ * Output only. The Area Under Receiver Operating Characteristic curve metric.
+ * Micro-averaged for the overall evaluation.
+ *
+ * Generated from protobuf field float au_roc = 6;
+ */
+ protected $au_roc = 0.0;
+ /**
+ * Output only. The Log Loss metric.
+ *
+ * Generated from protobuf field float log_loss = 7;
+ */
+ protected $log_loss = 0.0;
+ /**
+ * Output only. Metrics for each confidence_threshold in
+ * 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and
+ * position_threshold = INT32_MAX_VALUE.
+ * ROC and precision-recall curves, and other aggregated metrics are derived
+ * from them. The confidence metrics entries may also be supplied for
+ * additional values of position_threshold, but from these no aggregated
+ * metrics are computed.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
+ */
+ private $confidence_metrics_entry;
+ /**
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for MULTICLASS classification problems where number
+ * of labels is no more than 10.
+ * Only set for model level evaluation, not for evaluation per label.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
+ */
+ protected $confusion_matrix = null;
+ /**
+ * Output only. The annotation spec ids used for this evaluation.
+ *
+ * Generated from protobuf field repeated string annotation_spec_id = 5;
+ */
+ private $annotation_spec_id;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $au_prc
+ * Output only. The Area Under Precision-Recall Curve metric. Micro-averaged
+ * for the overall evaluation.
+ * @type float $au_roc
+ * Output only. The Area Under Receiver Operating Characteristic curve metric.
+ * Micro-averaged for the overall evaluation.
+ * @type float $log_loss
+ * Output only. The Log Loss metric.
+ * @type array<\Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfidenceMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $confidence_metrics_entry
+ * Output only. Metrics for each confidence_threshold in
+ * 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and
+ * position_threshold = INT32_MAX_VALUE.
+ * ROC and precision-recall curves, and other aggregated metrics are derived
+ * from them. The confidence metrics entries may also be supplied for
+ * additional values of position_threshold, but from these no aggregated
+ * metrics are computed.
+ * @type \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix $confusion_matrix
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for MULTICLASS classification problems where number
+ * of labels is no more than 10.
+ * Only set for model level evaluation, not for evaluation per label.
+ * @type arrayfloat au_prc = 1;
+ * @return float
+ */
+ public function getAuPrc()
+ {
+ return $this->au_prc;
+ }
+
+ /**
+ * Output only. The Area Under Precision-Recall Curve metric. Micro-averaged
+ * for the overall evaluation.
+ *
+ * Generated from protobuf field float au_prc = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setAuPrc($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->au_prc = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Area Under Receiver Operating Characteristic curve metric.
+ * Micro-averaged for the overall evaluation.
+ *
+ * Generated from protobuf field float au_roc = 6;
+ * @return float
+ */
+ public function getAuRoc()
+ {
+ return $this->au_roc;
+ }
+
+ /**
+ * Output only. The Area Under Receiver Operating Characteristic curve metric.
+ * Micro-averaged for the overall evaluation.
+ *
+ * Generated from protobuf field float au_roc = 6;
+ * @param float $var
+ * @return $this
+ */
+ public function setAuRoc($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->au_roc = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Log Loss metric.
+ *
+ * Generated from protobuf field float log_loss = 7;
+ * @return float
+ */
+ public function getLogLoss()
+ {
+ return $this->log_loss;
+ }
+
+ /**
+ * Output only. The Log Loss metric.
+ *
+ * Generated from protobuf field float log_loss = 7;
+ * @param float $var
+ * @return $this
+ */
+ public function setLogLoss($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->log_loss = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Metrics for each confidence_threshold in
+ * 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and
+ * position_threshold = INT32_MAX_VALUE.
+ * ROC and precision-recall curves, and other aggregated metrics are derived
+ * from them. The confidence metrics entries may also be supplied for
+ * additional values of position_threshold, but from these no aggregated
+ * metrics are computed.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConfidenceMetricsEntry()
+ {
+ return $this->confidence_metrics_entry;
+ }
+
+ /**
+ * Output only. Metrics for each confidence_threshold in
+ * 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and
+ * position_threshold = INT32_MAX_VALUE.
+ * ROC and precision-recall curves, and other aggregated metrics are derived
+ * from them. The confidence metrics entries may also be supplied for
+ * additional values of position_threshold, but from these no aggregated
+ * metrics are computed.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entry = 3;
+ * @param array<\Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfidenceMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConfidenceMetricsEntry($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfidenceMetricsEntry::class);
+ $this->confidence_metrics_entry = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for MULTICLASS classification problems where number
+ * of labels is no more than 10.
+ * Only set for model level evaluation, not for evaluation per label.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
+ * @return \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix|null
+ */
+ public function getConfusionMatrix()
+ {
+ return $this->confusion_matrix;
+ }
+
+ public function hasConfusionMatrix()
+ {
+ return isset($this->confusion_matrix);
+ }
+
+ public function clearConfusionMatrix()
+ {
+ unset($this->confusion_matrix);
+ }
+
+ /**
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for MULTICLASS classification problems where number
+ * of labels is no more than 10.
+ * Only set for model level evaluation, not for evaluation per label.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 4;
+ * @param \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix $var
+ * @return $this
+ */
+ public function setConfusionMatrix($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix::class);
+ $this->confusion_matrix = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The annotation spec ids used for this evaluation.
+ *
+ * Generated from protobuf field repeated string annotation_spec_id = 5;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAnnotationSpecId()
+ {
+ return $this->annotation_spec_id;
+ }
+
+ /**
+ * Output only. The annotation spec ids used for this evaluation.
+ *
+ * Generated from protobuf field repeated string annotation_spec_id = 5;
+ * @param arrayfloat confidence_threshold = 1;
+ */
+ protected $confidence_threshold = 0.0;
+ /**
+ * Output only. Metrics are computed with an assumption that the model
+ * always returns at most this many predictions (ordered by their score,
+ * descendingly), but they all still need to meet the confidence_threshold.
+ *
+ * Generated from protobuf field int32 position_threshold = 14;
+ */
+ protected $position_threshold = 0;
+ /**
+ * Output only. Recall (True Positive Rate) for the given confidence
+ * threshold.
+ *
+ * Generated from protobuf field float recall = 2;
+ */
+ protected $recall = 0.0;
+ /**
+ * Output only. Precision for the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 3;
+ */
+ protected $precision = 0.0;
+ /**
+ * Output only. False Positive Rate for the given confidence threshold.
+ *
+ * Generated from protobuf field float false_positive_rate = 8;
+ */
+ protected $false_positive_rate = 0.0;
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 4;
+ */
+ protected $f1_score = 0.0;
+ /**
+ * Output only. The Recall (True Positive Rate) when only considering the
+ * label that has the highest prediction score and not below the confidence
+ * threshold for each example.
+ *
+ * Generated from protobuf field float recall_at1 = 5;
+ */
+ protected $recall_at1 = 0.0;
+ /**
+ * Output only. The precision when only considering the label that has the
+ * highest prediction score and not below the confidence threshold for each
+ * example.
+ *
+ * Generated from protobuf field float precision_at1 = 6;
+ */
+ protected $precision_at1 = 0.0;
+ /**
+ * Output only. The False Positive Rate when only considering the label that
+ * has the highest prediction score and not below the confidence threshold
+ * for each example.
+ *
+ * Generated from protobuf field float false_positive_rate_at1 = 9;
+ */
+ protected $false_positive_rate_at1 = 0.0;
+ /**
+ * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+ *
+ * Generated from protobuf field float f1_score_at1 = 7;
+ */
+ protected $f1_score_at1 = 0.0;
+ /**
+ * Output only. The number of model created labels that match a ground truth
+ * label.
+ *
+ * Generated from protobuf field int64 true_positive_count = 10;
+ */
+ protected $true_positive_count = 0;
+ /**
+ * Output only. The number of model created labels that do not match a
+ * ground truth label.
+ *
+ * Generated from protobuf field int64 false_positive_count = 11;
+ */
+ protected $false_positive_count = 0;
+ /**
+ * Output only. The number of ground truth labels that are not matched
+ * by a model created label.
+ *
+ * Generated from protobuf field int64 false_negative_count = 12;
+ */
+ protected $false_negative_count = 0;
+ /**
+ * Output only. The number of labels that were not created by the model,
+ * but if they would, they would not match a ground truth label.
+ *
+ * Generated from protobuf field int64 true_negative_count = 13;
+ */
+ protected $true_negative_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $confidence_threshold
+ * Output only. Metrics are computed with an assumption that the model
+ * never returns predictions with score lower than this value.
+ * @type int $position_threshold
+ * Output only. Metrics are computed with an assumption that the model
+ * always returns at most this many predictions (ordered by their score,
+ * descendingly), but they all still need to meet the confidence_threshold.
+ * @type float $recall
+ * Output only. Recall (True Positive Rate) for the given confidence
+ * threshold.
+ * @type float $precision
+ * Output only. Precision for the given confidence threshold.
+ * @type float $false_positive_rate
+ * Output only. False Positive Rate for the given confidence threshold.
+ * @type float $f1_score
+ * Output only. The harmonic mean of recall and precision.
+ * @type float $recall_at1
+ * Output only. The Recall (True Positive Rate) when only considering the
+ * label that has the highest prediction score and not below the confidence
+ * threshold for each example.
+ * @type float $precision_at1
+ * Output only. The precision when only considering the label that has the
+ * highest prediction score and not below the confidence threshold for each
+ * example.
+ * @type float $false_positive_rate_at1
+ * Output only. The False Positive Rate when only considering the label that
+ * has the highest prediction score and not below the confidence threshold
+ * for each example.
+ * @type float $f1_score_at1
+ * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+ * @type int|string $true_positive_count
+ * Output only. The number of model created labels that match a ground truth
+ * label.
+ * @type int|string $false_positive_count
+ * Output only. The number of model created labels that do not match a
+ * ground truth label.
+ * @type int|string $false_negative_count
+ * Output only. The number of ground truth labels that are not matched
+ * by a model created label.
+ * @type int|string $true_negative_count
+ * Output only. The number of labels that were not created by the model,
+ * but if they would, they would not match a ground truth label.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Classification::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Metrics are computed with an assumption that the model
+ * never returns predictions with score lower than this value.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ * @return float
+ */
+ public function getConfidenceThreshold()
+ {
+ return $this->confidence_threshold;
+ }
+
+ /**
+ * Output only. Metrics are computed with an assumption that the model
+ * never returns predictions with score lower than this value.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setConfidenceThreshold($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->confidence_threshold = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Metrics are computed with an assumption that the model
+ * always returns at most this many predictions (ordered by their score,
+ * descendingly), but they all still need to meet the confidence_threshold.
+ *
+ * Generated from protobuf field int32 position_threshold = 14;
+ * @return int
+ */
+ public function getPositionThreshold()
+ {
+ return $this->position_threshold;
+ }
+
+ /**
+ * Output only. Metrics are computed with an assumption that the model
+ * always returns at most this many predictions (ordered by their score,
+ * descendingly), but they all still need to meet the confidence_threshold.
+ *
+ * Generated from protobuf field int32 position_threshold = 14;
+ * @param int $var
+ * @return $this
+ */
+ public function setPositionThreshold($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->position_threshold = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Recall (True Positive Rate) for the given confidence
+ * threshold.
+ *
+ * Generated from protobuf field float recall = 2;
+ * @return float
+ */
+ public function getRecall()
+ {
+ return $this->recall;
+ }
+
+ /**
+ * Output only. Recall (True Positive Rate) for the given confidence
+ * threshold.
+ *
+ * Generated from protobuf field float recall = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setRecall($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->recall = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Precision for the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 3;
+ * @return float
+ */
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ /**
+ * Output only. Precision for the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 3;
+ * @param float $var
+ * @return $this
+ */
+ public function setPrecision($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->precision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. False Positive Rate for the given confidence threshold.
+ *
+ * Generated from protobuf field float false_positive_rate = 8;
+ * @return float
+ */
+ public function getFalsePositiveRate()
+ {
+ return $this->false_positive_rate;
+ }
+
+ /**
+ * Output only. False Positive Rate for the given confidence threshold.
+ *
+ * Generated from protobuf field float false_positive_rate = 8;
+ * @param float $var
+ * @return $this
+ */
+ public function setFalsePositiveRate($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->false_positive_rate = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 4;
+ * @return float
+ */
+ public function getF1Score()
+ {
+ return $this->f1_score;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 4;
+ * @param float $var
+ * @return $this
+ */
+ public function setF1Score($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->f1_score = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Recall (True Positive Rate) when only considering the
+ * label that has the highest prediction score and not below the confidence
+ * threshold for each example.
+ *
+ * Generated from protobuf field float recall_at1 = 5;
+ * @return float
+ */
+ public function getRecallAt1()
+ {
+ return $this->recall_at1;
+ }
+
+ /**
+ * Output only. The Recall (True Positive Rate) when only considering the
+ * label that has the highest prediction score and not below the confidence
+ * threshold for each example.
+ *
+ * Generated from protobuf field float recall_at1 = 5;
+ * @param float $var
+ * @return $this
+ */
+ public function setRecallAt1($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->recall_at1 = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The precision when only considering the label that has the
+ * highest prediction score and not below the confidence threshold for each
+ * example.
+ *
+ * Generated from protobuf field float precision_at1 = 6;
+ * @return float
+ */
+ public function getPrecisionAt1()
+ {
+ return $this->precision_at1;
+ }
+
+ /**
+ * Output only. The precision when only considering the label that has the
+ * highest prediction score and not below the confidence threshold for each
+ * example.
+ *
+ * Generated from protobuf field float precision_at1 = 6;
+ * @param float $var
+ * @return $this
+ */
+ public function setPrecisionAt1($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->precision_at1 = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The False Positive Rate when only considering the label that
+ * has the highest prediction score and not below the confidence threshold
+ * for each example.
+ *
+ * Generated from protobuf field float false_positive_rate_at1 = 9;
+ * @return float
+ */
+ public function getFalsePositiveRateAt1()
+ {
+ return $this->false_positive_rate_at1;
+ }
+
+ /**
+ * Output only. The False Positive Rate when only considering the label that
+ * has the highest prediction score and not below the confidence threshold
+ * for each example.
+ *
+ * Generated from protobuf field float false_positive_rate_at1 = 9;
+ * @param float $var
+ * @return $this
+ */
+ public function setFalsePositiveRateAt1($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->false_positive_rate_at1 = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+ *
+ * Generated from protobuf field float f1_score_at1 = 7;
+ * @return float
+ */
+ public function getF1ScoreAt1()
+ {
+ return $this->f1_score_at1;
+ }
+
+ /**
+ * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+ *
+ * Generated from protobuf field float f1_score_at1 = 7;
+ * @param float $var
+ * @return $this
+ */
+ public function setF1ScoreAt1($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->f1_score_at1 = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of model created labels that match a ground truth
+ * label.
+ *
+ * Generated from protobuf field int64 true_positive_count = 10;
+ * @return int|string
+ */
+ public function getTruePositiveCount()
+ {
+ return $this->true_positive_count;
+ }
+
+ /**
+ * Output only. The number of model created labels that match a ground truth
+ * label.
+ *
+ * Generated from protobuf field int64 true_positive_count = 10;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTruePositiveCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->true_positive_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of model created labels that do not match a
+ * ground truth label.
+ *
+ * Generated from protobuf field int64 false_positive_count = 11;
+ * @return int|string
+ */
+ public function getFalsePositiveCount()
+ {
+ return $this->false_positive_count;
+ }
+
+ /**
+ * Output only. The number of model created labels that do not match a
+ * ground truth label.
+ *
+ * Generated from protobuf field int64 false_positive_count = 11;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setFalsePositiveCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->false_positive_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of ground truth labels that are not matched
+ * by a model created label.
+ *
+ * Generated from protobuf field int64 false_negative_count = 12;
+ * @return int|string
+ */
+ public function getFalseNegativeCount()
+ {
+ return $this->false_negative_count;
+ }
+
+ /**
+ * Output only. The number of ground truth labels that are not matched
+ * by a model created label.
+ *
+ * Generated from protobuf field int64 false_negative_count = 12;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setFalseNegativeCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->false_negative_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of labels that were not created by the model,
+ * but if they would, they would not match a ground truth label.
+ *
+ * Generated from protobuf field int64 true_negative_count = 13;
+ * @return int|string
+ */
+ public function getTrueNegativeCount()
+ {
+ return $this->true_negative_count;
+ }
+
+ /**
+ * Output only. The number of labels that were not created by the model,
+ * but if they would, they would not match a ground truth label.
+ *
+ * Generated from protobuf field int64 true_negative_count = 13;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTrueNegativeCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->true_negative_count = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConfidenceMetricsEntry::class, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics_ConfidenceMetricsEntry::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics/ConfusionMatrix.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics/ConfusionMatrix.php
new file mode 100644
index 000000000000..7fb6ec327e28
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics/ConfusionMatrix.php
@@ -0,0 +1,186 @@
+google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix
+ */
+class ConfusionMatrix extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. IDs of the annotation specs used in the confusion matrix.
+ * For Tables CLASSIFICATION
+ * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+ * only list of [annotation_spec_display_name-s][] is populated.
+ *
+ * Generated from protobuf field repeated string annotation_spec_id = 1;
+ */
+ private $annotation_spec_id;
+ /**
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ * Generated from protobuf field repeated string display_name = 3;
+ */
+ private $display_name;
+ /**
+ * Output only. Rows in the confusion matrix. The number of rows is equal to
+ * the size of `annotation_spec_id`.
+ * `row[i].example_count[j]` is the number of examples that have ground
+ * truth of the `annotation_spec_id[i]` and are predicted as
+ * `annotation_spec_id[j]` by the model being evaluated.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
+ */
+ private $row;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string annotation_spec_id = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getAnnotationSpecId()
+ {
+ return $this->annotation_spec_id;
+ }
+
+ /**
+ * Output only. IDs of the annotation specs used in the confusion matrix.
+ * For Tables CLASSIFICATION
+ * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+ * only list of [annotation_spec_display_name-s][] is populated.
+ *
+ * Generated from protobuf field repeated string annotation_spec_id = 1;
+ * @param arrayrepeated string display_name = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ * Generated from protobuf field repeated string display_name = 3;
+ * @param arrayrepeated .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRow()
+ {
+ return $this->row;
+ }
+
+ /**
+ * Output only. Rows in the confusion matrix. The number of rows is equal to
+ * the size of `annotation_spec_id`.
+ * `row[i].example_count[j]` is the number of examples that have ground
+ * truth of the `annotation_spec_id[i]` and are predicted as
+ * `annotation_spec_id[j]` by the model being evaluated.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row row = 2;
+ * @param array<\Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix\Row>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRow($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix\Row::class);
+ $this->row = $arr;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConfusionMatrix::class, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics_ConfusionMatrix::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics/ConfusionMatrix/Row.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics/ConfusionMatrix/Row.php
new file mode 100644
index 000000000000..3f433135f499
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ClassificationEvaluationMetrics/ConfusionMatrix/Row.php
@@ -0,0 +1,82 @@
+google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.Row
+ */
+class Row extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Value of the specific cell in the confusion matrix.
+ * The number of values each row has (i.e. the length of the row) is equal
+ * to the length of the `annotation_spec_id` field or, if that one is not
+ * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
+ *
+ * Generated from protobuf field repeated int32 example_count = 1;
+ */
+ private $example_count;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated int32 example_count = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExampleCount()
+ {
+ return $this->example_count;
+ }
+
+ /**
+ * Output only. Value of the specific cell in the confusion matrix.
+ * The number of values each row has (i.e. the length of the row) is equal
+ * to the length of the `annotation_spec_id` field or, if that one is not
+ * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field.
+ *
+ * Generated from protobuf field repeated int32 example_count = 1;
+ * @param arrayCLASSIFICATION_TYPE_UNSPECIFIED = 0;
+ */
+ const CLASSIFICATION_TYPE_UNSPECIFIED = 0;
+ /**
+ * At most one label is allowed per example.
+ *
+ * Generated from protobuf enum MULTICLASS = 1;
+ */
+ const MULTICLASS = 1;
+ /**
+ * Multiple labels are allowed for one example.
+ *
+ * Generated from protobuf enum MULTILABEL = 2;
+ */
+ const MULTILABEL = 2;
+
+ private static $valueToName = [
+ self::CLASSIFICATION_TYPE_UNSPECIFIED => 'CLASSIFICATION_TYPE_UNSPECIFIED',
+ self::MULTICLASS => 'MULTICLASS',
+ self::MULTILABEL => 'MULTILABEL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateDatasetOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateDatasetOperationMetadata.php
new file mode 100644
index 000000000000..ac49c13c1fc5
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateDatasetOperationMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.CreateDatasetOperationMetadata
+ */
+class CreateDatasetOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateDatasetRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateDatasetRequest.php
new file mode 100644
index 000000000000..104ad7be83e2
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateDatasetRequest.php
@@ -0,0 +1,127 @@
+google.cloud.automl.v1.CreateDatasetRequest
+ */
+class CreateDatasetRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the project to create the dataset for.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The dataset to create.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $dataset = null;
+
+ /**
+ * @param string $parent Required. The resource name of the project to create the dataset for. Please see
+ * {@see AutoMlClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\Dataset $dataset Required. The dataset to create.
+ *
+ * @return \Google\Cloud\AutoMl\V1\CreateDatasetRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\AutoMl\V1\Dataset $dataset): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setDataset($dataset);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The resource name of the project to create the dataset for.
+ * @type \Google\Cloud\AutoMl\V1\Dataset $dataset
+ * Required. The dataset to create.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the project to create the dataset for.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The resource name of the project to create the dataset for.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The dataset to create.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\Dataset|null
+ */
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+
+ public function hasDataset()
+ {
+ return isset($this->dataset);
+ }
+
+ public function clearDataset()
+ {
+ unset($this->dataset);
+ }
+
+ /**
+ * Required. The dataset to create.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\Dataset $var
+ * @return $this
+ */
+ public function setDataset($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\Dataset::class);
+ $this->dataset = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateModelOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateModelOperationMetadata.php
new file mode 100644
index 000000000000..d02e428ca252
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateModelOperationMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.CreateModelOperationMetadata
+ */
+class CreateModelOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateModelRequest.php
new file mode 100644
index 000000000000..982fdf52d1c9
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/CreateModelRequest.php
@@ -0,0 +1,127 @@
+google.cloud.automl.v1.CreateModelRequest
+ */
+class CreateModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the parent project where the model is being created.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The model to create.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $model = null;
+
+ /**
+ * @param string $parent Required. Resource name of the parent project where the model is being created. Please see
+ * {@see AutoMlClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\Model $model Required. The model to create.
+ *
+ * @return \Google\Cloud\AutoMl\V1\CreateModelRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\AutoMl\V1\Model $model): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setModel($model);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Resource name of the parent project where the model is being created.
+ * @type \Google\Cloud\AutoMl\V1\Model $model
+ * Required. The model to create.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name of the parent project where the model is being created.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Resource name of the parent project where the model is being created.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The model to create.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\Model|null
+ */
+ public function getModel()
+ {
+ return $this->model;
+ }
+
+ public function hasModel()
+ {
+ return isset($this->model);
+ }
+
+ public function clearModel()
+ {
+ unset($this->model);
+ }
+
+ /**
+ * Required. The model to create.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\Model $var
+ * @return $this
+ */
+ public function setModel($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\Model::class);
+ $this->model = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Dataset.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Dataset.php
new file mode 100644
index 000000000000..2e8ecb216189
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Dataset.php
@@ -0,0 +1,533 @@
+google.cloud.automl.v1.Dataset
+ */
+class Dataset extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The resource name of the dataset.
+ * Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Required. The name of the dataset to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9.
+ *
+ * Generated from protobuf field string display_name = 2;
+ */
+ protected $display_name = '';
+ /**
+ * User-provided description of the dataset. The description can be up to
+ * 25000 characters long.
+ *
+ * Generated from protobuf field string description = 3;
+ */
+ protected $description = '';
+ /**
+ * Output only. The number of examples in the dataset.
+ *
+ * Generated from protobuf field int32 example_count = 21;
+ */
+ protected $example_count = 0;
+ /**
+ * Output only. Timestamp when this dataset was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 14;
+ */
+ protected $create_time = null;
+ /**
+ * Used to perform consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ *
+ * Generated from protobuf field string etag = 17;
+ */
+ protected $etag = '';
+ /**
+ * Optional. The labels with user-defined metadata to organize your dataset.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ *
+ * Generated from protobuf field map labels = 39;
+ */
+ private $labels;
+ protected $dataset_metadata;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\TranslationDatasetMetadata $translation_dataset_metadata
+ * Metadata for a dataset used for translation.
+ * @type \Google\Cloud\AutoMl\V1\ImageClassificationDatasetMetadata $image_classification_dataset_metadata
+ * Metadata for a dataset used for image classification.
+ * @type \Google\Cloud\AutoMl\V1\TextClassificationDatasetMetadata $text_classification_dataset_metadata
+ * Metadata for a dataset used for text classification.
+ * @type \Google\Cloud\AutoMl\V1\ImageObjectDetectionDatasetMetadata $image_object_detection_dataset_metadata
+ * Metadata for a dataset used for image object detection.
+ * @type \Google\Cloud\AutoMl\V1\TextExtractionDatasetMetadata $text_extraction_dataset_metadata
+ * Metadata for a dataset used for text extraction.
+ * @type \Google\Cloud\AutoMl\V1\TextSentimentDatasetMetadata $text_sentiment_dataset_metadata
+ * Metadata for a dataset used for text sentiment.
+ * @type string $name
+ * Output only. The resource name of the dataset.
+ * Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
+ * @type string $display_name
+ * Required. The name of the dataset to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9.
+ * @type string $description
+ * User-provided description of the dataset. The description can be up to
+ * 25000 characters long.
+ * @type int $example_count
+ * Output only. The number of examples in the dataset.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Timestamp when this dataset was created.
+ * @type string $etag
+ * Used to perform consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. The labels with user-defined metadata to organize your dataset.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Dataset::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Metadata for a dataset used for translation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
+ * @return \Google\Cloud\AutoMl\V1\TranslationDatasetMetadata|null
+ */
+ public function getTranslationDatasetMetadata()
+ {
+ return $this->readOneof(23);
+ }
+
+ public function hasTranslationDatasetMetadata()
+ {
+ return $this->hasOneof(23);
+ }
+
+ /**
+ * Metadata for a dataset used for translation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;
+ * @param \Google\Cloud\AutoMl\V1\TranslationDatasetMetadata $var
+ * @return $this
+ */
+ public function setTranslationDatasetMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TranslationDatasetMetadata::class);
+ $this->writeOneof(23, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for a dataset used for image classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
+ * @return \Google\Cloud\AutoMl\V1\ImageClassificationDatasetMetadata|null
+ */
+ public function getImageClassificationDatasetMetadata()
+ {
+ return $this->readOneof(24);
+ }
+
+ public function hasImageClassificationDatasetMetadata()
+ {
+ return $this->hasOneof(24);
+ }
+
+ /**
+ * Metadata for a dataset used for image classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;
+ * @param \Google\Cloud\AutoMl\V1\ImageClassificationDatasetMetadata $var
+ * @return $this
+ */
+ public function setImageClassificationDatasetMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageClassificationDatasetMetadata::class);
+ $this->writeOneof(24, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for a dataset used for text classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
+ * @return \Google\Cloud\AutoMl\V1\TextClassificationDatasetMetadata|null
+ */
+ public function getTextClassificationDatasetMetadata()
+ {
+ return $this->readOneof(25);
+ }
+
+ public function hasTextClassificationDatasetMetadata()
+ {
+ return $this->hasOneof(25);
+ }
+
+ /**
+ * Metadata for a dataset used for text classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;
+ * @param \Google\Cloud\AutoMl\V1\TextClassificationDatasetMetadata $var
+ * @return $this
+ */
+ public function setTextClassificationDatasetMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextClassificationDatasetMetadata::class);
+ $this->writeOneof(25, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for a dataset used for image object detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
+ * @return \Google\Cloud\AutoMl\V1\ImageObjectDetectionDatasetMetadata|null
+ */
+ public function getImageObjectDetectionDatasetMetadata()
+ {
+ return $this->readOneof(26);
+ }
+
+ public function hasImageObjectDetectionDatasetMetadata()
+ {
+ return $this->hasOneof(26);
+ }
+
+ /**
+ * Metadata for a dataset used for image object detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;
+ * @param \Google\Cloud\AutoMl\V1\ImageObjectDetectionDatasetMetadata $var
+ * @return $this
+ */
+ public function setImageObjectDetectionDatasetMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageObjectDetectionDatasetMetadata::class);
+ $this->writeOneof(26, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for a dataset used for text extraction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
+ * @return \Google\Cloud\AutoMl\V1\TextExtractionDatasetMetadata|null
+ */
+ public function getTextExtractionDatasetMetadata()
+ {
+ return $this->readOneof(28);
+ }
+
+ public function hasTextExtractionDatasetMetadata()
+ {
+ return $this->hasOneof(28);
+ }
+
+ /**
+ * Metadata for a dataset used for text extraction.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;
+ * @param \Google\Cloud\AutoMl\V1\TextExtractionDatasetMetadata $var
+ * @return $this
+ */
+ public function setTextExtractionDatasetMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextExtractionDatasetMetadata::class);
+ $this->writeOneof(28, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for a dataset used for text sentiment.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
+ * @return \Google\Cloud\AutoMl\V1\TextSentimentDatasetMetadata|null
+ */
+ public function getTextSentimentDatasetMetadata()
+ {
+ return $this->readOneof(30);
+ }
+
+ public function hasTextSentimentDatasetMetadata()
+ {
+ return $this->hasOneof(30);
+ }
+
+ /**
+ * Metadata for a dataset used for text sentiment.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;
+ * @param \Google\Cloud\AutoMl\V1\TextSentimentDatasetMetadata $var
+ * @return $this
+ */
+ public function setTextSentimentDatasetMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSentimentDatasetMetadata::class);
+ $this->writeOneof(30, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. The resource name of the dataset.
+ * Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. The resource name of the dataset.
+ * Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the dataset to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Required. The name of the dataset to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * User-provided description of the dataset. The description can be up to
+ * 25000 characters long.
+ *
+ * Generated from protobuf field string description = 3;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * User-provided description of the dataset. The description can be up to
+ * 25000 characters long.
+ *
+ * Generated from protobuf field string description = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of examples in the dataset.
+ *
+ * Generated from protobuf field int32 example_count = 21;
+ * @return int
+ */
+ public function getExampleCount()
+ {
+ return $this->example_count;
+ }
+
+ /**
+ * Output only. The number of examples in the dataset.
+ *
+ * Generated from protobuf field int32 example_count = 21;
+ * @param int $var
+ * @return $this
+ */
+ public function setExampleCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->example_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Timestamp when this dataset was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 14;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Timestamp when this dataset was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 14;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Used to perform consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ *
+ * Generated from protobuf field string etag = 17;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Used to perform consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ *
+ * Generated from protobuf field string etag = 17;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The labels with user-defined metadata to organize your dataset.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ *
+ * Generated from protobuf field map labels = 39;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. The labels with user-defined metadata to organize your dataset.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ *
+ * Generated from protobuf field map labels = 39;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDatasetMetadata()
+ {
+ return $this->whichOneof("dataset_metadata");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteDatasetRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteDatasetRequest.php
new file mode 100644
index 000000000000..51473a001c78
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteDatasetRequest.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.DeleteDatasetRequest
+ */
+class DeleteDatasetRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the dataset to delete.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The resource name of the dataset to delete. Please see
+ * {@see AutoMlClient::datasetName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\DeleteDatasetRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the dataset to delete.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the dataset to delete.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the dataset to delete.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteModelRequest.php
new file mode 100644
index 000000000000..2a2b9a73b439
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteModelRequest.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.DeleteModelRequest
+ */
+class DeleteModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the model being deleted.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. Resource name of the model being deleted. Please see
+ * {@see AutoMlClient::modelName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\DeleteModelRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Resource name of the model being deleted.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name of the model being deleted.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Resource name of the model being deleted.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteOperationMetadata.php
new file mode 100644
index 000000000000..9e8a8551ac12
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeleteOperationMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.DeleteOperationMetadata
+ */
+class DeleteOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeployModelOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeployModelOperationMetadata.php
new file mode 100644
index 000000000000..a60fd7e79038
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeployModelOperationMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.DeployModelOperationMetadata
+ */
+class DeployModelOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeployModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeployModelRequest.php
new file mode 100644
index 000000000000..40b54b870eaf
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DeployModelRequest.php
@@ -0,0 +1,156 @@
+google.cloud.automl.v1.DeployModelRequest
+ */
+class DeployModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the model to deploy.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ protected $model_deployment_metadata;
+
+ /**
+ * @param string $name Required. Resource name of the model to deploy. Please see
+ * {@see AutoMlClient::modelName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\DeployModelRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata $image_object_detection_model_deployment_metadata
+ * Model deployment metadata specific to Image Object Detection.
+ * @type \Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata $image_classification_model_deployment_metadata
+ * Model deployment metadata specific to Image Classification.
+ * @type string $name
+ * Required. Resource name of the model to deploy.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Model deployment metadata specific to Image Object Detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
+ * @return \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata|null
+ */
+ public function getImageObjectDetectionModelDeploymentMetadata()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasImageObjectDetectionModelDeploymentMetadata()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Model deployment metadata specific to Image Object Detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2;
+ * @param \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata $var
+ * @return $this
+ */
+ public function setImageObjectDetectionModelDeploymentMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelDeploymentMetadata::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Model deployment metadata specific to Image Classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
+ * @return \Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata|null
+ */
+ public function getImageClassificationModelDeploymentMetadata()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasImageClassificationModelDeploymentMetadata()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Model deployment metadata specific to Image Classification.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4;
+ * @param \Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata $var
+ * @return $this
+ */
+ public function setImageClassificationModelDeploymentMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageClassificationModelDeploymentMetadata::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Required. Resource name of the model to deploy.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Resource name of the model to deploy.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getModelDeploymentMetadata()
+ {
+ return $this->whichOneof("model_deployment_metadata");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document.php
new file mode 100644
index 000000000000..1563d30be57b
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document.php
@@ -0,0 +1,237 @@
+google.cloud.automl.v1.Document
+ */
+class Document extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An input config specifying the content of the document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentInputConfig input_config = 1;
+ */
+ protected $input_config = null;
+ /**
+ * The plain text version of this document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet document_text = 2;
+ */
+ protected $document_text = null;
+ /**
+ * Describes the layout of the document.
+ * Sorted by [page_number][].
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Document.Layout layout = 3;
+ */
+ private $layout;
+ /**
+ * The dimensions of the page in the document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;
+ */
+ protected $document_dimensions = null;
+ /**
+ * Number of pages in the document.
+ *
+ * Generated from protobuf field int32 page_count = 5;
+ */
+ protected $page_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\DocumentInputConfig $input_config
+ * An input config specifying the content of the document.
+ * @type \Google\Cloud\AutoMl\V1\TextSnippet $document_text
+ * The plain text version of this document.
+ * @type array<\Google\Cloud\AutoMl\V1\Document\Layout>|\Google\Protobuf\Internal\RepeatedField $layout
+ * Describes the layout of the document.
+ * Sorted by [page_number][].
+ * @type \Google\Cloud\AutoMl\V1\DocumentDimensions $document_dimensions
+ * The dimensions of the page in the document.
+ * @type int $page_count
+ * Number of pages in the document.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\DataItems::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An input config specifying the content of the document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentInputConfig input_config = 1;
+ * @return \Google\Cloud\AutoMl\V1\DocumentInputConfig|null
+ */
+ public function getInputConfig()
+ {
+ return $this->input_config;
+ }
+
+ public function hasInputConfig()
+ {
+ return isset($this->input_config);
+ }
+
+ public function clearInputConfig()
+ {
+ unset($this->input_config);
+ }
+
+ /**
+ * An input config specifying the content of the document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentInputConfig input_config = 1;
+ * @param \Google\Cloud\AutoMl\V1\DocumentInputConfig $var
+ * @return $this
+ */
+ public function setInputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\DocumentInputConfig::class);
+ $this->input_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * The plain text version of this document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet document_text = 2;
+ * @return \Google\Cloud\AutoMl\V1\TextSnippet|null
+ */
+ public function getDocumentText()
+ {
+ return $this->document_text;
+ }
+
+ public function hasDocumentText()
+ {
+ return isset($this->document_text);
+ }
+
+ public function clearDocumentText()
+ {
+ unset($this->document_text);
+ }
+
+ /**
+ * The plain text version of this document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet document_text = 2;
+ * @param \Google\Cloud\AutoMl\V1\TextSnippet $var
+ * @return $this
+ */
+ public function setDocumentText($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSnippet::class);
+ $this->document_text = $var;
+
+ return $this;
+ }
+
+ /**
+ * Describes the layout of the document.
+ * Sorted by [page_number][].
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Document.Layout layout = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLayout()
+ {
+ return $this->layout;
+ }
+
+ /**
+ * Describes the layout of the document.
+ * Sorted by [page_number][].
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Document.Layout layout = 3;
+ * @param array<\Google\Cloud\AutoMl\V1\Document\Layout>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setLayout($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\Document\Layout::class);
+ $this->layout = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The dimensions of the page in the document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;
+ * @return \Google\Cloud\AutoMl\V1\DocumentDimensions|null
+ */
+ public function getDocumentDimensions()
+ {
+ return $this->document_dimensions;
+ }
+
+ public function hasDocumentDimensions()
+ {
+ return isset($this->document_dimensions);
+ }
+
+ public function clearDocumentDimensions()
+ {
+ unset($this->document_dimensions);
+ }
+
+ /**
+ * The dimensions of the page in the document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentDimensions document_dimensions = 4;
+ * @param \Google\Cloud\AutoMl\V1\DocumentDimensions $var
+ * @return $this
+ */
+ public function setDocumentDimensions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\DocumentDimensions::class);
+ $this->document_dimensions = $var;
+
+ return $this;
+ }
+
+ /**
+ * Number of pages in the document.
+ *
+ * Generated from protobuf field int32 page_count = 5;
+ * @return int
+ */
+ public function getPageCount()
+ {
+ return $this->page_count;
+ }
+
+ /**
+ * Number of pages in the document.
+ *
+ * Generated from protobuf field int32 page_count = 5;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document/Layout.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document/Layout.php
new file mode 100644
index 000000000000..6543bf1767ed
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document/Layout.php
@@ -0,0 +1,228 @@
+google.cloud.automl.v1.Document.Layout
+ */
+class Layout extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Text Segment that represents a segment in
+ * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSegment text_segment = 1;
+ */
+ protected $text_segment = null;
+ /**
+ * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+ * from 1.
+ *
+ * Generated from protobuf field int32 page_number = 2;
+ */
+ protected $page_number = 0;
+ /**
+ * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+ * Contains exactly 4
+ * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
+ * and they are connected by edges in the order provided, which will
+ * represent a rectangle parallel to the frame. The
+ * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
+ * relative to the page.
+ * Coordinates are based on top-left as point (0,0).
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BoundingPoly bounding_poly = 3;
+ */
+ protected $bounding_poly = null;
+ /**
+ * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4;
+ */
+ protected $text_segment_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\TextSegment $text_segment
+ * Text Segment that represents a segment in
+ * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
+ * @type int $page_number
+ * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+ * from 1.
+ * @type \Google\Cloud\AutoMl\V1\BoundingPoly $bounding_poly
+ * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+ * Contains exactly 4
+ * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
+ * and they are connected by edges in the order provided, which will
+ * represent a rectangle parallel to the frame. The
+ * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
+ * relative to the page.
+ * Coordinates are based on top-left as point (0,0).
+ * @type int $text_segment_type
+ * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\DataItems::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Text Segment that represents a segment in
+ * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSegment text_segment = 1;
+ * @return \Google\Cloud\AutoMl\V1\TextSegment|null
+ */
+ public function getTextSegment()
+ {
+ return $this->text_segment;
+ }
+
+ public function hasTextSegment()
+ {
+ return isset($this->text_segment);
+ }
+
+ public function clearTextSegment()
+ {
+ unset($this->text_segment);
+ }
+
+ /**
+ * Text Segment that represents a segment in
+ * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSegment text_segment = 1;
+ * @param \Google\Cloud\AutoMl\V1\TextSegment $var
+ * @return $this
+ */
+ public function setTextSegment($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSegment::class);
+ $this->text_segment = $var;
+
+ return $this;
+ }
+
+ /**
+ * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+ * from 1.
+ *
+ * Generated from protobuf field int32 page_number = 2;
+ * @return int
+ */
+ public function getPageNumber()
+ {
+ return $this->page_number;
+ }
+
+ /**
+ * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+ * from 1.
+ *
+ * Generated from protobuf field int32 page_number = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageNumber($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_number = $var;
+
+ return $this;
+ }
+
+ /**
+ * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+ * Contains exactly 4
+ * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
+ * and they are connected by edges in the order provided, which will
+ * represent a rectangle parallel to the frame. The
+ * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
+ * relative to the page.
+ * Coordinates are based on top-left as point (0,0).
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BoundingPoly bounding_poly = 3;
+ * @return \Google\Cloud\AutoMl\V1\BoundingPoly|null
+ */
+ public function getBoundingPoly()
+ {
+ return $this->bounding_poly;
+ }
+
+ public function hasBoundingPoly()
+ {
+ return isset($this->bounding_poly);
+ }
+
+ public function clearBoundingPoly()
+ {
+ unset($this->bounding_poly);
+ }
+
+ /**
+ * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+ * Contains exactly 4
+ * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
+ * and they are connected by edges in the order provided, which will
+ * represent a rectangle parallel to the frame. The
+ * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
+ * relative to the page.
+ * Coordinates are based on top-left as point (0,0).
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BoundingPoly bounding_poly = 3;
+ * @param \Google\Cloud\AutoMl\V1\BoundingPoly $var
+ * @return $this
+ */
+ public function setBoundingPoly($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BoundingPoly::class);
+ $this->bounding_poly = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4;
+ * @return int
+ */
+ public function getTextSegmentType()
+ {
+ return $this->text_segment_type;
+ }
+
+ /**
+ * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setTextSegmentType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1\Document\Layout\TextSegmentType::class);
+ $this->text_segment_type = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Layout::class, \Google\Cloud\AutoMl\V1\Document_Layout::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document/Layout/TextSegmentType.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document/Layout/TextSegmentType.php
new file mode 100644
index 000000000000..26f6465c5713
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Document/Layout/TextSegmentType.php
@@ -0,0 +1,123 @@
+google.cloud.automl.v1.Document.Layout.TextSegmentType
+ */
+class TextSegmentType
+{
+ /**
+ * Should not be used.
+ *
+ * Generated from protobuf enum TEXT_SEGMENT_TYPE_UNSPECIFIED = 0;
+ */
+ const TEXT_SEGMENT_TYPE_UNSPECIFIED = 0;
+ /**
+ * The text segment is a token. e.g. word.
+ *
+ * Generated from protobuf enum TOKEN = 1;
+ */
+ const TOKEN = 1;
+ /**
+ * The text segment is a paragraph.
+ *
+ * Generated from protobuf enum PARAGRAPH = 2;
+ */
+ const PARAGRAPH = 2;
+ /**
+ * The text segment is a form field.
+ *
+ * Generated from protobuf enum FORM_FIELD = 3;
+ */
+ const FORM_FIELD = 3;
+ /**
+ * The text segment is the name part of a form field. It will be treated
+ * as child of another FORM_FIELD TextSegment if its span is subspan of
+ * another TextSegment with type FORM_FIELD.
+ *
+ * Generated from protobuf enum FORM_FIELD_NAME = 4;
+ */
+ const FORM_FIELD_NAME = 4;
+ /**
+ * The text segment is the text content part of a form field. It will be
+ * treated as child of another FORM_FIELD TextSegment if its span is
+ * subspan of another TextSegment with type FORM_FIELD.
+ *
+ * Generated from protobuf enum FORM_FIELD_CONTENTS = 5;
+ */
+ const FORM_FIELD_CONTENTS = 5;
+ /**
+ * The text segment is a whole table, including headers, and all rows.
+ *
+ * Generated from protobuf enum TABLE = 6;
+ */
+ const TABLE = 6;
+ /**
+ * The text segment is a table's headers. It will be treated as child of
+ * another TABLE TextSegment if its span is subspan of another TextSegment
+ * with type TABLE.
+ *
+ * Generated from protobuf enum TABLE_HEADER = 7;
+ */
+ const TABLE_HEADER = 7;
+ /**
+ * The text segment is a row in table. It will be treated as child of
+ * another TABLE TextSegment if its span is subspan of another TextSegment
+ * with type TABLE.
+ *
+ * Generated from protobuf enum TABLE_ROW = 8;
+ */
+ const TABLE_ROW = 8;
+ /**
+ * The text segment is a cell in table. It will be treated as child of
+ * another TABLE_ROW TextSegment if its span is subspan of another
+ * TextSegment with type TABLE_ROW.
+ *
+ * Generated from protobuf enum TABLE_CELL = 9;
+ */
+ const TABLE_CELL = 9;
+
+ private static $valueToName = [
+ self::TEXT_SEGMENT_TYPE_UNSPECIFIED => 'TEXT_SEGMENT_TYPE_UNSPECIFIED',
+ self::TOKEN => 'TOKEN',
+ self::PARAGRAPH => 'PARAGRAPH',
+ self::FORM_FIELD => 'FORM_FIELD',
+ self::FORM_FIELD_NAME => 'FORM_FIELD_NAME',
+ self::FORM_FIELD_CONTENTS => 'FORM_FIELD_CONTENTS',
+ self::TABLE => 'TABLE',
+ self::TABLE_HEADER => 'TABLE_HEADER',
+ self::TABLE_ROW => 'TABLE_ROW',
+ self::TABLE_CELL => 'TABLE_CELL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(TextSegmentType::class, \Google\Cloud\AutoMl\V1\Document_Layout_TextSegmentType::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentDimensions.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentDimensions.php
new file mode 100644
index 000000000000..ec1a7850a858
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentDimensions.php
@@ -0,0 +1,135 @@
+google.cloud.automl.v1.DocumentDimensions
+ */
+class DocumentDimensions extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Unit of the dimension.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit unit = 1;
+ */
+ protected $unit = 0;
+ /**
+ * Width value of the document, works together with the unit.
+ *
+ * Generated from protobuf field float width = 2;
+ */
+ protected $width = 0.0;
+ /**
+ * Height value of the document, works together with the unit.
+ *
+ * Generated from protobuf field float height = 3;
+ */
+ protected $height = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $unit
+ * Unit of the dimension.
+ * @type float $width
+ * Width value of the document, works together with the unit.
+ * @type float $height
+ * Height value of the document, works together with the unit.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\DataItems::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Unit of the dimension.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit unit = 1;
+ * @return int
+ */
+ public function getUnit()
+ {
+ return $this->unit;
+ }
+
+ /**
+ * Unit of the dimension.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit unit = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setUnit($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1\DocumentDimensions\DocumentDimensionUnit::class);
+ $this->unit = $var;
+
+ return $this;
+ }
+
+ /**
+ * Width value of the document, works together with the unit.
+ *
+ * Generated from protobuf field float width = 2;
+ * @return float
+ */
+ public function getWidth()
+ {
+ return $this->width;
+ }
+
+ /**
+ * Width value of the document, works together with the unit.
+ *
+ * Generated from protobuf field float width = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setWidth($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->width = $var;
+
+ return $this;
+ }
+
+ /**
+ * Height value of the document, works together with the unit.
+ *
+ * Generated from protobuf field float height = 3;
+ * @return float
+ */
+ public function getHeight()
+ {
+ return $this->height;
+ }
+
+ /**
+ * Height value of the document, works together with the unit.
+ *
+ * Generated from protobuf field float height = 3;
+ * @param float $var
+ * @return $this
+ */
+ public function setHeight($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->height = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentDimensions/DocumentDimensionUnit.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentDimensions/DocumentDimensionUnit.php
new file mode 100644
index 000000000000..2faca889037c
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentDimensions/DocumentDimensionUnit.php
@@ -0,0 +1,71 @@
+google.cloud.automl.v1.DocumentDimensions.DocumentDimensionUnit
+ */
+class DocumentDimensionUnit
+{
+ /**
+ * Should not be used.
+ *
+ * Generated from protobuf enum DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0;
+ */
+ const DOCUMENT_DIMENSION_UNIT_UNSPECIFIED = 0;
+ /**
+ * Document dimension is measured in inches.
+ *
+ * Generated from protobuf enum INCH = 1;
+ */
+ const INCH = 1;
+ /**
+ * Document dimension is measured in centimeters.
+ *
+ * Generated from protobuf enum CENTIMETER = 2;
+ */
+ const CENTIMETER = 2;
+ /**
+ * Document dimension is measured in points. 72 points = 1 inch.
+ *
+ * Generated from protobuf enum POINT = 3;
+ */
+ const POINT = 3;
+
+ private static $valueToName = [
+ self::DOCUMENT_DIMENSION_UNIT_UNSPECIFIED => 'DOCUMENT_DIMENSION_UNIT_UNSPECIFIED',
+ self::INCH => 'INCH',
+ self::CENTIMETER => 'CENTIMETER',
+ self::POINT => 'POINT',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DocumentDimensionUnit::class, \Google\Cloud\AutoMl\V1\DocumentDimensions_DocumentDimensionUnit::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentInputConfig.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentInputConfig.php
new file mode 100644
index 000000000000..6c4eeee9e78d
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/DocumentInputConfig.php
@@ -0,0 +1,89 @@
+google.cloud.automl.v1.DocumentInputConfig
+ */
+class DocumentInputConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The Google Cloud Storage location of the document file. Only a single path
+ * should be given.
+ * Max supported size: 512MB.
+ * Supported extensions: .PDF.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1;
+ */
+ protected $gcs_source = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\GcsSource $gcs_source
+ * The Google Cloud Storage location of the document file. Only a single path
+ * should be given.
+ * Max supported size: 512MB.
+ * Supported extensions: .PDF.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Io::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The Google Cloud Storage location of the document file. Only a single path
+ * should be given.
+ * Max supported size: 512MB.
+ * Supported extensions: .PDF.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1;
+ * @return \Google\Cloud\AutoMl\V1\GcsSource|null
+ */
+ public function getGcsSource()
+ {
+ return $this->gcs_source;
+ }
+
+ public function hasGcsSource()
+ {
+ return isset($this->gcs_source);
+ }
+
+ public function clearGcsSource()
+ {
+ unset($this->gcs_source);
+ }
+
+ /**
+ * The Google Cloud Storage location of the document file. Only a single path
+ * should be given.
+ * Max supported size: 512MB.
+ * Supported extensions: .PDF.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1;
+ * @param \Google\Cloud\AutoMl\V1\GcsSource $var
+ * @return $this
+ */
+ public function setGcsSource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\GcsSource::class);
+ $this->gcs_source = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExamplePayload.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExamplePayload.php
new file mode 100644
index 000000000000..9348c79ee7f3
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExamplePayload.php
@@ -0,0 +1,141 @@
+google.cloud.automl.v1.ExamplePayload
+ */
+class ExamplePayload extends \Google\Protobuf\Internal\Message
+{
+ protected $payload;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\Image $image
+ * Example image.
+ * @type \Google\Cloud\AutoMl\V1\TextSnippet $text_snippet
+ * Example text.
+ * @type \Google\Cloud\AutoMl\V1\Document $document
+ * Example document.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\DataItems::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Example image.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Image image = 1;
+ * @return \Google\Cloud\AutoMl\V1\Image|null
+ */
+ public function getImage()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasImage()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Example image.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Image image = 1;
+ * @param \Google\Cloud\AutoMl\V1\Image $var
+ * @return $this
+ */
+ public function setImage($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\Image::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Example text.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet text_snippet = 2;
+ * @return \Google\Cloud\AutoMl\V1\TextSnippet|null
+ */
+ public function getTextSnippet()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasTextSnippet()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Example text.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet text_snippet = 2;
+ * @param \Google\Cloud\AutoMl\V1\TextSnippet $var
+ * @return $this
+ */
+ public function setTextSnippet($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSnippet::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Example document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Document document = 4;
+ * @return \Google\Cloud\AutoMl\V1\Document|null
+ */
+ public function getDocument()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasDocument()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Example document.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Document document = 4;
+ * @param \Google\Cloud\AutoMl\V1\Document $var
+ * @return $this
+ */
+ public function setDocument($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\Document::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getPayload()
+ {
+ return $this->whichOneof("payload");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataOperationMetadata.php
new file mode 100644
index 000000000000..df21bee419e0
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataOperationMetadata.php
@@ -0,0 +1,77 @@
+google.cloud.automl.v1.ExportDataOperationMetadata
+ */
+class ExportDataOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Information further describing this export data's output.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo output_info = 1;
+ */
+ protected $output_info = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo $output_info
+ * Output only. Information further describing this export data's output.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Information further describing this export data's output.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo output_info = 1;
+ * @return \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo|null
+ */
+ public function getOutputInfo()
+ {
+ return $this->output_info;
+ }
+
+ public function hasOutputInfo()
+ {
+ return isset($this->output_info);
+ }
+
+ public function clearOutputInfo()
+ {
+ unset($this->output_info);
+ }
+
+ /**
+ * Output only. Information further describing this export data's output.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo output_info = 1;
+ * @param \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo $var
+ * @return $this
+ */
+ public function setOutputInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata\ExportDataOutputInfo::class);
+ $this->output_info = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataOperationMetadata/ExportDataOutputInfo.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataOperationMetadata/ExportDataOutputInfo.php
new file mode 100644
index 000000000000..9b2842faa5b7
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataOperationMetadata/ExportDataOutputInfo.php
@@ -0,0 +1,83 @@
+google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo
+ */
+class ExportDataOutputInfo extends \Google\Protobuf\Internal\Message
+{
+ protected $output_location;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $gcs_output_directory
+ * The full path of the Google Cloud Storage directory created, into which
+ * the exported data is written.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the exported data is written.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ * @return string
+ */
+ public function getGcsOutputDirectory()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsOutputDirectory()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the exported data is written.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setGcsOutputDirectory($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getOutputLocation()
+ {
+ return $this->whichOneof("output_location");
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ExportDataOutputInfo::class, \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata_ExportDataOutputInfo::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataRequest.php
new file mode 100644
index 000000000000..de1805283889
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportDataRequest.php
@@ -0,0 +1,127 @@
+google.cloud.automl.v1.ExportDataRequest
+ */
+class ExportDataRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the dataset.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Required. The desired output location.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $output_config = null;
+
+ /**
+ * @param string $name Required. The resource name of the dataset. Please see
+ * {@see AutoMlClient::datasetName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\OutputConfig $outputConfig Required. The desired output location.
+ *
+ * @return \Google\Cloud\AutoMl\V1\ExportDataRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name, \Google\Cloud\AutoMl\V1\OutputConfig $outputConfig): self
+ {
+ return (new self())
+ ->setName($name)
+ ->setOutputConfig($outputConfig);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the dataset.
+ * @type \Google\Cloud\AutoMl\V1\OutputConfig $output_config
+ * Required. The desired output location.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the dataset.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the dataset.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The desired output location.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\OutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Required. The desired output location.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\OutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\OutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelOperationMetadata.php
new file mode 100644
index 000000000000..d14c8c23cdf4
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelOperationMetadata.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.ExportModelOperationMetadata
+ */
+class ExportModelOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Information further describing the output of this model
+ * export.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportModelOperationMetadata.ExportModelOutputInfo output_info = 2;
+ */
+ protected $output_info = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata\ExportModelOutputInfo $output_info
+ * Output only. Information further describing the output of this model
+ * export.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Information further describing the output of this model
+ * export.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportModelOperationMetadata.ExportModelOutputInfo output_info = 2;
+ * @return \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata\ExportModelOutputInfo|null
+ */
+ public function getOutputInfo()
+ {
+ return $this->output_info;
+ }
+
+ public function hasOutputInfo()
+ {
+ return isset($this->output_info);
+ }
+
+ public function clearOutputInfo()
+ {
+ unset($this->output_info);
+ }
+
+ /**
+ * Output only. Information further describing the output of this model
+ * export.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportModelOperationMetadata.ExportModelOutputInfo output_info = 2;
+ * @param \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata\ExportModelOutputInfo $var
+ * @return $this
+ */
+ public function setOutputInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata\ExportModelOutputInfo::class);
+ $this->output_info = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelOperationMetadata/ExportModelOutputInfo.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelOperationMetadata/ExportModelOutputInfo.php
new file mode 100644
index 000000000000..a474a71bfbcd
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelOperationMetadata/ExportModelOutputInfo.php
@@ -0,0 +1,76 @@
+google.cloud.automl.v1.ExportModelOperationMetadata.ExportModelOutputInfo
+ */
+class ExportModelOutputInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the model will be exported.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ */
+ protected $gcs_output_directory = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $gcs_output_directory
+ * The full path of the Google Cloud Storage directory created, into which
+ * the model will be exported.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the model will be exported.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ * @return string
+ */
+ public function getGcsOutputDirectory()
+ {
+ return $this->gcs_output_directory;
+ }
+
+ /**
+ * The full path of the Google Cloud Storage directory created, into which
+ * the model will be exported.
+ *
+ * Generated from protobuf field string gcs_output_directory = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setGcsOutputDirectory($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->gcs_output_directory = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ExportModelOutputInfo::class, \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata_ExportModelOutputInfo::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelRequest.php
new file mode 100644
index 000000000000..f312fb2a3331
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ExportModelRequest.php
@@ -0,0 +1,129 @@
+google.cloud.automl.v1.ExportModelRequest
+ */
+class ExportModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the model to export.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Required. The desired output location and configuration.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $output_config = null;
+
+ /**
+ * @param string $name Required. The resource name of the model to export. Please see
+ * {@see AutoMlClient::modelName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\ModelExportOutputConfig $outputConfig Required. The desired output location and configuration.
+ *
+ * @return \Google\Cloud\AutoMl\V1\ExportModelRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name, \Google\Cloud\AutoMl\V1\ModelExportOutputConfig $outputConfig): self
+ {
+ return (new self())
+ ->setName($name)
+ ->setOutputConfig($outputConfig);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the model to export.
+ * @type \Google\Cloud\AutoMl\V1\ModelExportOutputConfig $output_config
+ * Required. The desired output location and configuration.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the model to export.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the model to export.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The desired output location and configuration.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\ModelExportOutputConfig|null
+ */
+ public function getOutputConfig()
+ {
+ return $this->output_config;
+ }
+
+ public function hasOutputConfig()
+ {
+ return isset($this->output_config);
+ }
+
+ public function clearOutputConfig()
+ {
+ unset($this->output_config);
+ }
+
+ /**
+ * Required. The desired output location and configuration.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\ModelExportOutputConfig $var
+ * @return $this
+ */
+ public function setOutputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ModelExportOutputConfig::class);
+ $this->output_config = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GcsDestination.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GcsDestination.php
new file mode 100644
index 000000000000..1507ee3b65c3
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GcsDestination.php
@@ -0,0 +1,87 @@
+google.cloud.automl.v1.GcsDestination
+ */
+class GcsDestination extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Google Cloud Storage URI to output directory, up to 2000
+ * characters long.
+ * Accepted forms:
+ * * Prefix path: gs://bucket/directory
+ * The requesting user must have write permission to the bucket.
+ * The directory is created if it doesn't exist.
+ *
+ * Generated from protobuf field string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $output_uri_prefix = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $output_uri_prefix
+ * Required. Google Cloud Storage URI to output directory, up to 2000
+ * characters long.
+ * Accepted forms:
+ * * Prefix path: gs://bucket/directory
+ * The requesting user must have write permission to the bucket.
+ * The directory is created if it doesn't exist.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Io::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Google Cloud Storage URI to output directory, up to 2000
+ * characters long.
+ * Accepted forms:
+ * * Prefix path: gs://bucket/directory
+ * The requesting user must have write permission to the bucket.
+ * The directory is created if it doesn't exist.
+ *
+ * Generated from protobuf field string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getOutputUriPrefix()
+ {
+ return $this->output_uri_prefix;
+ }
+
+ /**
+ * Required. Google Cloud Storage URI to output directory, up to 2000
+ * characters long.
+ * Accepted forms:
+ * * Prefix path: gs://bucket/directory
+ * The requesting user must have write permission to the bucket.
+ * The directory is created if it doesn't exist.
+ *
+ * Generated from protobuf field string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setOutputUriPrefix($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->output_uri_prefix = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GcsSource.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GcsSource.php
new file mode 100644
index 000000000000..f1ee2813c293
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GcsSource.php
@@ -0,0 +1,75 @@
+google.cloud.automl.v1.GcsSource
+ */
+class GcsSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Google Cloud Storage URIs to input files, up to 2000
+ * characters long. Accepted forms:
+ * * Full object path, e.g. gs://bucket/directory/object.csv
+ *
+ * Generated from protobuf field repeated string input_uris = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $input_uris;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type arrayrepeated string input_uris = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getInputUris()
+ {
+ return $this->input_uris;
+ }
+
+ /**
+ * Required. Google Cloud Storage URIs to input files, up to 2000
+ * characters long. Accepted forms:
+ * * Full object path, e.g. gs://bucket/directory/object.csv
+ *
+ * Generated from protobuf field repeated string input_uris = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param arraystring name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The resource name of the annotation spec to retrieve. Please see
+ * {@see AutoMlClient::annotationSpecName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\GetAnnotationSpecRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the annotation spec to retrieve.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the annotation spec to retrieve.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the annotation spec to retrieve.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetDatasetRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetDatasetRequest.php
new file mode 100644
index 000000000000..e72ac9b107a3
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetDatasetRequest.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.GetDatasetRequest
+ */
+class GetDatasetRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the dataset to retrieve.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. The resource name of the dataset to retrieve. Please see
+ * {@see AutoMlClient::datasetName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\GetDatasetRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the dataset to retrieve.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the dataset to retrieve.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the dataset to retrieve.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetModelEvaluationRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetModelEvaluationRequest.php
new file mode 100644
index 000000000000..486af4fea40c
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetModelEvaluationRequest.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.GetModelEvaluationRequest
+ */
+class GetModelEvaluationRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name for the model evaluation.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. Resource name for the model evaluation. Please see
+ * {@see AutoMlClient::modelEvaluationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\GetModelEvaluationRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Resource name for the model evaluation.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name for the model evaluation.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Resource name for the model evaluation.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetModelRequest.php
new file mode 100644
index 000000000000..a318754dbc1a
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/GetModelRequest.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.GetModelRequest
+ */
+class GetModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the model.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. Resource name of the model. Please see
+ * {@see AutoMlClient::modelName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\GetModelRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Resource name of the model.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name of the model.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Resource name of the model.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Image.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Image.php
new file mode 100644
index 000000000000..e419a45e3363
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Image.php
@@ -0,0 +1,116 @@
+google.cloud.automl.v1.Image
+ */
+class Image extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. HTTP URI to the thumbnail image.
+ *
+ * Generated from protobuf field string thumbnail_uri = 4;
+ */
+ protected $thumbnail_uri = '';
+ protected $data;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $image_bytes
+ * Image content represented as a stream of bytes.
+ * Note: As with all `bytes` fields, protobuffers use a pure binary
+ * representation, whereas JSON representations use base64.
+ * @type string $thumbnail_uri
+ * Output only. HTTP URI to the thumbnail image.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\DataItems::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Image content represented as a stream of bytes.
+ * Note: As with all `bytes` fields, protobuffers use a pure binary
+ * representation, whereas JSON representations use base64.
+ *
+ * Generated from protobuf field bytes image_bytes = 1;
+ * @return string
+ */
+ public function getImageBytes()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasImageBytes()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Image content represented as a stream of bytes.
+ * Note: As with all `bytes` fields, protobuffers use a pure binary
+ * representation, whereas JSON representations use base64.
+ *
+ * Generated from protobuf field bytes image_bytes = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setImageBytes($var)
+ {
+ GPBUtil::checkString($var, False);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. HTTP URI to the thumbnail image.
+ *
+ * Generated from protobuf field string thumbnail_uri = 4;
+ * @return string
+ */
+ public function getThumbnailUri()
+ {
+ return $this->thumbnail_uri;
+ }
+
+ /**
+ * Output only. HTTP URI to the thumbnail image.
+ *
+ * Generated from protobuf field string thumbnail_uri = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setThumbnailUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->thumbnail_uri = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getData()
+ {
+ return $this->whichOneof("data");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationDatasetMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationDatasetMetadata.php
new file mode 100644
index 000000000000..cdff5eb4abcc
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationDatasetMetadata.php
@@ -0,0 +1,67 @@
+google.cloud.automl.v1.ImageClassificationDatasetMetadata
+ */
+class ImageClassificationDatasetMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Type of the classification problem.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $classification_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $classification_type
+ * Required. Type of the classification problem.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Image::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Type of the classification problem.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getClassificationType()
+ {
+ return $this->classification_type;
+ }
+
+ /**
+ * Required. Type of the classification problem.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setClassificationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1\ClassificationType::class);
+ $this->classification_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationModelDeploymentMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationModelDeploymentMetadata.php
new file mode 100644
index 000000000000..6feef139228c
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationModelDeploymentMetadata.php
@@ -0,0 +1,83 @@
+google.cloud.automl.v1.ImageClassificationModelDeploymentMetadata
+ */
+class ImageClassificationModelDeploymentMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [node_qps][google.cloud.automl.v1.ImageClassificationModelMetadata.node_qps].
+ * Must be between 1 and 100, inclusive on both ends.
+ *
+ * Generated from protobuf field int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ protected $node_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $node_count
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [node_qps][google.cloud.automl.v1.ImageClassificationModelMetadata.node_qps].
+ * Must be between 1 and 100, inclusive on both ends.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Image::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [node_qps][google.cloud.automl.v1.ImageClassificationModelMetadata.node_qps].
+ * Must be between 1 and 100, inclusive on both ends.
+ *
+ * Generated from protobuf field int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return int|string
+ */
+ public function getNodeCount()
+ {
+ return $this->node_count;
+ }
+
+ /**
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [node_qps][google.cloud.automl.v1.ImageClassificationModelMetadata.node_qps].
+ * Must be between 1 and 100, inclusive on both ends.
+ *
+ * Generated from protobuf field int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setNodeCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->node_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationModelMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationModelMetadata.php
new file mode 100644
index 000000000000..9ae527709873
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageClassificationModelMetadata.php
@@ -0,0 +1,491 @@
+google.cloud.automl.v1.ImageClassificationModelMetadata
+ */
+class ImageClassificationModelMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The ID of the `base` model. If it is specified, the new model
+ * will be created based on the `base` model. Otherwise, the new model will be
+ * created from scratch. The `base` model must be in the same
+ * `project` and `location` as the new model to create, and have the same
+ * `model_type`.
+ *
+ * Generated from protobuf field string base_model_id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $base_model_id = '';
+ /**
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud`(default), the train budget must be between 8,000
+ * and 800,000 milli node hours, inclusive. The default value is 192, 000
+ * which represents one day in wall time. For model type
+ * `mobile-low-latency-1`, `mobile-versatile-1`, `mobile-high-accuracy-1`,
+ * `mobile-core-ml-low-latency-1`, `mobile-core-ml-versatile-1`,
+ * `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000
+ * and 100,000 milli node hours, inclusive. The default value is 24, 000 which
+ * represents one day in wall time.
+ *
+ * Generated from protobuf field int64 train_budget_milli_node_hours = 16 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $train_budget_milli_node_hours = 0;
+ /**
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ *
+ * Generated from protobuf field int64 train_cost_milli_node_hours = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $train_cost_milli_node_hours = 0;
+ /**
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ *
+ * Generated from protobuf field string stop_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $stop_reason = '';
+ /**
+ * Optional. Type of the model. The available values are:
+ * * `cloud` - Model to be used via prediction calls to AutoML API.
+ * This is the default value.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards. Expected to have low latency, but may have
+ * lower prediction quality than other models.
+ * * `mobile-core-ml-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards.
+ * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to
+ * providing prediction via AutoML API, can also be exported
+ * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with
+ * Core ML afterwards. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ *
+ * Generated from protobuf field string model_type = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $model_type = '';
+ /**
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ *
+ * Generated from protobuf field double node_qps = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $node_qps = 0.0;
+ /**
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the node_qps field.
+ *
+ * Generated from protobuf field int64 node_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $node_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $base_model_id
+ * Optional. The ID of the `base` model. If it is specified, the new model
+ * will be created based on the `base` model. Otherwise, the new model will be
+ * created from scratch. The `base` model must be in the same
+ * `project` and `location` as the new model to create, and have the same
+ * `model_type`.
+ * @type int|string $train_budget_milli_node_hours
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud`(default), the train budget must be between 8,000
+ * and 800,000 milli node hours, inclusive. The default value is 192, 000
+ * which represents one day in wall time. For model type
+ * `mobile-low-latency-1`, `mobile-versatile-1`, `mobile-high-accuracy-1`,
+ * `mobile-core-ml-low-latency-1`, `mobile-core-ml-versatile-1`,
+ * `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000
+ * and 100,000 milli node hours, inclusive. The default value is 24, 000 which
+ * represents one day in wall time.
+ * @type int|string $train_cost_milli_node_hours
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ * @type string $stop_reason
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ * @type string $model_type
+ * Optional. Type of the model. The available values are:
+ * * `cloud` - Model to be used via prediction calls to AutoML API.
+ * This is the default value.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards. Expected to have low latency, but may have
+ * lower prediction quality than other models.
+ * * `mobile-core-ml-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards.
+ * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to
+ * providing prediction via AutoML API, can also be exported
+ * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with
+ * Core ML afterwards. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ * @type float $node_qps
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ * @type int|string $node_count
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the node_qps field.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Image::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. The ID of the `base` model. If it is specified, the new model
+ * will be created based on the `base` model. Otherwise, the new model will be
+ * created from scratch. The `base` model must be in the same
+ * `project` and `location` as the new model to create, and have the same
+ * `model_type`.
+ *
+ * Generated from protobuf field string base_model_id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getBaseModelId()
+ {
+ return $this->base_model_id;
+ }
+
+ /**
+ * Optional. The ID of the `base` model. If it is specified, the new model
+ * will be created based on the `base` model. Otherwise, the new model will be
+ * created from scratch. The `base` model must be in the same
+ * `project` and `location` as the new model to create, and have the same
+ * `model_type`.
+ *
+ * Generated from protobuf field string base_model_id = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setBaseModelId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->base_model_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud`(default), the train budget must be between 8,000
+ * and 800,000 milli node hours, inclusive. The default value is 192, 000
+ * which represents one day in wall time. For model type
+ * `mobile-low-latency-1`, `mobile-versatile-1`, `mobile-high-accuracy-1`,
+ * `mobile-core-ml-low-latency-1`, `mobile-core-ml-versatile-1`,
+ * `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000
+ * and 100,000 milli node hours, inclusive. The default value is 24, 000 which
+ * represents one day in wall time.
+ *
+ * Generated from protobuf field int64 train_budget_milli_node_hours = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int|string
+ */
+ public function getTrainBudgetMilliNodeHours()
+ {
+ return $this->train_budget_milli_node_hours;
+ }
+
+ /**
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud`(default), the train budget must be between 8,000
+ * and 800,000 milli node hours, inclusive. The default value is 192, 000
+ * which represents one day in wall time. For model type
+ * `mobile-low-latency-1`, `mobile-versatile-1`, `mobile-high-accuracy-1`,
+ * `mobile-core-ml-low-latency-1`, `mobile-core-ml-versatile-1`,
+ * `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000
+ * and 100,000 milli node hours, inclusive. The default value is 24, 000 which
+ * represents one day in wall time.
+ *
+ * Generated from protobuf field int64 train_budget_milli_node_hours = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTrainBudgetMilliNodeHours($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->train_budget_milli_node_hours = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ *
+ * Generated from protobuf field int64 train_cost_milli_node_hours = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getTrainCostMilliNodeHours()
+ {
+ return $this->train_cost_milli_node_hours;
+ }
+
+ /**
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ *
+ * Generated from protobuf field int64 train_cost_milli_node_hours = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTrainCostMilliNodeHours($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->train_cost_milli_node_hours = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ *
+ * Generated from protobuf field string stop_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getStopReason()
+ {
+ return $this->stop_reason;
+ }
+
+ /**
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ *
+ * Generated from protobuf field string stop_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setStopReason($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->stop_reason = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Type of the model. The available values are:
+ * * `cloud` - Model to be used via prediction calls to AutoML API.
+ * This is the default value.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards. Expected to have low latency, but may have
+ * lower prediction quality than other models.
+ * * `mobile-core-ml-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards.
+ * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to
+ * providing prediction via AutoML API, can also be exported
+ * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with
+ * Core ML afterwards. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ *
+ * Generated from protobuf field string model_type = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getModelType()
+ {
+ return $this->model_type;
+ }
+
+ /**
+ * Optional. Type of the model. The available values are:
+ * * `cloud` - Model to be used via prediction calls to AutoML API.
+ * This is the default value.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards. Expected to have low latency, but may have
+ * lower prediction quality than other models.
+ * * `mobile-core-ml-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core
+ * ML afterwards.
+ * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to
+ * providing prediction via AutoML API, can also be exported
+ * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with
+ * Core ML afterwards. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ *
+ * Generated from protobuf field string model_type = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setModelType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->model_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ *
+ * Generated from protobuf field double node_qps = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return float
+ */
+ public function getNodeQps()
+ {
+ return $this->node_qps;
+ }
+
+ /**
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ *
+ * Generated from protobuf field double node_qps = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param float $var
+ * @return $this
+ */
+ public function setNodeQps($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->node_qps = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the node_qps field.
+ *
+ * Generated from protobuf field int64 node_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getNodeCount()
+ {
+ return $this->node_count;
+ }
+
+ /**
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the node_qps field.
+ *
+ * Generated from protobuf field int64 node_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setNodeCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->node_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionAnnotation.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionAnnotation.php
new file mode 100644
index 000000000000..d14e42e9405c
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionAnnotation.php
@@ -0,0 +1,115 @@
+google.cloud.automl.v1.ImageObjectDetectionAnnotation
+ */
+class ImageObjectDetectionAnnotation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The rectangle representing the object location.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BoundingPoly bounding_box = 1;
+ */
+ protected $bounding_box = null;
+ /**
+ * Output only. The confidence that this annotation is positive for the parent example,
+ * value in [0, 1], higher means higher positivity confidence.
+ *
+ * Generated from protobuf field float score = 2;
+ */
+ protected $score = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\BoundingPoly $bounding_box
+ * Output only. The rectangle representing the object location.
+ * @type float $score
+ * Output only. The confidence that this annotation is positive for the parent example,
+ * value in [0, 1], higher means higher positivity confidence.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Detection::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The rectangle representing the object location.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BoundingPoly bounding_box = 1;
+ * @return \Google\Cloud\AutoMl\V1\BoundingPoly|null
+ */
+ public function getBoundingBox()
+ {
+ return $this->bounding_box;
+ }
+
+ public function hasBoundingBox()
+ {
+ return isset($this->bounding_box);
+ }
+
+ public function clearBoundingBox()
+ {
+ unset($this->bounding_box);
+ }
+
+ /**
+ * Output only. The rectangle representing the object location.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BoundingPoly bounding_box = 1;
+ * @param \Google\Cloud\AutoMl\V1\BoundingPoly $var
+ * @return $this
+ */
+ public function setBoundingBox($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BoundingPoly::class);
+ $this->bounding_box = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The confidence that this annotation is positive for the parent example,
+ * value in [0, 1], higher means higher positivity confidence.
+ *
+ * Generated from protobuf field float score = 2;
+ * @return float
+ */
+ public function getScore()
+ {
+ return $this->score;
+ }
+
+ /**
+ * Output only. The confidence that this annotation is positive for the parent example,
+ * value in [0, 1], higher means higher positivity confidence.
+ *
+ * Generated from protobuf field float score = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setScore($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->score = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionDatasetMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionDatasetMetadata.php
new file mode 100644
index 000000000000..a2ba5e2adecf
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionDatasetMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata
+ */
+class ImageObjectDetectionDatasetMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Image::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionEvaluationMetrics.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionEvaluationMetrics.php
new file mode 100644
index 000000000000..c76660d7f663
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionEvaluationMetrics.php
@@ -0,0 +1,156 @@
+google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics
+ */
+class ImageObjectDetectionEvaluationMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The total number of bounding boxes (i.e. summed over all
+ * images) the ground truth used to create this evaluation had.
+ *
+ * Generated from protobuf field int32 evaluated_bounding_box_count = 1;
+ */
+ protected $evaluated_bounding_box_count = 0;
+ /**
+ * Output only. The bounding boxes match metrics for each
+ * Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * pair.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
+ */
+ private $bounding_box_metrics_entries;
+ /**
+ * Output only. The single metric for bounding boxes evaluation:
+ * the mean_average_precision averaged over all bounding_box_metrics_entries.
+ *
+ * Generated from protobuf field float bounding_box_mean_average_precision = 3;
+ */
+ protected $bounding_box_mean_average_precision = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $evaluated_bounding_box_count
+ * Output only. The total number of bounding boxes (i.e. summed over all
+ * images) the ground truth used to create this evaluation had.
+ * @type array<\Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $bounding_box_metrics_entries
+ * Output only. The bounding boxes match metrics for each
+ * Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * pair.
+ * @type float $bounding_box_mean_average_precision
+ * Output only. The single metric for bounding boxes evaluation:
+ * the mean_average_precision averaged over all bounding_box_metrics_entries.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Detection::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The total number of bounding boxes (i.e. summed over all
+ * images) the ground truth used to create this evaluation had.
+ *
+ * Generated from protobuf field int32 evaluated_bounding_box_count = 1;
+ * @return int
+ */
+ public function getEvaluatedBoundingBoxCount()
+ {
+ return $this->evaluated_bounding_box_count;
+ }
+
+ /**
+ * Output only. The total number of bounding boxes (i.e. summed over all
+ * images) the ground truth used to create this evaluation had.
+ *
+ * Generated from protobuf field int32 evaluated_bounding_box_count = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setEvaluatedBoundingBoxCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->evaluated_bounding_box_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The bounding boxes match metrics for each
+ * Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * pair.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBoundingBoxMetricsEntries()
+ {
+ return $this->bounding_box_metrics_entries;
+ }
+
+ /**
+ * Output only. The bounding boxes match metrics for each
+ * Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
+ * pair.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
+ * @param array<\Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBoundingBoxMetricsEntries($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\BoundingBoxMetricsEntry::class);
+ $this->bounding_box_metrics_entries = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The single metric for bounding boxes evaluation:
+ * the mean_average_precision averaged over all bounding_box_metrics_entries.
+ *
+ * Generated from protobuf field float bounding_box_mean_average_precision = 3;
+ * @return float
+ */
+ public function getBoundingBoxMeanAveragePrecision()
+ {
+ return $this->bounding_box_mean_average_precision;
+ }
+
+ /**
+ * Output only. The single metric for bounding boxes evaluation:
+ * the mean_average_precision averaged over all bounding_box_metrics_entries.
+ *
+ * Generated from protobuf field float bounding_box_mean_average_precision = 3;
+ * @param float $var
+ * @return $this
+ */
+ public function setBoundingBoxMeanAveragePrecision($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->bounding_box_mean_average_precision = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionModelDeploymentMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionModelDeploymentMetadata.php
new file mode 100644
index 000000000000..aa2ba7040637
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionModelDeploymentMetadata.php
@@ -0,0 +1,83 @@
+google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata
+ */
+class ImageObjectDetectionModelDeploymentMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node].
+ * Must be between 1 and 100, inclusive on both ends.
+ *
+ * Generated from protobuf field int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ protected $node_count = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $node_count
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node].
+ * Must be between 1 and 100, inclusive on both ends.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Image::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node].
+ * Must be between 1 and 100, inclusive on both ends.
+ *
+ * Generated from protobuf field int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return int|string
+ */
+ public function getNodeCount()
+ {
+ return $this->node_count;
+ }
+
+ /**
+ * Input only. The number of nodes to deploy the model on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the model's
+ * [qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node].
+ * Must be between 1 and 100, inclusive on both ends.
+ *
+ * Generated from protobuf field int64 node_count = 1 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setNodeCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->node_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionModelMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionModelMetadata.php
new file mode 100644
index 000000000000..522fb87ccb8f
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImageObjectDetectionModelMetadata.php
@@ -0,0 +1,405 @@
+google.cloud.automl.v1.ImageObjectDetectionModelMetadata
+ */
+class ImageObjectDetectionModelMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Type of the model. The available values are:
+ * * `cloud-high-accuracy-1` - (default) A model to be used via prediction
+ * calls to AutoML API. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ * * `cloud-low-latency-1` - A model to be used via prediction
+ * calls to AutoML API. Expected to have low latency, but may
+ * have lower prediction quality than other models.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ *
+ * Generated from protobuf field string model_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $model_type = '';
+ /**
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the qps_per_node field.
+ *
+ * Generated from protobuf field int64 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $node_count = 0;
+ /**
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ *
+ * Generated from protobuf field double node_qps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $node_qps = 0.0;
+ /**
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ *
+ * Generated from protobuf field string stop_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $stop_reason = '';
+ /**
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 900,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
+ *
+ * Generated from protobuf field int64 train_budget_milli_node_hours = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $train_budget_milli_node_hours = 0;
+ /**
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ *
+ * Generated from protobuf field int64 train_cost_milli_node_hours = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $train_cost_milli_node_hours = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $model_type
+ * Optional. Type of the model. The available values are:
+ * * `cloud-high-accuracy-1` - (default) A model to be used via prediction
+ * calls to AutoML API. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ * * `cloud-low-latency-1` - A model to be used via prediction
+ * calls to AutoML API. Expected to have low latency, but may
+ * have lower prediction quality than other models.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ * @type int|string $node_count
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the qps_per_node field.
+ * @type float $node_qps
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ * @type string $stop_reason
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ * @type int|string $train_budget_milli_node_hours
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 900,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
+ * @type int|string $train_cost_milli_node_hours
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Image::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Type of the model. The available values are:
+ * * `cloud-high-accuracy-1` - (default) A model to be used via prediction
+ * calls to AutoML API. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ * * `cloud-low-latency-1` - A model to be used via prediction
+ * calls to AutoML API. Expected to have low latency, but may
+ * have lower prediction quality than other models.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ *
+ * Generated from protobuf field string model_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getModelType()
+ {
+ return $this->model_type;
+ }
+
+ /**
+ * Optional. Type of the model. The available values are:
+ * * `cloud-high-accuracy-1` - (default) A model to be used via prediction
+ * calls to AutoML API. Expected to have a higher latency, but
+ * should also have a higher prediction quality than other
+ * models.
+ * * `cloud-low-latency-1` - A model to be used via prediction
+ * calls to AutoML API. Expected to have low latency, but may
+ * have lower prediction quality than other models.
+ * * `mobile-low-latency-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have low latency, but
+ * may have lower prediction quality than other models.
+ * * `mobile-versatile-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards.
+ * * `mobile-high-accuracy-1` - A model that, in addition to providing
+ * prediction via AutoML API, can also be exported (see
+ * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device
+ * with TensorFlow afterwards. Expected to have a higher
+ * latency, but should also have a higher prediction quality
+ * than other models.
+ *
+ * Generated from protobuf field string model_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setModelType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->model_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the qps_per_node field.
+ *
+ * Generated from protobuf field int64 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getNodeCount()
+ {
+ return $this->node_count;
+ }
+
+ /**
+ * Output only. The number of nodes this model is deployed on. A node is an
+ * abstraction of a machine resource, which can handle online prediction QPS
+ * as given in the qps_per_node field.
+ *
+ * Generated from protobuf field int64 node_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setNodeCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->node_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ *
+ * Generated from protobuf field double node_qps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return float
+ */
+ public function getNodeQps()
+ {
+ return $this->node_qps;
+ }
+
+ /**
+ * Output only. An approximate number of online prediction QPS that can
+ * be supported by this model per each node on which it is deployed.
+ *
+ * Generated from protobuf field double node_qps = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param float $var
+ * @return $this
+ */
+ public function setNodeQps($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->node_qps = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ *
+ * Generated from protobuf field string stop_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getStopReason()
+ {
+ return $this->stop_reason;
+ }
+
+ /**
+ * Output only. The reason that this create model operation stopped,
+ * e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
+ *
+ * Generated from protobuf field string stop_reason = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setStopReason($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->stop_reason = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 900,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
+ *
+ * Generated from protobuf field int64 train_budget_milli_node_hours = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int|string
+ */
+ public function getTrainBudgetMilliNodeHours()
+ {
+ return $this->train_budget_milli_node_hours;
+ }
+
+ /**
+ * Optional. The train budget of creating this model, expressed in milli node
+ * hours i.e. 1,000 value in this field means 1 node hour. The actual
+ * `train_cost` will be equal or less than this value. If further model
+ * training ceases to provide any improvements, it will stop without using
+ * full budget and the stop_reason will be `MODEL_CONVERGED`.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 900,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
+ *
+ * Generated from protobuf field int64 train_budget_milli_node_hours = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTrainBudgetMilliNodeHours($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->train_budget_milli_node_hours = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ *
+ * Generated from protobuf field int64 train_cost_milli_node_hours = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getTrainCostMilliNodeHours()
+ {
+ return $this->train_cost_milli_node_hours;
+ }
+
+ /**
+ * Output only. The actual train cost of creating this model, expressed in
+ * milli node hours, i.e. 1,000 value in this field means 1 node hour.
+ * Guaranteed to not exceed the train budget.
+ *
+ * Generated from protobuf field int64 train_cost_milli_node_hours = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTrainCostMilliNodeHours($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->train_cost_milli_node_hours = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImportDataOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImportDataOperationMetadata.php
new file mode 100644
index 000000000000..33f3202cd1f0
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImportDataOperationMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.ImportDataOperationMetadata
+ */
+class ImportDataOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImportDataRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImportDataRequest.php
new file mode 100644
index 000000000000..c8b094af5d22
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ImportDataRequest.php
@@ -0,0 +1,137 @@
+google.cloud.automl.v1.ImportDataRequest
+ */
+class ImportDataRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Dataset name. Dataset must already exist. All imported
+ * annotations and examples will be added.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Required. The desired input location and its domain specific semantics,
+ * if any.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $input_config = null;
+
+ /**
+ * @param string $name Required. Dataset name. Dataset must already exist. All imported
+ * annotations and examples will be added. Please see
+ * {@see AutoMlClient::datasetName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\InputConfig $inputConfig Required. The desired input location and its domain specific semantics,
+ * if any.
+ *
+ * @return \Google\Cloud\AutoMl\V1\ImportDataRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name, \Google\Cloud\AutoMl\V1\InputConfig $inputConfig): self
+ {
+ return (new self())
+ ->setName($name)
+ ->setInputConfig($inputConfig);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Dataset name. Dataset must already exist. All imported
+ * annotations and examples will be added.
+ * @type \Google\Cloud\AutoMl\V1\InputConfig $input_config
+ * Required. The desired input location and its domain specific semantics,
+ * if any.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Dataset name. Dataset must already exist. All imported
+ * annotations and examples will be added.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Dataset name. Dataset must already exist. All imported
+ * annotations and examples will be added.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The desired input location and its domain specific semantics,
+ * if any.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\InputConfig|null
+ */
+ public function getInputConfig()
+ {
+ return $this->input_config;
+ }
+
+ public function hasInputConfig()
+ {
+ return isset($this->input_config);
+ }
+
+ public function clearInputConfig()
+ {
+ unset($this->input_config);
+ }
+
+ /**
+ * Required. The desired input location and its domain specific semantics,
+ * if any.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\InputConfig $var
+ * @return $this
+ */
+ public function setInputConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\InputConfig::class);
+ $this->input_config = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/InputConfig.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/InputConfig.php
new file mode 100644
index 000000000000..eb2d04bbb9c0
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/InputConfig.php
@@ -0,0 +1,614 @@
+
+ *
+ * #### AutoML Video Intelligence
+ * ##### Classification
+ * See [Preparing your training
+ * data](https://cloud.google.com/video-intelligence/automl/docs/prepare) for
+ * more information.
+ * CSV file(s) with each line in format:
+ * ML_USE,GCS_FILE_PATH
+ * For `ML_USE`, do not use `VALIDATE`.
+ * `GCS_FILE_PATH` is the path to another .csv file that describes training
+ * example for a given `ML_USE`, using the following row format:
+ * GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,)
+ * Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
+ * to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
+ * `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the
+ * length of the video, and the end time must be after the start time. Any
+ * segment of a video which has one or more labels on it, is considered a
+ * hard negative for all other labels. Any segment with no labels on
+ * it is considered to be unknown. If a whole video is unknown, then
+ * it should be mentioned just once with ",," in place of `LABEL,
+ * TIME_SEGMENT_START,TIME_SEGMENT_END`.
+ * Sample top level CSV file:
+ * TRAIN,gs://folder/train_videos.csv
+ * TEST,gs://folder/test_videos.csv
+ * UNASSIGNED,gs://folder/other_videos.csv
+ * Sample rows of a CSV file for a particular ML_USE:
+ * gs://folder/video1.avi,car,120,180.000021
+ * gs://folder/video1.avi,bike,150,180.000021
+ * gs://folder/vid2.avi,car,0,60.5
+ * gs://folder/vid3.avi,,,
+ * ##### Object Tracking
+ * See [Preparing your training
+ * data](/video-intelligence/automl/object-tracking/docs/prepare) for more
+ * information.
+ * CSV file(s) with each line in format:
+ * ML_USE,GCS_FILE_PATH
+ * For `ML_USE`, do not use `VALIDATE`.
+ * `GCS_FILE_PATH` is the path to another .csv file that describes training
+ * example for a given `ML_USE`, using the following row format:
+ * GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX
+ * or
+ * GCS_FILE_PATH,,,,,,,,,,
+ * Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
+ * to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
+ * Providing `INSTANCE_ID`s can help to obtain a better model. When
+ * a specific labeled entity leaves the video frame, and shows up
+ * afterwards it is not required, albeit preferable, that the same
+ * `INSTANCE_ID` is given to it.
+ * `TIMESTAMP` must be within the length of the video, the
+ * `BOUNDING_BOX` is assumed to be drawn on the closest video's frame
+ * to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected
+ * to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per
+ * frame are allowed. If a whole video is unknown, then it should be
+ * mentioned just once with ",,,,,,,,,," in place of `LABEL,
+ * [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX`.
+ * Sample top level CSV file:
+ * TRAIN,gs://folder/train_videos.csv
+ * TEST,gs://folder/test_videos.csv
+ * UNASSIGNED,gs://folder/other_videos.csv
+ * Seven sample rows of a CSV file for a particular ML_USE:
+ * gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9
+ * gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9
+ * gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3
+ * gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,,
+ * gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,,
+ * gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
+ * gs://folder/video2.avi,,,,,,,,,,,
+ * #### AutoML Natural Language
+ * ##### Entity Extraction
+ * See [Preparing your training
+ * data](/natural-language/automl/entity-analysis/docs/prepare) for more
+ * information.
+ * One or more CSV file(s) with each line in the following format:
+ * ML_USE,GCS_FILE_PATH
+ * * `ML_USE` - Identifies the data set that the current row (file) applies
+ * to.
+ * This value can be one of the following:
+ * * `TRAIN` - Rows in this file are used to train the model.
+ * * `TEST` - Rows in this file are used to test the model during training.
+ * * `UNASSIGNED` - Rows in this file are not categorized. They are
+ * Automatically divided into train and test data. 80% for training and
+ * 20% for testing..
+ * * `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in
+ * Google Cloud Storage that contains in-line text in-line as documents
+ * for model training.
+ * After the training data set has been determined from the `TRAIN` and
+ * `UNASSIGNED` CSV files, the training data is divided into train and
+ * validation data sets. 70% for training and 30% for validation.
+ * For example:
+ * TRAIN,gs://folder/file1.jsonl
+ * VALIDATE,gs://folder/file2.jsonl
+ * TEST,gs://folder/file3.jsonl
+ * **In-line JSONL files**
+ * In-line .JSONL files contain, per line, a JSON document that wraps a
+ * [`text_snippet`][google.cloud.automl.v1.TextSnippet] field followed by
+ * one or more [`annotations`][google.cloud.automl.v1.AnnotationPayload]
+ * fields, which have `display_name` and `text_extraction` fields to describe
+ * the entity from the text snippet. Multiple JSON documents can be separated
+ * using line breaks (\n).
+ * The supplied text must be annotated exhaustively. For example, if you
+ * include the text "horse", but do not label it as "animal",
+ * then "horse" is assumed to not be an "animal".
+ * Any given text snippet content must have 30,000 characters or
+ * less, and also be UTF-8 NFC encoded. ASCII is accepted as it is
+ * UTF-8 NFC encoded.
+ * For example:
+ * {
+ * "text_snippet": {
+ * "content": "dog car cat"
+ * },
+ * "annotations": [
+ * {
+ * "display_name": "animal",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 0, "end_offset": 2}
+ * }
+ * },
+ * {
+ * "display_name": "vehicle",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 4, "end_offset": 6}
+ * }
+ * },
+ * {
+ * "display_name": "animal",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 8, "end_offset": 10}
+ * }
+ * }
+ * ]
+ * }\n
+ * {
+ * "text_snippet": {
+ * "content": "This dog is good."
+ * },
+ * "annotations": [
+ * {
+ * "display_name": "animal",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 5, "end_offset": 7}
+ * }
+ * }
+ * ]
+ * }
+ * **JSONL files that reference documents**
+ * .JSONL files contain, per line, a JSON document that wraps a
+ * `input_config` that contains the path to a source document.
+ * Multiple JSON documents can be separated using line breaks (\n).
+ * Supported document extensions: .PDF, .TIF, .TIFF
+ * For example:
+ * {
+ * "document": {
+ * "input_config": {
+ * "gcs_source": { "input_uris": [ "gs://folder/document1.pdf" ]
+ * }
+ * }
+ * }
+ * }\n
+ * {
+ * "document": {
+ * "input_config": {
+ * "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ]
+ * }
+ * }
+ * }
+ * }
+ * **In-line JSONL files with document layout information**
+ * **Note:** You can only annotate documents using the UI. The format described
+ * below applies to annotated documents exported using the UI or `exportData`.
+ * In-line .JSONL files for documents contain, per line, a JSON document
+ * that wraps a `document` field that provides the textual content of the
+ * document and the layout information.
+ * For example:
+ * {
+ * "document": {
+ * "document_text": {
+ * "content": "dog car cat"
+ * }
+ * "layout": [
+ * {
+ * "text_segment": {
+ * "start_offset": 0,
+ * "end_offset": 11,
+ * },
+ * "page_number": 1,
+ * "bounding_poly": {
+ * "normalized_vertices": [
+ * {"x": 0.1, "y": 0.1},
+ * {"x": 0.1, "y": 0.3},
+ * {"x": 0.3, "y": 0.3},
+ * {"x": 0.3, "y": 0.1},
+ * ],
+ * },
+ * "text_segment_type": TOKEN,
+ * }
+ * ],
+ * "document_dimensions": {
+ * "width": 8.27,
+ * "height": 11.69,
+ * "unit": INCH,
+ * }
+ * "page_count": 3,
+ * },
+ * "annotations": [
+ * {
+ * "display_name": "animal",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 0, "end_offset": 3}
+ * }
+ * },
+ * {
+ * "display_name": "vehicle",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 4, "end_offset": 7}
+ * }
+ * },
+ * {
+ * "display_name": "animal",
+ * "text_extraction": {
+ * "text_segment": {"start_offset": 8, "end_offset": 11}
+ * }
+ * },
+ * ],
+ * ##### Classification
+ * See [Preparing your training
+ * data](https://cloud.google.com/natural-language/automl/docs/prepare) for more
+ * information.
+ * One or more CSV file(s) with each line in the following format:
+ * ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,...
+ * * `ML_USE` - Identifies the data set that the current row (file) applies
+ * to.
+ * This value can be one of the following:
+ * * `TRAIN` - Rows in this file are used to train the model.
+ * * `TEST` - Rows in this file are used to test the model during training.
+ * * `UNASSIGNED` - Rows in this file are not categorized. They are
+ * Automatically divided into train and test data. 80% for training and
+ * 20% for testing.
+ * * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If
+ * the column content is a valid Google Cloud Storage file path, that is,
+ * prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if
+ * the content is enclosed in double quotes (""), it is treated as a
+ * `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a
+ * file with supported extension and UTF-8 encoding, for example,
+ * "gs://folder/content.txt" AutoML imports the file content
+ * as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content
+ * excluding quotes. In both cases, size of the content must be 10MB or
+ * less in size. For zip files, the size of each file inside the zip must be
+ * 10MB or less in size.
+ * For the `MULTICLASS` classification type, at most one `LABEL` is allowed.
+ * The `ML_USE` and `LABEL` columns are optional.
+ * Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
+ * A maximum of 100 unique labels are allowed per CSV row.
+ * Sample rows:
+ * TRAIN,"They have bad food and very rude",RudeService,BadFood
+ * gs://folder/content.txt,SlowService
+ * TEST,gs://folder/document.pdf
+ * VALIDATE,gs://folder/text_files.zip,BadFood
+ * ##### Sentiment Analysis
+ * See [Preparing your training
+ * data](https://cloud.google.com/natural-language/automl/docs/prepare) for more
+ * information.
+ * CSV file(s) with each line in format:
+ * ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT
+ * * `ML_USE` - Identifies the data set that the current row (file) applies
+ * to.
+ * This value can be one of the following:
+ * * `TRAIN` - Rows in this file are used to train the model.
+ * * `TEST` - Rows in this file are used to test the model during training.
+ * * `UNASSIGNED` - Rows in this file are not categorized. They are
+ * Automatically divided into train and test data. 80% for training and
+ * 20% for testing.
+ * * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If
+ * the column content is a valid Google Cloud Storage file path, that is,
+ * prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if
+ * the content is enclosed in double quotes (""), it is treated as a
+ * `TEXT_SNIPPET`. For `GCS_FILE_PATH`, the path must lead to a
+ * file with supported extension and UTF-8 encoding, for example,
+ * "gs://folder/content.txt" AutoML imports the file content
+ * as a text snippet. For `TEXT_SNIPPET`, AutoML imports the column content
+ * excluding quotes. In both cases, size of the content must be 128kB or
+ * less in size. For zip files, the size of each file inside the zip must be
+ * 128kB or less in size.
+ * The `ML_USE` and `SENTIMENT` columns are optional.
+ * Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
+ * * `SENTIMENT` - An integer between 0 and
+ * Dataset.text_sentiment_dataset_metadata.sentiment_max
+ * (inclusive). Describes the ordinal of the sentiment - higher
+ * value means a more positive sentiment. All the values are
+ * completely relative, i.e. neither 0 needs to mean a negative or
+ * neutral sentiment nor sentiment_max needs to mean a positive one -
+ * it is just required that 0 is the least positive sentiment
+ * in the data, and sentiment_max is the most positive one.
+ * The SENTIMENT shouldn't be confused with "score" or "magnitude"
+ * from the previous Natural Language Sentiment Analysis API.
+ * All SENTIMENT values between 0 and sentiment_max must be
+ * represented in the imported data. On prediction the same 0 to
+ * sentiment_max range will be used. The difference between
+ * neighboring sentiment values needs not to be uniform, e.g. 1 and
+ * 2 may be similar whereas the difference between 2 and 3 may be
+ * large.
+ * Sample rows:
+ * TRAIN,"@freewrytin this is way too good for your product",2
+ * gs://folder/content.txt,3
+ * TEST,gs://folder/document.pdf
+ * VALIDATE,gs://folder/text_files.zip,2
+ * #### AutoML Tables
+ * See [Preparing your training
+ * data](https://cloud.google.com/automl-tables/docs/prepare) for more
+ * information.
+ * You can use either
+ * [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source] or
+ * [bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source].
+ * All input is concatenated into a
+ * single
+ * [primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id]
+ * **For gcs_source:**
+ * CSV file(s), where the first row of the first file is the header,
+ * containing unique column names. If the first row of a subsequent
+ * file is the same as the header, then it is also treated as a
+ * header. All other rows contain values for the corresponding
+ * columns.
+ * Each .CSV file by itself must be 10GB or smaller, and their total
+ * size must be 100GB or smaller.
+ * First three sample rows of a CSV file:
+ * + * "Id","First Name","Last Name","Dob","Addresses" + * "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" + * "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} + *+ * **For bigquery_source:** + * An URI of a BigQuery table. The user data size of the BigQuery + * table must be 100GB or smaller. + * An imported table must have between 2 and 1,000 columns, inclusive, + * and between 1000 and 100,000,000 rows, inclusive. There are at most 5 + * import data running in parallel. + * **Input field definitions:** + * `ML_USE` + * : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED") + * Describes how the given example (file) should be used for model + * training. "UNASSIGNED" can be used when user has no preference. + * `GCS_FILE_PATH` + * : The path to a file on Google Cloud Storage. For example, + * "gs://folder/image1.png". + * `LABEL` + * : A display name of an object on an image, video etc., e.g. "dog". + * Must be up to 32 characters long and can consist only of ASCII + * Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. + * For each label an AnnotationSpec is created which display_name + * becomes the label; AnnotationSpecs are given back in predictions. + * `INSTANCE_ID` + * : A positive integer that identifies a specific instance of a + * labeled entity on an example. Used e.g. to track two cars on + * a video while being able to tell apart which one is which. + * `BOUNDING_BOX` + * : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`) + * A rectangle parallel to the frame of the example (image, + * video). If 4 vertices are given they are connected by edges + * in the order provided, if 2 are given they are recognized + * as diagonally opposite vertices of the rectangle. + * `VERTEX` + * : (`COORDINATE,COORDINATE`) + * First coordinate is horizontal (x), the second is vertical (y). + * `COORDINATE` + * : A float in 0 to 1 range, relative to total length of + * image or video in given dimension. For fractions the + * leading non-decimal 0 can be omitted (i.e. 0.3 = .3). + * Point 0,0 is in top left. + * `TIME_SEGMENT_START` + * : (`TIME_OFFSET`) + * Expresses a beginning, inclusive, of a time segment + * within an example that has a time dimension + * (e.g. video). + * `TIME_SEGMENT_END` + * : (`TIME_OFFSET`) + * Expresses an end, exclusive, of a time segment within + * n example that has a time dimension (e.g. video). + * `TIME_OFFSET` + * : A number of seconds as measured from the start of an + * example (e.g. video). Fractions are allowed, up to a + * microsecond precision. "inf" is allowed, and it means the end + * of the example. + * `TEXT_SNIPPET` + * : The content of a text snippet, UTF-8 encoded, enclosed within + * double quotes (""). + * `DOCUMENT` + * : A field that provides the textual content with document and the layout + * information. + * **Errors:** + * If any of the provided CSV files can't be parsed or if more than certain + * percent of CSV rows cannot be processed then the operation fails and + * nothing is imported. Regardless of overall success or failure the per-row + * failures, up to a certain count cap, is listed in + * Operation.metadata.partial_failures. + * + * Generated from protobuf message
google.cloud.automl.v1.InputConfig
+ */
+class InputConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Additional domain-specific parameters describing the semantic of the
+ * imported data, any string must be up to 25000
+ * characters long.
+ * #### AutoML Tables
+ * `schema_inference_version`
+ * : (integer) This value must be supplied.
+ * The version of the
+ * algorithm to use for the initial inference of the
+ * column data types of the imported table. Allowed values: "1".
+ *
+ * Generated from protobuf field map params = 2;
+ */
+ private $params;
+ protected $source;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\GcsSource $gcs_source
+ * The Google Cloud Storage location for the input content.
+ * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
+ * `gcs_source` points to a CSV file with a structure described in
+ * [InputConfig][google.cloud.automl.v1.InputConfig].
+ * @type array|\Google\Protobuf\Internal\MapField $params
+ * Additional domain-specific parameters describing the semantic of the
+ * imported data, any string must be up to 25000
+ * characters long.
+ * #### AutoML Tables
+ * `schema_inference_version`
+ * : (integer) This value must be supplied.
+ * The version of the
+ * algorithm to use for the initial inference of the
+ * column data types of the imported table. Allowed values: "1".
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Io::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The Google Cloud Storage location for the input content.
+ * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
+ * `gcs_source` points to a CSV file with a structure described in
+ * [InputConfig][google.cloud.automl.v1.InputConfig].
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1;
+ * @return \Google\Cloud\AutoMl\V1\GcsSource|null
+ */
+ public function getGcsSource()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsSource()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * The Google Cloud Storage location for the input content.
+ * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
+ * `gcs_source` points to a CSV file with a structure described in
+ * [InputConfig][google.cloud.automl.v1.InputConfig].
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.GcsSource gcs_source = 1;
+ * @param \Google\Cloud\AutoMl\V1\GcsSource $var
+ * @return $this
+ */
+ public function setGcsSource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\GcsSource::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Additional domain-specific parameters describing the semantic of the
+ * imported data, any string must be up to 25000
+ * characters long.
+ * #### AutoML Tables
+ * `schema_inference_version`
+ * : (integer) This value must be supplied.
+ * The version of the
+ * algorithm to use for the initial inference of the
+ * column data types of the imported table. Allowed values: "1".
+ *
+ * Generated from protobuf field map params = 2;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ /**
+ * Additional domain-specific parameters describing the semantic of the
+ * imported data, any string must be up to 25000
+ * characters long.
+ * #### AutoML Tables
+ * `schema_inference_version`
+ * : (integer) This value must be supplied.
+ * The version of the
+ * algorithm to use for the initial inference of the
+ * column data types of the imported table. Allowed values: "1".
+ *
+ * Generated from protobuf field map params = 2;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setParams($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->params = $arr;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSource()
+ {
+ return $this->whichOneof("source");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListDatasetsRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListDatasetsRequest.php
new file mode 100644
index 000000000000..e769688ed858
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListDatasetsRequest.php
@@ -0,0 +1,215 @@
+google.cloud.automl.v1.ListDatasetsRequest
+ */
+class ListDatasetsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the project from which to list datasets.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * An expression for filtering the results of the request.
+ * * `dataset_metadata` - for existence of the case (e.g.
+ * `image_classification_dataset_metadata:*`). Some examples of using the filter are:
+ * * `translation_dataset_metadata:*` --> The dataset has
+ * `translation_dataset_metadata`.
+ *
+ * Generated from protobuf field string filter = 3;
+ */
+ protected $filter = '';
+ /**
+ * Requested page size. Server may return fewer results than requested.
+ * If unspecified, server will pick a default size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ */
+ protected $page_size = 0;
+ /**
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
+ * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $parent Required. The resource name of the project from which to list datasets. Please see
+ * {@see AutoMlClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\ListDatasetsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The resource name of the project from which to list datasets.
+ * @type string $filter
+ * An expression for filtering the results of the request.
+ * * `dataset_metadata` - for existence of the case (e.g.
+ * `image_classification_dataset_metadata:*`). Some examples of using the filter are:
+ * * `translation_dataset_metadata:*` --> The dataset has
+ * `translation_dataset_metadata`.
+ * @type int $page_size
+ * Requested page size. Server may return fewer results than requested.
+ * If unspecified, server will pick a default size.
+ * @type string $page_token
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
+ * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the project from which to list datasets.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The resource name of the project from which to list datasets.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * An expression for filtering the results of the request.
+ * * `dataset_metadata` - for existence of the case (e.g.
+ * `image_classification_dataset_metadata:*`). Some examples of using the filter are:
+ * * `translation_dataset_metadata:*` --> The dataset has
+ * `translation_dataset_metadata`.
+ *
+ * Generated from protobuf field string filter = 3;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * An expression for filtering the results of the request.
+ * * `dataset_metadata` - for existence of the case (e.g.
+ * `image_classification_dataset_metadata:*`). Some examples of using the filter are:
+ * * `translation_dataset_metadata:*` --> The dataset has
+ * `translation_dataset_metadata`.
+ *
+ * Generated from protobuf field string filter = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * Requested page size. Server may return fewer results than requested.
+ * If unspecified, server will pick a default size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Requested page size. Server may return fewer results than requested.
+ * If unspecified, server will pick a default size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
+ * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
+ * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListDatasetsResponse.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListDatasetsResponse.php
new file mode 100644
index 000000000000..f2d797616ee3
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListDatasetsResponse.php
@@ -0,0 +1,105 @@
+google.cloud.automl.v1.ListDatasetsResponse
+ */
+class ListDatasetsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The datasets read.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Dataset datasets = 1;
+ */
+ private $datasets;
+ /**
+ * A token to retrieve next page of results.
+ * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AutoMl\V1\Dataset>|\Google\Protobuf\Internal\RepeatedField $datasets
+ * The datasets read.
+ * @type string $next_page_token
+ * A token to retrieve next page of results.
+ * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The datasets read.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Dataset datasets = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDatasets()
+ {
+ return $this->datasets;
+ }
+
+ /**
+ * The datasets read.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Dataset datasets = 1;
+ * @param array<\Google\Cloud\AutoMl\V1\Dataset>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDatasets($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\Dataset::class);
+ $this->datasets = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token to retrieve next page of results.
+ * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token to retrieve next page of results.
+ * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelEvaluationsRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelEvaluationsRequest.php
new file mode 100644
index 000000000000..cd2ede27676c
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelEvaluationsRequest.php
@@ -0,0 +1,245 @@
+google.cloud.automl.v1.ListModelEvaluationsRequest
+ */
+class ListModelEvaluationsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the model to list the model evaluations for.
+ * If modelId is set as "-", this will list model evaluations from across all
+ * models of the parent location.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. An expression for filtering the results of the request.
+ * * `annotation_spec_id` - for =, != or existence. See example below for
+ * the last.
+ * Some examples of using the filter are:
+ * * `annotation_spec_id!=4` --> The model evaluation was done for
+ * annotation spec with ID different than 4.
+ * * `NOT annotation_spec_id:*` --> The model evaluation was done for
+ * aggregate of all annotation specs.
+ *
+ * Generated from protobuf field string filter = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $filter = '';
+ /**
+ * Requested page size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ */
+ protected $page_size = 0;
+ /**
+ * A token identifying a page of results for the server to return.
+ * Typically obtained via
+ * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $parent Required. Resource name of the model to list the model evaluations for.
+ * If modelId is set as "-", this will list model evaluations from across all
+ * models of the parent location. Please see
+ * {@see AutoMlClient::modelName()} for help formatting this field.
+ * @param string $filter Required. An expression for filtering the results of the request.
+ *
+ * * `annotation_spec_id` - for =, != or existence. See example below for
+ * the last.
+ *
+ * Some examples of using the filter are:
+ *
+ * * `annotation_spec_id!=4` --> The model evaluation was done for
+ * annotation spec with ID different than 4.
+ * * `NOT annotation_spec_id:*` --> The model evaluation was done for
+ * aggregate of all annotation specs.
+ *
+ * @return \Google\Cloud\AutoMl\V1\ListModelEvaluationsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, string $filter): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setFilter($filter);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Resource name of the model to list the model evaluations for.
+ * If modelId is set as "-", this will list model evaluations from across all
+ * models of the parent location.
+ * @type string $filter
+ * Required. An expression for filtering the results of the request.
+ * * `annotation_spec_id` - for =, != or existence. See example below for
+ * the last.
+ * Some examples of using the filter are:
+ * * `annotation_spec_id!=4` --> The model evaluation was done for
+ * annotation spec with ID different than 4.
+ * * `NOT annotation_spec_id:*` --> The model evaluation was done for
+ * aggregate of all annotation specs.
+ * @type int $page_size
+ * Requested page size.
+ * @type string $page_token
+ * A token identifying a page of results for the server to return.
+ * Typically obtained via
+ * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name of the model to list the model evaluations for.
+ * If modelId is set as "-", this will list model evaluations from across all
+ * models of the parent location.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Resource name of the model to list the model evaluations for.
+ * If modelId is set as "-", this will list model evaluations from across all
+ * models of the parent location.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. An expression for filtering the results of the request.
+ * * `annotation_spec_id` - for =, != or existence. See example below for
+ * the last.
+ * Some examples of using the filter are:
+ * * `annotation_spec_id!=4` --> The model evaluation was done for
+ * annotation spec with ID different than 4.
+ * * `NOT annotation_spec_id:*` --> The model evaluation was done for
+ * aggregate of all annotation specs.
+ *
+ * Generated from protobuf field string filter = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * Required. An expression for filtering the results of the request.
+ * * `annotation_spec_id` - for =, != or existence. See example below for
+ * the last.
+ * Some examples of using the filter are:
+ * * `annotation_spec_id!=4` --> The model evaluation was done for
+ * annotation spec with ID different than 4.
+ * * `NOT annotation_spec_id:*` --> The model evaluation was done for
+ * aggregate of all annotation specs.
+ *
+ * Generated from protobuf field string filter = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * Requested page size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Requested page size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A token identifying a page of results for the server to return.
+ * Typically obtained via
+ * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A token identifying a page of results for the server to return.
+ * Typically obtained via
+ * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelEvaluationsResponse.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelEvaluationsResponse.php
new file mode 100644
index 000000000000..c1bfdafea3e1
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelEvaluationsResponse.php
@@ -0,0 +1,109 @@
+google.cloud.automl.v1.ListModelEvaluationsResponse
+ */
+class ListModelEvaluationsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of model evaluations in the requested page.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;
+ */
+ private $model_evaluation;
+ /**
+ * A token to retrieve next page of results.
+ * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AutoMl\V1\ModelEvaluation>|\Google\Protobuf\Internal\RepeatedField $model_evaluation
+ * List of model evaluations in the requested page.
+ * @type string $next_page_token
+ * A token to retrieve next page of results.
+ * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of model evaluations in the requested page.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getModelEvaluation()
+ {
+ return $this->model_evaluation;
+ }
+
+ /**
+ * List of model evaluations in the requested page.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.ModelEvaluation model_evaluation = 1;
+ * @param array<\Google\Cloud\AutoMl\V1\ModelEvaluation>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setModelEvaluation($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\ModelEvaluation::class);
+ $this->model_evaluation = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token to retrieve next page of results.
+ * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token to retrieve next page of results.
+ * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+ * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelsRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelsRequest.php
new file mode 100644
index 000000000000..948b62bb0955
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelsRequest.php
@@ -0,0 +1,219 @@
+google.cloud.automl.v1.ListModelsRequest
+ */
+class ListModelsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the project, from which to list the models.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * An expression for filtering the results of the request.
+ * * `model_metadata` - for existence of the case (e.g.
+ * `video_classification_model_metadata:*`).
+ * * `dataset_id` - for = or !=. Some examples of using the filter are:
+ * * `image_classification_model_metadata:*` --> The model has
+ * `image_classification_model_metadata`.
+ * * `dataset_id=5` --> The model was created from a dataset with ID 5.
+ *
+ * Generated from protobuf field string filter = 3;
+ */
+ protected $filter = '';
+ /**
+ * Requested page size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ */
+ protected $page_size = 0;
+ /**
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
+ * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ */
+ protected $page_token = '';
+
+ /**
+ * @param string $parent Required. Resource name of the project, from which to list the models. Please see
+ * {@see AutoMlClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\ListModelsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Resource name of the project, from which to list the models.
+ * @type string $filter
+ * An expression for filtering the results of the request.
+ * * `model_metadata` - for existence of the case (e.g.
+ * `video_classification_model_metadata:*`).
+ * * `dataset_id` - for = or !=. Some examples of using the filter are:
+ * * `image_classification_model_metadata:*` --> The model has
+ * `image_classification_model_metadata`.
+ * * `dataset_id=5` --> The model was created from a dataset with ID 5.
+ * @type int $page_size
+ * Requested page size.
+ * @type string $page_token
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
+ * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name of the project, from which to list the models.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Resource name of the project, from which to list the models.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * An expression for filtering the results of the request.
+ * * `model_metadata` - for existence of the case (e.g.
+ * `video_classification_model_metadata:*`).
+ * * `dataset_id` - for = or !=. Some examples of using the filter are:
+ * * `image_classification_model_metadata:*` --> The model has
+ * `image_classification_model_metadata`.
+ * * `dataset_id=5` --> The model was created from a dataset with ID 5.
+ *
+ * Generated from protobuf field string filter = 3;
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * An expression for filtering the results of the request.
+ * * `model_metadata` - for existence of the case (e.g.
+ * `video_classification_model_metadata:*`).
+ * * `dataset_id` - for = or !=. Some examples of using the filter are:
+ * * `image_classification_model_metadata:*` --> The model has
+ * `image_classification_model_metadata`.
+ * * `dataset_id=5` --> The model was created from a dataset with ID 5.
+ *
+ * Generated from protobuf field string filter = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * Requested page size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Requested page size.
+ *
+ * Generated from protobuf field int32 page_size = 4;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
+ * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A token identifying a page of results for the server to return
+ * Typically obtained via
+ * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
+ * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
+ *
+ * Generated from protobuf field string page_token = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelsResponse.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelsResponse.php
new file mode 100644
index 000000000000..f59c0ca288d3
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ListModelsResponse.php
@@ -0,0 +1,105 @@
+google.cloud.automl.v1.ListModelsResponse
+ */
+class ListModelsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of models in the requested page.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Model model = 1;
+ */
+ private $model;
+ /**
+ * A token to retrieve next page of results.
+ * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AutoMl\V1\Model>|\Google\Protobuf\Internal\RepeatedField $model
+ * List of models in the requested page.
+ * @type string $next_page_token
+ * A token to retrieve next page of results.
+ * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of models in the requested page.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Model model = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getModel()
+ {
+ return $this->model;
+ }
+
+ /**
+ * List of models in the requested page.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.Model model = 1;
+ * @param array<\Google\Cloud\AutoMl\V1\Model>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setModel($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\Model::class);
+ $this->model = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token to retrieve next page of results.
+ * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token to retrieve next page of results.
+ * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Model.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Model.php
new file mode 100644
index 000000000000..0d84d2014398
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Model.php
@@ -0,0 +1,580 @@
+google.cloud.automl.v1.Model
+ */
+class Model extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Resource name of the model.
+ * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Required. The name of the model to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9. It must start with a letter.
+ *
+ * Generated from protobuf field string display_name = 2;
+ */
+ protected $display_name = '';
+ /**
+ * Required. The resource ID of the dataset used to create the model. The dataset must
+ * come from the same ancestor project and location.
+ *
+ * Generated from protobuf field string dataset_id = 3;
+ */
+ protected $dataset_id = '';
+ /**
+ * Output only. Timestamp when the model training finished and can be used for prediction.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 7;
+ */
+ protected $create_time = null;
+ /**
+ * Output only. Timestamp when this model was last updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 11;
+ */
+ protected $update_time = null;
+ /**
+ * Output only. Deployment state of the model. A model can only serve
+ * prediction requests after it gets deployed.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;
+ */
+ protected $deployment_state = 0;
+ /**
+ * Used to perform a consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ *
+ * Generated from protobuf field string etag = 10;
+ */
+ protected $etag = '';
+ /**
+ * Optional. The labels with user-defined metadata to organize your model.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ *
+ * Generated from protobuf field map labels = 34;
+ */
+ private $labels;
+ protected $model_metadata;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\TranslationModelMetadata $translation_model_metadata
+ * Metadata for translation models.
+ * @type \Google\Cloud\AutoMl\V1\ImageClassificationModelMetadata $image_classification_model_metadata
+ * Metadata for image classification models.
+ * @type \Google\Cloud\AutoMl\V1\TextClassificationModelMetadata $text_classification_model_metadata
+ * Metadata for text classification models.
+ * @type \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelMetadata $image_object_detection_model_metadata
+ * Metadata for image object detection models.
+ * @type \Google\Cloud\AutoMl\V1\TextExtractionModelMetadata $text_extraction_model_metadata
+ * Metadata for text extraction models.
+ * @type \Google\Cloud\AutoMl\V1\TextSentimentModelMetadata $text_sentiment_model_metadata
+ * Metadata for text sentiment models.
+ * @type string $name
+ * Output only. Resource name of the model.
+ * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ * @type string $display_name
+ * Required. The name of the model to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9. It must start with a letter.
+ * @type string $dataset_id
+ * Required. The resource ID of the dataset used to create the model. The dataset must
+ * come from the same ancestor project and location.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Timestamp when the model training finished and can be used for prediction.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. Timestamp when this model was last updated.
+ * @type int $deployment_state
+ * Output only. Deployment state of the model. A model can only serve
+ * prediction requests after it gets deployed.
+ * @type string $etag
+ * Used to perform a consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. The labels with user-defined metadata to organize your model.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Model::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Metadata for translation models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
+ * @return \Google\Cloud\AutoMl\V1\TranslationModelMetadata|null
+ */
+ public function getTranslationModelMetadata()
+ {
+ return $this->readOneof(15);
+ }
+
+ public function hasTranslationModelMetadata()
+ {
+ return $this->hasOneof(15);
+ }
+
+ /**
+ * Metadata for translation models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationModelMetadata translation_model_metadata = 15;
+ * @param \Google\Cloud\AutoMl\V1\TranslationModelMetadata $var
+ * @return $this
+ */
+ public function setTranslationModelMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TranslationModelMetadata::class);
+ $this->writeOneof(15, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for image classification models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
+ * @return \Google\Cloud\AutoMl\V1\ImageClassificationModelMetadata|null
+ */
+ public function getImageClassificationModelMetadata()
+ {
+ return $this->readOneof(13);
+ }
+
+ public function hasImageClassificationModelMetadata()
+ {
+ return $this->hasOneof(13);
+ }
+
+ /**
+ * Metadata for image classification models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageClassificationModelMetadata image_classification_model_metadata = 13;
+ * @param \Google\Cloud\AutoMl\V1\ImageClassificationModelMetadata $var
+ * @return $this
+ */
+ public function setImageClassificationModelMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageClassificationModelMetadata::class);
+ $this->writeOneof(13, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for text classification models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
+ * @return \Google\Cloud\AutoMl\V1\TextClassificationModelMetadata|null
+ */
+ public function getTextClassificationModelMetadata()
+ {
+ return $this->readOneof(14);
+ }
+
+ public function hasTextClassificationModelMetadata()
+ {
+ return $this->hasOneof(14);
+ }
+
+ /**
+ * Metadata for text classification models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextClassificationModelMetadata text_classification_model_metadata = 14;
+ * @param \Google\Cloud\AutoMl\V1\TextClassificationModelMetadata $var
+ * @return $this
+ */
+ public function setTextClassificationModelMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextClassificationModelMetadata::class);
+ $this->writeOneof(14, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for image object detection models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
+ * @return \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelMetadata|null
+ */
+ public function getImageObjectDetectionModelMetadata()
+ {
+ return $this->readOneof(20);
+ }
+
+ public function hasImageObjectDetectionModelMetadata()
+ {
+ return $this->hasOneof(20);
+ }
+
+ /**
+ * Metadata for image object detection models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionModelMetadata image_object_detection_model_metadata = 20;
+ * @param \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelMetadata $var
+ * @return $this
+ */
+ public function setImageObjectDetectionModelMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageObjectDetectionModelMetadata::class);
+ $this->writeOneof(20, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for text extraction models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
+ * @return \Google\Cloud\AutoMl\V1\TextExtractionModelMetadata|null
+ */
+ public function getTextExtractionModelMetadata()
+ {
+ return $this->readOneof(19);
+ }
+
+ public function hasTextExtractionModelMetadata()
+ {
+ return $this->hasOneof(19);
+ }
+
+ /**
+ * Metadata for text extraction models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionModelMetadata text_extraction_model_metadata = 19;
+ * @param \Google\Cloud\AutoMl\V1\TextExtractionModelMetadata $var
+ * @return $this
+ */
+ public function setTextExtractionModelMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextExtractionModelMetadata::class);
+ $this->writeOneof(19, $var);
+
+ return $this;
+ }
+
+ /**
+ * Metadata for text sentiment models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
+ * @return \Google\Cloud\AutoMl\V1\TextSentimentModelMetadata|null
+ */
+ public function getTextSentimentModelMetadata()
+ {
+ return $this->readOneof(22);
+ }
+
+ public function hasTextSentimentModelMetadata()
+ {
+ return $this->hasOneof(22);
+ }
+
+ /**
+ * Metadata for text sentiment models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentModelMetadata text_sentiment_model_metadata = 22;
+ * @param \Google\Cloud\AutoMl\V1\TextSentimentModelMetadata $var
+ * @return $this
+ */
+ public function setTextSentimentModelMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSentimentModelMetadata::class);
+ $this->writeOneof(22, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Resource name of the model.
+ * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Resource name of the model.
+ * Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the model to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9. It must start with a letter.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Required. The name of the model to show in the interface. The name can be
+ * up to 32 characters long and can consist only of ASCII Latin letters A-Z
+ * and a-z, underscores
+ * (_), and ASCII digits 0-9. It must start with a letter.
+ *
+ * Generated from protobuf field string display_name = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The resource ID of the dataset used to create the model. The dataset must
+ * come from the same ancestor project and location.
+ *
+ * Generated from protobuf field string dataset_id = 3;
+ * @return string
+ */
+ public function getDatasetId()
+ {
+ return $this->dataset_id;
+ }
+
+ /**
+ * Required. The resource ID of the dataset used to create the model. The dataset must
+ * come from the same ancestor project and location.
+ *
+ * Generated from protobuf field string dataset_id = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setDatasetId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->dataset_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Timestamp when the model training finished and can be used for prediction.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 7;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Timestamp when the model training finished and can be used for prediction.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 7;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Timestamp when this model was last updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 11;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. Timestamp when this model was last updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 11;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Deployment state of the model. A model can only serve
+ * prediction requests after it gets deployed.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;
+ * @return int
+ */
+ public function getDeploymentState()
+ {
+ return $this->deployment_state;
+ }
+
+ /**
+ * Output only. Deployment state of the model. A model can only serve
+ * prediction requests after it gets deployed.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model.DeploymentState deployment_state = 8;
+ * @param int $var
+ * @return $this
+ */
+ public function setDeploymentState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1\Model\DeploymentState::class);
+ $this->deployment_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Used to perform a consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ *
+ * Generated from protobuf field string etag = 10;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Used to perform a consistent read-modify-write updates. If not set, a blind
+ * "overwrite" update happens.
+ *
+ * Generated from protobuf field string etag = 10;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The labels with user-defined metadata to organize your model.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ *
+ * Generated from protobuf field map labels = 34;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. The labels with user-defined metadata to organize your model.
+ * Label keys and values can be no longer than 64 characters
+ * (Unicode codepoints), can only contain lowercase letters, numeric
+ * characters, underscores and dashes. International characters are allowed.
+ * Label values are optional. Label keys must start with a letter.
+ * See https://goo.gl/xmQnxf for more information on and examples of labels.
+ *
+ * Generated from protobuf field map labels = 34;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getModelMetadata()
+ {
+ return $this->whichOneof("model_metadata");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Model/DeploymentState.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Model/DeploymentState.php
new file mode 100644
index 000000000000..717194cacb0f
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/Model/DeploymentState.php
@@ -0,0 +1,64 @@
+google.cloud.automl.v1.Model.DeploymentState
+ */
+class DeploymentState
+{
+ /**
+ * Should not be used, an un-set enum has this value by default.
+ *
+ * Generated from protobuf enum DEPLOYMENT_STATE_UNSPECIFIED = 0;
+ */
+ const DEPLOYMENT_STATE_UNSPECIFIED = 0;
+ /**
+ * Model is deployed.
+ *
+ * Generated from protobuf enum DEPLOYED = 1;
+ */
+ const DEPLOYED = 1;
+ /**
+ * Model is not deployed.
+ *
+ * Generated from protobuf enum UNDEPLOYED = 2;
+ */
+ const UNDEPLOYED = 2;
+
+ private static $valueToName = [
+ self::DEPLOYMENT_STATE_UNSPECIFIED => 'DEPLOYMENT_STATE_UNSPECIFIED',
+ self::DEPLOYED => 'DEPLOYED',
+ self::UNDEPLOYED => 'UNDEPLOYED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DeploymentState::class, \Google\Cloud\AutoMl\V1\Model_DeploymentState::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ModelEvaluation.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ModelEvaluation.php
new file mode 100644
index 000000000000..bbe35143df37
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ModelEvaluation.php
@@ -0,0 +1,496 @@
+google.cloud.automl.v1.ModelEvaluation
+ */
+class ModelEvaluation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Resource name of the model evaluation.
+ * Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
+ * The ID is empty for the overall model evaluation.
+ * For Tables annotation specs in the dataset do not exist and this ID is
+ * always not set, but for CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * the
+ * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+ * field is used.
+ *
+ * Generated from protobuf field string annotation_spec_id = 2;
+ */
+ protected $annotation_spec_id = '';
+ /**
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * at the moment when the model was trained. Because this field returns a
+ * value at model training time, for different models trained from the same
+ * dataset, the values may differ, since display names could had been changed
+ * between the two model's trainings. For Tables CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * distinct values of the target column at the moment of the model evaluation
+ * are populated here.
+ * The display_name is empty for the overall model evaluation.
+ *
+ * Generated from protobuf field string display_name = 15;
+ */
+ protected $display_name = '';
+ /**
+ * Output only. Timestamp when this model evaluation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5;
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The number of examples used for model evaluation, i.e. for
+ * which ground truth from time of model creation is compared against the
+ * predicted annotations created by the model.
+ * For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
+ * the total number of all examples used for evaluation.
+ * Otherwise, this is the count of examples that according to the ground
+ * truth were annotated by the
+ * [annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id].
+ *
+ * Generated from protobuf field int32 evaluated_example_count = 6;
+ */
+ protected $evaluated_example_count = 0;
+ protected $metrics;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics $classification_evaluation_metrics
+ * Model evaluation metrics for image, text, video and tables
+ * classification.
+ * Tables problem is considered a classification when the target column
+ * is CATEGORY DataType.
+ * @type \Google\Cloud\AutoMl\V1\TranslationEvaluationMetrics $translation_evaluation_metrics
+ * Model evaluation metrics for translation.
+ * @type \Google\Cloud\AutoMl\V1\ImageObjectDetectionEvaluationMetrics $image_object_detection_evaluation_metrics
+ * Model evaluation metrics for image object detection.
+ * @type \Google\Cloud\AutoMl\V1\TextSentimentEvaluationMetrics $text_sentiment_evaluation_metrics
+ * Evaluation metrics for text sentiment models.
+ * @type \Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics $text_extraction_evaluation_metrics
+ * Evaluation metrics for text extraction models.
+ * @type string $name
+ * Output only. Resource name of the model evaluation.
+ * Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
+ * @type string $annotation_spec_id
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
+ * The ID is empty for the overall model evaluation.
+ * For Tables annotation specs in the dataset do not exist and this ID is
+ * always not set, but for CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * the
+ * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+ * field is used.
+ * @type string $display_name
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * at the moment when the model was trained. Because this field returns a
+ * value at model training time, for different models trained from the same
+ * dataset, the values may differ, since display names could had been changed
+ * between the two model's trainings. For Tables CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * distinct values of the target column at the moment of the model evaluation
+ * are populated here.
+ * The display_name is empty for the overall model evaluation.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Timestamp when this model evaluation was created.
+ * @type int $evaluated_example_count
+ * Output only. The number of examples used for model evaluation, i.e. for
+ * which ground truth from time of model creation is compared against the
+ * predicted annotations created by the model.
+ * For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
+ * the total number of all examples used for evaluation.
+ * Otherwise, this is the count of examples that according to the ground
+ * truth were annotated by the
+ * [annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id].
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\ModelEvaluation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Model evaluation metrics for image, text, video and tables
+ * classification.
+ * Tables problem is considered a classification when the target column
+ * is CATEGORY DataType.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
+ * @return \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics|null
+ */
+ public function getClassificationEvaluationMetrics()
+ {
+ return $this->readOneof(8);
+ }
+
+ public function hasClassificationEvaluationMetrics()
+ {
+ return $this->hasOneof(8);
+ }
+
+ /**
+ * Model evaluation metrics for image, text, video and tables
+ * classification.
+ * Tables problem is considered a classification when the target column
+ * is CATEGORY DataType.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;
+ * @param \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics $var
+ * @return $this
+ */
+ public function setClassificationEvaluationMetrics($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics::class);
+ $this->writeOneof(8, $var);
+
+ return $this;
+ }
+
+ /**
+ * Model evaluation metrics for translation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
+ * @return \Google\Cloud\AutoMl\V1\TranslationEvaluationMetrics|null
+ */
+ public function getTranslationEvaluationMetrics()
+ {
+ return $this->readOneof(9);
+ }
+
+ public function hasTranslationEvaluationMetrics()
+ {
+ return $this->hasOneof(9);
+ }
+
+ /**
+ * Model evaluation metrics for translation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;
+ * @param \Google\Cloud\AutoMl\V1\TranslationEvaluationMetrics $var
+ * @return $this
+ */
+ public function setTranslationEvaluationMetrics($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TranslationEvaluationMetrics::class);
+ $this->writeOneof(9, $var);
+
+ return $this;
+ }
+
+ /**
+ * Model evaluation metrics for image object detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
+ * @return \Google\Cloud\AutoMl\V1\ImageObjectDetectionEvaluationMetrics|null
+ */
+ public function getImageObjectDetectionEvaluationMetrics()
+ {
+ return $this->readOneof(12);
+ }
+
+ public function hasImageObjectDetectionEvaluationMetrics()
+ {
+ return $this->hasOneof(12);
+ }
+
+ /**
+ * Model evaluation metrics for image object detection.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12;
+ * @param \Google\Cloud\AutoMl\V1\ImageObjectDetectionEvaluationMetrics $var
+ * @return $this
+ */
+ public function setImageObjectDetectionEvaluationMetrics($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImageObjectDetectionEvaluationMetrics::class);
+ $this->writeOneof(12, $var);
+
+ return $this;
+ }
+
+ /**
+ * Evaluation metrics for text sentiment models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
+ * @return \Google\Cloud\AutoMl\V1\TextSentimentEvaluationMetrics|null
+ */
+ public function getTextSentimentEvaluationMetrics()
+ {
+ return $this->readOneof(11);
+ }
+
+ public function hasTextSentimentEvaluationMetrics()
+ {
+ return $this->hasOneof(11);
+ }
+
+ /**
+ * Evaluation metrics for text sentiment models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11;
+ * @param \Google\Cloud\AutoMl\V1\TextSentimentEvaluationMetrics $var
+ * @return $this
+ */
+ public function setTextSentimentEvaluationMetrics($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSentimentEvaluationMetrics::class);
+ $this->writeOneof(11, $var);
+
+ return $this;
+ }
+
+ /**
+ * Evaluation metrics for text extraction models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
+ * @return \Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics|null
+ */
+ public function getTextExtractionEvaluationMetrics()
+ {
+ return $this->readOneof(13);
+ }
+
+ public function hasTextExtractionEvaluationMetrics()
+ {
+ return $this->hasOneof(13);
+ }
+
+ /**
+ * Evaluation metrics for text extraction models.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
+ * @param \Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics $var
+ * @return $this
+ */
+ public function setTextExtractionEvaluationMetrics($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics::class);
+ $this->writeOneof(13, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Resource name of the model evaluation.
+ * Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Resource name of the model evaluation.
+ * Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
+ * The ID is empty for the overall model evaluation.
+ * For Tables annotation specs in the dataset do not exist and this ID is
+ * always not set, but for CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * the
+ * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+ * field is used.
+ *
+ * Generated from protobuf field string annotation_spec_id = 2;
+ * @return string
+ */
+ public function getAnnotationSpecId()
+ {
+ return $this->annotation_spec_id;
+ }
+
+ /**
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
+ * The ID is empty for the overall model evaluation.
+ * For Tables annotation specs in the dataset do not exist and this ID is
+ * always not set, but for CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * the
+ * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+ * field is used.
+ *
+ * Generated from protobuf field string annotation_spec_id = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setAnnotationSpecId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->annotation_spec_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * at the moment when the model was trained. Because this field returns a
+ * value at model training time, for different models trained from the same
+ * dataset, the values may differ, since display names could had been changed
+ * between the two model's trainings. For Tables CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * distinct values of the target column at the moment of the model evaluation
+ * are populated here.
+ * The display_name is empty for the overall model evaluation.
+ *
+ * Generated from protobuf field string display_name = 15;
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Output only. The value of
+ * [display_name][google.cloud.automl.v1.AnnotationSpec.display_name]
+ * at the moment when the model was trained. Because this field returns a
+ * value at model training time, for different models trained from the same
+ * dataset, the values may differ, since display names could had been changed
+ * between the two model's trainings. For Tables CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+ * distinct values of the target column at the moment of the model evaluation
+ * are populated here.
+ * The display_name is empty for the overall model evaluation.
+ *
+ * Generated from protobuf field string display_name = 15;
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Timestamp when this model evaluation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Timestamp when this model evaluation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of examples used for model evaluation, i.e. for
+ * which ground truth from time of model creation is compared against the
+ * predicted annotations created by the model.
+ * For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
+ * the total number of all examples used for evaluation.
+ * Otherwise, this is the count of examples that according to the ground
+ * truth were annotated by the
+ * [annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id].
+ *
+ * Generated from protobuf field int32 evaluated_example_count = 6;
+ * @return int
+ */
+ public function getEvaluatedExampleCount()
+ {
+ return $this->evaluated_example_count;
+ }
+
+ /**
+ * Output only. The number of examples used for model evaluation, i.e. for
+ * which ground truth from time of model creation is compared against the
+ * predicted annotations created by the model.
+ * For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
+ * the total number of all examples used for evaluation.
+ * Otherwise, this is the count of examples that according to the ground
+ * truth were annotated by the
+ * [annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id].
+ *
+ * Generated from protobuf field int32 evaluated_example_count = 6;
+ * @param int $var
+ * @return $this
+ */
+ public function setEvaluatedExampleCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->evaluated_example_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getMetrics()
+ {
+ return $this->whichOneof("metrics");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ModelExportOutputConfig.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ModelExportOutputConfig.php
new file mode 100644
index 000000000000..47df2eba0472
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/ModelExportOutputConfig.php
@@ -0,0 +1,291 @@
+google.cloud.automl.v1.ModelExportOutputConfig
+ */
+class ModelExportOutputConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The format in which the model must be exported. The available, and default,
+ * formats depend on the problem and model type (if given problem and type
+ * combination doesn't have a format listed, it means its models are not
+ * exportable):
+ * * For Image Classification mobile-low-latency-1, mobile-versatile-1,
+ * mobile-high-accuracy-1:
+ * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
+ * "docker".
+ * * For Image Classification mobile-core-ml-low-latency-1,
+ * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
+ * "core_ml" (default).
+ * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1,
+ * mobile-high-accuracy-1:
+ * "tflite", "tf_saved_model", "tf_js".
+ * Formats description:
+ * * tflite - Used for Android mobile devices.
+ * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/)
+ * devices.
+ * * tf_saved_model - A tensorflow model in SavedModel format.
+ * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
+ * be used in the browser and in Node.js using JavaScript.
+ * * docker - Used for Docker containers. Use the params field to customize
+ * the container. The container is verified to work correctly on
+ * ubuntu 16.04 operating system. See more at
+ * [containers
+ * quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * * core_ml - Used for iOS mobile devices.
+ *
+ * Generated from protobuf field string model_format = 4;
+ */
+ protected $model_format = '';
+ /**
+ * Additional model-type and format specific parameters describing the
+ * requirements for the to be exported model files, any string must be up to
+ * 25000 characters long.
+ * * For `docker` format:
+ * `cpu_architecture` - (string) "x86_64" (default).
+ * `gpu_architecture` - (string) "none" (default), "nvidia".
+ *
+ * Generated from protobuf field map params = 2;
+ */
+ private $params;
+ protected $destination;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\GcsDestination $gcs_destination
+ * Required. The Google Cloud Storage location where the model is to be
+ * written to. This location may only be set for the following model
+ * formats:
+ * "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
+ * Under the directory given as the destination a new one with name
+ * "model-export-.google.cloud.automl.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\GcsDestination|null
+ */
+ public function getGcsDestination()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsDestination()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Required. The Google Cloud Storage location where the model is to be
+ * written to. This location may only be set for the following model
+ * formats:
+ * "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
+ * Under the directory given as the destination a new one with name
+ * "model-export-.google.cloud.automl.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\GcsDestination $var
+ * @return $this
+ */
+ public function setGcsDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\GcsDestination::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * The format in which the model must be exported. The available, and default,
+ * formats depend on the problem and model type (if given problem and type
+ * combination doesn't have a format listed, it means its models are not
+ * exportable):
+ * * For Image Classification mobile-low-latency-1, mobile-versatile-1,
+ * mobile-high-accuracy-1:
+ * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
+ * "docker".
+ * * For Image Classification mobile-core-ml-low-latency-1,
+ * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
+ * "core_ml" (default).
+ * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1,
+ * mobile-high-accuracy-1:
+ * "tflite", "tf_saved_model", "tf_js".
+ * Formats description:
+ * * tflite - Used for Android mobile devices.
+ * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/)
+ * devices.
+ * * tf_saved_model - A tensorflow model in SavedModel format.
+ * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
+ * be used in the browser and in Node.js using JavaScript.
+ * * docker - Used for Docker containers. Use the params field to customize
+ * the container. The container is verified to work correctly on
+ * ubuntu 16.04 operating system. See more at
+ * [containers
+ * quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * * core_ml - Used for iOS mobile devices.
+ *
+ * Generated from protobuf field string model_format = 4;
+ * @return string
+ */
+ public function getModelFormat()
+ {
+ return $this->model_format;
+ }
+
+ /**
+ * The format in which the model must be exported. The available, and default,
+ * formats depend on the problem and model type (if given problem and type
+ * combination doesn't have a format listed, it means its models are not
+ * exportable):
+ * * For Image Classification mobile-low-latency-1, mobile-versatile-1,
+ * mobile-high-accuracy-1:
+ * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
+ * "docker".
+ * * For Image Classification mobile-core-ml-low-latency-1,
+ * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
+ * "core_ml" (default).
+ * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1,
+ * mobile-high-accuracy-1:
+ * "tflite", "tf_saved_model", "tf_js".
+ * Formats description:
+ * * tflite - Used for Android mobile devices.
+ * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/)
+ * devices.
+ * * tf_saved_model - A tensorflow model in SavedModel format.
+ * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
+ * be used in the browser and in Node.js using JavaScript.
+ * * docker - Used for Docker containers. Use the params field to customize
+ * the container. The container is verified to work correctly on
+ * ubuntu 16.04 operating system. See more at
+ * [containers
+ * quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * * core_ml - Used for iOS mobile devices.
+ *
+ * Generated from protobuf field string model_format = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setModelFormat($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->model_format = $var;
+
+ return $this;
+ }
+
+ /**
+ * Additional model-type and format specific parameters describing the
+ * requirements for the to be exported model files, any string must be up to
+ * 25000 characters long.
+ * * For `docker` format:
+ * `cpu_architecture` - (string) "x86_64" (default).
+ * `gpu_architecture` - (string) "none" (default), "nvidia".
+ *
+ * Generated from protobuf field map params = 2;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ /**
+ * Additional model-type and format specific parameters describing the
+ * requirements for the to be exported model files, any string must be up to
+ * 25000 characters long.
+ * * For `docker` format:
+ * `cpu_architecture` - (string) "x86_64" (default).
+ * `gpu_architecture` - (string) "none" (default), "nvidia".
+ *
+ * Generated from protobuf field map params = 2;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setParams($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->params = $arr;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDestination()
+ {
+ return $this->whichOneof("destination");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/NormalizedVertex.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/NormalizedVertex.php
new file mode 100644
index 000000000000..f32853bc25e8
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/NormalizedVertex.php
@@ -0,0 +1,105 @@
+google.cloud.automl.v1.NormalizedVertex
+ */
+class NormalizedVertex extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Horizontal coordinate.
+ *
+ * Generated from protobuf field float x = 1;
+ */
+ protected $x = 0.0;
+ /**
+ * Required. Vertical coordinate.
+ *
+ * Generated from protobuf field float y = 2;
+ */
+ protected $y = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $x
+ * Required. Horizontal coordinate.
+ * @type float $y
+ * Required. Vertical coordinate.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Geometry::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Horizontal coordinate.
+ *
+ * Generated from protobuf field float x = 1;
+ * @return float
+ */
+ public function getX()
+ {
+ return $this->x;
+ }
+
+ /**
+ * Required. Horizontal coordinate.
+ *
+ * Generated from protobuf field float x = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setX($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->x = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Vertical coordinate.
+ *
+ * Generated from protobuf field float y = 2;
+ * @return float
+ */
+ public function getY()
+ {
+ return $this->y;
+ }
+
+ /**
+ * Required. Vertical coordinate.
+ *
+ * Generated from protobuf field float y = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setY($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->y = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/OperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/OperationMetadata.php
new file mode 100644
index 000000000000..e6b98b84fc49
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/OperationMetadata.php
@@ -0,0 +1,511 @@
+google.cloud.automl.v1.OperationMetadata
+ */
+class OperationMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Progress of operation. Range: [0, 100].
+ * Not used currently.
+ *
+ * Generated from protobuf field int32 progress_percent = 13;
+ */
+ protected $progress_percent = 0;
+ /**
+ * Output only. Partial failures encountered.
+ * E.g. single files that couldn't be read.
+ * This field should never exceed 20 entries.
+ * Status details field will contain standard GCP error details.
+ *
+ * Generated from protobuf field repeated .google.rpc.Status partial_failures = 2;
+ */
+ private $partial_failures;
+ /**
+ * Output only. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3;
+ */
+ protected $create_time = null;
+ /**
+ * Output only. Time when the operation was updated for the last time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
+ */
+ protected $update_time = null;
+ protected $details;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\DeleteOperationMetadata $delete_details
+ * Details of a Delete operation.
+ * @type \Google\Cloud\AutoMl\V1\DeployModelOperationMetadata $deploy_model_details
+ * Details of a DeployModel operation.
+ * @type \Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata $undeploy_model_details
+ * Details of an UndeployModel operation.
+ * @type \Google\Cloud\AutoMl\V1\CreateModelOperationMetadata $create_model_details
+ * Details of CreateModel operation.
+ * @type \Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata $create_dataset_details
+ * Details of CreateDataset operation.
+ * @type \Google\Cloud\AutoMl\V1\ImportDataOperationMetadata $import_data_details
+ * Details of ImportData operation.
+ * @type \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata $batch_predict_details
+ * Details of BatchPredict operation.
+ * @type \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata $export_data_details
+ * Details of ExportData operation.
+ * @type \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata $export_model_details
+ * Details of ExportModel operation.
+ * @type int $progress_percent
+ * Output only. Progress of operation. Range: [0, 100].
+ * Not used currently.
+ * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_failures
+ * Output only. Partial failures encountered.
+ * E.g. single files that couldn't be read.
+ * This field should never exceed 20 entries.
+ * Status details field will contain standard GCP error details.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Time when the operation was created.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. Time when the operation was updated for the last time.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Details of a Delete operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
+ * @return \Google\Cloud\AutoMl\V1\DeleteOperationMetadata|null
+ */
+ public function getDeleteDetails()
+ {
+ return $this->readOneof(8);
+ }
+
+ public function hasDeleteDetails()
+ {
+ return $this->hasOneof(8);
+ }
+
+ /**
+ * Details of a Delete operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DeleteOperationMetadata delete_details = 8;
+ * @param \Google\Cloud\AutoMl\V1\DeleteOperationMetadata $var
+ * @return $this
+ */
+ public function setDeleteDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\DeleteOperationMetadata::class);
+ $this->writeOneof(8, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of a DeployModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
+ * @return \Google\Cloud\AutoMl\V1\DeployModelOperationMetadata|null
+ */
+ public function getDeployModelDetails()
+ {
+ return $this->readOneof(24);
+ }
+
+ public function hasDeployModelDetails()
+ {
+ return $this->hasOneof(24);
+ }
+
+ /**
+ * Details of a DeployModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.DeployModelOperationMetadata deploy_model_details = 24;
+ * @param \Google\Cloud\AutoMl\V1\DeployModelOperationMetadata $var
+ * @return $this
+ */
+ public function setDeployModelDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\DeployModelOperationMetadata::class);
+ $this->writeOneof(24, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of an UndeployModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
+ * @return \Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata|null
+ */
+ public function getUndeployModelDetails()
+ {
+ return $this->readOneof(25);
+ }
+
+ public function hasUndeployModelDetails()
+ {
+ return $this->hasOneof(25);
+ }
+
+ /**
+ * Details of an UndeployModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.UndeployModelOperationMetadata undeploy_model_details = 25;
+ * @param \Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata $var
+ * @return $this
+ */
+ public function setUndeployModelDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\UndeployModelOperationMetadata::class);
+ $this->writeOneof(25, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of CreateModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
+ * @return \Google\Cloud\AutoMl\V1\CreateModelOperationMetadata|null
+ */
+ public function getCreateModelDetails()
+ {
+ return $this->readOneof(10);
+ }
+
+ public function hasCreateModelDetails()
+ {
+ return $this->hasOneof(10);
+ }
+
+ /**
+ * Details of CreateModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.CreateModelOperationMetadata create_model_details = 10;
+ * @param \Google\Cloud\AutoMl\V1\CreateModelOperationMetadata $var
+ * @return $this
+ */
+ public function setCreateModelDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\CreateModelOperationMetadata::class);
+ $this->writeOneof(10, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of CreateDataset operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
+ * @return \Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata|null
+ */
+ public function getCreateDatasetDetails()
+ {
+ return $this->readOneof(30);
+ }
+
+ public function hasCreateDatasetDetails()
+ {
+ return $this->hasOneof(30);
+ }
+
+ /**
+ * Details of CreateDataset operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.CreateDatasetOperationMetadata create_dataset_details = 30;
+ * @param \Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata $var
+ * @return $this
+ */
+ public function setCreateDatasetDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\CreateDatasetOperationMetadata::class);
+ $this->writeOneof(30, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of ImportData operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
+ * @return \Google\Cloud\AutoMl\V1\ImportDataOperationMetadata|null
+ */
+ public function getImportDataDetails()
+ {
+ return $this->readOneof(15);
+ }
+
+ public function hasImportDataDetails()
+ {
+ return $this->hasOneof(15);
+ }
+
+ /**
+ * Details of ImportData operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ImportDataOperationMetadata import_data_details = 15;
+ * @param \Google\Cloud\AutoMl\V1\ImportDataOperationMetadata $var
+ * @return $this
+ */
+ public function setImportDataDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ImportDataOperationMetadata::class);
+ $this->writeOneof(15, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of BatchPredict operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
+ * @return \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata|null
+ */
+ public function getBatchPredictDetails()
+ {
+ return $this->readOneof(16);
+ }
+
+ public function hasBatchPredictDetails()
+ {
+ return $this->hasOneof(16);
+ }
+
+ /**
+ * Details of BatchPredict operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.BatchPredictOperationMetadata batch_predict_details = 16;
+ * @param \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata $var
+ * @return $this
+ */
+ public function setBatchPredictDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\BatchPredictOperationMetadata::class);
+ $this->writeOneof(16, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of ExportData operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
+ * @return \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata|null
+ */
+ public function getExportDataDetails()
+ {
+ return $this->readOneof(21);
+ }
+
+ public function hasExportDataDetails()
+ {
+ return $this->hasOneof(21);
+ }
+
+ /**
+ * Details of ExportData operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportDataOperationMetadata export_data_details = 21;
+ * @param \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata $var
+ * @return $this
+ */
+ public function setExportDataDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExportDataOperationMetadata::class);
+ $this->writeOneof(21, $var);
+
+ return $this;
+ }
+
+ /**
+ * Details of ExportModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
+ * @return \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata|null
+ */
+ public function getExportModelDetails()
+ {
+ return $this->readOneof(22);
+ }
+
+ public function hasExportModelDetails()
+ {
+ return $this->hasOneof(22);
+ }
+
+ /**
+ * Details of ExportModel operation.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExportModelOperationMetadata export_model_details = 22;
+ * @param \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata $var
+ * @return $this
+ */
+ public function setExportModelDetails($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExportModelOperationMetadata::class);
+ $this->writeOneof(22, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Progress of operation. Range: [0, 100].
+ * Not used currently.
+ *
+ * Generated from protobuf field int32 progress_percent = 13;
+ * @return int
+ */
+ public function getProgressPercent()
+ {
+ return $this->progress_percent;
+ }
+
+ /**
+ * Output only. Progress of operation. Range: [0, 100].
+ * Not used currently.
+ *
+ * Generated from protobuf field int32 progress_percent = 13;
+ * @param int $var
+ * @return $this
+ */
+ public function setProgressPercent($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->progress_percent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Partial failures encountered.
+ * E.g. single files that couldn't be read.
+ * This field should never exceed 20 entries.
+ * Status details field will contain standard GCP error details.
+ *
+ * Generated from protobuf field repeated .google.rpc.Status partial_failures = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPartialFailures()
+ {
+ return $this->partial_failures;
+ }
+
+ /**
+ * Output only. Partial failures encountered.
+ * E.g. single files that couldn't be read.
+ * This field should never exceed 20 entries.
+ * Status details field will contain standard GCP error details.
+ *
+ * Generated from protobuf field repeated .google.rpc.Status partial_failures = 2;
+ * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPartialFailures($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class);
+ $this->partial_failures = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Time when the operation was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Time when the operation was updated for the last time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. Time when the operation was updated for the last time.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 4;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDetails()
+ {
+ return $this->whichOneof("details");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/OutputConfig.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/OutputConfig.php
new file mode 100644
index 000000000000..72789ddf8aad
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/OutputConfig.php
@@ -0,0 +1,119 @@
+_google.cloud.automl.v1.OutputConfig
+ */
+class OutputConfig extends \Google\Protobuf\Internal\Message
+{
+ protected $destination;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\GcsDestination $gcs_destination
+ * Required. The Google Cloud Storage location where the output is to be
+ * written to. For Image Object Detection, Text Extraction, Video
+ * Classification and Tables, in the given directory a new directory will be
+ * created with name:
+ * export_data-.google.cloud.automl.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\GcsDestination|null
+ */
+ public function getGcsDestination()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasGcsDestination()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Required. The Google Cloud Storage location where the output is to be
+ * written to. For Image Object Detection, Text Extraction, Video
+ * Classification and Tables, in the given directory a new directory will be
+ * created with name:
+ * export_data-.google.cloud.automl.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\GcsDestination $var
+ * @return $this
+ */
+ public function setGcsDestination($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\GcsDestination::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getDestination()
+ {
+ return $this->whichOneof("destination");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/PredictRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/PredictRequest.php
new file mode 100644
index 000000000000..fe8b74d90ec0
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/PredictRequest.php
@@ -0,0 +1,285 @@
+google.cloud.automl.v1.PredictRequest
+ */
+class PredictRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the model requested to serve the prediction.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Required. Payload to perform a prediction on. The payload must match the
+ * problem type that the model was trained to solve.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $payload = null;
+ /**
+ * Additional domain-specific parameters, any string must be up to 25000
+ * characters long.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that have
+ * at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned. The default is 100. The
+ * number of returned bounding boxes might be limited by the server.
+ * AutoML Tables
+ * `feature_importance`
+ * : (boolean) Whether
+ * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+ * is populated in the returned list of
+ * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+ * objects. The default is false.
+ *
+ * Generated from protobuf field map params = 3;
+ */
+ private $params;
+
+ /**
+ * @param string $name Required. Name of the model requested to serve the prediction. Please see
+ * {@see PredictionServiceClient::modelName()} for help formatting this field.
+ * @param \Google\Cloud\AutoMl\V1\ExamplePayload $payload Required. Payload to perform a prediction on. The payload must match the
+ * problem type that the model was trained to solve.
+ * @param array $params Additional domain-specific parameters, any string must be up to 25000
+ * characters long.
+ *
+ * AutoML Vision Classification
+ *
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that have
+ * at least this confidence score. The default is 0.5.
+ *
+ * AutoML Vision Object Detection
+ *
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ *
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned. The default is 100. The
+ * number of returned bounding boxes might be limited by the server.
+ *
+ * AutoML Tables
+ *
+ * `feature_importance`
+ * : (boolean) Whether
+ * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+ * is populated in the returned list of
+ * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+ * objects. The default is false.
+ *
+ * @return \Google\Cloud\AutoMl\V1\PredictRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name, \Google\Cloud\AutoMl\V1\ExamplePayload $payload, array $params): self
+ {
+ return (new self())
+ ->setName($name)
+ ->setPayload($payload)
+ ->setParams($params);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the model requested to serve the prediction.
+ * @type \Google\Cloud\AutoMl\V1\ExamplePayload $payload
+ * Required. Payload to perform a prediction on. The payload must match the
+ * problem type that the model was trained to solve.
+ * @type array|\Google\Protobuf\Internal\MapField $params
+ * Additional domain-specific parameters, any string must be up to 25000
+ * characters long.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that have
+ * at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned. The default is 100. The
+ * number of returned bounding boxes might be limited by the server.
+ * AutoML Tables
+ * `feature_importance`
+ * : (boolean) Whether
+ * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+ * is populated in the returned list of
+ * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+ * objects. The default is false.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\PredictionService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the model requested to serve the prediction.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the model requested to serve the prediction.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Payload to perform a prediction on. The payload must match the
+ * problem type that the model was trained to solve.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\ExamplePayload|null
+ */
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ public function hasPayload()
+ {
+ return isset($this->payload);
+ }
+
+ public function clearPayload()
+ {
+ unset($this->payload);
+ }
+
+ /**
+ * Required. Payload to perform a prediction on. The payload must match the
+ * problem type that the model was trained to solve.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\ExamplePayload $var
+ * @return $this
+ */
+ public function setPayload($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExamplePayload::class);
+ $this->payload = $var;
+
+ return $this;
+ }
+
+ /**
+ * Additional domain-specific parameters, any string must be up to 25000
+ * characters long.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that have
+ * at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned. The default is 100. The
+ * number of returned bounding boxes might be limited by the server.
+ * AutoML Tables
+ * `feature_importance`
+ * : (boolean) Whether
+ * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+ * is populated in the returned list of
+ * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+ * objects. The default is false.
+ *
+ * Generated from protobuf field map params = 3;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ /**
+ * Additional domain-specific parameters, any string must be up to 25000
+ * characters long.
+ * AutoML Vision Classification
+ * `score_threshold`
+ * : (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that have
+ * at least this confidence score. The default is 0.5.
+ * AutoML Vision Object Detection
+ * `score_threshold`
+ * : (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding
+ * boxes returned. The default is 100. The
+ * number of returned bounding boxes might be limited by the server.
+ * AutoML Tables
+ * `feature_importance`
+ * : (boolean) Whether
+ * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+ * is populated in the returned list of
+ * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+ * objects. The default is false.
+ *
+ * Generated from protobuf field map params = 3;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setParams($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->params = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/PredictResponse.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/PredictResponse.php
new file mode 100644
index 000000000000..e87737cc5e77
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/PredictResponse.php
@@ -0,0 +1,229 @@
+google.cloud.automl.v1.PredictResponse
+ */
+class PredictResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Prediction result.
+ * AutoML Translation and AutoML Natural Language Sentiment Analysis
+ * return precisely one payload.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.AnnotationPayload payload = 1;
+ */
+ private $payload;
+ /**
+ * The preprocessed example that AutoML actually makes prediction on.
+ * Empty if AutoML does not preprocess the input example.
+ * For AutoML Natural Language (Classification, Entity Extraction, and
+ * Sentiment Analysis), if the input is a document, the recognized text is
+ * returned in the
+ * [document_text][google.cloud.automl.v1.Document.document_text]
+ * property.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3;
+ */
+ protected $preprocessed_input = null;
+ /**
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes to return per image.
+ * AutoML Natural Language Sentiment Analysis
+ * `sentiment_score`
+ * : (float, deprecated) A value between -1 and 1,
+ * -1 maps to least positive sentiment, while 1 maps to the most positive
+ * one and the higher the score, the more positive the sentiment in the
+ * document is. Yet these values are relative to the training data, so
+ * e.g. if all data was positive then -1 is also positive (though
+ * the least).
+ * `sentiment_score` is not the same as "score" and "magnitude"
+ * from Sentiment Analysis in the Natural Language API.
+ *
+ * Generated from protobuf field map metadata = 2;
+ */
+ private $metadata;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\AutoMl\V1\AnnotationPayload>|\Google\Protobuf\Internal\RepeatedField $payload
+ * Prediction result.
+ * AutoML Translation and AutoML Natural Language Sentiment Analysis
+ * return precisely one payload.
+ * @type \Google\Cloud\AutoMl\V1\ExamplePayload $preprocessed_input
+ * The preprocessed example that AutoML actually makes prediction on.
+ * Empty if AutoML does not preprocess the input example.
+ * For AutoML Natural Language (Classification, Entity Extraction, and
+ * Sentiment Analysis), if the input is a document, the recognized text is
+ * returned in the
+ * [document_text][google.cloud.automl.v1.Document.document_text]
+ * property.
+ * @type array|\Google\Protobuf\Internal\MapField $metadata
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes to return per image.
+ * AutoML Natural Language Sentiment Analysis
+ * `sentiment_score`
+ * : (float, deprecated) A value between -1 and 1,
+ * -1 maps to least positive sentiment, while 1 maps to the most positive
+ * one and the higher the score, the more positive the sentiment in the
+ * document is. Yet these values are relative to the training data, so
+ * e.g. if all data was positive then -1 is also positive (though
+ * the least).
+ * `sentiment_score` is not the same as "score" and "magnitude"
+ * from Sentiment Analysis in the Natural Language API.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\PredictionService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Prediction result.
+ * AutoML Translation and AutoML Natural Language Sentiment Analysis
+ * return precisely one payload.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.AnnotationPayload payload = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getPayload()
+ {
+ return $this->payload;
+ }
+
+ /**
+ * Prediction result.
+ * AutoML Translation and AutoML Natural Language Sentiment Analysis
+ * return precisely one payload.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.AnnotationPayload payload = 1;
+ * @param array<\Google\Cloud\AutoMl\V1\AnnotationPayload>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setPayload($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\AnnotationPayload::class);
+ $this->payload = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The preprocessed example that AutoML actually makes prediction on.
+ * Empty if AutoML does not preprocess the input example.
+ * For AutoML Natural Language (Classification, Entity Extraction, and
+ * Sentiment Analysis), if the input is a document, the recognized text is
+ * returned in the
+ * [document_text][google.cloud.automl.v1.Document.document_text]
+ * property.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3;
+ * @return \Google\Cloud\AutoMl\V1\ExamplePayload|null
+ */
+ public function getPreprocessedInput()
+ {
+ return $this->preprocessed_input;
+ }
+
+ public function hasPreprocessedInput()
+ {
+ return isset($this->preprocessed_input);
+ }
+
+ public function clearPreprocessedInput()
+ {
+ unset($this->preprocessed_input);
+ }
+
+ /**
+ * The preprocessed example that AutoML actually makes prediction on.
+ * Empty if AutoML does not preprocess the input example.
+ * For AutoML Natural Language (Classification, Entity Extraction, and
+ * Sentiment Analysis), if the input is a document, the recognized text is
+ * returned in the
+ * [document_text][google.cloud.automl.v1.Document.document_text]
+ * property.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3;
+ * @param \Google\Cloud\AutoMl\V1\ExamplePayload $var
+ * @return $this
+ */
+ public function setPreprocessedInput($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ExamplePayload::class);
+ $this->preprocessed_input = $var;
+
+ return $this;
+ }
+
+ /**
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes to return per image.
+ * AutoML Natural Language Sentiment Analysis
+ * `sentiment_score`
+ * : (float, deprecated) A value between -1 and 1,
+ * -1 maps to least positive sentiment, while 1 maps to the most positive
+ * one and the higher the score, the more positive the sentiment in the
+ * document is. Yet these values are relative to the training data, so
+ * e.g. if all data was positive then -1 is also positive (though
+ * the least).
+ * `sentiment_score` is not the same as "score" and "magnitude"
+ * from Sentiment Analysis in the Natural Language API.
+ *
+ * Generated from protobuf field map metadata = 2;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ /**
+ * Additional domain-specific prediction response metadata.
+ * AutoML Vision Object Detection
+ * `max_bounding_box_count`
+ * : (int64) The maximum number of bounding boxes to return per image.
+ * AutoML Natural Language Sentiment Analysis
+ * `sentiment_score`
+ * : (float, deprecated) A value between -1 and 1,
+ * -1 maps to least positive sentiment, while 1 maps to the most positive
+ * one and the higher the score, the more positive the sentiment in the
+ * document is. Yet these values are relative to the training data, so
+ * e.g. if all data was positive then -1 is also positive (though
+ * the least).
+ * `sentiment_score` is not the same as "score" and "magnitude"
+ * from Sentiment Analysis in the Natural Language API.
+ *
+ * Generated from protobuf field map metadata = 2;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setMetadata($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->metadata = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextClassificationDatasetMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextClassificationDatasetMetadata.php
new file mode 100644
index 000000000000..d174bc8d04a8
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextClassificationDatasetMetadata.php
@@ -0,0 +1,67 @@
+google.cloud.automl.v1.TextClassificationDatasetMetadata
+ */
+class TextClassificationDatasetMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Type of the classification problem.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 1;
+ */
+ protected $classification_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $classification_type
+ * Required. Type of the classification problem.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Text::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Type of the classification problem.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 1;
+ * @return int
+ */
+ public function getClassificationType()
+ {
+ return $this->classification_type;
+ }
+
+ /**
+ * Required. Type of the classification problem.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setClassificationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1\ClassificationType::class);
+ $this->classification_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextClassificationModelMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextClassificationModelMetadata.php
new file mode 100644
index 000000000000..2d1a81c94f42
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextClassificationModelMetadata.php
@@ -0,0 +1,67 @@
+google.cloud.automl.v1.TextClassificationModelMetadata
+ */
+class TextClassificationModelMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Classification type of the dataset used to train this model.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 3;
+ */
+ protected $classification_type = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $classification_type
+ * Output only. Classification type of the dataset used to train this model.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Text::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Classification type of the dataset used to train this model.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 3;
+ * @return int
+ */
+ public function getClassificationType()
+ {
+ return $this->classification_type;
+ }
+
+ /**
+ * Output only. Classification type of the dataset used to train this model.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationType classification_type = 3;
+ * @param int $var
+ * @return $this
+ */
+ public function setClassificationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1\ClassificationType::class);
+ $this->classification_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionAnnotation.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionAnnotation.php
new file mode 100644
index 000000000000..38691a3cc831
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionAnnotation.php
@@ -0,0 +1,116 @@
+google.cloud.automl.v1.TextExtractionAnnotation
+ */
+class TextExtractionAnnotation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence in correctness of the annotation.
+ *
+ * Generated from protobuf field float score = 1;
+ */
+ protected $score = 0.0;
+ protected $annotation;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\TextSegment $text_segment
+ * An entity annotation will set this, which is the part of the original
+ * text to which the annotation pertains.
+ * @type float $score
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence in correctness of the annotation.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\TextExtraction::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An entity annotation will set this, which is the part of the original
+ * text to which the annotation pertains.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSegment text_segment = 3;
+ * @return \Google\Cloud\AutoMl\V1\TextSegment|null
+ */
+ public function getTextSegment()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasTextSegment()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * An entity annotation will set this, which is the part of the original
+ * text to which the annotation pertains.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSegment text_segment = 3;
+ * @param \Google\Cloud\AutoMl\V1\TextSegment $var
+ * @return $this
+ */
+ public function setTextSegment($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSegment::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence in correctness of the annotation.
+ *
+ * Generated from protobuf field float score = 1;
+ * @return float
+ */
+ public function getScore()
+ {
+ return $this->score;
+ }
+
+ /**
+ * Output only. A confidence estimate between 0.0 and 1.0. A higher value
+ * means greater confidence in correctness of the annotation.
+ *
+ * Generated from protobuf field float score = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setScore($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->score = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getAnnotation()
+ {
+ return $this->whichOneof("annotation");
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionDatasetMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionDatasetMetadata.php
new file mode 100644
index 000000000000..b6c10c7bd5f5
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionDatasetMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.TextExtractionDatasetMetadata
+ */
+class TextExtractionDatasetMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Text::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionEvaluationMetrics.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionEvaluationMetrics.php
new file mode 100644
index 000000000000..2acd2cd4824d
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionEvaluationMetrics.php
@@ -0,0 +1,105 @@
+google.cloud.automl.v1.TextExtractionEvaluationMetrics
+ */
+class TextExtractionEvaluationMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The Area under precision recall curve metric.
+ *
+ * Generated from protobuf field float au_prc = 1;
+ */
+ protected $au_prc = 0.0;
+ /**
+ * Output only. Metrics that have confidence thresholds.
+ * Precision-recall curve can be derived from it.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
+ */
+ private $confidence_metrics_entries;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $au_prc
+ * Output only. The Area under precision recall curve metric.
+ * @type array<\Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics\ConfidenceMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $confidence_metrics_entries
+ * Output only. Metrics that have confidence thresholds.
+ * Precision-recall curve can be derived from it.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\TextExtraction::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The Area under precision recall curve metric.
+ *
+ * Generated from protobuf field float au_prc = 1;
+ * @return float
+ */
+ public function getAuPrc()
+ {
+ return $this->au_prc;
+ }
+
+ /**
+ * Output only. The Area under precision recall curve metric.
+ *
+ * Generated from protobuf field float au_prc = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setAuPrc($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->au_prc = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Metrics that have confidence thresholds.
+ * Precision-recall curve can be derived from it.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getConfidenceMetricsEntries()
+ {
+ return $this->confidence_metrics_entries;
+ }
+
+ /**
+ * Output only. Metrics that have confidence thresholds.
+ * Precision-recall curve can be derived from it.
+ *
+ * Generated from protobuf field repeated .google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry confidence_metrics_entries = 2;
+ * @param array<\Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics\ConfidenceMetricsEntry>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setConfidenceMetricsEntries($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics\ConfidenceMetricsEntry::class);
+ $this->confidence_metrics_entries = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionEvaluationMetrics/ConfidenceMetricsEntry.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionEvaluationMetrics/ConfidenceMetricsEntry.php
new file mode 100644
index 000000000000..8c833d3d60d6
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionEvaluationMetrics/ConfidenceMetricsEntry.php
@@ -0,0 +1,180 @@
+google.cloud.automl.v1.TextExtractionEvaluationMetrics.ConfidenceMetricsEntry
+ */
+class ConfidenceMetricsEntry extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The confidence threshold value used to compute the metrics.
+ * Only annotations with score of at least this threshold are considered to
+ * be ones the model would return.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ */
+ protected $confidence_threshold = 0.0;
+ /**
+ * Output only. Recall under the given confidence threshold.
+ *
+ * Generated from protobuf field float recall = 3;
+ */
+ protected $recall = 0.0;
+ /**
+ * Output only. Precision under the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 4;
+ */
+ protected $precision = 0.0;
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 5;
+ */
+ protected $f1_score = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $confidence_threshold
+ * Output only. The confidence threshold value used to compute the metrics.
+ * Only annotations with score of at least this threshold are considered to
+ * be ones the model would return.
+ * @type float $recall
+ * Output only. Recall under the given confidence threshold.
+ * @type float $precision
+ * Output only. Precision under the given confidence threshold.
+ * @type float $f1_score
+ * Output only. The harmonic mean of recall and precision.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\TextExtraction::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The confidence threshold value used to compute the metrics.
+ * Only annotations with score of at least this threshold are considered to
+ * be ones the model would return.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ * @return float
+ */
+ public function getConfidenceThreshold()
+ {
+ return $this->confidence_threshold;
+ }
+
+ /**
+ * Output only. The confidence threshold value used to compute the metrics.
+ * Only annotations with score of at least this threshold are considered to
+ * be ones the model would return.
+ *
+ * Generated from protobuf field float confidence_threshold = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setConfidenceThreshold($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->confidence_threshold = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Recall under the given confidence threshold.
+ *
+ * Generated from protobuf field float recall = 3;
+ * @return float
+ */
+ public function getRecall()
+ {
+ return $this->recall;
+ }
+
+ /**
+ * Output only. Recall under the given confidence threshold.
+ *
+ * Generated from protobuf field float recall = 3;
+ * @param float $var
+ * @return $this
+ */
+ public function setRecall($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->recall = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Precision under the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 4;
+ * @return float
+ */
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ /**
+ * Output only. Precision under the given confidence threshold.
+ *
+ * Generated from protobuf field float precision = 4;
+ * @param float $var
+ * @return $this
+ */
+ public function setPrecision($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->precision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 5;
+ * @return float
+ */
+ public function getF1Score()
+ {
+ return $this->f1_score;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 5;
+ * @param float $var
+ * @return $this
+ */
+ public function setF1Score($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->f1_score = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ConfidenceMetricsEntry::class, \Google\Cloud\AutoMl\V1\TextExtractionEvaluationMetrics_ConfidenceMetricsEntry::class);
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionModelMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionModelMetadata.php
new file mode 100644
index 000000000000..cdc4f068d268
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextExtractionModelMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.TextExtractionModelMetadata
+ */
+class TextExtractionModelMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Text::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSegment.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSegment.php
new file mode 100644
index 000000000000..9ccbf189ab85
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSegment.php
@@ -0,0 +1,147 @@
+google.cloud.automl.v1.TextSegment
+ */
+class TextSegment extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The content of the TextSegment.
+ *
+ * Generated from protobuf field string content = 3;
+ */
+ protected $content = '';
+ /**
+ * Required. Zero-based character index of the first character of the text
+ * segment (counting characters from the beginning of the text).
+ *
+ * Generated from protobuf field int64 start_offset = 1;
+ */
+ protected $start_offset = 0;
+ /**
+ * Required. Zero-based character index of the first character past the end of
+ * the text segment (counting character from the beginning of the text).
+ * The character at the end_offset is NOT included in the text segment.
+ *
+ * Generated from protobuf field int64 end_offset = 2;
+ */
+ protected $end_offset = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $content
+ * Output only. The content of the TextSegment.
+ * @type int|string $start_offset
+ * Required. Zero-based character index of the first character of the text
+ * segment (counting characters from the beginning of the text).
+ * @type int|string $end_offset
+ * Required. Zero-based character index of the first character past the end of
+ * the text segment (counting character from the beginning of the text).
+ * The character at the end_offset is NOT included in the text segment.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\TextSegment::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The content of the TextSegment.
+ *
+ * Generated from protobuf field string content = 3;
+ * @return string
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ /**
+ * Output only. The content of the TextSegment.
+ *
+ * Generated from protobuf field string content = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setContent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->content = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Zero-based character index of the first character of the text
+ * segment (counting characters from the beginning of the text).
+ *
+ * Generated from protobuf field int64 start_offset = 1;
+ * @return int|string
+ */
+ public function getStartOffset()
+ {
+ return $this->start_offset;
+ }
+
+ /**
+ * Required. Zero-based character index of the first character of the text
+ * segment (counting characters from the beginning of the text).
+ *
+ * Generated from protobuf field int64 start_offset = 1;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setStartOffset($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->start_offset = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Zero-based character index of the first character past the end of
+ * the text segment (counting character from the beginning of the text).
+ * The character at the end_offset is NOT included in the text segment.
+ *
+ * Generated from protobuf field int64 end_offset = 2;
+ * @return int|string
+ */
+ public function getEndOffset()
+ {
+ return $this->end_offset;
+ }
+
+ /**
+ * Required. Zero-based character index of the first character past the end of
+ * the text segment (counting character from the beginning of the text).
+ * The character at the end_offset is NOT included in the text segment.
+ *
+ * Generated from protobuf field int64 end_offset = 2;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setEndOffset($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->end_offset = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentAnnotation.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentAnnotation.php
new file mode 100644
index 000000000000..1c95dbd25468
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentAnnotation.php
@@ -0,0 +1,111 @@
+google.cloud.automl.v1.TextSentimentAnnotation
+ */
+class TextSentimentAnnotation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The sentiment with the semantic, as given to the
+ * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+ * for the prediction had been trained.
+ * The sentiment values are between 0 and
+ * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
+ * with higher value meaning more positive sentiment. They are completely
+ * relative, i.e. 0 means least positive sentiment and sentiment_max means
+ * the most positive from the sentiments present in the train data. Therefore
+ * e.g. if train data had only negative sentiment, then sentiment_max, would
+ * be still negative (although least negative).
+ * The sentiment shouldn't be confused with "score" or "magnitude"
+ * from the previous Natural Language Sentiment Analysis API.
+ *
+ * Generated from protobuf field int32 sentiment = 1;
+ */
+ protected $sentiment = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $sentiment
+ * Output only. The sentiment with the semantic, as given to the
+ * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+ * for the prediction had been trained.
+ * The sentiment values are between 0 and
+ * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
+ * with higher value meaning more positive sentiment. They are completely
+ * relative, i.e. 0 means least positive sentiment and sentiment_max means
+ * the most positive from the sentiments present in the train data. Therefore
+ * e.g. if train data had only negative sentiment, then sentiment_max, would
+ * be still negative (although least negative).
+ * The sentiment shouldn't be confused with "score" or "magnitude"
+ * from the previous Natural Language Sentiment Analysis API.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\TextSentiment::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The sentiment with the semantic, as given to the
+ * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+ * for the prediction had been trained.
+ * The sentiment values are between 0 and
+ * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
+ * with higher value meaning more positive sentiment. They are completely
+ * relative, i.e. 0 means least positive sentiment and sentiment_max means
+ * the most positive from the sentiments present in the train data. Therefore
+ * e.g. if train data had only negative sentiment, then sentiment_max, would
+ * be still negative (although least negative).
+ * The sentiment shouldn't be confused with "score" or "magnitude"
+ * from the previous Natural Language Sentiment Analysis API.
+ *
+ * Generated from protobuf field int32 sentiment = 1;
+ * @return int
+ */
+ public function getSentiment()
+ {
+ return $this->sentiment;
+ }
+
+ /**
+ * Output only. The sentiment with the semantic, as given to the
+ * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+ * for the prediction had been trained.
+ * The sentiment values are between 0 and
+ * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
+ * with higher value meaning more positive sentiment. They are completely
+ * relative, i.e. 0 means least positive sentiment and sentiment_max means
+ * the most positive from the sentiments present in the train data. Therefore
+ * e.g. if train data had only negative sentiment, then sentiment_max, would
+ * be still negative (although least negative).
+ * The sentiment shouldn't be confused with "score" or "magnitude"
+ * from the previous Natural Language Sentiment Analysis API.
+ *
+ * Generated from protobuf field int32 sentiment = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setSentiment($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->sentiment = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentDatasetMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentDatasetMetadata.php
new file mode 100644
index 000000000000..352d7dfd4d45
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentDatasetMetadata.php
@@ -0,0 +1,87 @@
+google.cloud.automl.v1.TextSentimentDatasetMetadata
+ */
+class TextSentimentDatasetMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. A sentiment is expressed as an integer ordinal, where higher value
+ * means a more positive sentiment. The range of sentiments that will be used
+ * is between 0 and sentiment_max (inclusive on both ends), and all the values
+ * in the range must be represented in the dataset before a model can be
+ * created.
+ * sentiment_max value must be between 1 and 10 (inclusive).
+ *
+ * Generated from protobuf field int32 sentiment_max = 1;
+ */
+ protected $sentiment_max = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $sentiment_max
+ * Required. A sentiment is expressed as an integer ordinal, where higher value
+ * means a more positive sentiment. The range of sentiments that will be used
+ * is between 0 and sentiment_max (inclusive on both ends), and all the values
+ * in the range must be represented in the dataset before a model can be
+ * created.
+ * sentiment_max value must be between 1 and 10 (inclusive).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Text::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. A sentiment is expressed as an integer ordinal, where higher value
+ * means a more positive sentiment. The range of sentiments that will be used
+ * is between 0 and sentiment_max (inclusive on both ends), and all the values
+ * in the range must be represented in the dataset before a model can be
+ * created.
+ * sentiment_max value must be between 1 and 10 (inclusive).
+ *
+ * Generated from protobuf field int32 sentiment_max = 1;
+ * @return int
+ */
+ public function getSentimentMax()
+ {
+ return $this->sentiment_max;
+ }
+
+ /**
+ * Required. A sentiment is expressed as an integer ordinal, where higher value
+ * means a more positive sentiment. The range of sentiments that will be used
+ * is between 0 and sentiment_max (inclusive on both ends), and all the values
+ * in the range must be represented in the dataset before a model can be
+ * created.
+ * sentiment_max value must be between 1 and 10 (inclusive).
+ *
+ * Generated from protobuf field int32 sentiment_max = 1;
+ * @param int $var
+ * @return $this
+ */
+ public function setSentimentMax($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->sentiment_max = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentEvaluationMetrics.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentEvaluationMetrics.php
new file mode 100644
index 000000000000..3d45752c0090
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentEvaluationMetrics.php
@@ -0,0 +1,339 @@
+google.cloud.automl.v1.TextSentimentEvaluationMetrics
+ */
+class TextSentimentEvaluationMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Precision.
+ *
+ * Generated from protobuf field float precision = 1;
+ */
+ protected $precision = 0.0;
+ /**
+ * Output only. Recall.
+ *
+ * Generated from protobuf field float recall = 2;
+ */
+ protected $recall = 0.0;
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 3;
+ */
+ protected $f1_score = 0.0;
+ /**
+ * Output only. Mean absolute error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float mean_absolute_error = 4;
+ */
+ protected $mean_absolute_error = 0.0;
+ /**
+ * Output only. Mean squared error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float mean_squared_error = 5;
+ */
+ protected $mean_squared_error = 0.0;
+ /**
+ * Output only. Linear weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float linear_kappa = 6;
+ */
+ protected $linear_kappa = 0.0;
+ /**
+ * Output only. Quadratic weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float quadratic_kappa = 7;
+ */
+ protected $quadratic_kappa = 0.0;
+ /**
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for the overall model evaluation, not for evaluation of a single
+ * annotation spec.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 8;
+ */
+ protected $confusion_matrix = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $precision
+ * Output only. Precision.
+ * @type float $recall
+ * Output only. Recall.
+ * @type float $f1_score
+ * Output only. The harmonic mean of recall and precision.
+ * @type float $mean_absolute_error
+ * Output only. Mean absolute error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ * @type float $mean_squared_error
+ * Output only. Mean squared error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ * @type float $linear_kappa
+ * Output only. Linear weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ * @type float $quadratic_kappa
+ * Output only. Quadratic weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ * @type \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix $confusion_matrix
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for the overall model evaluation, not for evaluation of a single
+ * annotation spec.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\TextSentiment::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Precision.
+ *
+ * Generated from protobuf field float precision = 1;
+ * @return float
+ */
+ public function getPrecision()
+ {
+ return $this->precision;
+ }
+
+ /**
+ * Output only. Precision.
+ *
+ * Generated from protobuf field float precision = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setPrecision($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->precision = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Recall.
+ *
+ * Generated from protobuf field float recall = 2;
+ * @return float
+ */
+ public function getRecall()
+ {
+ return $this->recall;
+ }
+
+ /**
+ * Output only. Recall.
+ *
+ * Generated from protobuf field float recall = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setRecall($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->recall = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 3;
+ * @return float
+ */
+ public function getF1Score()
+ {
+ return $this->f1_score;
+ }
+
+ /**
+ * Output only. The harmonic mean of recall and precision.
+ *
+ * Generated from protobuf field float f1_score = 3;
+ * @param float $var
+ * @return $this
+ */
+ public function setF1Score($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->f1_score = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Mean absolute error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float mean_absolute_error = 4;
+ * @return float
+ */
+ public function getMeanAbsoluteError()
+ {
+ return $this->mean_absolute_error;
+ }
+
+ /**
+ * Output only. Mean absolute error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float mean_absolute_error = 4;
+ * @param float $var
+ * @return $this
+ */
+ public function setMeanAbsoluteError($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->mean_absolute_error = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Mean squared error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float mean_squared_error = 5;
+ * @return float
+ */
+ public function getMeanSquaredError()
+ {
+ return $this->mean_squared_error;
+ }
+
+ /**
+ * Output only. Mean squared error. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float mean_squared_error = 5;
+ * @param float $var
+ * @return $this
+ */
+ public function setMeanSquaredError($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->mean_squared_error = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Linear weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float linear_kappa = 6;
+ * @return float
+ */
+ public function getLinearKappa()
+ {
+ return $this->linear_kappa;
+ }
+
+ /**
+ * Output only. Linear weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float linear_kappa = 6;
+ * @param float $var
+ * @return $this
+ */
+ public function setLinearKappa($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->linear_kappa = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Quadratic weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float quadratic_kappa = 7;
+ * @return float
+ */
+ public function getQuadraticKappa()
+ {
+ return $this->quadratic_kappa;
+ }
+
+ /**
+ * Output only. Quadratic weighted kappa. Only set for the overall model
+ * evaluation, not for evaluation of a single annotation spec.
+ *
+ * Generated from protobuf field float quadratic_kappa = 7;
+ * @param float $var
+ * @return $this
+ */
+ public function setQuadraticKappa($var)
+ {
+ GPBUtil::checkFloat($var);
+ $this->quadratic_kappa = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for the overall model evaluation, not for evaluation of a single
+ * annotation spec.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 8;
+ * @return \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix|null
+ */
+ public function getConfusionMatrix()
+ {
+ return $this->confusion_matrix;
+ }
+
+ public function hasConfusionMatrix()
+ {
+ return isset($this->confusion_matrix);
+ }
+
+ public function clearConfusionMatrix()
+ {
+ unset($this->confusion_matrix);
+ }
+
+ /**
+ * Output only. Confusion matrix of the evaluation.
+ * Only set for the overall model evaluation, not for evaluation of a single
+ * annotation spec.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix confusion_matrix = 8;
+ * @param \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix $var
+ * @return $this
+ */
+ public function setConfusionMatrix($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\ClassificationEvaluationMetrics\ConfusionMatrix::class);
+ $this->confusion_matrix = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentModelMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentModelMetadata.php
new file mode 100644
index 000000000000..67524cbc7e25
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSentimentModelMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.TextSentimentModelMetadata
+ */
+class TextSentimentModelMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Text::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSnippet.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSnippet.php
new file mode 100644
index 000000000000..0ddb5bffe51f
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TextSnippet.php
@@ -0,0 +1,147 @@
+google.cloud.automl.v1.TextSnippet
+ */
+class TextSnippet extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The content of the text snippet as a string. Up to 250000
+ * characters long.
+ *
+ * Generated from protobuf field string content = 1;
+ */
+ protected $content = '';
+ /**
+ * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+ * values are "text/html" and "text/plain". If left blank, the format is
+ * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
+ *
+ * Generated from protobuf field string mime_type = 2;
+ */
+ protected $mime_type = '';
+ /**
+ * Output only. HTTP URI where you can download the content.
+ *
+ * Generated from protobuf field string content_uri = 4;
+ */
+ protected $content_uri = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $content
+ * Required. The content of the text snippet as a string. Up to 250000
+ * characters long.
+ * @type string $mime_type
+ * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+ * values are "text/html" and "text/plain". If left blank, the format is
+ * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
+ * @type string $content_uri
+ * Output only. HTTP URI where you can download the content.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\DataItems::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The content of the text snippet as a string. Up to 250000
+ * characters long.
+ *
+ * Generated from protobuf field string content = 1;
+ * @return string
+ */
+ public function getContent()
+ {
+ return $this->content;
+ }
+
+ /**
+ * Required. The content of the text snippet as a string. Up to 250000
+ * characters long.
+ *
+ * Generated from protobuf field string content = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setContent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->content = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+ * values are "text/html" and "text/plain". If left blank, the format is
+ * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
+ *
+ * Generated from protobuf field string mime_type = 2;
+ * @return string
+ */
+ public function getMimeType()
+ {
+ return $this->mime_type;
+ }
+
+ /**
+ * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+ * values are "text/html" and "text/plain". If left blank, the format is
+ * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
+ *
+ * Generated from protobuf field string mime_type = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setMimeType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->mime_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. HTTP URI where you can download the content.
+ *
+ * Generated from protobuf field string content_uri = 4;
+ * @return string
+ */
+ public function getContentUri()
+ {
+ return $this->content_uri;
+ }
+
+ /**
+ * Output only. HTTP URI where you can download the content.
+ *
+ * Generated from protobuf field string content_uri = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setContentUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->content_uri = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationAnnotation.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationAnnotation.php
new file mode 100644
index 000000000000..f0331be6b72b
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationAnnotation.php
@@ -0,0 +1,77 @@
+google.cloud.automl.v1.TranslationAnnotation
+ */
+class TranslationAnnotation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only . The translated content.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet translated_content = 1;
+ */
+ protected $translated_content = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\TextSnippet $translated_content
+ * Output only . The translated content.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Translation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only . The translated content.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet translated_content = 1;
+ * @return \Google\Cloud\AutoMl\V1\TextSnippet|null
+ */
+ public function getTranslatedContent()
+ {
+ return $this->translated_content;
+ }
+
+ public function hasTranslatedContent()
+ {
+ return isset($this->translated_content);
+ }
+
+ public function clearTranslatedContent()
+ {
+ unset($this->translated_content);
+ }
+
+ /**
+ * Output only . The translated content.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.TextSnippet translated_content = 1;
+ * @param \Google\Cloud\AutoMl\V1\TextSnippet $var
+ * @return $this
+ */
+ public function setTranslatedContent($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\TextSnippet::class);
+ $this->translated_content = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationDatasetMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationDatasetMetadata.php
new file mode 100644
index 000000000000..37554063e8e1
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationDatasetMetadata.php
@@ -0,0 +1,101 @@
+google.cloud.automl.v1.TranslationDatasetMetadata
+ */
+class TranslationDatasetMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The BCP-47 language code of the source language.
+ *
+ * Generated from protobuf field string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $source_language_code = '';
+ /**
+ * Required. The BCP-47 language code of the target language.
+ *
+ * Generated from protobuf field string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $target_language_code = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $source_language_code
+ * Required. The BCP-47 language code of the source language.
+ * @type string $target_language_code
+ * Required. The BCP-47 language code of the target language.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Translation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The BCP-47 language code of the source language.
+ *
+ * Generated from protobuf field string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getSourceLanguageCode()
+ {
+ return $this->source_language_code;
+ }
+
+ /**
+ * Required. The BCP-47 language code of the source language.
+ *
+ * Generated from protobuf field string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setSourceLanguageCode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source_language_code = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The BCP-47 language code of the target language.
+ *
+ * Generated from protobuf field string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getTargetLanguageCode()
+ {
+ return $this->target_language_code;
+ }
+
+ /**
+ * Required. The BCP-47 language code of the target language.
+ *
+ * Generated from protobuf field string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setTargetLanguageCode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->target_language_code = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationEvaluationMetrics.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationEvaluationMetrics.php
new file mode 100644
index 000000000000..824df4fb470d
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationEvaluationMetrics.php
@@ -0,0 +1,101 @@
+google.cloud.automl.v1.TranslationEvaluationMetrics
+ */
+class TranslationEvaluationMetrics extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. BLEU score.
+ *
+ * Generated from protobuf field double bleu_score = 1;
+ */
+ protected $bleu_score = 0.0;
+ /**
+ * Output only. BLEU score for base model.
+ *
+ * Generated from protobuf field double base_bleu_score = 2;
+ */
+ protected $base_bleu_score = 0.0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type float $bleu_score
+ * Output only. BLEU score.
+ * @type float $base_bleu_score
+ * Output only. BLEU score for base model.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Translation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. BLEU score.
+ *
+ * Generated from protobuf field double bleu_score = 1;
+ * @return float
+ */
+ public function getBleuScore()
+ {
+ return $this->bleu_score;
+ }
+
+ /**
+ * Output only. BLEU score.
+ *
+ * Generated from protobuf field double bleu_score = 1;
+ * @param float $var
+ * @return $this
+ */
+ public function setBleuScore($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->bleu_score = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. BLEU score for base model.
+ *
+ * Generated from protobuf field double base_bleu_score = 2;
+ * @return float
+ */
+ public function getBaseBleuScore()
+ {
+ return $this->base_bleu_score;
+ }
+
+ /**
+ * Output only. BLEU score for base model.
+ *
+ * Generated from protobuf field double base_bleu_score = 2;
+ * @param float $var
+ * @return $this
+ */
+ public function setBaseBleuScore($var)
+ {
+ GPBUtil::checkDouble($var);
+ $this->base_bleu_score = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationModelMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationModelMetadata.php
new file mode 100644
index 000000000000..7271f3e10913
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/TranslationModelMetadata.php
@@ -0,0 +1,155 @@
+google.cloud.automl.v1.TranslationModelMetadata
+ */
+class TranslationModelMetadata extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The resource name of the model to use as a baseline to train the custom
+ * model. If unset, we use the default base model provided by Google
+ * Translate. Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ *
+ * Generated from protobuf field string base_model = 1;
+ */
+ protected $base_model = '';
+ /**
+ * Output only. Inferred from the dataset.
+ * The source language (The BCP-47 language code) that is used for training.
+ *
+ * Generated from protobuf field string source_language_code = 2;
+ */
+ protected $source_language_code = '';
+ /**
+ * Output only. The target language (The BCP-47 language code) that is used
+ * for training.
+ *
+ * Generated from protobuf field string target_language_code = 3;
+ */
+ protected $target_language_code = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $base_model
+ * The resource name of the model to use as a baseline to train the custom
+ * model. If unset, we use the default base model provided by Google
+ * Translate. Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ * @type string $source_language_code
+ * Output only. Inferred from the dataset.
+ * The source language (The BCP-47 language code) that is used for training.
+ * @type string $target_language_code
+ * Output only. The target language (The BCP-47 language code) that is used
+ * for training.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Translation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The resource name of the model to use as a baseline to train the custom
+ * model. If unset, we use the default base model provided by Google
+ * Translate. Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ *
+ * Generated from protobuf field string base_model = 1;
+ * @return string
+ */
+ public function getBaseModel()
+ {
+ return $this->base_model;
+ }
+
+ /**
+ * The resource name of the model to use as a baseline to train the custom
+ * model. If unset, we use the default base model provided by Google
+ * Translate. Format:
+ * `projects/{project_id}/locations/{location_id}/models/{model_id}`
+ *
+ * Generated from protobuf field string base_model = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setBaseModel($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->base_model = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Inferred from the dataset.
+ * The source language (The BCP-47 language code) that is used for training.
+ *
+ * Generated from protobuf field string source_language_code = 2;
+ * @return string
+ */
+ public function getSourceLanguageCode()
+ {
+ return $this->source_language_code;
+ }
+
+ /**
+ * Output only. Inferred from the dataset.
+ * The source language (The BCP-47 language code) that is used for training.
+ *
+ * Generated from protobuf field string source_language_code = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setSourceLanguageCode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source_language_code = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The target language (The BCP-47 language code) that is used
+ * for training.
+ *
+ * Generated from protobuf field string target_language_code = 3;
+ * @return string
+ */
+ public function getTargetLanguageCode()
+ {
+ return $this->target_language_code;
+ }
+
+ /**
+ * Output only. The target language (The BCP-47 language code) that is used
+ * for training.
+ *
+ * Generated from protobuf field string target_language_code = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setTargetLanguageCode($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->target_language_code = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UndeployModelOperationMetadata.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UndeployModelOperationMetadata.php
new file mode 100644
index 000000000000..437d6e00c14c
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UndeployModelOperationMetadata.php
@@ -0,0 +1,33 @@
+google.cloud.automl.v1.UndeployModelOperationMetadata
+ */
+class UndeployModelOperationMetadata extends \Google\Protobuf\Internal\Message
+{
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Operations::initOnce();
+ parent::__construct($data);
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UndeployModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UndeployModelRequest.php
new file mode 100644
index 000000000000..fc39415291db
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UndeployModelRequest.php
@@ -0,0 +1,81 @@
+google.cloud.automl.v1.UndeployModelRequest
+ */
+class UndeployModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Resource name of the model to undeploy.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+
+ /**
+ * @param string $name Required. Resource name of the model to undeploy. Please see
+ * {@see AutoMlClient::modelName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\AutoMl\V1\UndeployModelRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Resource name of the model to undeploy.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Resource name of the model to undeploy.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Resource name of the model to undeploy.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UpdateDatasetRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UpdateDatasetRequest.php
new file mode 100644
index 000000000000..2beb23764837
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UpdateDatasetRequest.php
@@ -0,0 +1,136 @@
+google.cloud.automl.v1.UpdateDatasetRequest
+ */
+class UpdateDatasetRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The dataset which replaces the resource on the server.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $dataset = null;
+ /**
+ * Required. The update mask applies to the resource.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $update_mask = null;
+
+ /**
+ * @param \Google\Cloud\AutoMl\V1\Dataset $dataset Required. The dataset which replaces the resource on the server.
+ * @param \Google\Protobuf\FieldMask $updateMask Required. The update mask applies to the resource.
+ *
+ * @return \Google\Cloud\AutoMl\V1\UpdateDatasetRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\AutoMl\V1\Dataset $dataset, \Google\Protobuf\FieldMask $updateMask): self
+ {
+ return (new self())
+ ->setDataset($dataset)
+ ->setUpdateMask($updateMask);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\Dataset $dataset
+ * Required. The dataset which replaces the resource on the server.
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. The update mask applies to the resource.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The dataset which replaces the resource on the server.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\Dataset|null
+ */
+ public function getDataset()
+ {
+ return $this->dataset;
+ }
+
+ public function hasDataset()
+ {
+ return isset($this->dataset);
+ }
+
+ public function clearDataset()
+ {
+ unset($this->dataset);
+ }
+
+ /**
+ * Required. The dataset which replaces the resource on the server.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\Dataset $var
+ * @return $this
+ */
+ public function setDataset($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\Dataset::class);
+ $this->dataset = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The update mask applies to the resource.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. The update mask applies to the resource.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UpdateModelRequest.php b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UpdateModelRequest.php
new file mode 100644
index 000000000000..0408ab2efb2a
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/proto/src/Google/Cloud/AutoMl/V1/UpdateModelRequest.php
@@ -0,0 +1,136 @@
+google.cloud.automl.v1.UpdateModelRequest
+ */
+class UpdateModelRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The model which replaces the resource on the server.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $model = null;
+ /**
+ * Required. The update mask applies to the resource.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $update_mask = null;
+
+ /**
+ * @param \Google\Cloud\AutoMl\V1\Model $model Required. The model which replaces the resource on the server.
+ * @param \Google\Protobuf\FieldMask $updateMask Required. The update mask applies to the resource.
+ *
+ * @return \Google\Cloud\AutoMl\V1\UpdateModelRequest
+ *
+ * @experimental
+ */
+ public static function build(\Google\Cloud\AutoMl\V1\Model $model, \Google\Protobuf\FieldMask $updateMask): self
+ {
+ return (new self())
+ ->setModel($model)
+ ->setUpdateMask($updateMask);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\AutoMl\V1\Model $model
+ * Required. The model which replaces the resource on the server.
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. The update mask applies to the resource.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Automl\V1\Service::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The model which replaces the resource on the server.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\AutoMl\V1\Model|null
+ */
+ public function getModel()
+ {
+ return $this->model;
+ }
+
+ public function hasModel()
+ {
+ return isset($this->model);
+ }
+
+ public function clearModel()
+ {
+ unset($this->model);
+ }
+
+ /**
+ * Required. The model which replaces the resource on the server.
+ *
+ * Generated from protobuf field .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\AutoMl\V1\Model $var
+ * @return $this
+ */
+ public function setModel($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\AutoMl\V1\Model::class);
+ $this->model = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The update mask applies to the resource.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. The update mask applies to the resource.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/create_dataset.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/create_dataset.php
new file mode 100644
index 000000000000..d0614e92c97e
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/create_dataset.php
@@ -0,0 +1,85 @@
+setParent($formattedParent)
+ ->setDataset($dataset);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->createDataset($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Dataset $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AutoMlClient::locationName('[PROJECT]', '[LOCATION]');
+
+ create_dataset_sample($formattedParent);
+}
+// [END automl_v1_generated_AutoMl_CreateDataset_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/create_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/create_model.php
new file mode 100644
index 000000000000..69f95a54b186
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/create_model.php
@@ -0,0 +1,89 @@
+setParent($formattedParent)
+ ->setModel($model);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->createModel($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var Model $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AutoMlClient::locationName('[PROJECT]', '[LOCATION]');
+
+ create_model_sample($formattedParent);
+}
+// [END automl_v1_generated_AutoMl_CreateModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/delete_dataset.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/delete_dataset.php
new file mode 100644
index 000000000000..cc27e08bc16d
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/delete_dataset.php
@@ -0,0 +1,84 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->deleteDataset($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::datasetName('[PROJECT]', '[LOCATION]', '[DATASET]');
+
+ delete_dataset_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_DeleteDataset_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/delete_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/delete_model.php
new file mode 100644
index 000000000000..51ad90525937
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/delete_model.php
@@ -0,0 +1,84 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->deleteModel($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+
+ delete_model_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_DeleteModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/deploy_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/deploy_model.php
new file mode 100644
index 000000000000..342e9a950952
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/deploy_model.php
@@ -0,0 +1,90 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->deployModel($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+
+ deploy_model_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_DeployModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/export_data.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/export_data.php
new file mode 100644
index 000000000000..28d17822fa67
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/export_data.php
@@ -0,0 +1,98 @@
+setOutputUriPrefix($outputConfigGcsDestinationOutputUriPrefix);
+ $outputConfig = (new OutputConfig())
+ ->setGcsDestination($outputConfigGcsDestination);
+ $request = (new ExportDataRequest())
+ ->setName($formattedName)
+ ->setOutputConfig($outputConfig);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->exportData($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::datasetName('[PROJECT]', '[LOCATION]', '[DATASET]');
+ $outputConfigGcsDestinationOutputUriPrefix = '[OUTPUT_URI_PREFIX]';
+
+ export_data_sample($formattedName, $outputConfigGcsDestinationOutputUriPrefix);
+}
+// [END automl_v1_generated_AutoMl_ExportData_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/export_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/export_model.php
new file mode 100644
index 000000000000..d482584b3b8a
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/export_model.php
@@ -0,0 +1,102 @@
+setOutputUriPrefix($outputConfigGcsDestinationOutputUriPrefix);
+ $outputConfig = (new ModelExportOutputConfig())
+ ->setGcsDestination($outputConfigGcsDestination);
+ $request = (new ExportModelRequest())
+ ->setName($formattedName)
+ ->setOutputConfig($outputConfig);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->exportModel($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+ $outputConfigGcsDestinationOutputUriPrefix = '[OUTPUT_URI_PREFIX]';
+
+ export_model_sample($formattedName, $outputConfigGcsDestinationOutputUriPrefix);
+}
+// [END automl_v1_generated_AutoMl_ExportModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_annotation_spec.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_annotation_spec.php
new file mode 100644
index 000000000000..52a862870be4
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_annotation_spec.php
@@ -0,0 +1,76 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var AnnotationSpec $response */
+ $response = $autoMlClient->getAnnotationSpec($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::annotationSpecName(
+ '[PROJECT]',
+ '[LOCATION]',
+ '[DATASET]',
+ '[ANNOTATION_SPEC]'
+ );
+
+ get_annotation_spec_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_GetAnnotationSpec_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_dataset.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_dataset.php
new file mode 100644
index 000000000000..664f48931c27
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_dataset.php
@@ -0,0 +1,71 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Dataset $response */
+ $response = $autoMlClient->getDataset($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::datasetName('[PROJECT]', '[LOCATION]', '[DATASET]');
+
+ get_dataset_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_GetDataset_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_model.php
new file mode 100644
index 000000000000..9f35305c88cf
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_model.php
@@ -0,0 +1,71 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Model $response */
+ $response = $autoMlClient->getModel($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+
+ get_model_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_GetModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_model_evaluation.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_model_evaluation.php
new file mode 100644
index 000000000000..fd11ecf2cec8
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/get_model_evaluation.php
@@ -0,0 +1,76 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var ModelEvaluation $response */
+ $response = $autoMlClient->getModelEvaluation($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::modelEvaluationName(
+ '[PROJECT]',
+ '[LOCATION]',
+ '[MODEL]',
+ '[MODEL_EVALUATION]'
+ );
+
+ get_model_evaluation_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_GetModelEvaluation_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/import_data.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/import_data.php
new file mode 100644
index 000000000000..561944ff9b65
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/import_data.php
@@ -0,0 +1,92 @@
+setName($formattedName)
+ ->setInputConfig($inputConfig);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->importData($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::datasetName('[PROJECT]', '[LOCATION]', '[DATASET]');
+
+ import_data_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_ImportData_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_datasets.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_datasets.php
new file mode 100644
index 000000000000..d33650ae5385
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_datasets.php
@@ -0,0 +1,76 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $autoMlClient->listDatasets($request);
+
+ /** @var Dataset $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AutoMlClient::locationName('[PROJECT]', '[LOCATION]');
+
+ list_datasets_sample($formattedParent);
+}
+// [END automl_v1_generated_AutoMl_ListDatasets_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_model_evaluations.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_model_evaluations.php
new file mode 100644
index 000000000000..22972bcdd8ca
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_model_evaluations.php
@@ -0,0 +1,91 @@
+ The model evaluation was done for
+ * annotation spec with ID different than 4.
+ * * `NOT annotation_spec_id:*` --> The model evaluation was done for
+ * aggregate of all annotation specs.
+ */
+function list_model_evaluations_sample(string $formattedParent, string $filter): void
+{
+ // Create a client.
+ $autoMlClient = new AutoMlClient();
+
+ // Prepare the request message.
+ $request = (new ListModelEvaluationsRequest())
+ ->setParent($formattedParent)
+ ->setFilter($filter);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $autoMlClient->listModelEvaluations($request);
+
+ /** @var ModelEvaluation $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AutoMlClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+ $filter = '[FILTER]';
+
+ list_model_evaluations_sample($formattedParent, $filter);
+}
+// [END automl_v1_generated_AutoMl_ListModelEvaluations_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_models.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_models.php
new file mode 100644
index 000000000000..dfe234500d3d
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/list_models.php
@@ -0,0 +1,76 @@
+setParent($formattedParent);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PagedListResponse $response */
+ $response = $autoMlClient->listModels($request);
+
+ /** @var Model $element */
+ foreach ($response as $element) {
+ printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedParent = AutoMlClient::locationName('[PROJECT]', '[LOCATION]');
+
+ list_models_sample($formattedParent);
+}
+// [END automl_v1_generated_AutoMl_ListModels_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/undeploy_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/undeploy_model.php
new file mode 100644
index 000000000000..8aac610a235b
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/undeploy_model.php
@@ -0,0 +1,86 @@
+setName($formattedName);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $autoMlClient->undeployModel($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ printf('Operation completed successfully.' . PHP_EOL);
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = AutoMlClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+
+ undeploy_model_sample($formattedName);
+}
+// [END automl_v1_generated_AutoMl_UndeployModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/update_dataset.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/update_dataset.php
new file mode 100644
index 000000000000..cb6d571bf1ec
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/update_dataset.php
@@ -0,0 +1,62 @@
+setDataset($dataset)
+ ->setUpdateMask($updateMask);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Dataset $response */
+ $response = $autoMlClient->updateDataset($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+// [END automl_v1_generated_AutoMl_UpdateDataset_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/update_model.php b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/update_model.php
new file mode 100644
index 000000000000..a04d31b68e67
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/AutoMlClient/update_model.php
@@ -0,0 +1,62 @@
+setModel($model)
+ ->setUpdateMask($updateMask);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var Model $response */
+ $response = $autoMlClient->updateModel($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+// [END automl_v1_generated_AutoMl_UpdateModel_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/PredictionServiceClient/batch_predict.php b/owl-bot-staging/AutoMl/v1/samples/V1/PredictionServiceClient/batch_predict.php
new file mode 100644
index 000000000000..04e99da93e38
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/PredictionServiceClient/batch_predict.php
@@ -0,0 +1,130 @@
+setInputUris($inputConfigGcsSourceInputUris);
+ $inputConfig = (new BatchPredictInputConfig())
+ ->setGcsSource($inputConfigGcsSource);
+ $outputConfigGcsDestination = (new GcsDestination())
+ ->setOutputUriPrefix($outputConfigGcsDestinationOutputUriPrefix);
+ $outputConfig = (new BatchPredictOutputConfig())
+ ->setGcsDestination($outputConfigGcsDestination);
+ $request = (new BatchPredictRequest())
+ ->setName($formattedName)
+ ->setInputConfig($inputConfig)
+ ->setOutputConfig($outputConfig);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var OperationResponse $response */
+ $response = $predictionServiceClient->batchPredict($request);
+ $response->pollUntilComplete();
+
+ if ($response->operationSucceeded()) {
+ /** @var BatchPredictResult $result */
+ $result = $response->getResult();
+ printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
+ } else {
+ /** @var Status $error */
+ $error = $response->getError();
+ printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
+ }
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = PredictionServiceClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+ $inputConfigGcsSourceInputUrisElement = '[INPUT_URIS]';
+ $outputConfigGcsDestinationOutputUriPrefix = '[OUTPUT_URI_PREFIX]';
+
+ batch_predict_sample(
+ $formattedName,
+ $inputConfigGcsSourceInputUrisElement,
+ $outputConfigGcsDestinationOutputUriPrefix
+ );
+}
+// [END automl_v1_generated_PredictionService_BatchPredict_sync]
diff --git a/owl-bot-staging/AutoMl/v1/samples/V1/PredictionServiceClient/predict.php b/owl-bot-staging/AutoMl/v1/samples/V1/PredictionServiceClient/predict.php
new file mode 100644
index 000000000000..ab9ba2bbea5f
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/samples/V1/PredictionServiceClient/predict.php
@@ -0,0 +1,109 @@
+setName($formattedName)
+ ->setPayload($payload);
+
+ // Call the API and handle any network failures.
+ try {
+ /** @var PredictResponse $response */
+ $response = $predictionServiceClient->predict($request);
+ printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
+ } catch (ApiException $ex) {
+ printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
+ }
+}
+
+/**
+ * Helper to execute the sample.
+ *
+ * This sample has been automatically generated and should be regarded as a code
+ * template only. It will require modifications to work:
+ * - It may require correct/in-range values for request initialization.
+ * - It may require specifying regional endpoints when creating the service client,
+ * please see the apiEndpoint client configuration option for more details.
+ */
+function callSample(): void
+{
+ $formattedName = PredictionServiceClient::modelName('[PROJECT]', '[LOCATION]', '[MODEL]');
+
+ predict_sample($formattedName);
+}
+// [END automl_v1_generated_PredictionService_Predict_sync]
diff --git a/owl-bot-staging/AutoMl/v1/src/V1/Client/AutoMlClient.php b/owl-bot-staging/AutoMl/v1/src/V1/Client/AutoMlClient.php
new file mode 100644
index 000000000000..44554b2cf5a7
--- /dev/null
+++ b/owl-bot-staging/AutoMl/v1/src/V1/Client/AutoMlClient.php
@@ -0,0 +1,916 @@
+ createDatasetAsync(CreateDatasetRequest $request, array $optionalArgs = [])
+ * @method PromiseInterfaceoptional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $accelerator_type = null;
+ /**
+ * Optional. The number of the guest accelerator cards exposed to this
+ * instance.
+ *
+ * Generated from protobuf field optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $accelerator_count = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $accelerator_type
+ * Optional. Full or partial URL of the accelerator type resource to attach to
+ * this instance.
+ * @type int $accelerator_count
+ * Optional. The number of the guest accelerator cards exposed to this
+ * instance.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Full or partial URL of the accelerator type resource to attach to
+ * this instance.
+ *
+ * Generated from protobuf field optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getAcceleratorType()
+ {
+ return isset($this->accelerator_type) ? $this->accelerator_type : '';
+ }
+
+ public function hasAcceleratorType()
+ {
+ return isset($this->accelerator_type);
+ }
+
+ public function clearAcceleratorType()
+ {
+ unset($this->accelerator_type);
+ }
+
+ /**
+ * Optional. Full or partial URL of the accelerator type resource to attach to
+ * this instance.
+ *
+ * Generated from protobuf field optional string accelerator_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setAcceleratorType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->accelerator_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The number of the guest accelerator cards exposed to this
+ * instance.
+ *
+ * Generated from protobuf field optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getAcceleratorCount()
+ {
+ return isset($this->accelerator_count) ? $this->accelerator_count : 0;
+ }
+
+ public function hasAcceleratorCount()
+ {
+ return isset($this->accelerator_count);
+ }
+
+ public function clearAcceleratorCount()
+ {
+ unset($this->accelerator_count);
+ }
+
+ /**
+ * Optional. The number of the guest accelerator cards exposed to this
+ * instance.
+ *
+ * Generated from protobuf field optional int32 accelerator_count = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setAcceleratorCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->accelerator_count = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig.php
new file mode 100644
index 000000000000..325e5e49dd31
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig.php
@@ -0,0 +1,406 @@
+google.cloud.backupdr.v1.AccessConfig
+ */
+class AccessConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. In accessConfigs (IPv4), the
+ * default and only option is ONE_TO_ONE_NAT. In
+ * ipv6AccessConfigs, the default and only option is
+ * DIRECT_IPV6.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AccessConfig.AccessType type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $type = null;
+ /**
+ * Optional. The name of this access configuration.
+ *
+ * Generated from protobuf field optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $name = null;
+ /**
+ * Optional. The external IP address of this access configuration.
+ *
+ * Generated from protobuf field optional string external_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $external_ip = null;
+ /**
+ * Optional. The external IPv6 address of this access configuration.
+ *
+ * Generated from protobuf field optional string external_ipv6 = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $external_ipv6 = null;
+ /**
+ * Optional. The prefix length of the external IPv6 range.
+ *
+ * Generated from protobuf field optional int32 external_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $external_ipv6_prefix_length = null;
+ /**
+ * Optional. Specifies whether a public DNS 'PTR' record should be created to
+ * map the external IP address of the instance to a DNS domain name.
+ *
+ * Generated from protobuf field optional bool set_public_ptr = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $set_public_ptr = null;
+ /**
+ * Optional. The DNS domain name for the public PTR record.
+ *
+ * Generated from protobuf field optional string public_ptr_domain_name = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $public_ptr_domain_name = null;
+ /**
+ * Optional. This signifies the networking tier used for configuring this
+ * access
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AccessConfig.NetworkTier network_tier = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $network_tier = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $type
+ * Optional. In accessConfigs (IPv4), the
+ * default and only option is ONE_TO_ONE_NAT. In
+ * ipv6AccessConfigs, the default and only option is
+ * DIRECT_IPV6.
+ * @type string $name
+ * Optional. The name of this access configuration.
+ * @type string $external_ip
+ * Optional. The external IP address of this access configuration.
+ * @type string $external_ipv6
+ * Optional. The external IPv6 address of this access configuration.
+ * @type int $external_ipv6_prefix_length
+ * Optional. The prefix length of the external IPv6 range.
+ * @type bool $set_public_ptr
+ * Optional. Specifies whether a public DNS 'PTR' record should be created to
+ * map the external IP address of the instance to a DNS domain name.
+ * @type string $public_ptr_domain_name
+ * Optional. The DNS domain name for the public PTR record.
+ * @type int $network_tier
+ * Optional. This signifies the networking tier used for configuring this
+ * access
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. In accessConfigs (IPv4), the
+ * default and only option is ONE_TO_ONE_NAT. In
+ * ipv6AccessConfigs, the default and only option is
+ * DIRECT_IPV6.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AccessConfig.AccessType type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getType()
+ {
+ return isset($this->type) ? $this->type : 0;
+ }
+
+ public function hasType()
+ {
+ return isset($this->type);
+ }
+
+ public function clearType()
+ {
+ unset($this->type);
+ }
+
+ /**
+ * Optional. In accessConfigs (IPv4), the
+ * default and only option is ONE_TO_ONE_NAT. In
+ * ipv6AccessConfigs, the default and only option is
+ * DIRECT_IPV6.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AccessConfig.AccessType type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AccessConfig\AccessType::class);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The name of this access configuration.
+ *
+ * Generated from protobuf field optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getName()
+ {
+ return isset($this->name) ? $this->name : '';
+ }
+
+ public function hasName()
+ {
+ return isset($this->name);
+ }
+
+ public function clearName()
+ {
+ unset($this->name);
+ }
+
+ /**
+ * Optional. The name of this access configuration.
+ *
+ * Generated from protobuf field optional string name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The external IP address of this access configuration.
+ *
+ * Generated from protobuf field optional string external_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getExternalIp()
+ {
+ return isset($this->external_ip) ? $this->external_ip : '';
+ }
+
+ public function hasExternalIp()
+ {
+ return isset($this->external_ip);
+ }
+
+ public function clearExternalIp()
+ {
+ unset($this->external_ip);
+ }
+
+ /**
+ * Optional. The external IP address of this access configuration.
+ *
+ * Generated from protobuf field optional string external_ip = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setExternalIp($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->external_ip = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The external IPv6 address of this access configuration.
+ *
+ * Generated from protobuf field optional string external_ipv6 = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getExternalIpv6()
+ {
+ return isset($this->external_ipv6) ? $this->external_ipv6 : '';
+ }
+
+ public function hasExternalIpv6()
+ {
+ return isset($this->external_ipv6);
+ }
+
+ public function clearExternalIpv6()
+ {
+ unset($this->external_ipv6);
+ }
+
+ /**
+ * Optional. The external IPv6 address of this access configuration.
+ *
+ * Generated from protobuf field optional string external_ipv6 = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setExternalIpv6($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->external_ipv6 = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The prefix length of the external IPv6 range.
+ *
+ * Generated from protobuf field optional int32 external_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getExternalIpv6PrefixLength()
+ {
+ return isset($this->external_ipv6_prefix_length) ? $this->external_ipv6_prefix_length : 0;
+ }
+
+ public function hasExternalIpv6PrefixLength()
+ {
+ return isset($this->external_ipv6_prefix_length);
+ }
+
+ public function clearExternalIpv6PrefixLength()
+ {
+ unset($this->external_ipv6_prefix_length);
+ }
+
+ /**
+ * Optional. The prefix length of the external IPv6 range.
+ *
+ * Generated from protobuf field optional int32 external_ipv6_prefix_length = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setExternalIpv6PrefixLength($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->external_ipv6_prefix_length = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies whether a public DNS 'PTR' record should be created to
+ * map the external IP address of the instance to a DNS domain name.
+ *
+ * Generated from protobuf field optional bool set_public_ptr = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getSetPublicPtr()
+ {
+ return isset($this->set_public_ptr) ? $this->set_public_ptr : false;
+ }
+
+ public function hasSetPublicPtr()
+ {
+ return isset($this->set_public_ptr);
+ }
+
+ public function clearSetPublicPtr()
+ {
+ unset($this->set_public_ptr);
+ }
+
+ /**
+ * Optional. Specifies whether a public DNS 'PTR' record should be created to
+ * map the external IP address of the instance to a DNS domain name.
+ *
+ * Generated from protobuf field optional bool set_public_ptr = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setSetPublicPtr($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->set_public_ptr = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The DNS domain name for the public PTR record.
+ *
+ * Generated from protobuf field optional string public_ptr_domain_name = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPublicPtrDomainName()
+ {
+ return isset($this->public_ptr_domain_name) ? $this->public_ptr_domain_name : '';
+ }
+
+ public function hasPublicPtrDomainName()
+ {
+ return isset($this->public_ptr_domain_name);
+ }
+
+ public function clearPublicPtrDomainName()
+ {
+ unset($this->public_ptr_domain_name);
+ }
+
+ /**
+ * Optional. The DNS domain name for the public PTR record.
+ *
+ * Generated from protobuf field optional string public_ptr_domain_name = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPublicPtrDomainName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->public_ptr_domain_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. This signifies the networking tier used for configuring this
+ * access
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AccessConfig.NetworkTier network_tier = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getNetworkTier()
+ {
+ return isset($this->network_tier) ? $this->network_tier : 0;
+ }
+
+ public function hasNetworkTier()
+ {
+ return isset($this->network_tier);
+ }
+
+ public function clearNetworkTier()
+ {
+ unset($this->network_tier);
+ }
+
+ /**
+ * Optional. This signifies the networking tier used for configuring this
+ * access
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AccessConfig.NetworkTier network_tier = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setNetworkTier($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AccessConfig\NetworkTier::class);
+ $this->network_tier = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig/AccessType.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig/AccessType.php
new file mode 100644
index 000000000000..aedd6203972c
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig/AccessType.php
@@ -0,0 +1,64 @@
+google.cloud.backupdr.v1.AccessConfig.AccessType
+ */
+class AccessType
+{
+ /**
+ * Default value. This value is unused.
+ *
+ * Generated from protobuf enum ACCESS_TYPE_UNSPECIFIED = 0;
+ */
+ const ACCESS_TYPE_UNSPECIFIED = 0;
+ /**
+ * ONE_TO_ONE_NAT
+ *
+ * Generated from protobuf enum ONE_TO_ONE_NAT = 1;
+ */
+ const ONE_TO_ONE_NAT = 1;
+ /**
+ * Direct IPv6 access.
+ *
+ * Generated from protobuf enum DIRECT_IPV6 = 2;
+ */
+ const DIRECT_IPV6 = 2;
+
+ private static $valueToName = [
+ self::ACCESS_TYPE_UNSPECIFIED => 'ACCESS_TYPE_UNSPECIFIED',
+ self::ONE_TO_ONE_NAT => 'ONE_TO_ONE_NAT',
+ self::DIRECT_IPV6 => 'DIRECT_IPV6',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(AccessType::class, \Google\Cloud\BackupDR\V1\AccessConfig_AccessType::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig/NetworkTier.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig/NetworkTier.php
new file mode 100644
index 000000000000..181b61710791
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AccessConfig/NetworkTier.php
@@ -0,0 +1,66 @@
+google.cloud.backupdr.v1.AccessConfig.NetworkTier
+ */
+class NetworkTier
+{
+ /**
+ * Default value. This value is unused.
+ *
+ * Generated from protobuf enum NETWORK_TIER_UNSPECIFIED = 0;
+ */
+ const NETWORK_TIER_UNSPECIFIED = 0;
+ /**
+ * High quality, Google-grade network tier, support for all networking
+ * products.
+ *
+ * Generated from protobuf enum PREMIUM = 1;
+ */
+ const PREMIUM = 1;
+ /**
+ * Public internet quality, only limited support for other networking
+ * products.
+ *
+ * Generated from protobuf enum STANDARD = 2;
+ */
+ const STANDARD = 2;
+
+ private static $valueToName = [
+ self::NETWORK_TIER_UNSPECIFIED => 'NETWORK_TIER_UNSPECIFIED',
+ self::PREMIUM => 'PREMIUM',
+ self::STANDARD => 'STANDARD',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(NetworkTier::class, \Google\Cloud\BackupDR\V1\AccessConfig_NetworkTier::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AdvancedMachineFeatures.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AdvancedMachineFeatures.php
new file mode 100644
index 000000000000..29901b19bd41
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AdvancedMachineFeatures.php
@@ -0,0 +1,241 @@
+google.cloud.backupdr.v1.AdvancedMachineFeatures
+ */
+class AdvancedMachineFeatures extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Whether to enable nested virtualization or not (default is
+ * false).
+ *
+ * Generated from protobuf field optional bool enable_nested_virtualization = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_nested_virtualization = null;
+ /**
+ * Optional. The number of threads per physical core. To disable simultaneous
+ * multithreading (SMT) set this to 1. If unset, the maximum number
+ * of threads supported per core by the underlying processor is
+ * assumed.
+ *
+ * Generated from protobuf field optional int32 threads_per_core = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $threads_per_core = null;
+ /**
+ * Optional. The number of physical cores to expose to an instance. Multiply
+ * by the number of threads per core to compute the total number of virtual
+ * CPUs to expose to the instance. If unset, the number of cores is
+ * inferred from the instance's nominal CPU count and the underlying
+ * platform's SMT width.
+ *
+ * Generated from protobuf field optional int32 visible_core_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $visible_core_count = null;
+ /**
+ * Optional. Whether to enable UEFI networking for instance creation.
+ *
+ * Generated from protobuf field optional bool enable_uefi_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_uefi_networking = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $enable_nested_virtualization
+ * Optional. Whether to enable nested virtualization or not (default is
+ * false).
+ * @type int $threads_per_core
+ * Optional. The number of threads per physical core. To disable simultaneous
+ * multithreading (SMT) set this to 1. If unset, the maximum number
+ * of threads supported per core by the underlying processor is
+ * assumed.
+ * @type int $visible_core_count
+ * Optional. The number of physical cores to expose to an instance. Multiply
+ * by the number of threads per core to compute the total number of virtual
+ * CPUs to expose to the instance. If unset, the number of cores is
+ * inferred from the instance's nominal CPU count and the underlying
+ * platform's SMT width.
+ * @type bool $enable_uefi_networking
+ * Optional. Whether to enable UEFI networking for instance creation.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Whether to enable nested virtualization or not (default is
+ * false).
+ *
+ * Generated from protobuf field optional bool enable_nested_virtualization = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableNestedVirtualization()
+ {
+ return isset($this->enable_nested_virtualization) ? $this->enable_nested_virtualization : false;
+ }
+
+ public function hasEnableNestedVirtualization()
+ {
+ return isset($this->enable_nested_virtualization);
+ }
+
+ public function clearEnableNestedVirtualization()
+ {
+ unset($this->enable_nested_virtualization);
+ }
+
+ /**
+ * Optional. Whether to enable nested virtualization or not (default is
+ * false).
+ *
+ * Generated from protobuf field optional bool enable_nested_virtualization = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableNestedVirtualization($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_nested_virtualization = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The number of threads per physical core. To disable simultaneous
+ * multithreading (SMT) set this to 1. If unset, the maximum number
+ * of threads supported per core by the underlying processor is
+ * assumed.
+ *
+ * Generated from protobuf field optional int32 threads_per_core = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getThreadsPerCore()
+ {
+ return isset($this->threads_per_core) ? $this->threads_per_core : 0;
+ }
+
+ public function hasThreadsPerCore()
+ {
+ return isset($this->threads_per_core);
+ }
+
+ public function clearThreadsPerCore()
+ {
+ unset($this->threads_per_core);
+ }
+
+ /**
+ * Optional. The number of threads per physical core. To disable simultaneous
+ * multithreading (SMT) set this to 1. If unset, the maximum number
+ * of threads supported per core by the underlying processor is
+ * assumed.
+ *
+ * Generated from protobuf field optional int32 threads_per_core = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setThreadsPerCore($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->threads_per_core = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The number of physical cores to expose to an instance. Multiply
+ * by the number of threads per core to compute the total number of virtual
+ * CPUs to expose to the instance. If unset, the number of cores is
+ * inferred from the instance's nominal CPU count and the underlying
+ * platform's SMT width.
+ *
+ * Generated from protobuf field optional int32 visible_core_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getVisibleCoreCount()
+ {
+ return isset($this->visible_core_count) ? $this->visible_core_count : 0;
+ }
+
+ public function hasVisibleCoreCount()
+ {
+ return isset($this->visible_core_count);
+ }
+
+ public function clearVisibleCoreCount()
+ {
+ unset($this->visible_core_count);
+ }
+
+ /**
+ * Optional. The number of physical cores to expose to an instance. Multiply
+ * by the number of threads per core to compute the total number of virtual
+ * CPUs to expose to the instance. If unset, the number of cores is
+ * inferred from the instance's nominal CPU count and the underlying
+ * platform's SMT width.
+ *
+ * Generated from protobuf field optional int32 visible_core_count = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setVisibleCoreCount($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->visible_core_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Whether to enable UEFI networking for instance creation.
+ *
+ * Generated from protobuf field optional bool enable_uefi_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableUefiNetworking()
+ {
+ return isset($this->enable_uefi_networking) ? $this->enable_uefi_networking : false;
+ }
+
+ public function hasEnableUefiNetworking()
+ {
+ return isset($this->enable_uefi_networking);
+ }
+
+ public function clearEnableUefiNetworking()
+ {
+ unset($this->enable_uefi_networking);
+ }
+
+ /**
+ * Optional. Whether to enable UEFI networking for instance creation.
+ *
+ * Generated from protobuf field optional bool enable_uefi_networking = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableUefiNetworking($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_uefi_networking = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AliasIpRange.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AliasIpRange.php
new file mode 100644
index 000000000000..c7fa6c80788b
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AliasIpRange.php
@@ -0,0 +1,129 @@
+google.cloud.backupdr.v1.AliasIpRange
+ */
+class AliasIpRange extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The IP alias ranges to allocate for this interface.
+ *
+ * Generated from protobuf field optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $ip_cidr_range = null;
+ /**
+ * Optional. The name of a subnetwork secondary IP range from which to
+ * allocate an IP alias range. If not specified, the primary range of the
+ * subnetwork is used.
+ *
+ * Generated from protobuf field optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $subnetwork_range_name = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $ip_cidr_range
+ * Optional. The IP alias ranges to allocate for this interface.
+ * @type string $subnetwork_range_name
+ * Optional. The name of a subnetwork secondary IP range from which to
+ * allocate an IP alias range. If not specified, the primary range of the
+ * subnetwork is used.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. The IP alias ranges to allocate for this interface.
+ *
+ * Generated from protobuf field optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getIpCidrRange()
+ {
+ return isset($this->ip_cidr_range) ? $this->ip_cidr_range : '';
+ }
+
+ public function hasIpCidrRange()
+ {
+ return isset($this->ip_cidr_range);
+ }
+
+ public function clearIpCidrRange()
+ {
+ unset($this->ip_cidr_range);
+ }
+
+ /**
+ * Optional. The IP alias ranges to allocate for this interface.
+ *
+ * Generated from protobuf field optional string ip_cidr_range = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setIpCidrRange($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->ip_cidr_range = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The name of a subnetwork secondary IP range from which to
+ * allocate an IP alias range. If not specified, the primary range of the
+ * subnetwork is used.
+ *
+ * Generated from protobuf field optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getSubnetworkRangeName()
+ {
+ return isset($this->subnetwork_range_name) ? $this->subnetwork_range_name : '';
+ }
+
+ public function hasSubnetworkRangeName()
+ {
+ return isset($this->subnetwork_range_name);
+ }
+
+ public function clearSubnetworkRangeName()
+ {
+ unset($this->subnetwork_range_name);
+ }
+
+ /**
+ * Optional. The name of a subnetwork secondary IP range from which to
+ * allocate an IP alias range. If not specified, the primary range of the
+ * subnetwork is used.
+ *
+ * Generated from protobuf field optional string subnetwork_range_name = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setSubnetworkRangeName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->subnetwork_range_name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AllocationAffinity.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AllocationAffinity.php
new file mode 100644
index 000000000000..6eb73d7b0b92
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AllocationAffinity.php
@@ -0,0 +1,159 @@
+google.cloud.backupdr.v1.AllocationAffinity
+ */
+class AllocationAffinity extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Specifies the type of reservation from which this instance can
+ * consume
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AllocationAffinity.Type consume_allocation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $consume_allocation_type = null;
+ /**
+ * Optional. Corresponds to the label key of a reservation resource.
+ *
+ * Generated from protobuf field optional string key = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $key = null;
+ /**
+ * Optional. Corresponds to the label values of a reservation resource.
+ *
+ * Generated from protobuf field repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $values;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $consume_allocation_type
+ * Optional. Specifies the type of reservation from which this instance can
+ * consume
+ * @type string $key
+ * Optional. Corresponds to the label key of a reservation resource.
+ * @type arrayoptional .google.cloud.backupdr.v1.AllocationAffinity.Type consume_allocation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getConsumeAllocationType()
+ {
+ return isset($this->consume_allocation_type) ? $this->consume_allocation_type : 0;
+ }
+
+ public function hasConsumeAllocationType()
+ {
+ return isset($this->consume_allocation_type);
+ }
+
+ public function clearConsumeAllocationType()
+ {
+ unset($this->consume_allocation_type);
+ }
+
+ /**
+ * Optional. Specifies the type of reservation from which this instance can
+ * consume
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AllocationAffinity.Type consume_allocation_type = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setConsumeAllocationType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AllocationAffinity\Type::class);
+ $this->consume_allocation_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Corresponds to the label key of a reservation resource.
+ *
+ * Generated from protobuf field optional string key = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getKey()
+ {
+ return isset($this->key) ? $this->key : '';
+ }
+
+ public function hasKey()
+ {
+ return isset($this->key);
+ }
+
+ public function clearKey()
+ {
+ unset($this->key);
+ }
+
+ /**
+ * Optional. Corresponds to the label key of a reservation resource.
+ *
+ * Generated from protobuf field optional string key = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Corresponds to the label values of a reservation resource.
+ *
+ * Generated from protobuf field repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getValues()
+ {
+ return $this->values;
+ }
+
+ /**
+ * Optional. Corresponds to the label values of a reservation resource.
+ *
+ * Generated from protobuf field repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayTYPE_UNSPECIFIED = 0;
+ */
+ const TYPE_UNSPECIFIED = 0;
+ /**
+ * Do not consume from any allocated capacity.
+ *
+ * Generated from protobuf enum NO_RESERVATION = 1;
+ */
+ const NO_RESERVATION = 1;
+ /**
+ * Consume any allocation available.
+ *
+ * Generated from protobuf enum ANY_RESERVATION = 2;
+ */
+ const ANY_RESERVATION = 2;
+ /**
+ * Must consume from a specific reservation. Must specify key value fields
+ * for specifying the reservations.
+ *
+ * Generated from protobuf enum SPECIFIC_RESERVATION = 3;
+ */
+ const SPECIFIC_RESERVATION = 3;
+
+ private static $valueToName = [
+ self::TYPE_UNSPECIFIED => 'TYPE_UNSPECIFIED',
+ self::NO_RESERVATION => 'NO_RESERVATION',
+ self::ANY_RESERVATION => 'ANY_RESERVATION',
+ self::SPECIFIC_RESERVATION => 'SPECIFIC_RESERVATION',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(Type::class, \Google\Cloud\BackupDR\V1\AllocationAffinity_Type::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk.php
new file mode 100644
index 000000000000..6d06c12af671
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk.php
@@ -0,0 +1,804 @@
+google.cloud.backupdr.v1.AttachedDisk
+ */
+class AttachedDisk extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Specifies the parameters to initialize this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.InitializeParams initialize_params = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $initialize_params = null;
+ /**
+ * Optional. This is used as an identifier for the disks. This is the unique
+ * name has to provided to modify disk parameters like disk_name and
+ * replica_zones (in case of RePDs)
+ *
+ * Generated from protobuf field optional string device_name = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $device_name = null;
+ /**
+ * Optional. Type of the resource.
+ *
+ * Generated from protobuf field optional string kind = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $kind = null;
+ /**
+ * Specifies the type of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskType disk_type_deprecated = 6 [deprecated = true];
+ * @deprecated
+ */
+ protected $disk_type_deprecated = null;
+ /**
+ * Optional. The mode in which to attach this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskMode mode = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $mode = null;
+ /**
+ * Optional. Specifies a valid partial or full URL to an existing Persistent
+ * Disk resource.
+ *
+ * Generated from protobuf field optional string source = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $source = null;
+ /**
+ * Optional. A zero-based index to this disk, where 0 is reserved for the
+ * boot disk.
+ *
+ * Generated from protobuf field optional int64 index = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $index = null;
+ /**
+ * Optional. Indicates that this is a boot disk. The virtual machine will use
+ * the first partition of the disk for its root filesystem.
+ *
+ * Generated from protobuf field optional bool boot = 10 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $boot = null;
+ /**
+ * Optional. Specifies whether the disk will be auto-deleted when the instance
+ * is deleted (but not when the disk is detached from the instance).
+ *
+ * Generated from protobuf field optional bool auto_delete = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $auto_delete = null;
+ /**
+ * Optional. Any valid publicly visible licenses.
+ *
+ * Generated from protobuf field repeated string license = 12 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $license;
+ /**
+ * Optional. Specifies the disk interface to use for attaching this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskInterface disk_interface = 13 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $disk_interface = null;
+ /**
+ * Optional. A list of features to enable on the guest operating system.
+ * Applicable only for bootable images.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 14 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $guest_os_feature;
+ /**
+ * Optional. Encrypts or decrypts a disk using a customer-supplied
+ * encryption key.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.CustomerEncryptionKey disk_encryption_key = 15 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $disk_encryption_key = null;
+ /**
+ * Optional. The size of the disk in GB.
+ *
+ * Generated from protobuf field optional int64 disk_size_gb = 16 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $disk_size_gb = null;
+ /**
+ * Optional. Output only. The state of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskSavedState saved_state = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $saved_state = null;
+ /**
+ * Optional. Output only. The URI of the disk type resource. For example:
+ * projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
+ *
+ * Generated from protobuf field optional string disk_type = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $disk_type = null;
+ /**
+ * Optional. Specifies the type of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskType type = 19 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $type = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\BackupDR\V1\AttachedDisk\InitializeParams $initialize_params
+ * Optional. Specifies the parameters to initialize this disk.
+ * @type string $device_name
+ * Optional. This is used as an identifier for the disks. This is the unique
+ * name has to provided to modify disk parameters like disk_name and
+ * replica_zones (in case of RePDs)
+ * @type string $kind
+ * Optional. Type of the resource.
+ * @type int $disk_type_deprecated
+ * Specifies the type of the disk.
+ * @type int $mode
+ * Optional. The mode in which to attach this disk.
+ * @type string $source
+ * Optional. Specifies a valid partial or full URL to an existing Persistent
+ * Disk resource.
+ * @type int|string $index
+ * Optional. A zero-based index to this disk, where 0 is reserved for the
+ * boot disk.
+ * @type bool $boot
+ * Optional. Indicates that this is a boot disk. The virtual machine will use
+ * the first partition of the disk for its root filesystem.
+ * @type bool $auto_delete
+ * Optional. Specifies whether the disk will be auto-deleted when the instance
+ * is deleted (but not when the disk is detached from the instance).
+ * @type arrayoptional .google.cloud.backupdr.v1.AttachedDisk.InitializeParams initialize_params = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\AttachedDisk\InitializeParams|null
+ */
+ public function getInitializeParams()
+ {
+ return $this->initialize_params;
+ }
+
+ public function hasInitializeParams()
+ {
+ return isset($this->initialize_params);
+ }
+
+ public function clearInitializeParams()
+ {
+ unset($this->initialize_params);
+ }
+
+ /**
+ * Optional. Specifies the parameters to initialize this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.InitializeParams initialize_params = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\AttachedDisk\InitializeParams $var
+ * @return $this
+ */
+ public function setInitializeParams($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\AttachedDisk\InitializeParams::class);
+ $this->initialize_params = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. This is used as an identifier for the disks. This is the unique
+ * name has to provided to modify disk parameters like disk_name and
+ * replica_zones (in case of RePDs)
+ *
+ * Generated from protobuf field optional string device_name = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDeviceName()
+ {
+ return isset($this->device_name) ? $this->device_name : '';
+ }
+
+ public function hasDeviceName()
+ {
+ return isset($this->device_name);
+ }
+
+ public function clearDeviceName()
+ {
+ unset($this->device_name);
+ }
+
+ /**
+ * Optional. This is used as an identifier for the disks. This is the unique
+ * name has to provided to modify disk parameters like disk_name and
+ * replica_zones (in case of RePDs)
+ *
+ * Generated from protobuf field optional string device_name = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDeviceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->device_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Type of the resource.
+ *
+ * Generated from protobuf field optional string kind = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getKind()
+ {
+ return isset($this->kind) ? $this->kind : '';
+ }
+
+ public function hasKind()
+ {
+ return isset($this->kind);
+ }
+
+ public function clearKind()
+ {
+ unset($this->kind);
+ }
+
+ /**
+ * Optional. Type of the resource.
+ *
+ * Generated from protobuf field optional string kind = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setKind($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->kind = $var;
+
+ return $this;
+ }
+
+ /**
+ * Specifies the type of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskType disk_type_deprecated = 6 [deprecated = true];
+ * @return int
+ * @deprecated
+ */
+ public function getDiskTypeDeprecated()
+ {
+ @trigger_error('disk_type_deprecated is deprecated.', E_USER_DEPRECATED);
+ return isset($this->disk_type_deprecated) ? $this->disk_type_deprecated : 0;
+ }
+
+ public function hasDiskTypeDeprecated()
+ {
+ @trigger_error('disk_type_deprecated is deprecated.', E_USER_DEPRECATED);
+ return isset($this->disk_type_deprecated);
+ }
+
+ public function clearDiskTypeDeprecated()
+ {
+ @trigger_error('disk_type_deprecated is deprecated.', E_USER_DEPRECATED);
+ unset($this->disk_type_deprecated);
+ }
+
+ /**
+ * Specifies the type of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskType disk_type_deprecated = 6 [deprecated = true];
+ * @param int $var
+ * @return $this
+ * @deprecated
+ */
+ public function setDiskTypeDeprecated($var)
+ {
+ @trigger_error('disk_type_deprecated is deprecated.', E_USER_DEPRECATED);
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AttachedDisk\DiskType::class);
+ $this->disk_type_deprecated = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The mode in which to attach this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskMode mode = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getMode()
+ {
+ return isset($this->mode) ? $this->mode : 0;
+ }
+
+ public function hasMode()
+ {
+ return isset($this->mode);
+ }
+
+ public function clearMode()
+ {
+ unset($this->mode);
+ }
+
+ /**
+ * Optional. The mode in which to attach this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskMode mode = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setMode($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AttachedDisk\DiskMode::class);
+ $this->mode = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies a valid partial or full URL to an existing Persistent
+ * Disk resource.
+ *
+ * Generated from protobuf field optional string source = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getSource()
+ {
+ return isset($this->source) ? $this->source : '';
+ }
+
+ public function hasSource()
+ {
+ return isset($this->source);
+ }
+
+ public function clearSource()
+ {
+ unset($this->source);
+ }
+
+ /**
+ * Optional. Specifies a valid partial or full URL to an existing Persistent
+ * Disk resource.
+ *
+ * Generated from protobuf field optional string source = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setSource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A zero-based index to this disk, where 0 is reserved for the
+ * boot disk.
+ *
+ * Generated from protobuf field optional int64 index = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int|string
+ */
+ public function getIndex()
+ {
+ return isset($this->index) ? $this->index : 0;
+ }
+
+ public function hasIndex()
+ {
+ return isset($this->index);
+ }
+
+ public function clearIndex()
+ {
+ unset($this->index);
+ }
+
+ /**
+ * Optional. A zero-based index to this disk, where 0 is reserved for the
+ * boot disk.
+ *
+ * Generated from protobuf field optional int64 index = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setIndex($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->index = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Indicates that this is a boot disk. The virtual machine will use
+ * the first partition of the disk for its root filesystem.
+ *
+ * Generated from protobuf field optional bool boot = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getBoot()
+ {
+ return isset($this->boot) ? $this->boot : false;
+ }
+
+ public function hasBoot()
+ {
+ return isset($this->boot);
+ }
+
+ public function clearBoot()
+ {
+ unset($this->boot);
+ }
+
+ /**
+ * Optional. Indicates that this is a boot disk. The virtual machine will use
+ * the first partition of the disk for its root filesystem.
+ *
+ * Generated from protobuf field optional bool boot = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setBoot($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->boot = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies whether the disk will be auto-deleted when the instance
+ * is deleted (but not when the disk is detached from the instance).
+ *
+ * Generated from protobuf field optional bool auto_delete = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getAutoDelete()
+ {
+ return isset($this->auto_delete) ? $this->auto_delete : false;
+ }
+
+ public function hasAutoDelete()
+ {
+ return isset($this->auto_delete);
+ }
+
+ public function clearAutoDelete()
+ {
+ unset($this->auto_delete);
+ }
+
+ /**
+ * Optional. Specifies whether the disk will be auto-deleted when the instance
+ * is deleted (but not when the disk is detached from the instance).
+ *
+ * Generated from protobuf field optional bool auto_delete = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setAutoDelete($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->auto_delete = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Any valid publicly visible licenses.
+ *
+ * Generated from protobuf field repeated string license = 12 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getLicense()
+ {
+ return $this->license;
+ }
+
+ /**
+ * Optional. Any valid publicly visible licenses.
+ *
+ * Generated from protobuf field repeated string license = 12 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayoptional .google.cloud.backupdr.v1.AttachedDisk.DiskInterface disk_interface = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getDiskInterface()
+ {
+ return isset($this->disk_interface) ? $this->disk_interface : 0;
+ }
+
+ public function hasDiskInterface()
+ {
+ return isset($this->disk_interface);
+ }
+
+ public function clearDiskInterface()
+ {
+ unset($this->disk_interface);
+ }
+
+ /**
+ * Optional. Specifies the disk interface to use for attaching this disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskInterface disk_interface = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setDiskInterface($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AttachedDisk\DiskInterface::class);
+ $this->disk_interface = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of features to enable on the guest operating system.
+ * Applicable only for bootable images.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 14 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGuestOsFeature()
+ {
+ return $this->guest_os_feature;
+ }
+
+ /**
+ * Optional. A list of features to enable on the guest operating system.
+ * Applicable only for bootable images.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.GuestOsFeature guest_os_feature = 14 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\BackupDR\V1\GuestOsFeature>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGuestOsFeature($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\GuestOsFeature::class);
+ $this->guest_os_feature = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Encrypts or decrypts a disk using a customer-supplied
+ * encryption key.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.CustomerEncryptionKey disk_encryption_key = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\CustomerEncryptionKey|null
+ */
+ public function getDiskEncryptionKey()
+ {
+ return $this->disk_encryption_key;
+ }
+
+ public function hasDiskEncryptionKey()
+ {
+ return isset($this->disk_encryption_key);
+ }
+
+ public function clearDiskEncryptionKey()
+ {
+ unset($this->disk_encryption_key);
+ }
+
+ /**
+ * Optional. Encrypts or decrypts a disk using a customer-supplied
+ * encryption key.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.CustomerEncryptionKey disk_encryption_key = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\CustomerEncryptionKey $var
+ * @return $this
+ */
+ public function setDiskEncryptionKey($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\CustomerEncryptionKey::class);
+ $this->disk_encryption_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The size of the disk in GB.
+ *
+ * Generated from protobuf field optional int64 disk_size_gb = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int|string
+ */
+ public function getDiskSizeGb()
+ {
+ return isset($this->disk_size_gb) ? $this->disk_size_gb : 0;
+ }
+
+ public function hasDiskSizeGb()
+ {
+ return isset($this->disk_size_gb);
+ }
+
+ public function clearDiskSizeGb()
+ {
+ unset($this->disk_size_gb);
+ }
+
+ /**
+ * Optional. The size of the disk in GB.
+ *
+ * Generated from protobuf field optional int64 disk_size_gb = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setDiskSizeGb($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->disk_size_gb = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Output only. The state of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskSavedState saved_state = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getSavedState()
+ {
+ return isset($this->saved_state) ? $this->saved_state : 0;
+ }
+
+ public function hasSavedState()
+ {
+ return isset($this->saved_state);
+ }
+
+ public function clearSavedState()
+ {
+ unset($this->saved_state);
+ }
+
+ /**
+ * Optional. Output only. The state of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskSavedState saved_state = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setSavedState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AttachedDisk\DiskSavedState::class);
+ $this->saved_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Output only. The URI of the disk type resource. For example:
+ * projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
+ *
+ * Generated from protobuf field optional string disk_type = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getDiskType()
+ {
+ return isset($this->disk_type) ? $this->disk_type : '';
+ }
+
+ public function hasDiskType()
+ {
+ return isset($this->disk_type);
+ }
+
+ public function clearDiskType()
+ {
+ unset($this->disk_type);
+ }
+
+ /**
+ * Optional. Output only. The URI of the disk type resource. For example:
+ * projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
+ *
+ * Generated from protobuf field optional string disk_type = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setDiskType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->disk_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the type of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskType type = 19 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getType()
+ {
+ return isset($this->type) ? $this->type : 0;
+ }
+
+ public function hasType()
+ {
+ return isset($this->type);
+ }
+
+ public function clearType()
+ {
+ unset($this->type);
+ }
+
+ /**
+ * Optional. Specifies the type of the disk.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AttachedDisk.DiskType type = 19 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\AttachedDisk\DiskType::class);
+ $this->type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskInterface.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskInterface.php
new file mode 100644
index 000000000000..3dc9f131bda4
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskInterface.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.AttachedDisk.DiskInterface
+ */
+class DiskInterface
+{
+ /**
+ * Default value, which is unused.
+ *
+ * Generated from protobuf enum DISK_INTERFACE_UNSPECIFIED = 0;
+ */
+ const DISK_INTERFACE_UNSPECIFIED = 0;
+ /**
+ * SCSI Disk Interface.
+ *
+ * Generated from protobuf enum SCSI = 1;
+ */
+ const SCSI = 1;
+ /**
+ * NVME Disk Interface.
+ *
+ * Generated from protobuf enum NVME = 2;
+ */
+ const NVME = 2;
+ /**
+ * NVDIMM Disk Interface.
+ *
+ * Generated from protobuf enum NVDIMM = 3;
+ */
+ const NVDIMM = 3;
+ /**
+ * ISCSI Disk Interface.
+ *
+ * Generated from protobuf enum ISCSI = 4;
+ */
+ const ISCSI = 4;
+
+ private static $valueToName = [
+ self::DISK_INTERFACE_UNSPECIFIED => 'DISK_INTERFACE_UNSPECIFIED',
+ self::SCSI => 'SCSI',
+ self::NVME => 'NVME',
+ self::NVDIMM => 'NVDIMM',
+ self::ISCSI => 'ISCSI',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DiskInterface::class, \Google\Cloud\BackupDR\V1\AttachedDisk_DiskInterface::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskMode.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskMode.php
new file mode 100644
index 000000000000..f11c19ef3425
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskMode.php
@@ -0,0 +1,76 @@
+google.cloud.backupdr.v1.AttachedDisk.DiskMode
+ */
+class DiskMode
+{
+ /**
+ * Default value, which is unused.
+ *
+ * Generated from protobuf enum DISK_MODE_UNSPECIFIED = 0;
+ */
+ const DISK_MODE_UNSPECIFIED = 0;
+ /**
+ * Attaches this disk in read-write mode. Only one
+ * virtual machine at a time can be attached to a disk in read-write mode.
+ *
+ * Generated from protobuf enum READ_WRITE = 1;
+ */
+ const READ_WRITE = 1;
+ /**
+ * Attaches this disk in read-only mode. Multiple virtual machines can use
+ * a disk in read-only mode at a time.
+ *
+ * Generated from protobuf enum READ_ONLY = 2;
+ */
+ const READ_ONLY = 2;
+ /**
+ * The disk is locked for administrative reasons. Nobody else
+ * can use the disk. This mode is used (for example) when taking
+ * a snapshot of a disk to prevent mounting the disk while it is
+ * being snapshotted.
+ *
+ * Generated from protobuf enum LOCKED = 3;
+ */
+ const LOCKED = 3;
+
+ private static $valueToName = [
+ self::DISK_MODE_UNSPECIFIED => 'DISK_MODE_UNSPECIFIED',
+ self::READ_WRITE => 'READ_WRITE',
+ self::READ_ONLY => 'READ_ONLY',
+ self::LOCKED => 'LOCKED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DiskMode::class, \Google\Cloud\BackupDR\V1\AttachedDisk_DiskMode::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskSavedState.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskSavedState.php
new file mode 100644
index 000000000000..2e994033207b
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskSavedState.php
@@ -0,0 +1,57 @@
+google.cloud.backupdr.v1.AttachedDisk.DiskSavedState
+ */
+class DiskSavedState
+{
+ /**
+ * Default Disk state has not been preserved.
+ *
+ * Generated from protobuf enum DISK_SAVED_STATE_UNSPECIFIED = 0;
+ */
+ const DISK_SAVED_STATE_UNSPECIFIED = 0;
+ /**
+ * Disk state has been preserved.
+ *
+ * Generated from protobuf enum PRESERVED = 1;
+ */
+ const PRESERVED = 1;
+
+ private static $valueToName = [
+ self::DISK_SAVED_STATE_UNSPECIFIED => 'DISK_SAVED_STATE_UNSPECIFIED',
+ self::PRESERVED => 'PRESERVED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DiskSavedState::class, \Google\Cloud\BackupDR\V1\AttachedDisk_DiskSavedState::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskType.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskType.php
new file mode 100644
index 000000000000..92697d619408
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/DiskType.php
@@ -0,0 +1,64 @@
+google.cloud.backupdr.v1.AttachedDisk.DiskType
+ */
+class DiskType
+{
+ /**
+ * Default value, which is unused.
+ *
+ * Generated from protobuf enum DISK_TYPE_UNSPECIFIED = 0;
+ */
+ const DISK_TYPE_UNSPECIFIED = 0;
+ /**
+ * A scratch disk type.
+ *
+ * Generated from protobuf enum SCRATCH = 1;
+ */
+ const SCRATCH = 1;
+ /**
+ * A persistent disk type.
+ *
+ * Generated from protobuf enum PERSISTENT = 2;
+ */
+ const PERSISTENT = 2;
+
+ private static $valueToName = [
+ self::DISK_TYPE_UNSPECIFIED => 'DISK_TYPE_UNSPECIFIED',
+ self::SCRATCH => 'SCRATCH',
+ self::PERSISTENT => 'PERSISTENT',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(DiskType::class, \Google\Cloud\BackupDR\V1\AttachedDisk_DiskType::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/InitializeParams.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/InitializeParams.php
new file mode 100644
index 000000000000..38c3ceb174c2
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/AttachedDisk/InitializeParams.php
@@ -0,0 +1,122 @@
+google.cloud.backupdr.v1.AttachedDisk.InitializeParams
+ */
+class InitializeParams extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Specifies the disk name. If not specified, the default is to
+ * use the name of the instance.
+ *
+ * Generated from protobuf field optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $disk_name = null;
+ /**
+ * Optional. URL of the zone where the disk should be created.
+ * Required for each regional disk associated with the instance.
+ *
+ * Generated from protobuf field repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $replica_zones;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $disk_name
+ * Optional. Specifies the disk name. If not specified, the default is to
+ * use the name of the instance.
+ * @type arrayoptional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDiskName()
+ {
+ return isset($this->disk_name) ? $this->disk_name : '';
+ }
+
+ public function hasDiskName()
+ {
+ return isset($this->disk_name);
+ }
+
+ public function clearDiskName()
+ {
+ unset($this->disk_name);
+ }
+
+ /**
+ * Optional. Specifies the disk name. If not specified, the default is to
+ * use the name of the instance.
+ *
+ * Generated from protobuf field optional string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDiskName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->disk_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. URL of the zone where the disk should be created.
+ * Required for each regional disk associated with the instance.
+ *
+ * Generated from protobuf field repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getReplicaZones()
+ {
+ return $this->replica_zones;
+ }
+
+ /**
+ * Optional. URL of the zone where the disk should be created.
+ * Required for each regional disk associated with the instance.
+ *
+ * Generated from protobuf field repeated string replica_zones = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arraystring name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ */
+ protected $name = '';
+ /**
+ * Output only. The description of the Backup instance (2048 characters or
+ * less).
+ *
+ * Generated from protobuf field optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $description = null;
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined.
+ *
+ * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Optional. The backup can not be deleted before this time.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enforced_retention_end_time = null;
+ /**
+ * Optional. When this backup is automatically expired.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $expire_time = null;
+ /**
+ * Output only. The point in time when this backup was captured from the
+ * source.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $consistency_time = null;
+ /**
+ * Optional. Server specified ETag to prevent updates from overwriting each
+ * other.
+ *
+ * Generated from protobuf field optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = null;
+ /**
+ * Output only. The Backup resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $state = 0;
+ /**
+ * Output only. The list of BackupLocks taken by the service to prevent the
+ * deletion of the backup.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $service_locks;
+ /**
+ * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $backup_appliance_locks;
+ /**
+ * Output only. Type of the backup, unspecified, scheduled or ondemand.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $backup_type = 0;
+ /**
+ * Output only. source resource size in bytes at the time of the backup.
+ *
+ * Generated from protobuf field int64 resource_size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $resource_size_bytes = 0;
+ protected $backup_properties;
+ protected $plan_info;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Identifier. Name of the backup to create. It must have the
+ * format`"projects/string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Identifier. Name of the backup to create. It must have the
+ * format`"projects/string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The description of the Backup instance (2048 characters or
+ * less).
+ *
+ * Generated from protobuf field optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return isset($this->description) ? $this->description : '';
+ }
+
+ public function hasDescription()
+ {
+ return isset($this->description);
+ }
+
+ public function clearDescription()
+ {
+ unset($this->description);
+ }
+
+ /**
+ * Output only. The description of the Backup instance (2048 characters or
+ * less).
+ *
+ * Generated from protobuf field optional string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined.
+ *
+ * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined.
+ *
+ * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The backup can not be deleted before this time.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getEnforcedRetentionEndTime()
+ {
+ return $this->enforced_retention_end_time;
+ }
+
+ public function hasEnforcedRetentionEndTime()
+ {
+ return isset($this->enforced_retention_end_time);
+ }
+
+ public function clearEnforcedRetentionEndTime()
+ {
+ unset($this->enforced_retention_end_time);
+ }
+
+ /**
+ * Optional. The backup can not be deleted before this time.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp enforced_retention_end_time = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setEnforcedRetentionEndTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->enforced_retention_end_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. When this backup is automatically expired.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getExpireTime()
+ {
+ return $this->expire_time;
+ }
+
+ public function hasExpireTime()
+ {
+ return isset($this->expire_time);
+ }
+
+ public function clearExpireTime()
+ {
+ unset($this->expire_time);
+ }
+
+ /**
+ * Optional. When this backup is automatically expired.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setExpireTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->expire_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The point in time when this backup was captured from the
+ * source.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getConsistencyTime()
+ {
+ return $this->consistency_time;
+ }
+
+ public function hasConsistencyTime()
+ {
+ return isset($this->consistency_time);
+ }
+
+ public function clearConsistencyTime()
+ {
+ unset($this->consistency_time);
+ }
+
+ /**
+ * Output only. The point in time when this backup was captured from the
+ * source.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp consistency_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setConsistencyTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->consistency_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Server specified ETag to prevent updates from overwriting each
+ * other.
+ *
+ * Generated from protobuf field optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return isset($this->etag) ? $this->etag : '';
+ }
+
+ public function hasEtag()
+ {
+ return isset($this->etag);
+ }
+
+ public function clearEtag()
+ {
+ unset($this->etag);
+ }
+
+ /**
+ * Optional. Server specified ETag to prevent updates from overwriting each
+ * other.
+ *
+ * Generated from protobuf field optional string etag = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Backup resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Output only. The Backup resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.State state = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\Backup\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The list of BackupLocks taken by the service to prevent the
+ * deletion of the backup.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getServiceLocks()
+ {
+ return $this->service_locks;
+ }
+
+ /**
+ * Output only. The list of BackupLocks taken by the service to prevent the
+ * deletion of the backup.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupLock service_locks = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\BackupDR\V1\BackupLock>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setServiceLocks($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\BackupLock::class);
+ $this->service_locks = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBackupApplianceLocks()
+ {
+ return $this->backup_appliance_locks;
+ }
+
+ /**
+ * Optional. The list of BackupLocks taken by the accessor Backup Appliance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupLock backup_appliance_locks = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\BackupDR\V1\BackupLock>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBackupApplianceLocks($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\BackupLock::class);
+ $this->backup_appliance_locks = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Compute Engine specific backup properties.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\BackupDR\V1\ComputeInstanceBackupProperties|null
+ */
+ public function getComputeInstanceBackupProperties()
+ {
+ return $this->readOneof(19);
+ }
+
+ public function hasComputeInstanceBackupProperties()
+ {
+ return $this->hasOneof(19);
+ }
+
+ /**
+ * Output only. Compute Engine specific backup properties.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ComputeInstanceBackupProperties compute_instance_backup_properties = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\BackupDR\V1\ComputeInstanceBackupProperties $var
+ * @return $this
+ */
+ public function setComputeInstanceBackupProperties($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\ComputeInstanceBackupProperties::class);
+ $this->writeOneof(19, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Backup Appliance specific backup properties.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\BackupDR\V1\BackupApplianceBackupProperties|null
+ */
+ public function getBackupApplianceBackupProperties()
+ {
+ return $this->readOneof(21);
+ }
+
+ public function hasBackupApplianceBackupProperties()
+ {
+ return $this->hasOneof(21);
+ }
+
+ /**
+ * Output only. Backup Appliance specific backup properties.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupApplianceBackupProperties backup_appliance_backup_properties = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\BackupDR\V1\BackupApplianceBackupProperties $var
+ * @return $this
+ */
+ public function setBackupApplianceBackupProperties($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupApplianceBackupProperties::class);
+ $this->writeOneof(21, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Type of the backup, unspecified, scheduled or ondemand.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getBackupType()
+ {
+ return $this->backup_type;
+ }
+
+ /**
+ * Output only. Type of the backup, unspecified, scheduled or ondemand.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.BackupType backup_type = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setBackupType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\Backup\BackupType::class);
+ $this->backup_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Configuration for a Google Cloud resource.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\BackupDR\V1\Backup\GCPBackupPlanInfo|null
+ */
+ public function getGcpBackupPlanInfo()
+ {
+ return $this->readOneof(22);
+ }
+
+ public function hasGcpBackupPlanInfo()
+ {
+ return $this->hasOneof(22);
+ }
+
+ /**
+ * Output only. Configuration for a Google Cloud resource.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo gcp_backup_plan_info = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\BackupDR\V1\Backup\GCPBackupPlanInfo $var
+ * @return $this
+ */
+ public function setGcpBackupPlanInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Backup\GCPBackupPlanInfo::class);
+ $this->writeOneof(22, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. source resource size in bytes at the time of the backup.
+ *
+ * Generated from protobuf field int64 resource_size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getResourceSizeBytes()
+ {
+ return $this->resource_size_bytes;
+ }
+
+ /**
+ * Output only. source resource size in bytes at the time of the backup.
+ *
+ * Generated from protobuf field int64 resource_size_bytes = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setResourceSizeBytes($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->resource_size_bytes = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getBackupProperties()
+ {
+ return $this->whichOneof("backup_properties");
+ }
+
+ /**
+ * @return string
+ */
+ public function getPlanInfo()
+ {
+ return $this->whichOneof("plan_info");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/BackupType.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/BackupType.php
new file mode 100644
index 000000000000..4d787b1357be
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/BackupType.php
@@ -0,0 +1,64 @@
+google.cloud.backupdr.v1.Backup.BackupType
+ */
+class BackupType
+{
+ /**
+ * Backup type is unspecified.
+ *
+ * Generated from protobuf enum BACKUP_TYPE_UNSPECIFIED = 0;
+ */
+ const BACKUP_TYPE_UNSPECIFIED = 0;
+ /**
+ * Scheduled backup.
+ *
+ * Generated from protobuf enum SCHEDULED = 1;
+ */
+ const SCHEDULED = 1;
+ /**
+ * On demand backup.
+ *
+ * Generated from protobuf enum ON_DEMAND = 2;
+ */
+ const ON_DEMAND = 2;
+
+ private static $valueToName = [
+ self::BACKUP_TYPE_UNSPECIFIED => 'BACKUP_TYPE_UNSPECIFIED',
+ self::SCHEDULED => 'SCHEDULED',
+ self::ON_DEMAND => 'ON_DEMAND',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(BackupType::class, \Google\Cloud\BackupDR\V1\Backup_BackupType::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/GCPBackupPlanInfo.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/GCPBackupPlanInfo.php
new file mode 100644
index 000000000000..8598637c8c8e
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/GCPBackupPlanInfo.php
@@ -0,0 +1,121 @@
+google.cloud.backupdr.v1.Backup.GCPBackupPlanInfo
+ */
+class GCPBackupPlanInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Resource name of backup plan by which workload is protected at the time
+ * of the backup.
+ * Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ *
+ * Generated from protobuf field string backup_plan = 1 [(.google.api.resource_reference) = {
+ */
+ protected $backup_plan = '';
+ /**
+ * The rule id of the backup plan which triggered this backup in case of
+ * scheduled backup or used for
+ *
+ * Generated from protobuf field string backup_plan_rule_id = 2;
+ */
+ protected $backup_plan_rule_id = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $backup_plan
+ * Resource name of backup plan by which workload is protected at the time
+ * of the backup.
+ * Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ * @type string $backup_plan_rule_id
+ * The rule id of the backup plan which triggered this backup in case of
+ * scheduled backup or used for
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Resource name of backup plan by which workload is protected at the time
+ * of the backup.
+ * Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ *
+ * Generated from protobuf field string backup_plan = 1 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getBackupPlan()
+ {
+ return $this->backup_plan;
+ }
+
+ /**
+ * Resource name of backup plan by which workload is protected at the time
+ * of the backup.
+ * Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ *
+ * Generated from protobuf field string backup_plan = 1 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlan($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan = $var;
+
+ return $this;
+ }
+
+ /**
+ * The rule id of the backup plan which triggered this backup in case of
+ * scheduled backup or used for
+ *
+ * Generated from protobuf field string backup_plan_rule_id = 2;
+ * @return string
+ */
+ public function getBackupPlanRuleId()
+ {
+ return $this->backup_plan_rule_id;
+ }
+
+ /**
+ * The rule id of the backup plan which triggered this backup in case of
+ * scheduled backup or used for
+ *
+ * Generated from protobuf field string backup_plan_rule_id = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlanRuleId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan_rule_id = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GCPBackupPlanInfo::class, \Google\Cloud\BackupDR\V1\Backup_GCPBackupPlanInfo::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/State.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/State.php
new file mode 100644
index 000000000000..23b07ca7917c
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Backup/State.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.Backup.State
+ */
+class State
+{
+ /**
+ * State not set.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * The backup is being created.
+ *
+ * Generated from protobuf enum CREATING = 1;
+ */
+ const CREATING = 1;
+ /**
+ * The backup has been created and is fully usable.
+ *
+ * Generated from protobuf enum ACTIVE = 2;
+ */
+ const ACTIVE = 2;
+ /**
+ * The backup is being deleted.
+ *
+ * Generated from protobuf enum DELETING = 3;
+ */
+ const DELETING = 3;
+ /**
+ * The backup is experiencing an issue and might be unusable.
+ *
+ * Generated from protobuf enum ERROR = 4;
+ */
+ const ERROR = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::CREATING => 'CREATING',
+ self::ACTIVE => 'ACTIVE',
+ self::DELETING => 'DELETING',
+ self::ERROR => 'ERROR',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\BackupDR\V1\Backup_State::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceBackupConfig.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceBackupConfig.php
new file mode 100644
index 000000000000..b5d4c27f9480
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceBackupConfig.php
@@ -0,0 +1,272 @@
+google.cloud.backupdr.v1.BackupApplianceBackupConfig
+ */
+class BackupApplianceBackupConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The name of the backup appliance.
+ *
+ * Generated from protobuf field string backup_appliance_name = 1;
+ */
+ protected $backup_appliance_name = '';
+ /**
+ * The ID of the backup appliance.
+ *
+ * Generated from protobuf field int64 backup_appliance_id = 2;
+ */
+ protected $backup_appliance_id = 0;
+ /**
+ * The ID of the SLA of this application.
+ *
+ * Generated from protobuf field int64 sla_id = 3;
+ */
+ protected $sla_id = 0;
+ /**
+ * The name of the application.
+ *
+ * Generated from protobuf field string application_name = 4;
+ */
+ protected $application_name = '';
+ /**
+ * The name of the host where the application is running.
+ *
+ * Generated from protobuf field string host_name = 5;
+ */
+ protected $host_name = '';
+ /**
+ * The name of the SLT associated with the application.
+ *
+ * Generated from protobuf field string slt_name = 6;
+ */
+ protected $slt_name = '';
+ /**
+ * The name of the SLP associated with the application.
+ *
+ * Generated from protobuf field string slp_name = 7;
+ */
+ protected $slp_name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $backup_appliance_name
+ * The name of the backup appliance.
+ * @type int|string $backup_appliance_id
+ * The ID of the backup appliance.
+ * @type int|string $sla_id
+ * The ID of the SLA of this application.
+ * @type string $application_name
+ * The name of the application.
+ * @type string $host_name
+ * The name of the host where the application is running.
+ * @type string $slt_name
+ * The name of the SLT associated with the application.
+ * @type string $slp_name
+ * The name of the SLP associated with the application.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The name of the backup appliance.
+ *
+ * Generated from protobuf field string backup_appliance_name = 1;
+ * @return string
+ */
+ public function getBackupApplianceName()
+ {
+ return $this->backup_appliance_name;
+ }
+
+ /**
+ * The name of the backup appliance.
+ *
+ * Generated from protobuf field string backup_appliance_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupApplianceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_appliance_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ID of the backup appliance.
+ *
+ * Generated from protobuf field int64 backup_appliance_id = 2;
+ * @return int|string
+ */
+ public function getBackupApplianceId()
+ {
+ return $this->backup_appliance_id;
+ }
+
+ /**
+ * The ID of the backup appliance.
+ *
+ * Generated from protobuf field int64 backup_appliance_id = 2;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setBackupApplianceId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->backup_appliance_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The ID of the SLA of this application.
+ *
+ * Generated from protobuf field int64 sla_id = 3;
+ * @return int|string
+ */
+ public function getSlaId()
+ {
+ return $this->sla_id;
+ }
+
+ /**
+ * The ID of the SLA of this application.
+ *
+ * Generated from protobuf field int64 sla_id = 3;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setSlaId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->sla_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The name of the application.
+ *
+ * Generated from protobuf field string application_name = 4;
+ * @return string
+ */
+ public function getApplicationName()
+ {
+ return $this->application_name;
+ }
+
+ /**
+ * The name of the application.
+ *
+ * Generated from protobuf field string application_name = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setApplicationName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->application_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The name of the host where the application is running.
+ *
+ * Generated from protobuf field string host_name = 5;
+ * @return string
+ */
+ public function getHostName()
+ {
+ return $this->host_name;
+ }
+
+ /**
+ * The name of the host where the application is running.
+ *
+ * Generated from protobuf field string host_name = 5;
+ * @param string $var
+ * @return $this
+ */
+ public function setHostName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->host_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The name of the SLT associated with the application.
+ *
+ * Generated from protobuf field string slt_name = 6;
+ * @return string
+ */
+ public function getSltName()
+ {
+ return $this->slt_name;
+ }
+
+ /**
+ * The name of the SLT associated with the application.
+ *
+ * Generated from protobuf field string slt_name = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setSltName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->slt_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The name of the SLP associated with the application.
+ *
+ * Generated from protobuf field string slp_name = 7;
+ * @return string
+ */
+ public function getSlpName()
+ {
+ return $this->slp_name;
+ }
+
+ /**
+ * The name of the SLP associated with the application.
+ *
+ * Generated from protobuf field string slp_name = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setSlpName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->slp_name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceBackupProperties.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceBackupProperties.php
new file mode 100644
index 000000000000..62bf277eea5e
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceBackupProperties.php
@@ -0,0 +1,218 @@
+google.cloud.backupdr.v1.BackupApplianceBackupProperties
+ */
+class BackupApplianceBackupProperties extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The numeric generation ID of the backup (monotonically
+ * increasing).
+ *
+ * Generated from protobuf field optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $generation_id = null;
+ /**
+ * Output only. The time when this backup object was finalized (if none,
+ * backup is not finalized).
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $finalize_time = null;
+ /**
+ * Optional. The earliest timestamp of data available in this Backup.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $recovery_range_start_time = null;
+ /**
+ * Optional. The latest timestamp of data available in this Backup.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $recovery_range_end_time = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $generation_id
+ * Output only. The numeric generation ID of the backup (monotonically
+ * increasing).
+ * @type \Google\Protobuf\Timestamp $finalize_time
+ * Output only. The time when this backup object was finalized (if none,
+ * backup is not finalized).
+ * @type \Google\Protobuf\Timestamp $recovery_range_start_time
+ * Optional. The earliest timestamp of data available in this Backup.
+ * @type \Google\Protobuf\Timestamp $recovery_range_end_time
+ * Optional. The latest timestamp of data available in this Backup.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultBa::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The numeric generation ID of the backup (monotonically
+ * increasing).
+ *
+ * Generated from protobuf field optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getGenerationId()
+ {
+ return isset($this->generation_id) ? $this->generation_id : 0;
+ }
+
+ public function hasGenerationId()
+ {
+ return isset($this->generation_id);
+ }
+
+ public function clearGenerationId()
+ {
+ unset($this->generation_id);
+ }
+
+ /**
+ * Output only. The numeric generation ID of the backup (monotonically
+ * increasing).
+ *
+ * Generated from protobuf field optional int32 generation_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setGenerationId($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->generation_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when this backup object was finalized (if none,
+ * backup is not finalized).
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getFinalizeTime()
+ {
+ return $this->finalize_time;
+ }
+
+ public function hasFinalizeTime()
+ {
+ return isset($this->finalize_time);
+ }
+
+ public function clearFinalizeTime()
+ {
+ unset($this->finalize_time);
+ }
+
+ /**
+ * Output only. The time when this backup object was finalized (if none,
+ * backup is not finalized).
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp finalize_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setFinalizeTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->finalize_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The earliest timestamp of data available in this Backup.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getRecoveryRangeStartTime()
+ {
+ return $this->recovery_range_start_time;
+ }
+
+ public function hasRecoveryRangeStartTime()
+ {
+ return isset($this->recovery_range_start_time);
+ }
+
+ public function clearRecoveryRangeStartTime()
+ {
+ unset($this->recovery_range_start_time);
+ }
+
+ /**
+ * Optional. The earliest timestamp of data available in this Backup.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp recovery_range_start_time = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setRecoveryRangeStartTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->recovery_range_start_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The latest timestamp of data available in this Backup.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getRecoveryRangeEndTime()
+ {
+ return $this->recovery_range_end_time;
+ }
+
+ public function hasRecoveryRangeEndTime()
+ {
+ return isset($this->recovery_range_end_time);
+ }
+
+ public function clearRecoveryRangeEndTime()
+ {
+ unset($this->recovery_range_end_time);
+ }
+
+ /**
+ * Optional. The latest timestamp of data available in this Backup.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp recovery_range_end_time = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setRecoveryRangeEndTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->recovery_range_end_time = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceLockInfo.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceLockInfo.php
new file mode 100644
index 000000000000..f024d90f7bd8
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupApplianceLockInfo.php
@@ -0,0 +1,252 @@
+google.cloud.backupdr.v1.BackupApplianceLockInfo
+ */
+class BackupApplianceLockInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The ID of the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field int64 backup_appliance_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_appliance_id = 0;
+ /**
+ * Required. The name of the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_appliance_name = '';
+ /**
+ * Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
+ * value of this string is only meaningful to the client and it is not
+ * interpreted by the BackupVault service.
+ *
+ * Generated from protobuf field string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $lock_reason = '';
+ protected $lock_source;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int|string $backup_appliance_id
+ * Required. The ID of the backup/recovery appliance that created this lock.
+ * @type string $backup_appliance_name
+ * Required. The name of the backup/recovery appliance that created this lock.
+ * @type string $lock_reason
+ * Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
+ * value of this string is only meaningful to the client and it is not
+ * interpreted by the BackupVault service.
+ * @type string $job_name
+ * The job name on the backup/recovery appliance that created this lock.
+ * @type string $backup_image
+ * The image name that depends on this Backup.
+ * @type int|string $sla_id
+ * The SLA on the backup/recovery appliance that owns the lock.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The ID of the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field int64 backup_appliance_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return int|string
+ */
+ public function getBackupApplianceId()
+ {
+ return $this->backup_appliance_id;
+ }
+
+ /**
+ * Required. The ID of the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field int64 backup_appliance_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setBackupApplianceId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->backup_appliance_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getBackupApplianceName()
+ {
+ return $this->backup_appliance_name;
+ }
+
+ /**
+ * Required. The name of the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field string backup_appliance_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupApplianceName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_appliance_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
+ * value of this string is only meaningful to the client and it is not
+ * interpreted by the BackupVault service.
+ *
+ * Generated from protobuf field string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getLockReason()
+ {
+ return $this->lock_reason;
+ }
+
+ /**
+ * Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The
+ * value of this string is only meaningful to the client and it is not
+ * interpreted by the BackupVault service.
+ *
+ * Generated from protobuf field string lock_reason = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setLockReason($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->lock_reason = $var;
+
+ return $this;
+ }
+
+ /**
+ * The job name on the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field string job_name = 6;
+ * @return string
+ */
+ public function getJobName()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasJobName()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * The job name on the backup/recovery appliance that created this lock.
+ *
+ * Generated from protobuf field string job_name = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setJobName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
+ /**
+ * The image name that depends on this Backup.
+ *
+ * Generated from protobuf field string backup_image = 7;
+ * @return string
+ */
+ public function getBackupImage()
+ {
+ return $this->readOneof(7);
+ }
+
+ public function hasBackupImage()
+ {
+ return $this->hasOneof(7);
+ }
+
+ /**
+ * The image name that depends on this Backup.
+ *
+ * Generated from protobuf field string backup_image = 7;
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupImage($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(7, $var);
+
+ return $this;
+ }
+
+ /**
+ * The SLA on the backup/recovery appliance that owns the lock.
+ *
+ * Generated from protobuf field int64 sla_id = 8;
+ * @return int|string
+ */
+ public function getSlaId()
+ {
+ return $this->readOneof(8);
+ }
+
+ public function hasSlaId()
+ {
+ return $this->hasOneof(8);
+ }
+
+ /**
+ * The SLA on the backup/recovery appliance that owns the lock.
+ *
+ * Generated from protobuf field int64 sla_id = 8;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setSlaId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->writeOneof(8, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getLockSource()
+ {
+ return $this->whichOneof("lock_source");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigInfo.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigInfo.php
new file mode 100644
index 000000000000..910ef56ebd1e
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigInfo.php
@@ -0,0 +1,235 @@
+google.cloud.backupdr.v1.BackupConfigInfo
+ */
+class BackupConfigInfo extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The status of the last backup to this BackupVault
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_backup_state = 0;
+ /**
+ * Output only. If the last backup were successful, this field has the
+ * consistency date.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_successful_backup_consistency_time = null;
+ /**
+ * Output only. If the last backup failed, this field has the error message.
+ *
+ * Generated from protobuf field .google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $last_backup_error = null;
+ protected $backup_config;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $last_backup_state
+ * Output only. The status of the last backup to this BackupVault
+ * @type \Google\Protobuf\Timestamp $last_successful_backup_consistency_time
+ * Output only. If the last backup were successful, this field has the
+ * consistency date.
+ * @type \Google\Rpc\Status $last_backup_error
+ * Output only. If the last backup failed, this field has the error message.
+ * @type \Google\Cloud\BackupDR\V1\GcpBackupConfig $gcp_backup_config
+ * Configuration for a Google Cloud resource.
+ * @type \Google\Cloud\BackupDR\V1\BackupApplianceBackupConfig $backup_appliance_backup_config
+ * Configuration for an application backed up by a Backup Appliance.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The status of the last backup to this BackupVault
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getLastBackupState()
+ {
+ return $this->last_backup_state;
+ }
+
+ /**
+ * Output only. The status of the last backup to this BackupVault
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState last_backup_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setLastBackupState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\BackupConfigInfo\LastBackupState::class);
+ $this->last_backup_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. If the last backup were successful, this field has the
+ * consistency date.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getLastSuccessfulBackupConsistencyTime()
+ {
+ return $this->last_successful_backup_consistency_time;
+ }
+
+ public function hasLastSuccessfulBackupConsistencyTime()
+ {
+ return isset($this->last_successful_backup_consistency_time);
+ }
+
+ public function clearLastSuccessfulBackupConsistencyTime()
+ {
+ unset($this->last_successful_backup_consistency_time);
+ }
+
+ /**
+ * Output only. If the last backup were successful, this field has the
+ * consistency date.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp last_successful_backup_consistency_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setLastSuccessfulBackupConsistencyTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->last_successful_backup_consistency_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. If the last backup failed, this field has the error message.
+ *
+ * Generated from protobuf field .google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Rpc\Status|null
+ */
+ public function getLastBackupError()
+ {
+ return $this->last_backup_error;
+ }
+
+ public function hasLastBackupError()
+ {
+ return isset($this->last_backup_error);
+ }
+
+ public function clearLastBackupError()
+ {
+ unset($this->last_backup_error);
+ }
+
+ /**
+ * Output only. If the last backup failed, this field has the error message.
+ *
+ * Generated from protobuf field .google.rpc.Status last_backup_error = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Rpc\Status $var
+ * @return $this
+ */
+ public function setLastBackupError($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Rpc\Status::class);
+ $this->last_backup_error = $var;
+
+ return $this;
+ }
+
+ /**
+ * Configuration for a Google Cloud resource.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;
+ * @return \Google\Cloud\BackupDR\V1\GcpBackupConfig|null
+ */
+ public function getGcpBackupConfig()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasGcpBackupConfig()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Configuration for a Google Cloud resource.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.GcpBackupConfig gcp_backup_config = 4;
+ * @param \Google\Cloud\BackupDR\V1\GcpBackupConfig $var
+ * @return $this
+ */
+ public function setGcpBackupConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\GcpBackupConfig::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Configuration for an application backed up by a Backup Appliance.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;
+ * @return \Google\Cloud\BackupDR\V1\BackupApplianceBackupConfig|null
+ */
+ public function getBackupApplianceBackupConfig()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasBackupApplianceBackupConfig()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Configuration for an application backed up by a Backup Appliance.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupApplianceBackupConfig backup_appliance_backup_config = 5;
+ * @param \Google\Cloud\BackupDR\V1\BackupApplianceBackupConfig $var
+ * @return $this
+ */
+ public function setBackupApplianceBackupConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupApplianceBackupConfig::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getBackupConfig()
+ {
+ return $this->whichOneof("backup_config");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigInfo/LastBackupState.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigInfo/LastBackupState.php
new file mode 100644
index 000000000000..0b4a9fb6b92a
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigInfo/LastBackupState.php
@@ -0,0 +1,80 @@
+google.cloud.backupdr.v1.BackupConfigInfo.LastBackupState
+ */
+class LastBackupState
+{
+ /**
+ * Status not set.
+ *
+ * Generated from protobuf enum LAST_BACKUP_STATE_UNSPECIFIED = 0;
+ */
+ const LAST_BACKUP_STATE_UNSPECIFIED = 0;
+ /**
+ * The first backup has not yet completed
+ *
+ * Generated from protobuf enum FIRST_BACKUP_PENDING = 1;
+ */
+ const FIRST_BACKUP_PENDING = 1;
+ /**
+ * The most recent backup was successful
+ *
+ * Generated from protobuf enum SUCCEEDED = 2;
+ */
+ const SUCCEEDED = 2;
+ /**
+ * The most recent backup failed
+ *
+ * Generated from protobuf enum FAILED = 3;
+ */
+ const FAILED = 3;
+ /**
+ * The most recent backup could not be run/failed because of the lack of
+ * permissions
+ *
+ * Generated from protobuf enum PERMISSION_DENIED = 4;
+ */
+ const PERMISSION_DENIED = 4;
+
+ private static $valueToName = [
+ self::LAST_BACKUP_STATE_UNSPECIFIED => 'LAST_BACKUP_STATE_UNSPECIFIED',
+ self::FIRST_BACKUP_PENDING => 'FIRST_BACKUP_PENDING',
+ self::SUCCEEDED => 'SUCCEEDED',
+ self::FAILED => 'FAILED',
+ self::PERMISSION_DENIED => 'PERMISSION_DENIED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(LastBackupState::class, \Google\Cloud\BackupDR\V1\BackupConfigInfo_LastBackupState::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigState.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigState.php
new file mode 100644
index 000000000000..8c760774704c
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupConfigState.php
@@ -0,0 +1,63 @@
+google.cloud.backupdr.v1.BackupConfigState
+ */
+class BackupConfigState
+{
+ /**
+ * The possible states of backup configuration.
+ * Status not set.
+ *
+ * Generated from protobuf enum BACKUP_CONFIG_STATE_UNSPECIFIED = 0;
+ */
+ const BACKUP_CONFIG_STATE_UNSPECIFIED = 0;
+ /**
+ * The data source is actively protected (i.e. there is a
+ * BackupPlanAssociation or Appliance SLA pointing to it)
+ *
+ * Generated from protobuf enum ACTIVE = 1;
+ */
+ const ACTIVE = 1;
+ /**
+ * The data source is no longer protected (but may have backups under it)
+ *
+ * Generated from protobuf enum PASSIVE = 2;
+ */
+ const PASSIVE = 2;
+
+ private static $valueToName = [
+ self::BACKUP_CONFIG_STATE_UNSPECIFIED => 'BACKUP_CONFIG_STATE_UNSPECIFIED',
+ self::ACTIVE => 'ACTIVE',
+ self::PASSIVE => 'PASSIVE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupLock.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupLock.php
new file mode 100644
index 000000000000..16c344cda822
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupLock.php
@@ -0,0 +1,163 @@
+google.cloud.backupdr.v1.BackupLock
+ */
+class BackupLock extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The time after which this lock is not considered valid and will
+ * no longer protect the Backup from deletion.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $lock_until_time = null;
+ protected $ClientLockInfo;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Protobuf\Timestamp $lock_until_time
+ * Required. The time after which this lock is not considered valid and will
+ * no longer protect the Backup from deletion.
+ * @type \Google\Cloud\BackupDR\V1\BackupApplianceLockInfo $backup_appliance_lock_info
+ * If the client is a backup and recovery appliance, this
+ * contains metadata about why the lock exists.
+ * @type \Google\Cloud\BackupDR\V1\ServiceLockInfo $service_lock_info
+ * Output only. Contains metadata about the lock exist for Google Cloud
+ * native backups.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The time after which this lock is not considered valid and will
+ * no longer protect the Backup from deletion.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getLockUntilTime()
+ {
+ return $this->lock_until_time;
+ }
+
+ public function hasLockUntilTime()
+ {
+ return isset($this->lock_until_time);
+ }
+
+ public function clearLockUntilTime()
+ {
+ unset($this->lock_until_time);
+ }
+
+ /**
+ * Required. The time after which this lock is not considered valid and will
+ * no longer protect the Backup from deletion.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp lock_until_time = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setLockUntilTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->lock_until_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * If the client is a backup and recovery appliance, this
+ * contains metadata about why the lock exists.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;
+ * @return \Google\Cloud\BackupDR\V1\BackupApplianceLockInfo|null
+ */
+ public function getBackupApplianceLockInfo()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasBackupApplianceLockInfo()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * If the client is a backup and recovery appliance, this
+ * contains metadata about why the lock exists.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupApplianceLockInfo backup_appliance_lock_info = 3;
+ * @param \Google\Cloud\BackupDR\V1\BackupApplianceLockInfo $var
+ * @return $this
+ */
+ public function setBackupApplianceLockInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupApplianceLockInfo::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Contains metadata about the lock exist for Google Cloud
+ * native backups.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\BackupDR\V1\ServiceLockInfo|null
+ */
+ public function getServiceLockInfo()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasServiceLockInfo()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Output only. Contains metadata about the lock exist for Google Cloud
+ * native backups.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ServiceLockInfo service_lock_info = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\BackupDR\V1\ServiceLockInfo $var
+ * @return $this
+ */
+ public function setServiceLockInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\ServiceLockInfo::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getClientLockInfo()
+ {
+ return $this->whichOneof("ClientLockInfo");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlan.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlan.php
new file mode 100644
index 000000000000..5f4feca856b7
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlan.php
@@ -0,0 +1,490 @@
+google.cloud.backupdr.v1.BackupPlan
+ */
+class BackupPlan extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Identifier. The resource name of the `BackupPlan`.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ */
+ protected $name = '';
+ /**
+ * Optional. The description of the `BackupPlan` resource.
+ * The description allows for additional details about `BackupPlan` and its
+ * use cases to be provided. An example description is the following: "This
+ * is a backup plan that performs a daily backup at 6pm and retains data for 3
+ * months". The description must be at most 2048 characters.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $description = '';
+ /**
+ * Optional. This collection of key/value pairs allows for custom labels to be
+ * supplied by the user. Example, {"tag": "Weekly"}.
+ *
+ * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Output only. When the `BackupPlan` was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. When the `BackupPlan` was last updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Required. The backup rules for this `BackupPlan`. There must be at least
+ * one `BackupRule` message.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupRule backup_rules = 6 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $backup_rules;
+ /**
+ * Output only. The `State` for the `BackupPlan`.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlan.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $state = 0;
+ /**
+ * Required. The resource type to which the `BackupPlan` will be applied.
+ * Examples include, "compute.googleapis.com/Instance" and
+ * "storage.googleapis.com/Bucket".
+ *
+ * Generated from protobuf field string resource_type = 8 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $resource_type = '';
+ /**
+ * Optional. `etag` is returned from the service in the response. As a user of
+ * the service, you may provide an etag value in this field to prevent stale
+ * resources.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = '';
+ /**
+ * Required. Resource name of backup vault which will be used as storage
+ * location for backups. Format:
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}
+ *
+ * Generated from protobuf field string backup_vault = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $backup_vault = '';
+ /**
+ * Output only. The Google Cloud Platform Service Account to be used by the
+ * BackupVault for taking backups. Specify the email address of the Backup
+ * Vault Service Account.
+ *
+ * Generated from protobuf field string backup_vault_service_account = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $backup_vault_service_account = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Identifier. The resource name of the `BackupPlan`.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ * @type string $description
+ * Optional. The description of the `BackupPlan` resource.
+ * The description allows for additional details about `BackupPlan` and its
+ * use cases to be provided. An example description is the following: "This
+ * is a backup plan that performs a daily backup at 6pm and retains data for 3
+ * months". The description must be at most 2048 characters.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. This collection of key/value pairs allows for custom labels to be
+ * supplied by the user. Example, {"tag": "Weekly"}.
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. When the `BackupPlan` was created.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. When the `BackupPlan` was last updated.
+ * @type array<\Google\Cloud\BackupDR\V1\BackupRule>|\Google\Protobuf\Internal\RepeatedField $backup_rules
+ * Required. The backup rules for this `BackupPlan`. There must be at least
+ * one `BackupRule` message.
+ * @type int $state
+ * Output only. The `State` for the `BackupPlan`.
+ * @type string $resource_type
+ * Required. The resource type to which the `BackupPlan` will be applied.
+ * Examples include, "compute.googleapis.com/Instance" and
+ * "storage.googleapis.com/Bucket".
+ * @type string $etag
+ * Optional. `etag` is returned from the service in the response. As a user of
+ * the service, you may provide an etag value in this field to prevent stale
+ * resources.
+ * @type string $backup_vault
+ * Required. Resource name of backup vault which will be used as storage
+ * location for backups. Format:
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}
+ * @type string $backup_vault_service_account
+ * Output only. The Google Cloud Platform Service Account to be used by the
+ * BackupVault for taking backups. Specify the email address of the Backup
+ * Vault Service Account.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplan::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Identifier. The resource name of the `BackupPlan`.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Identifier. The resource name of the `BackupPlan`.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The description of the `BackupPlan` resource.
+ * The description allows for additional details about `BackupPlan` and its
+ * use cases to be provided. An example description is the following: "This
+ * is a backup plan that performs a daily backup at 6pm and retains data for 3
+ * months". The description must be at most 2048 characters.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Optional. The description of the `BackupPlan` resource.
+ * The description allows for additional details about `BackupPlan` and its
+ * use cases to be provided. An example description is the following: "This
+ * is a backup plan that performs a daily backup at 6pm and retains data for 3
+ * months". The description must be at most 2048 characters.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. This collection of key/value pairs allows for custom labels to be
+ * supplied by the user. Example, {"tag": "Weekly"}.
+ *
+ * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. This collection of key/value pairs allows for custom labels to be
+ * supplied by the user. Example, {"tag": "Weekly"}.
+ *
+ * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. When the `BackupPlan` was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. When the `BackupPlan` was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. When the `BackupPlan` was last updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. When the `BackupPlan` was last updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The backup rules for this `BackupPlan`. There must be at least
+ * one `BackupRule` message.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupRule backup_rules = 6 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBackupRules()
+ {
+ return $this->backup_rules;
+ }
+
+ /**
+ * Required. The backup rules for this `BackupPlan`. There must be at least
+ * one `BackupRule` message.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupRule backup_rules = 6 [(.google.api.field_behavior) = REQUIRED];
+ * @param array<\Google\Cloud\BackupDR\V1\BackupRule>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBackupRules($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\BackupRule::class);
+ $this->backup_rules = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The `State` for the `BackupPlan`.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlan.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Output only. The `State` for the `BackupPlan`.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlan.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\BackupPlan\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The resource type to which the `BackupPlan` will be applied.
+ * Examples include, "compute.googleapis.com/Instance" and
+ * "storage.googleapis.com/Bucket".
+ *
+ * Generated from protobuf field string resource_type = 8 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getResourceType()
+ {
+ return $this->resource_type;
+ }
+
+ /**
+ * Required. The resource type to which the `BackupPlan` will be applied.
+ * Examples include, "compute.googleapis.com/Instance" and
+ * "storage.googleapis.com/Bucket".
+ *
+ * Generated from protobuf field string resource_type = 8 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setResourceType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. `etag` is returned from the service in the response. As a user of
+ * the service, you may provide an etag value in this field to prevent stale
+ * resources.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * Optional. `etag` is returned from the service in the response. As a user of
+ * the service, you may provide an etag value in this field to prevent stale
+ * resources.
+ *
+ * Generated from protobuf field string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Resource name of backup vault which will be used as storage
+ * location for backups. Format:
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}
+ *
+ * Generated from protobuf field string backup_vault = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getBackupVault()
+ {
+ return $this->backup_vault;
+ }
+
+ /**
+ * Required. Resource name of backup vault which will be used as storage
+ * location for backups. Format:
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}
+ *
+ * Generated from protobuf field string backup_vault = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupVault($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_vault = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The Google Cloud Platform Service Account to be used by the
+ * BackupVault for taking backups. Specify the email address of the Backup
+ * Vault Service Account.
+ *
+ * Generated from protobuf field string backup_vault_service_account = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getBackupVaultServiceAccount()
+ {
+ return $this->backup_vault_service_account;
+ }
+
+ /**
+ * Output only. The Google Cloud Platform Service Account to be used by the
+ * BackupVault for taking backups. Specify the email address of the Backup
+ * Vault Service Account.
+ *
+ * Generated from protobuf field string backup_vault_service_account = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupVaultServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_vault_service_account = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlan/State.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlan/State.php
new file mode 100644
index 000000000000..60dada607170
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlan/State.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.BackupPlan.State
+ */
+class State
+{
+ /**
+ * State not set.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * The resource is being created.
+ *
+ * Generated from protobuf enum CREATING = 1;
+ */
+ const CREATING = 1;
+ /**
+ * The resource has been created and is fully usable.
+ *
+ * Generated from protobuf enum ACTIVE = 2;
+ */
+ const ACTIVE = 2;
+ /**
+ * The resource is being deleted.
+ *
+ * Generated from protobuf enum DELETING = 3;
+ */
+ const DELETING = 3;
+ /**
+ * The resource has been created but is not usable.
+ *
+ * Generated from protobuf enum INACTIVE = 4;
+ */
+ const INACTIVE = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::CREATING => 'CREATING',
+ self::ACTIVE => 'ACTIVE',
+ self::DELETING => 'DELETING',
+ self::INACTIVE => 'INACTIVE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\BackupDR\V1\BackupPlan_State::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlanAssociation.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlanAssociation.php
new file mode 100644
index 000000000000..2a5804c13ae5
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlanAssociation.php
@@ -0,0 +1,396 @@
+google.cloud.backupdr.v1.BackupPlanAssociation
+ */
+class BackupPlanAssociation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Identifier. The resource name of BackupPlanAssociation in
+ * below format Format :
+ * projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $name = '';
+ /**
+ * Optional. Resource type of workload on which backupplan is applied
+ *
+ * Generated from protobuf field string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $resource_type = '';
+ /**
+ * Required. Immutable. Resource name of workload on which backupplan is
+ * applied
+ *
+ * Generated from protobuf field string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
+ */
+ protected $resource = '';
+ /**
+ * Required. Resource name of backup plan which needs to be applied on
+ * workload. Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ *
+ * Generated from protobuf field string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $backup_plan = '';
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Output only. The BackupPlanAssociation resource state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $state = 0;
+ /**
+ * Output only. The config info related to backup rules.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $rules_config_info;
+ /**
+ * Output only. Output Only.
+ * Resource name of data source which will be used as storage location for
+ * backups taken.
+ * Format :
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
+ *
+ * Generated from protobuf field string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $data_source = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Identifier. The resource name of BackupPlanAssociation in
+ * below format Format :
+ * projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
+ * @type string $resource_type
+ * Optional. Resource type of workload on which backupplan is applied
+ * @type string $resource
+ * Required. Immutable. Resource name of workload on which backupplan is
+ * applied
+ * @type string $backup_plan
+ * Required. Resource name of backup plan which needs to be applied on
+ * workload. Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The time when the instance was created.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The time when the instance was updated.
+ * @type int $state
+ * Output only. The BackupPlanAssociation resource state.
+ * @type array<\Google\Cloud\BackupDR\V1\RuleConfigInfo>|\Google\Protobuf\Internal\RepeatedField $rules_config_info
+ * Output only. The config info related to backup rules.
+ * @type string $data_source
+ * Output only. Output Only.
+ * Resource name of data source which will be used as storage location for
+ * backups taken.
+ * Format :
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplanassociation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Identifier. The resource name of BackupPlanAssociation in
+ * below format Format :
+ * projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Identifier. The resource name of BackupPlanAssociation in
+ * below format Format :
+ * projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Resource type of workload on which backupplan is applied
+ *
+ * Generated from protobuf field string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getResourceType()
+ {
+ return $this->resource_type;
+ }
+
+ /**
+ * Optional. Resource type of workload on which backupplan is applied
+ *
+ * Generated from protobuf field string resource_type = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setResourceType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Immutable. Resource name of workload on which backupplan is
+ * applied
+ *
+ * Generated from protobuf field string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getResource()
+ {
+ return $this->resource;
+ }
+
+ /**
+ * Required. Immutable. Resource name of workload on which backupplan is
+ * applied
+ *
+ * Generated from protobuf field string resource = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setResource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->resource = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Resource name of backup plan which needs to be applied on
+ * workload. Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ *
+ * Generated from protobuf field string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getBackupPlan()
+ {
+ return $this->backup_plan;
+ }
+
+ /**
+ * Required. Resource name of backup plan which needs to be applied on
+ * workload. Format:
+ * projects/{project}/locations/{location}/backupPlans/{backupPlanId}
+ *
+ * Generated from protobuf field string backup_plan = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlan($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The BackupPlanAssociation resource state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Output only. The BackupPlanAssociation resource state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlanAssociation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\BackupPlanAssociation\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The config info related to backup rules.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getRulesConfigInfo()
+ {
+ return $this->rules_config_info;
+ }
+
+ /**
+ * Output only. The config info related to backup rules.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.RuleConfigInfo rules_config_info = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param array<\Google\Cloud\BackupDR\V1\RuleConfigInfo>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setRulesConfigInfo($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\RuleConfigInfo::class);
+ $this->rules_config_info = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Output Only.
+ * Resource name of data source which will be used as storage location for
+ * backups taken.
+ * Format :
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
+ *
+ * Generated from protobuf field string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getDataSource()
+ {
+ return $this->data_source;
+ }
+
+ /**
+ * Output only. Output Only.
+ * Resource name of data source which will be used as storage location for
+ * backups taken.
+ * Format :
+ * projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}
+ *
+ * Generated from protobuf field string data_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setDataSource($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->data_source = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlanAssociation/State.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlanAssociation/State.php
new file mode 100644
index 000000000000..3fd5da4711b5
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupPlanAssociation/State.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.BackupPlanAssociation.State
+ */
+class State
+{
+ /**
+ * State not set.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * The resource is being created.
+ *
+ * Generated from protobuf enum CREATING = 1;
+ */
+ const CREATING = 1;
+ /**
+ * The resource has been created and is fully usable.
+ *
+ * Generated from protobuf enum ACTIVE = 2;
+ */
+ const ACTIVE = 2;
+ /**
+ * The resource is being deleted.
+ *
+ * Generated from protobuf enum DELETING = 3;
+ */
+ const DELETING = 3;
+ /**
+ * The resource has been created but is not usable.
+ *
+ * Generated from protobuf enum INACTIVE = 4;
+ */
+ const INACTIVE = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::CREATING => 'CREATING',
+ self::ACTIVE => 'ACTIVE',
+ self::DELETING => 'DELETING',
+ self::INACTIVE => 'INACTIVE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\BackupDR\V1\BackupPlanAssociation_State::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupRule.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupRule.php
new file mode 100644
index 000000000000..a66eb5362db0
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupRule.php
@@ -0,0 +1,166 @@
+google.cloud.backupdr.v1.BackupRule
+ */
+class BackupRule extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is
+ * unique per `BackupPlan`.The `rule_id` must start with a lowercase letter
+ * followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
+ * /[a-z][a-z0-9-]{,62}/.
+ *
+ * Generated from protobuf field string rule_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ */
+ protected $rule_id = '';
+ /**
+ * Required. Configures the duration for which backup data will be kept. It is
+ * defined in “daysâ€. The value should be greater than or equal to minimum
+ * enforced retention of the backup vault.
+ *
+ * Generated from protobuf field int32 backup_retention_days = 4 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_retention_days = 0;
+ protected $backup_schedule_oneof;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $rule_id
+ * Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is
+ * unique per `BackupPlan`.The `rule_id` must start with a lowercase letter
+ * followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
+ * /[a-z][a-z0-9-]{,62}/.
+ * @type int $backup_retention_days
+ * Required. Configures the duration for which backup data will be kept. It is
+ * defined in “daysâ€. The value should be greater than or equal to minimum
+ * enforced retention of the backup vault.
+ * @type \Google\Cloud\BackupDR\V1\StandardSchedule $standard_schedule
+ * Required. Defines a schedule that runs within the confines of a defined
+ * window of time.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplan::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is
+ * unique per `BackupPlan`.The `rule_id` must start with a lowercase letter
+ * followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
+ * /[a-z][a-z0-9-]{,62}/.
+ *
+ * Generated from protobuf field string rule_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getRuleId()
+ {
+ return $this->rule_id;
+ }
+
+ /**
+ * Required. Immutable. The unique id of this `BackupRule`. The `rule_id` is
+ * unique per `BackupPlan`.The `rule_id` must start with a lowercase letter
+ * followed by up to 62 lowercase letters, numbers, or hyphens. Pattern,
+ * /[a-z][a-z0-9-]{,62}/.
+ *
+ * Generated from protobuf field string rule_id = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setRuleId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->rule_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Configures the duration for which backup data will be kept. It is
+ * defined in “daysâ€. The value should be greater than or equal to minimum
+ * enforced retention of the backup vault.
+ *
+ * Generated from protobuf field int32 backup_retention_days = 4 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getBackupRetentionDays()
+ {
+ return $this->backup_retention_days;
+ }
+
+ /**
+ * Required. Configures the duration for which backup data will be kept. It is
+ * defined in “daysâ€. The value should be greater than or equal to minimum
+ * enforced retention of the backup vault.
+ *
+ * Generated from protobuf field int32 backup_retention_days = 4 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setBackupRetentionDays($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->backup_retention_days = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. Defines a schedule that runs within the confines of a defined
+ * window of time.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.StandardSchedule standard_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\BackupDR\V1\StandardSchedule|null
+ */
+ public function getStandardSchedule()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasStandardSchedule()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Required. Defines a schedule that runs within the confines of a defined
+ * window of time.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.StandardSchedule standard_schedule = 5 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\BackupDR\V1\StandardSchedule $var
+ * @return $this
+ */
+ public function setStandardSchedule($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\StandardSchedule::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getBackupScheduleOneof()
+ {
+ return $this->whichOneof("backup_schedule_oneof");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault.php
new file mode 100644
index 000000000000..03d965e14bae
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault.php
@@ -0,0 +1,715 @@
+google.cloud.backupdr.v1.BackupVault
+ */
+class BackupVault extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Identifier. Name of the backup vault to create. It must have
+ * the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
+ * `{backupvault}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the project and location.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ */
+ protected $name = '';
+ /**
+ * Optional. The description of the BackupVault instance (2048 characters or
+ * less).
+ *
+ * Generated from protobuf field optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $description = null;
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ *
+ * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Required. The default and minimum enforced retention for each backup within
+ * the backup vault. The enforced retention for each backup can be extended.
+ *
+ * Generated from protobuf field optional .google.protobuf.Duration backup_minimum_enforced_retention_duration = 20 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_minimum_enforced_retention_duration = null;
+ /**
+ * Output only. Set to true when there are no backups nested under this
+ * resource.
+ *
+ * Generated from protobuf field optional bool deletable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $deletable = null;
+ /**
+ * Optional. Server specified ETag for the backup vault resource to
+ * prevent simultaneous updates from overwiting each other.
+ *
+ * Generated from protobuf field optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $etag = null;
+ /**
+ * Output only. The BackupVault resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $state = 0;
+ /**
+ * Optional. Time after which the BackupVault resource is locked.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp effective_time = 12 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $effective_time = null;
+ /**
+ * Output only. The number of backups in this backup vault.
+ *
+ * Generated from protobuf field int64 backup_count = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $backup_count = 0;
+ /**
+ * Output only. Service account used by the BackupVault Service for this
+ * BackupVault. The user should grant this account permissions in their
+ * workload project to enable the service to run backups and restores there.
+ *
+ * Generated from protobuf field string service_account = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $service_account = '';
+ /**
+ * Output only. Total size of the storage used by all backup resources.
+ *
+ * Generated from protobuf field int64 total_stored_bytes = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $total_stored_bytes = 0;
+ /**
+ * Output only. Output only
+ * Immutable after resource creation until resource deletion.
+ *
+ * Generated from protobuf field string uid = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {
+ */
+ protected $uid = '';
+ /**
+ * Optional. User annotations. See https://google.aip.dev/128#annotations
+ * Stores small amounts of arbitrary data.
+ *
+ * Generated from protobuf field map annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $annotations;
+ /**
+ * Optional. Note: This field is added for future use case and will not be
+ * supported in the current release.
+ * Optional.
+ * Access restriction for the backup vault.
+ * Default value is WITHIN_ORGANIZATION if not provided during creation.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault.AccessRestriction access_restriction = 24 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $access_restriction = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Identifier. Name of the backup vault to create. It must have
+ * the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
+ * `{backupvault}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the project and location.
+ * @type string $description
+ * Optional. The description of the BackupVault instance (2048 characters or
+ * less).
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The time when the instance was created.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The time when the instance was updated.
+ * @type \Google\Protobuf\Duration $backup_minimum_enforced_retention_duration
+ * Required. The default and minimum enforced retention for each backup within
+ * the backup vault. The enforced retention for each backup can be extended.
+ * @type bool $deletable
+ * Output only. Set to true when there are no backups nested under this
+ * resource.
+ * @type string $etag
+ * Optional. Server specified ETag for the backup vault resource to
+ * prevent simultaneous updates from overwiting each other.
+ * @type int $state
+ * Output only. The BackupVault resource instance state.
+ * @type \Google\Protobuf\Timestamp $effective_time
+ * Optional. Time after which the BackupVault resource is locked.
+ * @type int|string $backup_count
+ * Output only. The number of backups in this backup vault.
+ * @type string $service_account
+ * Output only. Service account used by the BackupVault Service for this
+ * BackupVault. The user should grant this account permissions in their
+ * workload project to enable the service to run backups and restores there.
+ * @type int|string $total_stored_bytes
+ * Output only. Total size of the storage used by all backup resources.
+ * @type string $uid
+ * Output only. Output only
+ * Immutable after resource creation until resource deletion.
+ * @type array|\Google\Protobuf\Internal\MapField $annotations
+ * Optional. User annotations. See https://google.aip.dev/128#annotations
+ * Stores small amounts of arbitrary data.
+ * @type int $access_restriction
+ * Optional. Note: This field is added for future use case and will not be
+ * supported in the current release.
+ * Optional.
+ * Access restriction for the backup vault.
+ * Default value is WITHIN_ORGANIZATION if not provided during creation.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Identifier. Name of the backup vault to create. It must have
+ * the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
+ * `{backupvault}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the project and location.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Identifier. Name of the backup vault to create. It must have
+ * the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`.
+ * `{backupvault}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the project and location.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The description of the BackupVault instance (2048 characters or
+ * less).
+ *
+ * Generated from protobuf field optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return isset($this->description) ? $this->description : '';
+ }
+
+ public function hasDescription()
+ {
+ return isset($this->description);
+ }
+
+ public function clearDescription()
+ {
+ unset($this->description);
+ }
+
+ /**
+ * Optional. The description of the BackupVault instance (2048 characters or
+ * less).
+ *
+ * Generated from protobuf field optional string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ *
+ * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ *
+ * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The default and minimum enforced retention for each backup within
+ * the backup vault. The enforced retention for each backup can be extended.
+ *
+ * Generated from protobuf field optional .google.protobuf.Duration backup_minimum_enforced_retention_duration = 20 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Duration|null
+ */
+ public function getBackupMinimumEnforcedRetentionDuration()
+ {
+ return $this->backup_minimum_enforced_retention_duration;
+ }
+
+ public function hasBackupMinimumEnforcedRetentionDuration()
+ {
+ return isset($this->backup_minimum_enforced_retention_duration);
+ }
+
+ public function clearBackupMinimumEnforcedRetentionDuration()
+ {
+ unset($this->backup_minimum_enforced_retention_duration);
+ }
+
+ /**
+ * Required. The default and minimum enforced retention for each backup within
+ * the backup vault. The enforced retention for each backup can be extended.
+ *
+ * Generated from protobuf field optional .google.protobuf.Duration backup_minimum_enforced_retention_duration = 20 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\Duration $var
+ * @return $this
+ */
+ public function setBackupMinimumEnforcedRetentionDuration($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class);
+ $this->backup_minimum_enforced_retention_duration = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Set to true when there are no backups nested under this
+ * resource.
+ *
+ * Generated from protobuf field optional bool deletable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return bool
+ */
+ public function getDeletable()
+ {
+ return isset($this->deletable) ? $this->deletable : false;
+ }
+
+ public function hasDeletable()
+ {
+ return isset($this->deletable);
+ }
+
+ public function clearDeletable()
+ {
+ unset($this->deletable);
+ }
+
+ /**
+ * Output only. Set to true when there are no backups nested under this
+ * resource.
+ *
+ * Generated from protobuf field optional bool deletable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param bool $var
+ * @return $this
+ */
+ public function setDeletable($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->deletable = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Server specified ETag for the backup vault resource to
+ * prevent simultaneous updates from overwiting each other.
+ *
+ * Generated from protobuf field optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getEtag()
+ {
+ return isset($this->etag) ? $this->etag : '';
+ }
+
+ public function hasEtag()
+ {
+ return isset($this->etag);
+ }
+
+ public function clearEtag()
+ {
+ unset($this->etag);
+ }
+
+ /**
+ * Optional. Server specified ETag for the backup vault resource to
+ * prevent simultaneous updates from overwiting each other.
+ *
+ * Generated from protobuf field optional string etag = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The BackupVault resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Output only. The BackupVault resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\BackupVault\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Time after which the BackupVault resource is locked.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp effective_time = 12 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getEffectiveTime()
+ {
+ return $this->effective_time;
+ }
+
+ public function hasEffectiveTime()
+ {
+ return isset($this->effective_time);
+ }
+
+ public function clearEffectiveTime()
+ {
+ unset($this->effective_time);
+ }
+
+ /**
+ * Optional. Time after which the BackupVault resource is locked.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp effective_time = 12 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setEffectiveTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->effective_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The number of backups in this backup vault.
+ *
+ * Generated from protobuf field int64 backup_count = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getBackupCount()
+ {
+ return $this->backup_count;
+ }
+
+ /**
+ * Output only. The number of backups in this backup vault.
+ *
+ * Generated from protobuf field int64 backup_count = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setBackupCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->backup_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Service account used by the BackupVault Service for this
+ * BackupVault. The user should grant this account permissions in their
+ * workload project to enable the service to run backups and restores there.
+ *
+ * Generated from protobuf field string service_account = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * Output only. Service account used by the BackupVault Service for this
+ * BackupVault. The user should grant this account permissions in their
+ * workload project to enable the service to run backups and restores there.
+ *
+ * Generated from protobuf field string service_account = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Total size of the storage used by all backup resources.
+ *
+ * Generated from protobuf field int64 total_stored_bytes = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int|string
+ */
+ public function getTotalStoredBytes()
+ {
+ return $this->total_stored_bytes;
+ }
+
+ /**
+ * Output only. Total size of the storage used by all backup resources.
+ *
+ * Generated from protobuf field int64 total_stored_bytes = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTotalStoredBytes($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->total_stored_bytes = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Output only
+ * Immutable after resource creation until resource deletion.
+ *
+ * Generated from protobuf field string uid = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getUid()
+ {
+ return $this->uid;
+ }
+
+ /**
+ * Output only. Output only
+ * Immutable after resource creation until resource deletion.
+ *
+ * Generated from protobuf field string uid = 21 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setUid($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->uid = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. User annotations. See https://google.aip.dev/128#annotations
+ * Stores small amounts of arbitrary data.
+ *
+ * Generated from protobuf field map annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getAnnotations()
+ {
+ return $this->annotations;
+ }
+
+ /**
+ * Optional. User annotations. See https://google.aip.dev/128#annotations
+ * Stores small amounts of arbitrary data.
+ *
+ * Generated from protobuf field map annotations = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setAnnotations($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->annotations = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Note: This field is added for future use case and will not be
+ * supported in the current release.
+ * Optional.
+ * Access restriction for the backup vault.
+ * Default value is WITHIN_ORGANIZATION if not provided during creation.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault.AccessRestriction access_restriction = 24 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getAccessRestriction()
+ {
+ return $this->access_restriction;
+ }
+
+ /**
+ * Optional. Note: This field is added for future use case and will not be
+ * supported in the current release.
+ * Optional.
+ * Access restriction for the backup vault.
+ * Default value is WITHIN_ORGANIZATION if not provided during creation.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault.AccessRestriction access_restriction = 24 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setAccessRestriction($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\BackupVault\AccessRestriction::class);
+ $this->access_restriction = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault/AccessRestriction.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault/AccessRestriction.php
new file mode 100644
index 000000000000..ce86fc5cc6ca
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault/AccessRestriction.php
@@ -0,0 +1,72 @@
+google.cloud.backupdr.v1.BackupVault.AccessRestriction
+ */
+class AccessRestriction
+{
+ /**
+ * Access restriction not set.
+ *
+ * Generated from protobuf enum ACCESS_RESTRICTION_UNSPECIFIED = 0;
+ */
+ const ACCESS_RESTRICTION_UNSPECIFIED = 0;
+ /**
+ * Access to or from resources outside your current project will be denied.
+ *
+ * Generated from protobuf enum WITHIN_PROJECT = 1;
+ */
+ const WITHIN_PROJECT = 1;
+ /**
+ * Access to or from resources outside your current organization will be
+ * denied.
+ *
+ * Generated from protobuf enum WITHIN_ORGANIZATION = 2;
+ */
+ const WITHIN_ORGANIZATION = 2;
+ /**
+ * No access restriction.
+ *
+ * Generated from protobuf enum UNRESTRICTED = 3;
+ */
+ const UNRESTRICTED = 3;
+
+ private static $valueToName = [
+ self::ACCESS_RESTRICTION_UNSPECIFIED => 'ACCESS_RESTRICTION_UNSPECIFIED',
+ self::WITHIN_PROJECT => 'WITHIN_PROJECT',
+ self::WITHIN_ORGANIZATION => 'WITHIN_ORGANIZATION',
+ self::UNRESTRICTED => 'UNRESTRICTED',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(AccessRestriction::class, \Google\Cloud\BackupDR\V1\BackupVault_AccessRestriction::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault/State.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault/State.php
new file mode 100644
index 000000000000..90d1a152ddc9
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVault/State.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.BackupVault.State
+ */
+class State
+{
+ /**
+ * State not set.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * The backup vault is being created.
+ *
+ * Generated from protobuf enum CREATING = 1;
+ */
+ const CREATING = 1;
+ /**
+ * The backup vault has been created and is fully usable.
+ *
+ * Generated from protobuf enum ACTIVE = 2;
+ */
+ const ACTIVE = 2;
+ /**
+ * The backup vault is being deleted.
+ *
+ * Generated from protobuf enum DELETING = 3;
+ */
+ const DELETING = 3;
+ /**
+ * The backup vault is experiencing an issue and might be unusable.
+ *
+ * Generated from protobuf enum ERROR = 4;
+ */
+ const ERROR = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::CREATING => 'CREATING',
+ self::ACTIVE => 'ACTIVE',
+ self::DELETING => 'DELETING',
+ self::ERROR => 'ERROR',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\BackupDR\V1\BackupVault_State::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVaultView.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVaultView.php
new file mode 100644
index 000000000000..2fb4c1492dc7
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupVaultView.php
@@ -0,0 +1,62 @@
+google.cloud.backupdr.v1.BackupVaultView
+ */
+class BackupVaultView
+{
+ /**
+ * If the value is not set, the default 'FULL' view is used.
+ *
+ * Generated from protobuf enum BACKUP_VAULT_VIEW_UNSPECIFIED = 0;
+ */
+ const BACKUP_VAULT_VIEW_UNSPECIFIED = 0;
+ /**
+ * Includes basic data about the Backup Vault, but not the full contents.
+ *
+ * Generated from protobuf enum BACKUP_VAULT_VIEW_BASIC = 1;
+ */
+ const BACKUP_VAULT_VIEW_BASIC = 1;
+ /**
+ * Includes all data about the Backup Vault.
+ * This is the default value (for both ListBackupVaults and GetBackupVault).
+ *
+ * Generated from protobuf enum BACKUP_VAULT_VIEW_FULL = 2;
+ */
+ const BACKUP_VAULT_VIEW_FULL = 2;
+
+ private static $valueToName = [
+ self::BACKUP_VAULT_VIEW_UNSPECIFIED => 'BACKUP_VAULT_VIEW_UNSPECIFIED',
+ self::BACKUP_VAULT_VIEW_BASIC => 'BACKUP_VAULT_VIEW_BASIC',
+ self::BACKUP_VAULT_VIEW_FULL => 'BACKUP_VAULT_VIEW_FULL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupView.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupView.php
new file mode 100644
index 000000000000..27ea4394600a
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupView.php
@@ -0,0 +1,62 @@
+google.cloud.backupdr.v1.BackupView
+ */
+class BackupView
+{
+ /**
+ * If the value is not set, the default 'FULL' view is used.
+ *
+ * Generated from protobuf enum BACKUP_VIEW_UNSPECIFIED = 0;
+ */
+ const BACKUP_VIEW_UNSPECIFIED = 0;
+ /**
+ * Includes basic data about the Backup, but not the full contents.
+ *
+ * Generated from protobuf enum BACKUP_VIEW_BASIC = 1;
+ */
+ const BACKUP_VIEW_BASIC = 1;
+ /**
+ * Includes all data about the Backup.
+ * This is the default value (for both ListBackups and GetBackup).
+ *
+ * Generated from protobuf enum BACKUP_VIEW_FULL = 2;
+ */
+ const BACKUP_VIEW_FULL = 2;
+
+ private static $valueToName = [
+ self::BACKUP_VIEW_UNSPECIFIED => 'BACKUP_VIEW_UNSPECIFIED',
+ self::BACKUP_VIEW_BASIC => 'BACKUP_VIEW_BASIC',
+ self::BACKUP_VIEW_FULL => 'BACKUP_VIEW_FULL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupWindow.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupWindow.php
new file mode 100644
index 000000000000..8e4da2ca5064
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/BackupWindow.php
@@ -0,0 +1,125 @@
+google.cloud.backupdr.v1.BackupWindow
+ */
+class BackupWindow extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The hour of day (0-23) when the window starts for e.g. if value
+ * of start hour of day is 6 that mean backup window start at 6:00.
+ *
+ * Generated from protobuf field int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $start_hour_of_day = 0;
+ /**
+ * Required. The hour of day (1-24) when the window end for e.g. if value of
+ * end hour of day is 10 that mean backup window end time is 10:00.
+ * End hour of day should be greater than start hour of day.
+ * 0 <= start_hour_of_day < end_hour_of_day <= 24
+ * End hour of day is not include in backup window that mean if
+ * end_hour_of_day= 10 jobs should start before 10:00.
+ *
+ * Generated from protobuf field int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $end_hour_of_day = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $start_hour_of_day
+ * Required. The hour of day (0-23) when the window starts for e.g. if value
+ * of start hour of day is 6 that mean backup window start at 6:00.
+ * @type int $end_hour_of_day
+ * Required. The hour of day (1-24) when the window end for e.g. if value of
+ * end hour of day is 10 that mean backup window end time is 10:00.
+ * End hour of day should be greater than start hour of day.
+ * 0 <= start_hour_of_day < end_hour_of_day <= 24
+ * End hour of day is not include in backup window that mean if
+ * end_hour_of_day= 10 jobs should start before 10:00.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplan::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The hour of day (0-23) when the window starts for e.g. if value
+ * of start hour of day is 6 that mean backup window start at 6:00.
+ *
+ * Generated from protobuf field int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getStartHourOfDay()
+ {
+ return $this->start_hour_of_day;
+ }
+
+ /**
+ * Required. The hour of day (0-23) when the window starts for e.g. if value
+ * of start hour of day is 6 that mean backup window start at 6:00.
+ *
+ * Generated from protobuf field int32 start_hour_of_day = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setStartHourOfDay($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->start_hour_of_day = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The hour of day (1-24) when the window end for e.g. if value of
+ * end hour of day is 10 that mean backup window end time is 10:00.
+ * End hour of day should be greater than start hour of day.
+ * 0 <= start_hour_of_day < end_hour_of_day <= 24
+ * End hour of day is not include in backup window that mean if
+ * end_hour_of_day= 10 jobs should start before 10:00.
+ *
+ * Generated from protobuf field int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getEndHourOfDay()
+ {
+ return $this->end_hour_of_day;
+ }
+
+ /**
+ * Required. The hour of day (1-24) when the window end for e.g. if value of
+ * end hour of day is 10 that mean backup window end time is 10:00.
+ * End hour of day should be greater than start hour of day.
+ * 0 <= start_hour_of_day < end_hour_of_day <= 24
+ * End hour of day is not include in backup window that mean if
+ * end_hour_of_day= 10 jobs should start before 10:00.
+ *
+ * Generated from protobuf field int32 end_hour_of_day = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setEndHourOfDay($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->end_hour_of_day = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceBackupProperties.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceBackupProperties.php
new file mode 100644
index 000000000000..8f9a6f915880
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceBackupProperties.php
@@ -0,0 +1,716 @@
+google.cloud.backupdr.v1.ComputeInstanceBackupProperties
+ */
+class ComputeInstanceBackupProperties extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * An optional text description for the instances that are created from these
+ * properties.
+ *
+ * Generated from protobuf field optional string description = 1;
+ */
+ protected $description = null;
+ /**
+ * A list of tags to apply to the instances that are created from these
+ * properties. The tags identify valid sources or targets for network
+ * firewalls. The setTags method can modify this list of tags. Each tag within
+ * the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Tags tags = 2;
+ */
+ protected $tags = null;
+ /**
+ * The machine type to use for instances that are created from these
+ * properties.
+ *
+ * Generated from protobuf field optional string machine_type = 3;
+ */
+ protected $machine_type = null;
+ /**
+ * Enables instances created based on these properties to send packets with
+ * source IP addresses other than their own and receive packets with
+ * destination IP addresses other than their own. If these instances will be
+ * used as an IP gateway or it will be set as the next-hop in a Route
+ * resource, specify `true`. If unsure, leave this set to `false`. See the
+ * https://cloud.google.com/vpc/docs/using-routes#canipforward
+ * documentation for more information.
+ *
+ * Generated from protobuf field optional bool can_ip_forward = 4;
+ */
+ protected $can_ip_forward = null;
+ /**
+ * An array of network access configurations for this interface.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
+ */
+ private $network_interface;
+ /**
+ * An array of disks that are associated with the instances that are created
+ * from these properties.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
+ */
+ private $disk;
+ /**
+ * The metadata key/value pairs to assign to instances that are created from
+ * these properties. These pairs can consist of custom metadata or predefined
+ * keys. See https://cloud.google.com/compute/docs/metadata/overview for more
+ * information.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Metadata metadata = 7;
+ */
+ protected $metadata = null;
+ /**
+ * A list of service accounts with specified scopes. Access tokens for these
+ * service accounts are available to the instances that are created from
+ * these properties. Use metadata queries to obtain the access tokens for
+ * these instances.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
+ */
+ private $service_account;
+ /**
+ * Specifies the scheduling options for the instances that are created from
+ * these properties.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
+ */
+ protected $scheduling = null;
+ /**
+ * A list of guest accelerator cards' type and count to use for instances
+ * created from these properties.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
+ */
+ private $guest_accelerator;
+ /**
+ * Minimum cpu/platform to be used by instances. The instance may be
+ * scheduled on the specified or newer cpu/platform. Applicable values are the
+ * friendly names of CPU platforms, such as
+ * `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`.
+ * For more information, read
+ * https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
+ *
+ * Generated from protobuf field optional string min_cpu_platform = 11;
+ */
+ protected $min_cpu_platform = null;
+ /**
+ * KeyRevocationActionType of the instance. Supported options are "STOP" and
+ * "NONE". The default value is "NONE" if it is not specified.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
+ */
+ protected $key_revocation_action_type = null;
+ /**
+ * The source instance used to create this backup. This can be a partial or
+ * full URL to the resource. For example, the following are valid values:
+ * -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
+ * -projects/project/zones/zone/instances/instance
+ *
+ * Generated from protobuf field optional string source_instance = 13;
+ */
+ protected $source_instance = null;
+ /**
+ * Labels to apply to instances that are created from these properties.
+ *
+ * Generated from protobuf field map labels = 14;
+ */
+ private $labels;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $description
+ * An optional text description for the instances that are created from these
+ * properties.
+ * @type \Google\Cloud\BackupDR\V1\Tags $tags
+ * A list of tags to apply to the instances that are created from these
+ * properties. The tags identify valid sources or targets for network
+ * firewalls. The setTags method can modify this list of tags. Each tag within
+ * the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
+ * @type string $machine_type
+ * The machine type to use for instances that are created from these
+ * properties.
+ * @type bool $can_ip_forward
+ * Enables instances created based on these properties to send packets with
+ * source IP addresses other than their own and receive packets with
+ * destination IP addresses other than their own. If these instances will be
+ * used as an IP gateway or it will be set as the next-hop in a Route
+ * resource, specify `true`. If unsure, leave this set to `false`. See the
+ * https://cloud.google.com/vpc/docs/using-routes#canipforward
+ * documentation for more information.
+ * @type array<\Google\Cloud\BackupDR\V1\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $network_interface
+ * An array of network access configurations for this interface.
+ * @type array<\Google\Cloud\BackupDR\V1\AttachedDisk>|\Google\Protobuf\Internal\RepeatedField $disk
+ * An array of disks that are associated with the instances that are created
+ * from these properties.
+ * @type \Google\Cloud\BackupDR\V1\Metadata $metadata
+ * The metadata key/value pairs to assign to instances that are created from
+ * these properties. These pairs can consist of custom metadata or predefined
+ * keys. See https://cloud.google.com/compute/docs/metadata/overview for more
+ * information.
+ * @type array<\Google\Cloud\BackupDR\V1\ServiceAccount>|\Google\Protobuf\Internal\RepeatedField $service_account
+ * A list of service accounts with specified scopes. Access tokens for these
+ * service accounts are available to the instances that are created from
+ * these properties. Use metadata queries to obtain the access tokens for
+ * these instances.
+ * @type \Google\Cloud\BackupDR\V1\Scheduling $scheduling
+ * Specifies the scheduling options for the instances that are created from
+ * these properties.
+ * @type array<\Google\Cloud\BackupDR\V1\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $guest_accelerator
+ * A list of guest accelerator cards' type and count to use for instances
+ * created from these properties.
+ * @type string $min_cpu_platform
+ * Minimum cpu/platform to be used by instances. The instance may be
+ * scheduled on the specified or newer cpu/platform. Applicable values are the
+ * friendly names of CPU platforms, such as
+ * `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`.
+ * For more information, read
+ * https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
+ * @type int $key_revocation_action_type
+ * KeyRevocationActionType of the instance. Supported options are "STOP" and
+ * "NONE". The default value is "NONE" if it is not specified.
+ * @type string $source_instance
+ * The source instance used to create this backup. This can be a partial or
+ * full URL to the resource. For example, the following are valid values:
+ * -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
+ * -projects/project/zones/zone/instances/instance
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Labels to apply to instances that are created from these properties.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * An optional text description for the instances that are created from these
+ * properties.
+ *
+ * Generated from protobuf field optional string description = 1;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return isset($this->description) ? $this->description : '';
+ }
+
+ public function hasDescription()
+ {
+ return isset($this->description);
+ }
+
+ public function clearDescription()
+ {
+ unset($this->description);
+ }
+
+ /**
+ * An optional text description for the instances that are created from these
+ * properties.
+ *
+ * Generated from protobuf field optional string description = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of tags to apply to the instances that are created from these
+ * properties. The tags identify valid sources or targets for network
+ * firewalls. The setTags method can modify this list of tags. Each tag within
+ * the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Tags tags = 2;
+ * @return \Google\Cloud\BackupDR\V1\Tags|null
+ */
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function hasTags()
+ {
+ return isset($this->tags);
+ }
+
+ public function clearTags()
+ {
+ unset($this->tags);
+ }
+
+ /**
+ * A list of tags to apply to the instances that are created from these
+ * properties. The tags identify valid sources or targets for network
+ * firewalls. The setTags method can modify this list of tags. Each tag within
+ * the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Tags tags = 2;
+ * @param \Google\Cloud\BackupDR\V1\Tags $var
+ * @return $this
+ */
+ public function setTags($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Tags::class);
+ $this->tags = $var;
+
+ return $this;
+ }
+
+ /**
+ * The machine type to use for instances that are created from these
+ * properties.
+ *
+ * Generated from protobuf field optional string machine_type = 3;
+ * @return string
+ */
+ public function getMachineType()
+ {
+ return isset($this->machine_type) ? $this->machine_type : '';
+ }
+
+ public function hasMachineType()
+ {
+ return isset($this->machine_type);
+ }
+
+ public function clearMachineType()
+ {
+ unset($this->machine_type);
+ }
+
+ /**
+ * The machine type to use for instances that are created from these
+ * properties.
+ *
+ * Generated from protobuf field optional string machine_type = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setMachineType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->machine_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Enables instances created based on these properties to send packets with
+ * source IP addresses other than their own and receive packets with
+ * destination IP addresses other than their own. If these instances will be
+ * used as an IP gateway or it will be set as the next-hop in a Route
+ * resource, specify `true`. If unsure, leave this set to `false`. See the
+ * https://cloud.google.com/vpc/docs/using-routes#canipforward
+ * documentation for more information.
+ *
+ * Generated from protobuf field optional bool can_ip_forward = 4;
+ * @return bool
+ */
+ public function getCanIpForward()
+ {
+ return isset($this->can_ip_forward) ? $this->can_ip_forward : false;
+ }
+
+ public function hasCanIpForward()
+ {
+ return isset($this->can_ip_forward);
+ }
+
+ public function clearCanIpForward()
+ {
+ unset($this->can_ip_forward);
+ }
+
+ /**
+ * Enables instances created based on these properties to send packets with
+ * source IP addresses other than their own and receive packets with
+ * destination IP addresses other than their own. If these instances will be
+ * used as an IP gateway or it will be set as the next-hop in a Route
+ * resource, specify `true`. If unsure, leave this set to `false`. See the
+ * https://cloud.google.com/vpc/docs/using-routes#canipforward
+ * documentation for more information.
+ *
+ * Generated from protobuf field optional bool can_ip_forward = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setCanIpForward($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->can_ip_forward = $var;
+
+ return $this;
+ }
+
+ /**
+ * An array of network access configurations for this interface.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNetworkInterface()
+ {
+ return $this->network_interface;
+ }
+
+ /**
+ * An array of network access configurations for this interface.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
+ * @param array<\Google\Cloud\BackupDR\V1\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setNetworkInterface($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\NetworkInterface::class);
+ $this->network_interface = $arr;
+
+ return $this;
+ }
+
+ /**
+ * An array of disks that are associated with the instances that are created
+ * from these properties.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDisk()
+ {
+ return $this->disk;
+ }
+
+ /**
+ * An array of disks that are associated with the instances that are created
+ * from these properties.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
+ * @param array<\Google\Cloud\BackupDR\V1\AttachedDisk>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDisk($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\AttachedDisk::class);
+ $this->disk = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The metadata key/value pairs to assign to instances that are created from
+ * these properties. These pairs can consist of custom metadata or predefined
+ * keys. See https://cloud.google.com/compute/docs/metadata/overview for more
+ * information.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Metadata metadata = 7;
+ * @return \Google\Cloud\BackupDR\V1\Metadata|null
+ */
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function hasMetadata()
+ {
+ return isset($this->metadata);
+ }
+
+ public function clearMetadata()
+ {
+ unset($this->metadata);
+ }
+
+ /**
+ * The metadata key/value pairs to assign to instances that are created from
+ * these properties. These pairs can consist of custom metadata or predefined
+ * keys. See https://cloud.google.com/compute/docs/metadata/overview for more
+ * information.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Metadata metadata = 7;
+ * @param \Google\Cloud\BackupDR\V1\Metadata $var
+ * @return $this
+ */
+ public function setMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Metadata::class);
+ $this->metadata = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of service accounts with specified scopes. Access tokens for these
+ * service accounts are available to the instances that are created from
+ * these properties. Use metadata queries to obtain the access tokens for
+ * these instances.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getServiceAccount()
+ {
+ return $this->service_account;
+ }
+
+ /**
+ * A list of service accounts with specified scopes. Access tokens for these
+ * service accounts are available to the instances that are created from
+ * these properties. Use metadata queries to obtain the access tokens for
+ * these instances.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
+ * @param array<\Google\Cloud\BackupDR\V1\ServiceAccount>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setServiceAccount($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\ServiceAccount::class);
+ $this->service_account = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Specifies the scheduling options for the instances that are created from
+ * these properties.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
+ * @return \Google\Cloud\BackupDR\V1\Scheduling|null
+ */
+ public function getScheduling()
+ {
+ return $this->scheduling;
+ }
+
+ public function hasScheduling()
+ {
+ return isset($this->scheduling);
+ }
+
+ public function clearScheduling()
+ {
+ unset($this->scheduling);
+ }
+
+ /**
+ * Specifies the scheduling options for the instances that are created from
+ * these properties.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
+ * @param \Google\Cloud\BackupDR\V1\Scheduling $var
+ * @return $this
+ */
+ public function setScheduling($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Scheduling::class);
+ $this->scheduling = $var;
+
+ return $this;
+ }
+
+ /**
+ * A list of guest accelerator cards' type and count to use for instances
+ * created from these properties.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGuestAccelerator()
+ {
+ return $this->guest_accelerator;
+ }
+
+ /**
+ * A list of guest accelerator cards' type and count to use for instances
+ * created from these properties.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
+ * @param array<\Google\Cloud\BackupDR\V1\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGuestAccelerator($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\AcceleratorConfig::class);
+ $this->guest_accelerator = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Minimum cpu/platform to be used by instances. The instance may be
+ * scheduled on the specified or newer cpu/platform. Applicable values are the
+ * friendly names of CPU platforms, such as
+ * `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`.
+ * For more information, read
+ * https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
+ *
+ * Generated from protobuf field optional string min_cpu_platform = 11;
+ * @return string
+ */
+ public function getMinCpuPlatform()
+ {
+ return isset($this->min_cpu_platform) ? $this->min_cpu_platform : '';
+ }
+
+ public function hasMinCpuPlatform()
+ {
+ return isset($this->min_cpu_platform);
+ }
+
+ public function clearMinCpuPlatform()
+ {
+ unset($this->min_cpu_platform);
+ }
+
+ /**
+ * Minimum cpu/platform to be used by instances. The instance may be
+ * scheduled on the specified or newer cpu/platform. Applicable values are the
+ * friendly names of CPU platforms, such as
+ * `minCpuPlatform: Intel Haswell` or `minCpuPlatform: Intel Sandy Bridge`.
+ * For more information, read
+ * https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
+ *
+ * Generated from protobuf field optional string min_cpu_platform = 11;
+ * @param string $var
+ * @return $this
+ */
+ public function setMinCpuPlatform($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->min_cpu_platform = $var;
+
+ return $this;
+ }
+
+ /**
+ * KeyRevocationActionType of the instance. Supported options are "STOP" and
+ * "NONE". The default value is "NONE" if it is not specified.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
+ * @return int
+ */
+ public function getKeyRevocationActionType()
+ {
+ return isset($this->key_revocation_action_type) ? $this->key_revocation_action_type : 0;
+ }
+
+ public function hasKeyRevocationActionType()
+ {
+ return isset($this->key_revocation_action_type);
+ }
+
+ public function clearKeyRevocationActionType()
+ {
+ unset($this->key_revocation_action_type);
+ }
+
+ /**
+ * KeyRevocationActionType of the instance. Supported options are "STOP" and
+ * "NONE". The default value is "NONE" if it is not specified.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
+ * @param int $var
+ * @return $this
+ */
+ public function setKeyRevocationActionType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\KeyRevocationActionType::class);
+ $this->key_revocation_action_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The source instance used to create this backup. This can be a partial or
+ * full URL to the resource. For example, the following are valid values:
+ * -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
+ * -projects/project/zones/zone/instances/instance
+ *
+ * Generated from protobuf field optional string source_instance = 13;
+ * @return string
+ */
+ public function getSourceInstance()
+ {
+ return isset($this->source_instance) ? $this->source_instance : '';
+ }
+
+ public function hasSourceInstance()
+ {
+ return isset($this->source_instance);
+ }
+
+ public function clearSourceInstance()
+ {
+ unset($this->source_instance);
+ }
+
+ /**
+ * The source instance used to create this backup. This can be a partial or
+ * full URL to the resource. For example, the following are valid values:
+ * -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance
+ * -projects/project/zones/zone/instances/instance
+ *
+ * Generated from protobuf field optional string source_instance = 13;
+ * @param string $var
+ * @return $this
+ */
+ public function setSourceInstance($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->source_instance = $var;
+
+ return $this;
+ }
+
+ /**
+ * Labels to apply to instances that are created from these properties.
+ *
+ * Generated from protobuf field map labels = 14;
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Labels to apply to instances that are created from these properties.
+ *
+ * Generated from protobuf field map labels = 14;
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceDataSourceProperties.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceDataSourceProperties.php
new file mode 100644
index 000000000000..28fa438fe071
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceDataSourceProperties.php
@@ -0,0 +1,204 @@
+google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties
+ */
+class ComputeInstanceDataSourceProperties extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Name of the compute instance backed up by the datasource.
+ *
+ * Generated from protobuf field string name = 1;
+ */
+ protected $name = '';
+ /**
+ * The description of the Compute Engine instance.
+ *
+ * Generated from protobuf field string description = 2;
+ */
+ protected $description = '';
+ /**
+ * The machine type of the instance.
+ *
+ * Generated from protobuf field string machine_type = 3;
+ */
+ protected $machine_type = '';
+ /**
+ * The total number of disks attached to the Instance.
+ *
+ * Generated from protobuf field int64 total_disk_count = 4;
+ */
+ protected $total_disk_count = 0;
+ /**
+ * The sum of all the disk sizes.
+ *
+ * Generated from protobuf field int64 total_disk_size_gb = 5;
+ */
+ protected $total_disk_size_gb = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Name of the compute instance backed up by the datasource.
+ * @type string $description
+ * The description of the Compute Engine instance.
+ * @type string $machine_type
+ * The machine type of the instance.
+ * @type int|string $total_disk_count
+ * The total number of disks attached to the Instance.
+ * @type int|string $total_disk_size_gb
+ * The sum of all the disk sizes.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Name of the compute instance backed up by the datasource.
+ *
+ * Generated from protobuf field string name = 1;
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Name of the compute instance backed up by the datasource.
+ *
+ * Generated from protobuf field string name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * The description of the Compute Engine instance.
+ *
+ * Generated from protobuf field string description = 2;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * The description of the Compute Engine instance.
+ *
+ * Generated from protobuf field string description = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * The machine type of the instance.
+ *
+ * Generated from protobuf field string machine_type = 3;
+ * @return string
+ */
+ public function getMachineType()
+ {
+ return $this->machine_type;
+ }
+
+ /**
+ * The machine type of the instance.
+ *
+ * Generated from protobuf field string machine_type = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setMachineType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->machine_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The total number of disks attached to the Instance.
+ *
+ * Generated from protobuf field int64 total_disk_count = 4;
+ * @return int|string
+ */
+ public function getTotalDiskCount()
+ {
+ return $this->total_disk_count;
+ }
+
+ /**
+ * The total number of disks attached to the Instance.
+ *
+ * Generated from protobuf field int64 total_disk_count = 4;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTotalDiskCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->total_disk_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * The sum of all the disk sizes.
+ *
+ * Generated from protobuf field int64 total_disk_size_gb = 5;
+ * @return int|string
+ */
+ public function getTotalDiskSizeGb()
+ {
+ return $this->total_disk_size_gb;
+ }
+
+ /**
+ * The sum of all the disk sizes.
+ *
+ * Generated from protobuf field int64 total_disk_size_gb = 5;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTotalDiskSizeGb($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->total_disk_size_gb = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceRestoreProperties.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceRestoreProperties.php
new file mode 100644
index 000000000000..b5ed7b1b9feb
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceRestoreProperties.php
@@ -0,0 +1,1150 @@
+google.cloud.backupdr.v1.ComputeInstanceRestoreProperties
+ */
+class ComputeInstanceRestoreProperties extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the compute instance.
+ *
+ * Generated from protobuf field optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = null;
+ /**
+ * Optional. Controls for advanced machine-related behavior features.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $advanced_machine_features = null;
+ /**
+ * Optional. Allows this instance to send and receive packets with
+ * non-matching destination or source IPs.
+ *
+ * Generated from protobuf field optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $can_ip_forward = null;
+ /**
+ * Optional. Controls Confidential compute options on the instance
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $confidential_instance_config = null;
+ /**
+ * Optional. Whether the resource should be protected against deletion.
+ *
+ * Generated from protobuf field optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $deletion_protection = null;
+ /**
+ * Optional. An optional description of this resource. Provide this property
+ * when you create the resource.
+ *
+ * Generated from protobuf field optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $description = null;
+ /**
+ * Optional. Array of disks associated with this instance. Persistent disks
+ * must be created before you can assign them.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $disks;
+ /**
+ * Optional. Enables display device for the instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $display_device = null;
+ /**
+ * Optional. A list of the type and count of accelerator cards attached to the
+ * instance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $guest_accelerators;
+ /**
+ * Optional. Specifies the hostname of the instance. The specified hostname
+ * must be RFC1035 compliant. If hostname is not specified, the default
+ * hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
+ * DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
+ * DNS.
+ *
+ * Generated from protobuf field optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $hostname = null;
+ /**
+ * Optional. Encrypts suspended data for an instance with a
+ * customer-managed encryption key.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $instance_encryption_key = null;
+ /**
+ * Optional. KeyRevocationActionType of the instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $key_revocation_action_type = null;
+ /**
+ * Optional. Labels to apply to this instance.
+ *
+ * Generated from protobuf field map labels = 13 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Optional. Full or partial URL of the machine type resource to use for this
+ * instance.
+ *
+ * Generated from protobuf field optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $machine_type = null;
+ /**
+ * Optional. This includes custom metadata and predefined keys.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $metadata = null;
+ /**
+ * Optional. Minimum CPU platform to use for this instance.
+ *
+ * Generated from protobuf field optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $min_cpu_platform = null;
+ /**
+ * Optional. An array of network configurations for this instance. These
+ * specify how interfaces are configured to interact with other network
+ * services, such as connecting to the internet. Multiple interfaces are
+ * supported per instance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $network_interfaces;
+ /**
+ * Optional. Configure network performance such as egress bandwidth tier.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $network_performance_config = null;
+ /**
+ * Input only. Additional params passed with the request, but not persisted
+ * as part of resource payload.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
+ */
+ protected $params = null;
+ /**
+ * Optional. The private IPv6 google access type for the VM.
+ * If not specified, use INHERIT_FROM_SUBNETWORK as default.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $private_ipv6_google_access = null;
+ /**
+ * Optional. Specifies the reservations that this instance can consume from.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $allocation_affinity = null;
+ /**
+ * Optional. Resource policies applied to this instance.
+ *
+ * Generated from protobuf field repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $resource_policies;
+ /**
+ * Optional. Sets the scheduling options for this instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $scheduling = null;
+ /**
+ * Optional. A list of service accounts, with their specified scopes,
+ * authorized for this instance. Only one service account per VM instance is
+ * supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $service_accounts;
+ /**
+ * Optional. Tags to apply to this instance. Tags are used to identify valid
+ * sources or targets for network firewalls and are specified by the client
+ * during instance creation.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $tags = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the compute instance.
+ * @type \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures $advanced_machine_features
+ * Optional. Controls for advanced machine-related behavior features.
+ * @type bool $can_ip_forward
+ * Optional. Allows this instance to send and receive packets with
+ * non-matching destination or source IPs.
+ * @type \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig $confidential_instance_config
+ * Optional. Controls Confidential compute options on the instance
+ * @type bool $deletion_protection
+ * Optional. Whether the resource should be protected against deletion.
+ * @type string $description
+ * Optional. An optional description of this resource. Provide this property
+ * when you create the resource.
+ * @type array<\Google\Cloud\BackupDR\V1\AttachedDisk>|\Google\Protobuf\Internal\RepeatedField $disks
+ * Optional. Array of disks associated with this instance. Persistent disks
+ * must be created before you can assign them.
+ * @type \Google\Cloud\BackupDR\V1\DisplayDevice $display_device
+ * Optional. Enables display device for the instance.
+ * @type array<\Google\Cloud\BackupDR\V1\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $guest_accelerators
+ * Optional. A list of the type and count of accelerator cards attached to the
+ * instance.
+ * @type string $hostname
+ * Optional. Specifies the hostname of the instance. The specified hostname
+ * must be RFC1035 compliant. If hostname is not specified, the default
+ * hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
+ * DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
+ * DNS.
+ * @type \Google\Cloud\BackupDR\V1\CustomerEncryptionKey $instance_encryption_key
+ * Optional. Encrypts suspended data for an instance with a
+ * customer-managed encryption key.
+ * @type int $key_revocation_action_type
+ * Optional. KeyRevocationActionType of the instance.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Labels to apply to this instance.
+ * @type string $machine_type
+ * Optional. Full or partial URL of the machine type resource to use for this
+ * instance.
+ * @type \Google\Cloud\BackupDR\V1\Metadata $metadata
+ * Optional. This includes custom metadata and predefined keys.
+ * @type string $min_cpu_platform
+ * Optional. Minimum CPU platform to use for this instance.
+ * @type array<\Google\Cloud\BackupDR\V1\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $network_interfaces
+ * Optional. An array of network configurations for this instance. These
+ * specify how interfaces are configured to interact with other network
+ * services, such as connecting to the internet. Multiple interfaces are
+ * supported per instance.
+ * @type \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig $network_performance_config
+ * Optional. Configure network performance such as egress bandwidth tier.
+ * @type \Google\Cloud\BackupDR\V1\InstanceParams $params
+ * Input only. Additional params passed with the request, but not persisted
+ * as part of resource payload.
+ * @type int $private_ipv6_google_access
+ * Optional. The private IPv6 google access type for the VM.
+ * If not specified, use INHERIT_FROM_SUBNETWORK as default.
+ * @type \Google\Cloud\BackupDR\V1\AllocationAffinity $allocation_affinity
+ * Optional. Specifies the reservations that this instance can consume from.
+ * @type arrayoptional string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return isset($this->name) ? $this->name : '';
+ }
+
+ public function hasName()
+ {
+ return isset($this->name);
+ }
+
+ public function clearName()
+ {
+ unset($this->name);
+ }
+
+ /**
+ * Required. Name of the compute instance.
+ *
+ * Generated from protobuf field optional string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Controls for advanced machine-related behavior features.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures|null
+ */
+ public function getAdvancedMachineFeatures()
+ {
+ return $this->advanced_machine_features;
+ }
+
+ public function hasAdvancedMachineFeatures()
+ {
+ return isset($this->advanced_machine_features);
+ }
+
+ public function clearAdvancedMachineFeatures()
+ {
+ unset($this->advanced_machine_features);
+ }
+
+ /**
+ * Optional. Controls for advanced machine-related behavior features.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AdvancedMachineFeatures advanced_machine_features = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures $var
+ * @return $this
+ */
+ public function setAdvancedMachineFeatures($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\AdvancedMachineFeatures::class);
+ $this->advanced_machine_features = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Allows this instance to send and receive packets with
+ * non-matching destination or source IPs.
+ *
+ * Generated from protobuf field optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getCanIpForward()
+ {
+ return isset($this->can_ip_forward) ? $this->can_ip_forward : false;
+ }
+
+ public function hasCanIpForward()
+ {
+ return isset($this->can_ip_forward);
+ }
+
+ public function clearCanIpForward()
+ {
+ unset($this->can_ip_forward);
+ }
+
+ /**
+ * Optional. Allows this instance to send and receive packets with
+ * non-matching destination or source IPs.
+ *
+ * Generated from protobuf field optional bool can_ip_forward = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setCanIpForward($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->can_ip_forward = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Controls Confidential compute options on the instance
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig|null
+ */
+ public function getConfidentialInstanceConfig()
+ {
+ return $this->confidential_instance_config;
+ }
+
+ public function hasConfidentialInstanceConfig()
+ {
+ return isset($this->confidential_instance_config);
+ }
+
+ public function clearConfidentialInstanceConfig()
+ {
+ unset($this->confidential_instance_config);
+ }
+
+ /**
+ * Optional. Controls Confidential compute options on the instance
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.ConfidentialInstanceConfig confidential_instance_config = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig $var
+ * @return $this
+ */
+ public function setConfidentialInstanceConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\ConfidentialInstanceConfig::class);
+ $this->confidential_instance_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Whether the resource should be protected against deletion.
+ *
+ * Generated from protobuf field optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getDeletionProtection()
+ {
+ return isset($this->deletion_protection) ? $this->deletion_protection : false;
+ }
+
+ public function hasDeletionProtection()
+ {
+ return isset($this->deletion_protection);
+ }
+
+ public function clearDeletionProtection()
+ {
+ unset($this->deletion_protection);
+ }
+
+ /**
+ * Optional. Whether the resource should be protected against deletion.
+ *
+ * Generated from protobuf field optional bool deletion_protection = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setDeletionProtection($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->deletion_protection = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional description of this resource. Provide this property
+ * when you create the resource.
+ *
+ * Generated from protobuf field optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return isset($this->description) ? $this->description : '';
+ }
+
+ public function hasDescription()
+ {
+ return isset($this->description);
+ }
+
+ public function clearDescription()
+ {
+ unset($this->description);
+ }
+
+ /**
+ * Optional. An optional description of this resource. Provide this property
+ * when you create the resource.
+ *
+ * Generated from protobuf field optional string description = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Array of disks associated with this instance. Persistent disks
+ * must be created before you can assign them.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDisks()
+ {
+ return $this->disks;
+ }
+
+ /**
+ * Optional. Array of disks associated with this instance. Persistent disks
+ * must be created before you can assign them.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AttachedDisk disks = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\BackupDR\V1\AttachedDisk>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDisks($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\AttachedDisk::class);
+ $this->disks = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Enables display device for the instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\DisplayDevice|null
+ */
+ public function getDisplayDevice()
+ {
+ return $this->display_device;
+ }
+
+ public function hasDisplayDevice()
+ {
+ return isset($this->display_device);
+ }
+
+ public function clearDisplayDevice()
+ {
+ unset($this->display_device);
+ }
+
+ /**
+ * Optional. Enables display device for the instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.DisplayDevice display_device = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\DisplayDevice $var
+ * @return $this
+ */
+ public function setDisplayDevice($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\DisplayDevice::class);
+ $this->display_device = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of the type and count of accelerator cards attached to the
+ * instance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getGuestAccelerators()
+ {
+ return $this->guest_accelerators;
+ }
+
+ /**
+ * Optional. A list of the type and count of accelerator cards attached to the
+ * instance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerators = 9 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\BackupDR\V1\AcceleratorConfig>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setGuestAccelerators($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\AcceleratorConfig::class);
+ $this->guest_accelerators = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the hostname of the instance. The specified hostname
+ * must be RFC1035 compliant. If hostname is not specified, the default
+ * hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
+ * DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
+ * DNS.
+ *
+ * Generated from protobuf field optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getHostname()
+ {
+ return isset($this->hostname) ? $this->hostname : '';
+ }
+
+ public function hasHostname()
+ {
+ return isset($this->hostname);
+ }
+
+ public function clearHostname()
+ {
+ unset($this->hostname);
+ }
+
+ /**
+ * Optional. Specifies the hostname of the instance. The specified hostname
+ * must be RFC1035 compliant. If hostname is not specified, the default
+ * hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global
+ * DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal
+ * DNS.
+ *
+ * Generated from protobuf field optional string hostname = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setHostname($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->hostname = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Encrypts suspended data for an instance with a
+ * customer-managed encryption key.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\CustomerEncryptionKey|null
+ */
+ public function getInstanceEncryptionKey()
+ {
+ return $this->instance_encryption_key;
+ }
+
+ public function hasInstanceEncryptionKey()
+ {
+ return isset($this->instance_encryption_key);
+ }
+
+ public function clearInstanceEncryptionKey()
+ {
+ unset($this->instance_encryption_key);
+ }
+
+ /**
+ * Optional. Encrypts suspended data for an instance with a
+ * customer-managed encryption key.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.CustomerEncryptionKey instance_encryption_key = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\CustomerEncryptionKey $var
+ * @return $this
+ */
+ public function setInstanceEncryptionKey($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\CustomerEncryptionKey::class);
+ $this->instance_encryption_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. KeyRevocationActionType of the instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getKeyRevocationActionType()
+ {
+ return isset($this->key_revocation_action_type) ? $this->key_revocation_action_type : 0;
+ }
+
+ public function hasKeyRevocationActionType()
+ {
+ return isset($this->key_revocation_action_type);
+ }
+
+ public function clearKeyRevocationActionType()
+ {
+ unset($this->key_revocation_action_type);
+ }
+
+ /**
+ * Optional. KeyRevocationActionType of the instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setKeyRevocationActionType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\KeyRevocationActionType::class);
+ $this->key_revocation_action_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Labels to apply to this instance.
+ *
+ * Generated from protobuf field map labels = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Labels to apply to this instance.
+ *
+ * Generated from protobuf field map labels = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Full or partial URL of the machine type resource to use for this
+ * instance.
+ *
+ * Generated from protobuf field optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getMachineType()
+ {
+ return isset($this->machine_type) ? $this->machine_type : '';
+ }
+
+ public function hasMachineType()
+ {
+ return isset($this->machine_type);
+ }
+
+ public function clearMachineType()
+ {
+ unset($this->machine_type);
+ }
+
+ /**
+ * Optional. Full or partial URL of the machine type resource to use for this
+ * instance.
+ *
+ * Generated from protobuf field optional string machine_type = 14 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setMachineType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->machine_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. This includes custom metadata and predefined keys.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\Metadata|null
+ */
+ public function getMetadata()
+ {
+ return $this->metadata;
+ }
+
+ public function hasMetadata()
+ {
+ return isset($this->metadata);
+ }
+
+ public function clearMetadata()
+ {
+ unset($this->metadata);
+ }
+
+ /**
+ * Optional. This includes custom metadata and predefined keys.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Metadata metadata = 15 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\Metadata $var
+ * @return $this
+ */
+ public function setMetadata($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Metadata::class);
+ $this->metadata = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Minimum CPU platform to use for this instance.
+ *
+ * Generated from protobuf field optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getMinCpuPlatform()
+ {
+ return isset($this->min_cpu_platform) ? $this->min_cpu_platform : '';
+ }
+
+ public function hasMinCpuPlatform()
+ {
+ return isset($this->min_cpu_platform);
+ }
+
+ public function clearMinCpuPlatform()
+ {
+ unset($this->min_cpu_platform);
+ }
+
+ /**
+ * Optional. Minimum CPU platform to use for this instance.
+ *
+ * Generated from protobuf field optional string min_cpu_platform = 16 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setMinCpuPlatform($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->min_cpu_platform = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An array of network configurations for this instance. These
+ * specify how interfaces are configured to interact with other network
+ * services, such as connecting to the internet. Multiple interfaces are
+ * supported per instance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getNetworkInterfaces()
+ {
+ return $this->network_interfaces;
+ }
+
+ /**
+ * Optional. An array of network configurations for this instance. These
+ * specify how interfaces are configured to interact with other network
+ * services, such as connecting to the internet. Multiple interfaces are
+ * supported per instance.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.NetworkInterface network_interfaces = 17 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\BackupDR\V1\NetworkInterface>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setNetworkInterfaces($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\NetworkInterface::class);
+ $this->network_interfaces = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Configure network performance such as egress bandwidth tier.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig|null
+ */
+ public function getNetworkPerformanceConfig()
+ {
+ return $this->network_performance_config;
+ }
+
+ public function hasNetworkPerformanceConfig()
+ {
+ return isset($this->network_performance_config);
+ }
+
+ public function clearNetworkPerformanceConfig()
+ {
+ unset($this->network_performance_config);
+ }
+
+ /**
+ * Optional. Configure network performance such as egress bandwidth tier.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.NetworkPerformanceConfig network_performance_config = 18 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig $var
+ * @return $this
+ */
+ public function setNetworkPerformanceConfig($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\NetworkPerformanceConfig::class);
+ $this->network_performance_config = $var;
+
+ return $this;
+ }
+
+ /**
+ * Input only. Additional params passed with the request, but not persisted
+ * as part of resource payload.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @return \Google\Cloud\BackupDR\V1\InstanceParams|null
+ */
+ public function getParams()
+ {
+ return $this->params;
+ }
+
+ public function hasParams()
+ {
+ return isset($this->params);
+ }
+
+ public function clearParams()
+ {
+ unset($this->params);
+ }
+
+ /**
+ * Input only. Additional params passed with the request, but not persisted
+ * as part of resource payload.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.InstanceParams params = 19 [(.google.api.field_behavior) = INPUT_ONLY];
+ * @param \Google\Cloud\BackupDR\V1\InstanceParams $var
+ * @return $this
+ */
+ public function setParams($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\InstanceParams::class);
+ $this->params = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The private IPv6 google access type for the VM.
+ * If not specified, use INHERIT_FROM_SUBNETWORK as default.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPrivateIpv6GoogleAccess()
+ {
+ return isset($this->private_ipv6_google_access) ? $this->private_ipv6_google_access : 0;
+ }
+
+ public function hasPrivateIpv6GoogleAccess()
+ {
+ return isset($this->private_ipv6_google_access);
+ }
+
+ public function clearPrivateIpv6GoogleAccess()
+ {
+ unset($this->private_ipv6_google_access);
+ }
+
+ /**
+ * Optional. The private IPv6 google access type for the VM.
+ * If not specified, use INHERIT_FROM_SUBNETWORK as default.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess private_ipv6_google_access = 20 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPrivateIpv6GoogleAccess($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\ComputeInstanceRestoreProperties\InstancePrivateIpv6GoogleAccess::class);
+ $this->private_ipv6_google_access = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Specifies the reservations that this instance can consume from.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\AllocationAffinity|null
+ */
+ public function getAllocationAffinity()
+ {
+ return $this->allocation_affinity;
+ }
+
+ public function hasAllocationAffinity()
+ {
+ return isset($this->allocation_affinity);
+ }
+
+ public function clearAllocationAffinity()
+ {
+ unset($this->allocation_affinity);
+ }
+
+ /**
+ * Optional. Specifies the reservations that this instance can consume from.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.AllocationAffinity allocation_affinity = 21 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\AllocationAffinity $var
+ * @return $this
+ */
+ public function setAllocationAffinity($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\AllocationAffinity::class);
+ $this->allocation_affinity = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Resource policies applied to this instance.
+ *
+ * Generated from protobuf field repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getResourcePolicies()
+ {
+ return $this->resource_policies;
+ }
+
+ /**
+ * Optional. Resource policies applied to this instance.
+ *
+ * Generated from protobuf field repeated string resource_policies = 22 [(.google.api.field_behavior) = OPTIONAL];
+ * @param arrayoptional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\Scheduling|null
+ */
+ public function getScheduling()
+ {
+ return $this->scheduling;
+ }
+
+ public function hasScheduling()
+ {
+ return isset($this->scheduling);
+ }
+
+ public function clearScheduling()
+ {
+ unset($this->scheduling);
+ }
+
+ /**
+ * Optional. Sets the scheduling options for this instance.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Scheduling scheduling = 23 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\Scheduling $var
+ * @return $this
+ */
+ public function setScheduling($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Scheduling::class);
+ $this->scheduling = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A list of service accounts, with their specified scopes,
+ * authorized for this instance. Only one service account per VM instance is
+ * supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getServiceAccounts()
+ {
+ return $this->service_accounts;
+ }
+
+ /**
+ * Optional. A list of service accounts, with their specified scopes,
+ * authorized for this instance. Only one service account per VM instance is
+ * supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.ServiceAccount service_accounts = 24 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array<\Google\Cloud\BackupDR\V1\ServiceAccount>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setServiceAccounts($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\ServiceAccount::class);
+ $this->service_accounts = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Tags to apply to this instance. Tags are used to identify valid
+ * sources or targets for network firewalls and are specified by the client
+ * during instance creation.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\BackupDR\V1\Tags|null
+ */
+ public function getTags()
+ {
+ return $this->tags;
+ }
+
+ public function hasTags()
+ {
+ return isset($this->tags);
+ }
+
+ public function clearTags()
+ {
+ unset($this->tags);
+ }
+
+ /**
+ * Optional. Tags to apply to this instance. Tags are used to identify valid
+ * sources or targets for network firewalls and are specified by the client
+ * during instance creation.
+ *
+ * Generated from protobuf field optional .google.cloud.backupdr.v1.Tags tags = 26 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\BackupDR\V1\Tags $var
+ * @return $this
+ */
+ public function setTags($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\Tags::class);
+ $this->tags = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceRestoreProperties/InstancePrivateIpv6GoogleAccess.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceRestoreProperties/InstancePrivateIpv6GoogleAccess.php
new file mode 100644
index 000000000000..8c0f3a4e5c74
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceRestoreProperties/InstancePrivateIpv6GoogleAccess.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.ComputeInstanceRestoreProperties.InstancePrivateIpv6GoogleAccess
+ */
+class InstancePrivateIpv6GoogleAccess
+{
+ /**
+ * Default value. This value is unused.
+ *
+ * Generated from protobuf enum INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
+ */
+ const INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
+ /**
+ * Each network interface inherits PrivateIpv6GoogleAccess from its
+ * subnetwork.
+ *
+ * Generated from protobuf enum INHERIT_FROM_SUBNETWORK = 1;
+ */
+ const INHERIT_FROM_SUBNETWORK = 1;
+ /**
+ * Outbound private IPv6 access from VMs in this subnet to Google services.
+ * If specified, the subnetwork who is attached to the instance's default
+ * network interface will be assigned an internal IPv6 prefix if it doesn't
+ * have before.
+ *
+ * Generated from protobuf enum ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 2;
+ */
+ const ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE = 2;
+ /**
+ * Bidirectional private IPv6 access to/from Google services. If
+ * specified, the subnetwork who is attached to the instance's default
+ * network interface will be assigned an internal IPv6 prefix if it doesn't
+ * have before.
+ *
+ * Generated from protobuf enum ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 3;
+ */
+ const ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE = 3;
+
+ private static $valueToName = [
+ self::INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED => 'INSTANCE_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED',
+ self::INHERIT_FROM_SUBNETWORK => 'INHERIT_FROM_SUBNETWORK',
+ self::ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE => 'ENABLE_OUTBOUND_VM_ACCESS_TO_GOOGLE',
+ self::ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE => 'ENABLE_BIDIRECTIONAL_ACCESS_TO_GOOGLE',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(InstancePrivateIpv6GoogleAccess::class, \Google\Cloud\BackupDR\V1\ComputeInstanceRestoreProperties_InstancePrivateIpv6GoogleAccess::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceTargetEnvironment.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceTargetEnvironment.php
new file mode 100644
index 000000000000..6251eea36937
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ComputeInstanceTargetEnvironment.php
@@ -0,0 +1,102 @@
+google.cloud.backupdr.v1.ComputeInstanceTargetEnvironment
+ */
+class ComputeInstanceTargetEnvironment extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Target project for the Compute Engine instance.
+ *
+ * Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $project = '';
+ /**
+ * Required. The zone of the Compute Engine instance.
+ *
+ * Generated from protobuf field string zone = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $zone = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $project
+ * Required. Target project for the Compute Engine instance.
+ * @type string $zone
+ * Required. The zone of the Compute Engine instance.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Target project for the Compute Engine instance.
+ *
+ * Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * Required. Target project for the Compute Engine instance.
+ *
+ * Generated from protobuf field string project = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The zone of the Compute Engine instance.
+ *
+ * Generated from protobuf field string zone = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getZone()
+ {
+ return $this->zone;
+ }
+
+ /**
+ * Required. The zone of the Compute Engine instance.
+ *
+ * Generated from protobuf field string zone = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setZone($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->zone = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ConfidentialInstanceConfig.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ConfidentialInstanceConfig.php
new file mode 100644
index 000000000000..276f5b0eaf46
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/ConfidentialInstanceConfig.php
@@ -0,0 +1,81 @@
+google.cloud.backupdr.v1.ConfidentialInstanceConfig
+ */
+class ConfidentialInstanceConfig extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Defines whether the instance should have confidential compute
+ * enabled.
+ *
+ * Generated from protobuf field optional bool enable_confidential_compute = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_confidential_compute = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $enable_confidential_compute
+ * Optional. Defines whether the instance should have confidential compute
+ * enabled.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Defines whether the instance should have confidential compute
+ * enabled.
+ *
+ * Generated from protobuf field optional bool enable_confidential_compute = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableConfidentialCompute()
+ {
+ return isset($this->enable_confidential_compute) ? $this->enable_confidential_compute : false;
+ }
+
+ public function hasEnableConfidentialCompute()
+ {
+ return isset($this->enable_confidential_compute);
+ }
+
+ public function clearEnableConfidentialCompute()
+ {
+ unset($this->enable_confidential_compute);
+ }
+
+ /**
+ * Optional. Defines whether the instance should have confidential compute
+ * enabled.
+ *
+ * Generated from protobuf field optional bool enable_confidential_compute = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableConfidentialCompute($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_confidential_compute = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupPlanAssociationRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupPlanAssociationRequest.php
new file mode 100644
index 000000000000..9462d6101471
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupPlanAssociationRequest.php
@@ -0,0 +1,252 @@
+google.cloud.backupdr.v1.CreateBackupPlanAssociationRequest
+ */
+class CreateBackupPlanAssociationRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The backup plan association project and location in the format
+ * `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The name of the backup plan association to create. The name must
+ * be unique for the specified project and location.
+ *
+ * Generated from protobuf field string backup_plan_association_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_plan_association_id = '';
+ /**
+ * Required. The resource being created
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_plan_association = null;
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $parent Required. The backup plan association project and location in the format
+ * `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**. Please see
+ * {@see BackupDRClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\BackupDR\V1\BackupPlanAssociation $backupPlanAssociation Required. The resource being created
+ * @param string $backupPlanAssociationId Required. The name of the backup plan association to create. The name must
+ * be unique for the specified project and location.
+ *
+ * @return \Google\Cloud\BackupDR\V1\CreateBackupPlanAssociationRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\BackupDR\V1\BackupPlanAssociation $backupPlanAssociation, string $backupPlanAssociationId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setBackupPlanAssociation($backupPlanAssociation)
+ ->setBackupPlanAssociationId($backupPlanAssociationId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The backup plan association project and location in the format
+ * `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ * @type string $backup_plan_association_id
+ * Required. The name of the backup plan association to create. The name must
+ * be unique for the specified project and location.
+ * @type \Google\Cloud\BackupDR\V1\BackupPlanAssociation $backup_plan_association
+ * Required. The resource being created
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplanassociation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The backup plan association project and location in the format
+ * `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The backup plan association project and location in the format
+ * `projects/{project_id}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the backup plan association to create. The name must
+ * be unique for the specified project and location.
+ *
+ * Generated from protobuf field string backup_plan_association_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getBackupPlanAssociationId()
+ {
+ return $this->backup_plan_association_id;
+ }
+
+ /**
+ * Required. The name of the backup plan association to create. The name must
+ * be unique for the specified project and location.
+ *
+ * Generated from protobuf field string backup_plan_association_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlanAssociationId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan_association_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The resource being created
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\BackupDR\V1\BackupPlanAssociation|null
+ */
+ public function getBackupPlanAssociation()
+ {
+ return $this->backup_plan_association;
+ }
+
+ public function hasBackupPlanAssociation()
+ {
+ return isset($this->backup_plan_association);
+ }
+
+ public function clearBackupPlanAssociation()
+ {
+ unset($this->backup_plan_association);
+ }
+
+ /**
+ * Required. The resource being created
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlanAssociation backup_plan_association = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\BackupDR\V1\BackupPlanAssociation $var
+ * @return $this
+ */
+ public function setBackupPlanAssociation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupPlanAssociation::class);
+ $this->backup_plan_association = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupPlanRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupPlanRequest.php
new file mode 100644
index 000000000000..f4eeb674fb1f
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupPlanRequest.php
@@ -0,0 +1,262 @@
+google.cloud.backupdr.v1.CreateBackupPlanRequest
+ */
+class CreateBackupPlanRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The `BackupPlan` project and location in the format
+ * `projects/{project}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The name of the `BackupPlan` to create. The name must be unique
+ * for the specified project and location.The name must start with a lowercase
+ * letter followed by up to 62 lowercase letters, numbers, or hyphens.
+ * Pattern, /[a-z][a-z0-9-]{,62}/.
+ *
+ * Generated from protobuf field string backup_plan_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_plan_id = '';
+ /**
+ * Required. The `BackupPlan` resource object to create.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlan backup_plan = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_plan = null;
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $parent Required. The `BackupPlan` project and location in the format
+ * `projects/{project}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**. Please see
+ * {@see BackupDRClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\BackupDR\V1\BackupPlan $backupPlan Required. The `BackupPlan` resource object to create.
+ * @param string $backupPlanId Required. The name of the `BackupPlan` to create. The name must be unique
+ * for the specified project and location.The name must start with a lowercase
+ * letter followed by up to 62 lowercase letters, numbers, or hyphens.
+ * Pattern, /[a-z][a-z0-9-]{,62}/.
+ *
+ * @return \Google\Cloud\BackupDR\V1\CreateBackupPlanRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\BackupDR\V1\BackupPlan $backupPlan, string $backupPlanId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setBackupPlan($backupPlan)
+ ->setBackupPlanId($backupPlanId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The `BackupPlan` project and location in the format
+ * `projects/{project}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ * @type string $backup_plan_id
+ * Required. The name of the `BackupPlan` to create. The name must be unique
+ * for the specified project and location.The name must start with a lowercase
+ * letter followed by up to 62 lowercase letters, numbers, or hyphens.
+ * Pattern, /[a-z][a-z0-9-]{,62}/.
+ * @type \Google\Cloud\BackupDR\V1\BackupPlan $backup_plan
+ * Required. The `BackupPlan` resource object to create.
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplan::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The `BackupPlan` project and location in the format
+ * `projects/{project}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The `BackupPlan` project and location in the format
+ * `projects/{project}/locations/{location}`. In Cloud BackupDR locations
+ * map to GCP regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the `BackupPlan` to create. The name must be unique
+ * for the specified project and location.The name must start with a lowercase
+ * letter followed by up to 62 lowercase letters, numbers, or hyphens.
+ * Pattern, /[a-z][a-z0-9-]{,62}/.
+ *
+ * Generated from protobuf field string backup_plan_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getBackupPlanId()
+ {
+ return $this->backup_plan_id;
+ }
+
+ /**
+ * Required. The name of the `BackupPlan` to create. The name must be unique
+ * for the specified project and location.The name must start with a lowercase
+ * letter followed by up to 62 lowercase letters, numbers, or hyphens.
+ * Pattern, /[a-z][a-z0-9-]{,62}/.
+ *
+ * Generated from protobuf field string backup_plan_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlanId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The `BackupPlan` resource object to create.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlan backup_plan = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\BackupDR\V1\BackupPlan|null
+ */
+ public function getBackupPlan()
+ {
+ return $this->backup_plan;
+ }
+
+ public function hasBackupPlan()
+ {
+ return isset($this->backup_plan);
+ }
+
+ public function clearBackupPlan()
+ {
+ unset($this->backup_plan);
+ }
+
+ /**
+ * Required. The `BackupPlan` resource object to create.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupPlan backup_plan = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\BackupDR\V1\BackupPlan $var
+ * @return $this
+ */
+ public function setBackupPlan($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupPlan::class);
+ $this->backup_plan = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and t
+ * he request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupVaultRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupVaultRequest.php
new file mode 100644
index 000000000000..39269b8ee810
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateBackupVaultRequest.php
@@ -0,0 +1,285 @@
+google.cloud.backupdr.v1.CreateBackupVaultRequest
+ */
+class CreateBackupVaultRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Value for parent.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. ID of the requesting object
+ * If auto-generating ID server-side, remove this field and
+ * backup_vault_id from the method_signature of Create RPC
+ *
+ * Generated from protobuf field string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_vault_id = '';
+ /**
+ * Required. The resource being created
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $backup_vault = null;
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+ /**
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ *
+ * Generated from protobuf field bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $validate_only = false;
+
+ /**
+ * @param string $parent Required. Value for parent. Please see
+ * {@see BackupDRClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\BackupDR\V1\BackupVault $backupVault Required. The resource being created
+ * @param string $backupVaultId Required. ID of the requesting object
+ * If auto-generating ID server-side, remove this field and
+ * backup_vault_id from the method_signature of Create RPC
+ *
+ * @return \Google\Cloud\BackupDR\V1\CreateBackupVaultRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\BackupDR\V1\BackupVault $backupVault, string $backupVaultId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setBackupVault($backupVault)
+ ->setBackupVaultId($backupVaultId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Value for parent.
+ * @type string $backup_vault_id
+ * Required. ID of the requesting object
+ * If auto-generating ID server-side, remove this field and
+ * backup_vault_id from the method_signature of Create RPC
+ * @type \Google\Cloud\BackupDR\V1\BackupVault $backup_vault
+ * Required. The resource being created
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * @type bool $validate_only
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Value for parent.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Value for parent.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. ID of the requesting object
+ * If auto-generating ID server-side, remove this field and
+ * backup_vault_id from the method_signature of Create RPC
+ *
+ * Generated from protobuf field string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getBackupVaultId()
+ {
+ return $this->backup_vault_id;
+ }
+
+ /**
+ * Required. ID of the requesting object
+ * If auto-generating ID server-side, remove this field and
+ * backup_vault_id from the method_signature of Create RPC
+ *
+ * Generated from protobuf field string backup_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupVaultId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_vault_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The resource being created
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\BackupDR\V1\BackupVault|null
+ */
+ public function getBackupVault()
+ {
+ return $this->backup_vault;
+ }
+
+ public function hasBackupVault()
+ {
+ return isset($this->backup_vault);
+ }
+
+ public function clearBackupVault()
+ {
+ unset($this->backup_vault);
+ }
+
+ /**
+ * Required. The resource being created
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupVault backup_vault = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\BackupDR\V1\BackupVault $var
+ * @return $this
+ */
+ public function setBackupVault($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupVault::class);
+ $this->backup_vault = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ *
+ * Generated from protobuf field bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ *
+ * Generated from protobuf field bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateManagementServerRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateManagementServerRequest.php
new file mode 100644
index 000000000000..a1eb23931ba0
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CreateManagementServerRequest.php
@@ -0,0 +1,257 @@
+google.cloud.backupdr.v1.CreateManagementServerRequest
+ */
+class CreateManagementServerRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The management server project and location in the format
+ * 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR
+ * locations map to Google Cloud regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Required. The name of the management server to create. The name must be
+ * unique for the specified project and location.
+ *
+ * Generated from protobuf field string management_server_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $management_server_id = '';
+ /**
+ * Required. A [management server
+ * resource][google.cloud.backupdr.v1.ManagementServer]
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ManagementServer management_server = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $management_server = null;
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $parent Required. The management server project and location in the format
+ * 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR
+ * locations map to Google Cloud regions, for example **us-central1**. Please see
+ * {@see BackupDRClient::locationName()} for help formatting this field.
+ * @param \Google\Cloud\BackupDR\V1\ManagementServer $managementServer Required. A [management server
+ * resource][google.cloud.backupdr.v1.ManagementServer]
+ * @param string $managementServerId Required. The name of the management server to create. The name must be
+ * unique for the specified project and location.
+ *
+ * @return \Google\Cloud\BackupDR\V1\CreateManagementServerRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent, \Google\Cloud\BackupDR\V1\ManagementServer $managementServer, string $managementServerId): self
+ {
+ return (new self())
+ ->setParent($parent)
+ ->setManagementServer($managementServer)
+ ->setManagementServerId($managementServerId);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The management server project and location in the format
+ * 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR
+ * locations map to Google Cloud regions, for example **us-central1**.
+ * @type string $management_server_id
+ * Required. The name of the management server to create. The name must be
+ * unique for the specified project and location.
+ * @type \Google\Cloud\BackupDR\V1\ManagementServer $management_server
+ * Required. A [management server
+ * resource][google.cloud.backupdr.v1.ManagementServer]
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupdr::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The management server project and location in the format
+ * 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR
+ * locations map to Google Cloud regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The management server project and location in the format
+ * 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR
+ * locations map to Google Cloud regions, for example **us-central1**.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The name of the management server to create. The name must be
+ * unique for the specified project and location.
+ *
+ * Generated from protobuf field string management_server_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getManagementServerId()
+ {
+ return $this->management_server_id;
+ }
+
+ /**
+ * Required. The name of the management server to create. The name must be
+ * unique for the specified project and location.
+ *
+ * Generated from protobuf field string management_server_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setManagementServerId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->management_server_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. A [management server
+ * resource][google.cloud.backupdr.v1.ManagementServer]
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ManagementServer management_server = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Cloud\BackupDR\V1\ManagementServer|null
+ */
+ public function getManagementServer()
+ {
+ return $this->management_server;
+ }
+
+ public function hasManagementServer()
+ {
+ return isset($this->management_server);
+ }
+
+ public function clearManagementServer()
+ {
+ unset($this->management_server);
+ }
+
+ /**
+ * Required. A [management server
+ * resource][google.cloud.backupdr.v1.ManagementServer]
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ManagementServer management_server = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Cloud\BackupDR\V1\ManagementServer $var
+ * @return $this
+ */
+ public function setManagementServer($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\ManagementServer::class);
+ $this->management_server = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes since the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CustomerEncryptionKey.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CustomerEncryptionKey.php
new file mode 100644
index 000000000000..da28ac0861a8
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/CustomerEncryptionKey.php
@@ -0,0 +1,205 @@
+google.cloud.backupdr.v1.CustomerEncryptionKey
+ */
+class CustomerEncryptionKey extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. The service account being used for the encryption request for the
+ * given KMS key. If absent, the Compute Engine default service account is
+ * used.
+ *
+ * Generated from protobuf field optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $kms_key_service_account = null;
+ protected $key;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $raw_key
+ * Optional. Specifies a 256-bit customer-supplied
+ * encryption key.
+ * @type string $rsa_encrypted_key
+ * Optional. RSA-wrapped 2048-bit
+ * customer-supplied encryption key to either encrypt or decrypt this
+ * resource.
+ * @type string $kms_key_name
+ * Optional. The name of the encryption key that is stored in Google Cloud
+ * KMS.
+ * @type string $kms_key_service_account
+ * Optional. The service account being used for the encryption request for the
+ * given KMS key. If absent, the Compute Engine default service account is
+ * used.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Specifies a 256-bit customer-supplied
+ * encryption key.
+ *
+ * Generated from protobuf field string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getRawKey()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasRawKey()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Optional. Specifies a 256-bit customer-supplied
+ * encryption key.
+ *
+ * Generated from protobuf field string raw_key = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setRawKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. RSA-wrapped 2048-bit
+ * customer-supplied encryption key to either encrypt or decrypt this
+ * resource.
+ *
+ * Generated from protobuf field string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getRsaEncryptedKey()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasRsaEncryptedKey()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * Optional. RSA-wrapped 2048-bit
+ * customer-supplied encryption key to either encrypt or decrypt this
+ * resource.
+ *
+ * Generated from protobuf field string rsa_encrypted_key = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setRsaEncryptedKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. The name of the encryption key that is stored in Google Cloud
+ * KMS.
+ *
+ * Generated from protobuf field string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getKmsKeyName()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasKmsKeyName()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Optional. The name of the encryption key that is stored in Google Cloud
+ * KMS.
+ *
+ * Generated from protobuf field string kms_key_name = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setKmsKeyName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. The service account being used for the encryption request for the
+ * given KMS key. If absent, the Compute Engine default service account is
+ * used.
+ *
+ * Generated from protobuf field optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getKmsKeyServiceAccount()
+ {
+ return isset($this->kms_key_service_account) ? $this->kms_key_service_account : '';
+ }
+
+ public function hasKmsKeyServiceAccount()
+ {
+ return isset($this->kms_key_service_account);
+ }
+
+ public function clearKmsKeyServiceAccount()
+ {
+ unset($this->kms_key_service_account);
+ }
+
+ /**
+ * Optional. The service account being used for the encryption request for the
+ * given KMS key. If absent, the Compute Engine default service account is
+ * used.
+ *
+ * Generated from protobuf field optional string kms_key_service_account = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setKmsKeyServiceAccount($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->kms_key_service_account = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->whichOneof("key");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSource.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSource.php
new file mode 100644
index 000000000000..5522ae4f3952
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSource.php
@@ -0,0 +1,543 @@
+google.cloud.backupdr.v1.DataSource
+ */
+class DataSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Identifier. Name of the datasource to create.
+ * It must have the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
+ * `{datasource}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the backup vault.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ */
+ protected $name = '';
+ /**
+ * Output only. The DataSource resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSource.State state = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $state = 0;
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ *
+ * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $labels;
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $create_time = null;
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $update_time = null;
+ /**
+ * Number of backups in the data source.
+ *
+ * Generated from protobuf field optional int64 backup_count = 7;
+ */
+ protected $backup_count = null;
+ /**
+ * Server specified ETag for the ManagementServer resource to prevent
+ * simultaneous updates from overwiting each other.
+ *
+ * Generated from protobuf field optional string etag = 14;
+ */
+ protected $etag = null;
+ /**
+ * The number of bytes (metadata and data) stored in this datasource.
+ *
+ * Generated from protobuf field optional int64 total_stored_bytes = 23;
+ */
+ protected $total_stored_bytes = null;
+ /**
+ * Output only. The backup configuration state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigState config_state = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $config_state = 0;
+ /**
+ * Output only. Details of how the resource is configured for backup.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigInfo backup_config_info = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $backup_config_info = null;
+ protected $source_resource;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Identifier. Name of the datasource to create.
+ * It must have the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
+ * `{datasource}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the backup vault.
+ * @type int $state
+ * Output only. The DataSource resource instance state.
+ * @type array|\Google\Protobuf\Internal\MapField $labels
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. The time when the instance was created.
+ * @type \Google\Protobuf\Timestamp $update_time
+ * Output only. The time when the instance was updated.
+ * @type int|string $backup_count
+ * Number of backups in the data source.
+ * @type string $etag
+ * Server specified ETag for the ManagementServer resource to prevent
+ * simultaneous updates from overwiting each other.
+ * @type int|string $total_stored_bytes
+ * The number of bytes (metadata and data) stored in this datasource.
+ * @type int $config_state
+ * Output only. The backup configuration state.
+ * @type \Google\Cloud\BackupDR\V1\BackupConfigInfo $backup_config_info
+ * Output only. Details of how the resource is configured for backup.
+ * @type \Google\Cloud\BackupDR\V1\DataSourceGcpResource $data_source_gcp_resource
+ * The backed up resource is a Google Cloud resource.
+ * The word 'DataSource' was included in the names to indicate that this is
+ * the representation of the Google Cloud resource used within the
+ * DataSource object.
+ * @type \Google\Cloud\BackupDR\V1\DataSourceBackupApplianceApplication $data_source_backup_appliance_application
+ * The backed up resource is a backup appliance application.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Identifier. Name of the datasource to create.
+ * It must have the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
+ * `{datasource}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the backup vault.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Identifier. Name of the datasource to create.
+ * It must have the
+ * format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`.
+ * `{datasource}` cannot be changed after creation. It must be between 3-63
+ * characters long and must be unique within the backup vault.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The DataSource resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSource.State state = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getState()
+ {
+ return $this->state;
+ }
+
+ /**
+ * Output only. The DataSource resource instance state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSource.State state = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\DataSource\State::class);
+ $this->state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ *
+ * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Protobuf\Internal\MapField
+ */
+ public function getLabels()
+ {
+ return $this->labels;
+ }
+
+ /**
+ * Optional. Resource labels to represent user provided metadata.
+ * No labels currently defined:
+ *
+ * Generated from protobuf field map labels = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param array|\Google\Protobuf\Internal\MapField $var
+ * @return $this
+ */
+ public function setLabels($var)
+ {
+ $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->labels = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. The time when the instance was created.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getUpdateTime()
+ {
+ return $this->update_time;
+ }
+
+ public function hasUpdateTime()
+ {
+ return isset($this->update_time);
+ }
+
+ public function clearUpdateTime()
+ {
+ unset($this->update_time);
+ }
+
+ /**
+ * Output only. The time when the instance was updated.
+ *
+ * Generated from protobuf field optional .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setUpdateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->update_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * Number of backups in the data source.
+ *
+ * Generated from protobuf field optional int64 backup_count = 7;
+ * @return int|string
+ */
+ public function getBackupCount()
+ {
+ return isset($this->backup_count) ? $this->backup_count : 0;
+ }
+
+ public function hasBackupCount()
+ {
+ return isset($this->backup_count);
+ }
+
+ public function clearBackupCount()
+ {
+ unset($this->backup_count);
+ }
+
+ /**
+ * Number of backups in the data source.
+ *
+ * Generated from protobuf field optional int64 backup_count = 7;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setBackupCount($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->backup_count = $var;
+
+ return $this;
+ }
+
+ /**
+ * Server specified ETag for the ManagementServer resource to prevent
+ * simultaneous updates from overwiting each other.
+ *
+ * Generated from protobuf field optional string etag = 14;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return isset($this->etag) ? $this->etag : '';
+ }
+
+ public function hasEtag()
+ {
+ return isset($this->etag);
+ }
+
+ public function clearEtag()
+ {
+ unset($this->etag);
+ }
+
+ /**
+ * Server specified ETag for the ManagementServer resource to prevent
+ * simultaneous updates from overwiting each other.
+ *
+ * Generated from protobuf field optional string etag = 14;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * The number of bytes (metadata and data) stored in this datasource.
+ *
+ * Generated from protobuf field optional int64 total_stored_bytes = 23;
+ * @return int|string
+ */
+ public function getTotalStoredBytes()
+ {
+ return isset($this->total_stored_bytes) ? $this->total_stored_bytes : 0;
+ }
+
+ public function hasTotalStoredBytes()
+ {
+ return isset($this->total_stored_bytes);
+ }
+
+ public function clearTotalStoredBytes()
+ {
+ unset($this->total_stored_bytes);
+ }
+
+ /**
+ * The number of bytes (metadata and data) stored in this datasource.
+ *
+ * Generated from protobuf field optional int64 total_stored_bytes = 23;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setTotalStoredBytes($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->total_stored_bytes = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The backup configuration state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigState config_state = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getConfigState()
+ {
+ return $this->config_state;
+ }
+
+ /**
+ * Output only. The backup configuration state.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigState config_state = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setConfigState($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\BackupDR\V1\BackupConfigState::class);
+ $this->config_state = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Details of how the resource is configured for backup.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigInfo backup_config_info = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\BackupDR\V1\BackupConfigInfo|null
+ */
+ public function getBackupConfigInfo()
+ {
+ return $this->backup_config_info;
+ }
+
+ public function hasBackupConfigInfo()
+ {
+ return isset($this->backup_config_info);
+ }
+
+ public function clearBackupConfigInfo()
+ {
+ unset($this->backup_config_info);
+ }
+
+ /**
+ * Output only. Details of how the resource is configured for backup.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.BackupConfigInfo backup_config_info = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\BackupDR\V1\BackupConfigInfo $var
+ * @return $this
+ */
+ public function setBackupConfigInfo($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\BackupConfigInfo::class);
+ $this->backup_config_info = $var;
+
+ return $this;
+ }
+
+ /**
+ * The backed up resource is a Google Cloud resource.
+ * The word 'DataSource' was included in the names to indicate that this is
+ * the representation of the Google Cloud resource used within the
+ * DataSource object.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSourceGcpResource data_source_gcp_resource = 26;
+ * @return \Google\Cloud\BackupDR\V1\DataSourceGcpResource|null
+ */
+ public function getDataSourceGcpResource()
+ {
+ return $this->readOneof(26);
+ }
+
+ public function hasDataSourceGcpResource()
+ {
+ return $this->hasOneof(26);
+ }
+
+ /**
+ * The backed up resource is a Google Cloud resource.
+ * The word 'DataSource' was included in the names to indicate that this is
+ * the representation of the Google Cloud resource used within the
+ * DataSource object.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSourceGcpResource data_source_gcp_resource = 26;
+ * @param \Google\Cloud\BackupDR\V1\DataSourceGcpResource $var
+ * @return $this
+ */
+ public function setDataSourceGcpResource($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\DataSourceGcpResource::class);
+ $this->writeOneof(26, $var);
+
+ return $this;
+ }
+
+ /**
+ * The backed up resource is a backup appliance application.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSourceBackupApplianceApplication data_source_backup_appliance_application = 27;
+ * @return \Google\Cloud\BackupDR\V1\DataSourceBackupApplianceApplication|null
+ */
+ public function getDataSourceBackupApplianceApplication()
+ {
+ return $this->readOneof(27);
+ }
+
+ public function hasDataSourceBackupApplianceApplication()
+ {
+ return $this->hasOneof(27);
+ }
+
+ /**
+ * The backed up resource is a backup appliance application.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.DataSourceBackupApplianceApplication data_source_backup_appliance_application = 27;
+ * @param \Google\Cloud\BackupDR\V1\DataSourceBackupApplianceApplication $var
+ * @return $this
+ */
+ public function setDataSourceBackupApplianceApplication($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\DataSourceBackupApplianceApplication::class);
+ $this->writeOneof(27, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSourceResource()
+ {
+ return $this->whichOneof("source_resource");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSource/State.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSource/State.php
new file mode 100644
index 000000000000..3cec4aa57249
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSource/State.php
@@ -0,0 +1,78 @@
+google.cloud.backupdr.v1.DataSource.State
+ */
+class State
+{
+ /**
+ * State not set.
+ *
+ * Generated from protobuf enum STATE_UNSPECIFIED = 0;
+ */
+ const STATE_UNSPECIFIED = 0;
+ /**
+ * The data source is being created.
+ *
+ * Generated from protobuf enum CREATING = 1;
+ */
+ const CREATING = 1;
+ /**
+ * The data source has been created and is fully usable.
+ *
+ * Generated from protobuf enum ACTIVE = 2;
+ */
+ const ACTIVE = 2;
+ /**
+ * The data source is being deleted.
+ *
+ * Generated from protobuf enum DELETING = 3;
+ */
+ const DELETING = 3;
+ /**
+ * The data source is experiencing an issue and might be unusable.
+ *
+ * Generated from protobuf enum ERROR = 4;
+ */
+ const ERROR = 4;
+
+ private static $valueToName = [
+ self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED',
+ self::CREATING => 'CREATING',
+ self::ACTIVE => 'ACTIVE',
+ self::DELETING => 'DELETING',
+ self::ERROR => 'ERROR',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(State::class, \Google\Cloud\BackupDR\V1\DataSource_State::class);
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSourceBackupApplianceApplication.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSourceBackupApplianceApplication.php
new file mode 100644
index 000000000000..07e5a34b90f2
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSourceBackupApplianceApplication.php
@@ -0,0 +1,272 @@
+google.cloud.backupdr.v1.DataSourceBackupApplianceApplication
+ */
+class DataSourceBackupApplianceApplication extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The name of the Application as known to the Backup Appliance.
+ *
+ * Generated from protobuf field string application_name = 1;
+ */
+ protected $application_name = '';
+ /**
+ * Appliance name.
+ *
+ * Generated from protobuf field string backup_appliance = 2;
+ */
+ protected $backup_appliance = '';
+ /**
+ * Appliance Id of the Backup Appliance.
+ *
+ * Generated from protobuf field int64 appliance_id = 3;
+ */
+ protected $appliance_id = 0;
+ /**
+ * The type of the application. e.g. VMBackup
+ *
+ * Generated from protobuf field string type = 4;
+ */
+ protected $type = '';
+ /**
+ * The appid field of the application within the Backup Appliance.
+ *
+ * Generated from protobuf field int64 application_id = 8;
+ */
+ protected $application_id = 0;
+ /**
+ * Hostname of the host where the application is running.
+ *
+ * Generated from protobuf field string hostname = 6;
+ */
+ protected $hostname = '';
+ /**
+ * Hostid of the application host.
+ *
+ * Generated from protobuf field int64 host_id = 7;
+ */
+ protected $host_id = 0;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $application_name
+ * The name of the Application as known to the Backup Appliance.
+ * @type string $backup_appliance
+ * Appliance name.
+ * @type int|string $appliance_id
+ * Appliance Id of the Backup Appliance.
+ * @type string $type
+ * The type of the application. e.g. VMBackup
+ * @type int|string $application_id
+ * The appid field of the application within the Backup Appliance.
+ * @type string $hostname
+ * Hostname of the host where the application is running.
+ * @type int|string $host_id
+ * Hostid of the application host.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The name of the Application as known to the Backup Appliance.
+ *
+ * Generated from protobuf field string application_name = 1;
+ * @return string
+ */
+ public function getApplicationName()
+ {
+ return $this->application_name;
+ }
+
+ /**
+ * The name of the Application as known to the Backup Appliance.
+ *
+ * Generated from protobuf field string application_name = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setApplicationName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->application_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Appliance name.
+ *
+ * Generated from protobuf field string backup_appliance = 2;
+ * @return string
+ */
+ public function getBackupAppliance()
+ {
+ return $this->backup_appliance;
+ }
+
+ /**
+ * Appliance name.
+ *
+ * Generated from protobuf field string backup_appliance = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupAppliance($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_appliance = $var;
+
+ return $this;
+ }
+
+ /**
+ * Appliance Id of the Backup Appliance.
+ *
+ * Generated from protobuf field int64 appliance_id = 3;
+ * @return int|string
+ */
+ public function getApplianceId()
+ {
+ return $this->appliance_id;
+ }
+
+ /**
+ * Appliance Id of the Backup Appliance.
+ *
+ * Generated from protobuf field int64 appliance_id = 3;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setApplianceId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->appliance_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of the application. e.g. VMBackup
+ *
+ * Generated from protobuf field string type = 4;
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * The type of the application. e.g. VMBackup
+ *
+ * Generated from protobuf field string type = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * The appid field of the application within the Backup Appliance.
+ *
+ * Generated from protobuf field int64 application_id = 8;
+ * @return int|string
+ */
+ public function getApplicationId()
+ {
+ return $this->application_id;
+ }
+
+ /**
+ * The appid field of the application within the Backup Appliance.
+ *
+ * Generated from protobuf field int64 application_id = 8;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setApplicationId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->application_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Hostname of the host where the application is running.
+ *
+ * Generated from protobuf field string hostname = 6;
+ * @return string
+ */
+ public function getHostname()
+ {
+ return $this->hostname;
+ }
+
+ /**
+ * Hostname of the host where the application is running.
+ *
+ * Generated from protobuf field string hostname = 6;
+ * @param string $var
+ * @return $this
+ */
+ public function setHostname($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->hostname = $var;
+
+ return $this;
+ }
+
+ /**
+ * Hostid of the application host.
+ *
+ * Generated from protobuf field int64 host_id = 7;
+ * @return int|string
+ */
+ public function getHostId()
+ {
+ return $this->host_id;
+ }
+
+ /**
+ * Hostid of the application host.
+ *
+ * Generated from protobuf field int64 host_id = 7;
+ * @param int|string $var
+ * @return $this
+ */
+ public function setHostId($var)
+ {
+ GPBUtil::checkInt64($var);
+ $this->host_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSourceGcpResource.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSourceGcpResource.php
new file mode 100644
index 000000000000..dfd4a646d3ee
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DataSourceGcpResource.php
@@ -0,0 +1,190 @@
+google.cloud.backupdr.v1.DataSourceGcpResource
+ */
+class DataSourceGcpResource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Full resource pathname URL of the source Google Cloud
+ * resource.
+ *
+ * Generated from protobuf field string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $gcp_resourcename = '';
+ /**
+ * Location of the resource: string location = 2;
+ */
+ protected $location = '';
+ /**
+ * The type of the Google Cloud resource. Use the Unified Resource Type,
+ * eg. compute.googleapis.com/Instance.
+ *
+ * Generated from protobuf field string type = 3;
+ */
+ protected $type = '';
+ protected $gcp_resource_properties;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $gcp_resourcename
+ * Output only. Full resource pathname URL of the source Google Cloud
+ * resource.
+ * @type string $location
+ * Location of the resource: string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getGcpResourcename()
+ {
+ return $this->gcp_resourcename;
+ }
+
+ /**
+ * Output only. Full resource pathname URL of the source Google Cloud
+ * resource.
+ *
+ * Generated from protobuf field string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setGcpResourcename($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->gcp_resourcename = $var;
+
+ return $this;
+ }
+
+ /**
+ * Location of the resource: string location = 2;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * Location of the resource: string location = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setLocation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->location = $var;
+
+ return $this;
+ }
+
+ /**
+ * The type of the Google Cloud resource. Use the Unified Resource Type,
+ * eg. compute.googleapis.com/Instance.
+ *
+ * Generated from protobuf field string type = 3;
+ * @return string
+ */
+ public function getType()
+ {
+ return $this->type;
+ }
+
+ /**
+ * The type of the Google Cloud resource. Use the Unified Resource Type,
+ * eg. compute.googleapis.com/Instance.
+ *
+ * Generated from protobuf field string type = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->type = $var;
+
+ return $this;
+ }
+
+ /**
+ * ComputeInstanceDataSourceProperties has a subset of Compute Instance
+ * properties that are useful at the Datasource level.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
+ * @return \Google\Cloud\BackupDR\V1\ComputeInstanceDataSourceProperties|null
+ */
+ public function getComputeInstanceDatasourceProperties()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasComputeInstanceDatasourceProperties()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * ComputeInstanceDataSourceProperties has a subset of Compute Instance
+ * properties that are useful at the Datasource level.
+ *
+ * Generated from protobuf field .google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;
+ * @param \Google\Cloud\BackupDR\V1\ComputeInstanceDataSourceProperties $var
+ * @return $this
+ */
+ public function setComputeInstanceDatasourceProperties($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\BackupDR\V1\ComputeInstanceDataSourceProperties::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getGcpResourceProperties()
+ {
+ return $this->whichOneof("gcp_resource_properties");
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupPlanAssociationRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupPlanAssociationRequest.php
new file mode 100644
index 000000000000..d89d4149bfa5
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupPlanAssociationRequest.php
@@ -0,0 +1,160 @@
+google.cloud.backupdr.v1.DeleteBackupPlanAssociationRequest
+ */
+class DeleteBackupPlanAssociationRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the backup plan association resource, in the format
+ * `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $name Required. Name of the backup plan association resource, in the format
+ * `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
+ * Please see {@see BackupDRClient::backupPlanAssociationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\BackupDR\V1\DeleteBackupPlanAssociationRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the backup plan association resource, in the format
+ * `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplanassociation::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the backup plan association resource, in the format
+ * `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the backup plan association resource, in the format
+ * `projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupPlanRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupPlanRequest.php
new file mode 100644
index 000000000000..33d0f577a1de
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupPlanRequest.php
@@ -0,0 +1,161 @@
+google.cloud.backupdr.v1.DeleteBackupPlanRequest
+ */
+class DeleteBackupPlanRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The resource name of the `BackupPlan` to delete.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $name Required. The resource name of the `BackupPlan` to delete.
+ *
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ * Please see {@see BackupDRClient::backupPlanName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\BackupDR\V1\DeleteBackupPlanRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The resource name of the `BackupPlan` to delete.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupplan::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The resource name of the `BackupPlan` to delete.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The resource name of the `BackupPlan` to delete.
+ * Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupRequest.php
new file mode 100644
index 000000000000..d3b5a8223f9c
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupRequest.php
@@ -0,0 +1,155 @@
+google.cloud.backupdr.v1.DeleteBackupRequest
+ */
+class DeleteBackupRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the resource.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $name Required. Name of the resource. Please see
+ * {@see BackupDRClient::backupName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\BackupDR\V1\DeleteBackupRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the resource.
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the resource.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the resource.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupVaultRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupVaultRequest.php
new file mode 100644
index 000000000000..2408f02e4d27
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteBackupVaultRequest.php
@@ -0,0 +1,311 @@
+google.cloud.backupdr.v1.DeleteBackupVaultRequest
+ */
+class DeleteBackupVaultRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the resource.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ */
+ protected $request_id = '';
+ /**
+ * Optional. If set to true, any data source from this backup vault will also
+ * be deleted.
+ *
+ * Generated from protobuf field bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $force = false;
+ /**
+ * The current etag of the backup vault.
+ * If an etag is provided and does not match the current etag of the
+ * connection, deletion will be blocked.
+ *
+ * Generated from protobuf field string etag = 4;
+ */
+ protected $etag = '';
+ /**
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ *
+ * Generated from protobuf field bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $validate_only = false;
+ /**
+ * Optional. If true and the BackupVault is not found, the request will
+ * succeed but no action will be taken.
+ *
+ * Generated from protobuf field bool allow_missing = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $allow_missing = false;
+
+ /**
+ * @param string $name Required. Name of the resource. Please see
+ * {@see BackupDRClient::backupVaultName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\BackupDR\V1\DeleteBackupVaultRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the resource.
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * @type bool $force
+ * Optional. If set to true, any data source from this backup vault will also
+ * be deleted.
+ * @type string $etag
+ * The current etag of the backup vault.
+ * If an etag is provided and does not match the current etag of the
+ * connection, deletion will be blocked.
+ * @type bool $validate_only
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ * @type bool $allow_missing
+ * Optional. If true and the BackupVault is not found, the request will
+ * succeed but no action will be taken.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the resource.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the resource.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If set to true, any data source from this backup vault will also
+ * be deleted.
+ *
+ * Generated from protobuf field bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getForce()
+ {
+ return $this->force;
+ }
+
+ /**
+ * Optional. If set to true, any data source from this backup vault will also
+ * be deleted.
+ *
+ * Generated from protobuf field bool force = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setForce($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->force = $var;
+
+ return $this;
+ }
+
+ /**
+ * The current etag of the backup vault.
+ * If an etag is provided and does not match the current etag of the
+ * connection, deletion will be blocked.
+ *
+ * Generated from protobuf field string etag = 4;
+ * @return string
+ */
+ public function getEtag()
+ {
+ return $this->etag;
+ }
+
+ /**
+ * The current etag of the backup vault.
+ * If an etag is provided and does not match the current etag of the
+ * connection, deletion will be blocked.
+ *
+ * Generated from protobuf field string etag = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setEtag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->etag = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ *
+ * Generated from protobuf field bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getValidateOnly()
+ {
+ return $this->validate_only;
+ }
+
+ /**
+ * Optional. Only validate the request, but do not perform mutations.
+ * The default is 'false'.
+ *
+ * Generated from protobuf field bool validate_only = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setValidateOnly($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->validate_only = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true and the BackupVault is not found, the request will
+ * succeed but no action will be taken.
+ *
+ * Generated from protobuf field bool allow_missing = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getAllowMissing()
+ {
+ return $this->allow_missing;
+ }
+
+ /**
+ * Optional. If true and the BackupVault is not found, the request will
+ * succeed but no action will be taken.
+ *
+ * Generated from protobuf field bool allow_missing = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setAllowMissing($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->allow_missing = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteManagementServerRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteManagementServerRequest.php
new file mode 100644
index 000000000000..c8bc344f88f3
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DeleteManagementServerRequest.php
@@ -0,0 +1,155 @@
+google.cloud.backupdr.v1.DeleteManagementServerRequest
+ */
+class DeleteManagementServerRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Name of the resource
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $name = '';
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $request_id = '';
+
+ /**
+ * @param string $name Required. Name of the resource
+ * Please see {@see BackupDRClient::managementServerName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\BackupDR\V1\DeleteManagementServerRequest
+ *
+ * @experimental
+ */
+ public static function build(string $name): self
+ {
+ return (new self())
+ ->setName($name);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. Name of the resource
+ * @type string $request_id
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupdr::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Name of the resource
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. Name of the resource
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getRequestId()
+ {
+ return $this->request_id;
+ }
+
+ /**
+ * Optional. An optional request ID to identify requests. Specify a unique
+ * request ID so that if you must retry your request, the server will know to
+ * ignore the request if it has already been completed. The server will
+ * guarantee that for at least 60 minutes after the first request.
+ * For example, consider a situation where you make an initial request and
+ * the request times out. If you make the request again with the same request
+ * ID, the server can check if original operation with the same request ID
+ * was received, and if so, will ignore the second request. This prevents
+ * clients from accidentally creating duplicate commitments.
+ * The request ID must be a valid UUID with the exception that zero UUID is
+ * not supported (00000000-0000-0000-0000-000000000000).
+ *
+ * Generated from protobuf field string request_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DisplayDevice.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DisplayDevice.php
new file mode 100644
index 000000000000..fd3d2d33844d
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/DisplayDevice.php
@@ -0,0 +1,77 @@
+google.cloud.backupdr.v1.DisplayDevice
+ */
+class DisplayDevice extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Enables display for the Compute Engine VM
+ *
+ * Generated from protobuf field optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_display = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $enable_display
+ * Optional. Enables display for the Compute Engine VM
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Enables display for the Compute Engine VM
+ *
+ * Generated from protobuf field optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableDisplay()
+ {
+ return isset($this->enable_display) ? $this->enable_display : false;
+ }
+
+ public function hasEnableDisplay()
+ {
+ return isset($this->enable_display);
+ }
+
+ public function clearEnableDisplay()
+ {
+ unset($this->enable_display);
+ }
+
+ /**
+ * Optional. Enables display for the Compute Engine VM
+ *
+ * Generated from protobuf field optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableDisplay($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_display = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Entry.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Entry.php
new file mode 100644
index 000000000000..43f3558be810
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/Entry.php
@@ -0,0 +1,133 @@
+google.cloud.backupdr.v1.Entry
+ */
+class Entry extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Optional. Key for the metadata entry.
+ *
+ * Generated from protobuf field optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $key = null;
+ /**
+ * Optional. Value for the metadata entry. These are free-form strings, and
+ * only have meaning as interpreted by the image running in the instance. The
+ * only restriction placed on values is that their size must be less than
+ * or equal to 262144 bytes (256 KiB).
+ *
+ * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $value = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $key
+ * Optional. Key for the metadata entry.
+ * @type string $value
+ * Optional. Value for the metadata entry. These are free-form strings, and
+ * only have meaning as interpreted by the image running in the instance. The
+ * only restriction placed on values is that their size must be less than
+ * or equal to 262144 bytes (256 KiB).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\BackupvaultGce::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Optional. Key for the metadata entry.
+ *
+ * Generated from protobuf field optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getKey()
+ {
+ return isset($this->key) ? $this->key : '';
+ }
+
+ public function hasKey()
+ {
+ return isset($this->key);
+ }
+
+ public function clearKey()
+ {
+ unset($this->key);
+ }
+
+ /**
+ * Optional. Key for the metadata entry.
+ *
+ * Generated from protobuf field optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Value for the metadata entry. These are free-form strings, and
+ * only have meaning as interpreted by the image running in the instance. The
+ * only restriction placed on values is that their size must be less than
+ * or equal to 262144 bytes (256 KiB).
+ *
+ * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getValue()
+ {
+ return isset($this->value) ? $this->value : '';
+ }
+
+ public function hasValue()
+ {
+ return isset($this->value);
+ }
+
+ public function clearValue()
+ {
+ unset($this->value);
+ }
+
+ /**
+ * Optional. Value for the metadata entry. These are free-form strings, and
+ * only have meaning as interpreted by the image running in the instance. The
+ * only restriction placed on values is that their size must be less than
+ * or equal to 262144 bytes (256 KiB).
+ *
+ * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/FetchUsableBackupVaultsRequest.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/FetchUsableBackupVaultsRequest.php
new file mode 100644
index 000000000000..142606583a7a
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/FetchUsableBackupVaultsRequest.php
@@ -0,0 +1,246 @@
+google.cloud.backupdr.v1.FetchUsableBackupVaultsRequest
+ */
+class FetchUsableBackupVaultsRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The project and location for which to retrieve backupvault stores
+ * information, in the format 'projects/{project_id}/locations/{location}'. In
+ * Cloud Backup and DR, locations map to Google Cloud regions, for example
+ * **us-central1**.
+ * To retrieve backupvault stores for all locations, use "-" for the
+ * '{location}' value.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ protected $parent = '';
+ /**
+ * Optional. Requested page size. Server may return fewer items than
+ * requested. If unspecified, server will pick an appropriate default.
+ *
+ * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_size = 0;
+ /**
+ * Optional. A token identifying a page of results the server should return.
+ *
+ * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $page_token = '';
+ /**
+ * Optional. Filtering results.
+ *
+ * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $filter = '';
+ /**
+ * Optional. Hint for how to order the results.
+ *
+ * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $order_by = '';
+
+ /**
+ * @param string $parent Required. The project and location for which to retrieve backupvault stores
+ * information, in the format 'projects/{project_id}/locations/{location}'. In
+ * Cloud Backup and DR, locations map to Google Cloud regions, for example
+ * **us-central1**.
+ * To retrieve backupvault stores for all locations, use "-" for the
+ * '{location}' value. Please see
+ * {@see BackupDRClient::locationName()} for help formatting this field.
+ *
+ * @return \Google\Cloud\BackupDR\V1\FetchUsableBackupVaultsRequest
+ *
+ * @experimental
+ */
+ public static function build(string $parent): self
+ {
+ return (new self())
+ ->setParent($parent);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The project and location for which to retrieve backupvault stores
+ * information, in the format 'projects/{project_id}/locations/{location}'. In
+ * Cloud Backup and DR, locations map to Google Cloud regions, for example
+ * **us-central1**.
+ * To retrieve backupvault stores for all locations, use "-" for the
+ * '{location}' value.
+ * @type int $page_size
+ * Optional. Requested page size. Server may return fewer items than
+ * requested. If unspecified, server will pick an appropriate default.
+ * @type string $page_token
+ * Optional. A token identifying a page of results the server should return.
+ * @type string $filter
+ * Optional. Filtering results.
+ * @type string $order_by
+ * Optional. Hint for how to order the results.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Backupdr\V1\Backupvault::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The project and location for which to retrieve backupvault stores
+ * information, in the format 'projects/{project_id}/locations/{location}'. In
+ * Cloud Backup and DR, locations map to Google Cloud regions, for example
+ * **us-central1**.
+ * To retrieve backupvault stores for all locations, use "-" for the
+ * '{location}' value.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The project and location for which to retrieve backupvault stores
+ * information, in the format 'projects/{project_id}/locations/{location}'. In
+ * Cloud Backup and DR, locations map to Google Cloud regions, for example
+ * **us-central1**.
+ * To retrieve backupvault stores for all locations, use "-" for the
+ * '{location}' value.
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Requested page size. Server may return fewer items than
+ * requested. If unspecified, server will pick an appropriate default.
+ *
+ * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * Optional. Requested page size. Server may return fewer items than
+ * requested. If unspecified, server will pick an appropriate default.
+ *
+ * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. A token identifying a page of results the server should return.
+ *
+ * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * Optional. A token identifying a page of results the server should return.
+ *
+ * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Filtering results.
+ *
+ * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getFilter()
+ {
+ return $this->filter;
+ }
+
+ /**
+ * Optional. Filtering results.
+ *
+ * Generated from protobuf field string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->filter = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Hint for how to order the results.
+ *
+ * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getOrderBy()
+ {
+ return $this->order_by;
+ }
+
+ /**
+ * Optional. Hint for how to order the results.
+ *
+ * Generated from protobuf field string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setOrderBy($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->order_by = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/FetchUsableBackupVaultsResponse.php b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/FetchUsableBackupVaultsResponse.php
new file mode 100644
index 000000000000..058334542e91
--- /dev/null
+++ b/owl-bot-staging/BackupDr/v1/proto/src/Google/Cloud/BackupDR/V1/FetchUsableBackupVaultsResponse.php
@@ -0,0 +1,159 @@
+google.cloud.backupdr.v1.FetchUsableBackupVaultsResponse
+ */
+class FetchUsableBackupVaultsResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The list of BackupVault instances in the project for the specified
+ * location.
+ * If the '{location}' value in the request is "-", the response contains a
+ * list of instances from all locations. In case any location is unreachable,
+ * the response will only return backup vaults in reachable locations and
+ * the 'unreachable' field will be populated with a list of unreachable
+ * locations.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
+ */
+ private $backup_vaults;
+ /**
+ * A token identifying a page of results the server should return.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ protected $next_page_token = '';
+ /**
+ * Locations that could not be reached.
+ *
+ * Generated from protobuf field repeated string unreachable = 3;
+ */
+ private $unreachable;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Cloud\BackupDR\V1\BackupVault>|\Google\Protobuf\Internal\RepeatedField $backup_vaults
+ * The list of BackupVault instances in the project for the specified
+ * location.
+ * If the '{location}' value in the request is "-", the response contains a
+ * list of instances from all locations. In case any location is unreachable,
+ * the response will only return backup vaults in reachable locations and
+ * the 'unreachable' field will be populated with a list of unreachable
+ * locations.
+ * @type string $next_page_token
+ * A token identifying a page of results the server should return.
+ * @type arrayrepeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBackupVaults()
+ {
+ return $this->backup_vaults;
+ }
+
+ /**
+ * The list of BackupVault instances in the project for the specified
+ * location.
+ * If the '{location}' value in the request is "-", the response contains a
+ * list of instances from all locations. In case any location is unreachable,
+ * the response will only return backup vaults in reachable locations and
+ * the 'unreachable' field will be populated with a list of unreachable
+ * locations.
+ *
+ * Generated from protobuf field repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;
+ * @param array<\Google\Cloud\BackupDR\V1\BackupVault>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBackupVaults($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\BackupDR\V1\BackupVault::class);
+ $this->backup_vaults = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token identifying a page of results the server should return.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token identifying a page of results the server should return.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+ /**
+ * Locations that could not be reached.
+ *
+ * Generated from protobuf field repeated string unreachable = 3;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getUnreachable()
+ {
+ return $this->unreachable;
+ }
+
+ /**
+ * Locations that could not be reached.
+ *
+ * Generated from protobuf field repeated string unreachable = 3;
+ * @param arraystring backup_plan = 1 [(.google.api.resource_reference) = {
+ */
+ protected $backup_plan = '';
+ /**
+ * The description of the backup plan.
+ *
+ * Generated from protobuf field string backup_plan_description = 2;
+ */
+ protected $backup_plan_description = '';
+ /**
+ * The name of the backup plan association.
+ *
+ * Generated from protobuf field string backup_plan_association = 3 [(.google.api.resource_reference) = {
+ */
+ protected $backup_plan_association = '';
+ /**
+ * The names of the backup plan rules which point to this backupvault
+ *
+ * Generated from protobuf field repeated string backup_plan_rules = 4;
+ */
+ private $backup_plan_rules;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $backup_plan
+ * The name of the backup plan.
+ * @type string $backup_plan_description
+ * The description of the backup plan.
+ * @type string $backup_plan_association
+ * The name of the backup plan association.
+ * @type arraystring backup_plan = 1 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getBackupPlan()
+ {
+ return $this->backup_plan;
+ }
+
+ /**
+ * The name of the backup plan.
+ *
+ * Generated from protobuf field string backup_plan = 1 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlan($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan = $var;
+
+ return $this;
+ }
+
+ /**
+ * The description of the backup plan.
+ *
+ * Generated from protobuf field string backup_plan_description = 2;
+ * @return string
+ */
+ public function getBackupPlanDescription()
+ {
+ return $this->backup_plan_description;
+ }
+
+ /**
+ * The description of the backup plan.
+ *
+ * Generated from protobuf field string backup_plan_description = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlanDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan_description = $var;
+
+ return $this;
+ }
+
+ /**
+ * The name of the backup plan association.
+ *
+ * Generated from protobuf field string backup_plan_association = 3 [(.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getBackupPlanAssociation()
+ {
+ return $this->backup_plan_association;
+ }
+
+ /**
+ * The name of the backup plan association.
+ *
+ * Generated from protobuf field string backup_plan_association = 3 [(.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setBackupPlanAssociation($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->backup_plan_association = $var;
+
+ return $this;
+ }
+
+ /**
+ * The names of the backup plan rules which point to this backupvault
+ *
+ * Generated from protobuf field repeated string backup_plan_rules = 4;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBackupPlanRules()
+ {
+ return $this->backup_plan_rules;
+ }
+
+ /**
+ * The names of the backup plan rules which point to this backupvault
+ *
+ * Generated from protobuf field repeated string backup_plan_rules = 4;
+ * @param arraystring gcp_resourcename = 1;
+ */
+ protected $gcp_resourcename = '';
+ /**
+ * Location of the resource: string location = 2;
+ */
+ protected $location = '';
+ /**
+ * Type of the resource. Use the Unified Resource Type,
+ * eg. compute.googleapis.com/Instance.
+ *
+ * Generated from protobuf field string type = 3;
+ */
+ protected $type = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $gcp_resourcename
+ * Name of the Google Cloud resource.
+ * @type string $location
+ * Location of the resource: string gcp_resourcename = 1;
+ * @return string
+ */
+ public function getGcpResourcename()
+ {
+ return $this->gcp_resourcename;
+ }
+
+ /**
+ * Name of the Google Cloud resource.
+ *
+ * Generated from protobuf field string gcp_resourcename = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setGcpResourcename($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->gcp_resourcename = $var;
+
+ return $this;
+ }
+
+ /**
+ * Location of the resource: string location = 2;
+ * @return string
+ */
+ public function getLocation()
+ {
+ return $this->location;
+ }
+
+ /**
+ * Location of the resource: