diff --git a/.repo-metadata-full.json b/.repo-metadata-full.json index b8ddf50f0c45..eaa99a006ff3 100644 --- a/.repo-metadata-full.json +++ b/.repo-metadata-full.json @@ -438,7 +438,7 @@ "CloudCommonProtos": { "language": "php", "distribution_name": "google/cloud-common-protos", - "release_level": "preview", + "release_level": "stable", "client_documentation": "https://cloud.google.com/php/docs/reference/cloud-common-protos/latest", "library_type": "CORE", "api_shortname": "" diff --git a/CloudCommonProtos/README.md b/CloudCommonProtos/README.md index f08503d24b21..b73e62d3baf8 100644 --- a/CloudCommonProtos/README.md +++ b/CloudCommonProtos/README.md @@ -22,7 +22,7 @@ In order to depend on these classes, add the following line to your composer.json file in the `requires` section: ``` - "google/cloud-common-protos": "^0.1" + "google/cloud-common-protos": "^1.0" ``` Or else use composer from the command line: diff --git a/CloudCommonProtos/metadata/Audit/AuditLog.php b/CloudCommonProtos/metadata/Audit/AuditLog.php index 395e63cd23c5..c033c447385a 100644 Binary files a/CloudCommonProtos/metadata/Audit/AuditLog.php and b/CloudCommonProtos/metadata/Audit/AuditLog.php differ diff --git a/CloudCommonProtos/metadata/Audit/BigqueryAuditMetadata.php b/CloudCommonProtos/metadata/Audit/BigqueryAuditMetadata.php index 2871c10efa9d..090774c9bf35 100644 Binary files a/CloudCommonProtos/metadata/Audit/BigqueryAuditMetadata.php and b/CloudCommonProtos/metadata/Audit/BigqueryAuditMetadata.php differ diff --git a/CloudCommonProtos/metadata/Common/OperationMetadata.php b/CloudCommonProtos/metadata/Common/OperationMetadata.php index 23037e199e7f..7642233202d3 100644 --- a/CloudCommonProtos/metadata/Common/OperationMetadata.php +++ b/CloudCommonProtos/metadata/Common/OperationMetadata.php @@ -17,18 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\FieldBehavior::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - ' -À -,google/cloud/common/operation_metadata.protogoogle.cloud.commongoogle/protobuf/timestamp.proto"ù -OperationMetadata4 - create_time ( 2.google.protobuf.TimestampBàA1 -end_time ( 2.google.protobuf.TimestampBàA -target ( BàA -verb ( BàA - status_detail ( BàA -cancel_requested (BàA - api_version ( BàABV -com.google.cloud.commonPZ9google.golang.org/genproto/googleapis/cloud/common;commonbproto3' + "\x0A\xC0\x03\x0A,google/cloud/common/operation_metadata.proto\x12\x13google.cloud.common\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF9\x01\x0A\x11OperationMetadata\x124\x0A\x0Bcreate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x06target\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04verb\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dstatus_detail\x18\x05 \x01(\x09B\x03\xE0A\x03\x12\x1D\x0A\x10cancel_requested\x18\x06 \x01(\x08B\x03\xE0A\x03\x12\x18\x0A\x0Bapi_version\x18\x07 \x01(\x09B\x03\xE0A\x03BV\x0A\x17com.google.cloud.commonP\x01Z9google.golang.org/genproto/googleapis/cloud/common;commonb\x06proto3" , true); static::$is_initialized = true; diff --git a/CloudCommonProtos/metadata/Devtools/Source/V1/SourceContext.php b/CloudCommonProtos/metadata/Devtools/Source/V1/SourceContext.php index 878aeb39817c..3d8fc54486fc 100644 Binary files a/CloudCommonProtos/metadata/Devtools/Source/V1/SourceContext.php and b/CloudCommonProtos/metadata/Devtools/Source/V1/SourceContext.php differ diff --git a/CloudCommonProtos/src/Audit/AuditLog.php b/CloudCommonProtos/src/Audit/AuditLog.php index 6225b315d628..445ac842108f 100644 --- a/CloudCommonProtos/src/Audit/AuditLog.php +++ b/CloudCommonProtos/src/Audit/AuditLog.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Common audit log format for Google Cloud Platform API operations. @@ -55,7 +55,7 @@ class AuditLog extends \Google\Protobuf\Internal\Message * that are already been included in `request`, `response`, `metadata` or * `service_data` fields. * When the JSON object represented here has a proto equivalent, - * the proto name will be indicated in the `@type` property. + * the proto name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct resource_original_state = 19; */ @@ -107,7 +107,7 @@ class AuditLog extends \Google\Protobuf\Internal\Message * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct request = 16; */ @@ -118,7 +118,7 @@ class AuditLog extends \Google\Protobuf\Internal\Message * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct response = 17; */ @@ -170,7 +170,7 @@ class AuditLog extends \Google\Protobuf\Internal\Message * that are already been included in `request`, `response`, `metadata` or * `service_data` fields. * When the JSON object represented here has a proto equivalent, - * the proto name will be indicated in the `@type` property. + * the proto name will be indicated in the `\@type` property. * @type int|string $num_response_items * The number of items returned from a List or Query API method, * if applicable. @@ -178,7 +178,7 @@ class AuditLog extends \Google\Protobuf\Internal\Message * The status of the overall operation. * @type \Google\Cloud\Audit\AuthenticationInfo $authentication_info * Authentication information. - * @type array<\Google\Cloud\Audit\AuthorizationInfo>|\Google\Protobuf\Internal\RepeatedField $authorization_info + * @type \Google\Cloud\Audit\AuthorizationInfo[] $authorization_info * Authorization information. If there are multiple * resources or permissions involved, then there is * one AuthorizationInfo element for each {resource, permission} tuple. @@ -194,14 +194,14 @@ class AuditLog extends \Google\Protobuf\Internal\Message * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * @type \Google\Protobuf\Struct $response * The operation response. This may not include all response elements, * such as those that are too large, privacy-sensitive, or duplicated * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * @type \Google\Protobuf\Struct $metadata * Other service-specific data about the request, response, and other * information associated with the current audited event. @@ -355,7 +355,7 @@ public function setResourceLocation($var) * that are already been included in `request`, `response`, `metadata` or * `service_data` fields. * When the JSON object represented here has a proto equivalent, - * the proto name will be indicated in the `@type` property. + * the proto name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct resource_original_state = 19; * @return \Google\Protobuf\Struct|null @@ -382,7 +382,7 @@ public function clearResourceOriginalState() * that are already been included in `request`, `response`, `metadata` or * `service_data` fields. * When the JSON object represented here has a proto equivalent, - * the proto name will be indicated in the `@type` property. + * the proto name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct resource_original_state = 19; * @param \Google\Protobuf\Struct $var @@ -502,7 +502,7 @@ public function setAuthenticationInfo($var) * one AuthorizationInfo element for each {resource, permission} tuple. * * Generated from protobuf field repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Audit\AuthorizationInfo> */ public function getAuthorizationInfo() { @@ -515,7 +515,7 @@ public function getAuthorizationInfo() * one AuthorizationInfo element for each {resource, permission} tuple. * * Generated from protobuf field repeated .google.cloud.audit.AuthorizationInfo authorization_info = 9; - * @param array<\Google\Cloud\Audit\AuthorizationInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Audit\AuthorizationInfo[] $var * @return $this */ public function setAuthorizationInfo($var) @@ -608,7 +608,7 @@ public function setRequestMetadata($var) * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct request = 16; * @return \Google\Protobuf\Struct|null @@ -634,7 +634,7 @@ public function clearRequest() * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct request = 16; * @param \Google\Protobuf\Struct $var @@ -654,7 +654,7 @@ public function setRequest($var) * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct response = 17; * @return \Google\Protobuf\Struct|null @@ -680,7 +680,7 @@ public function clearResponse() * elsewhere in the log record. * It should never include user-generated data, such as file contents. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct response = 17; * @param \Google\Protobuf\Struct $var diff --git a/CloudCommonProtos/src/Audit/AuthenticationInfo.php b/CloudCommonProtos/src/Audit/AuthenticationInfo.php index 60ed41e80c85..22c0b0d95103 100644 --- a/CloudCommonProtos/src/Audit/AuthenticationInfo.php +++ b/CloudCommonProtos/src/Audit/AuthenticationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Authentication information for the operation. @@ -37,7 +37,7 @@ class AuthenticationInfo extends \Google\Protobuf\Internal\Message * The third party identification (if any) of the authenticated user making * the request. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct third_party_principal = 4; */ @@ -89,13 +89,13 @@ class AuthenticationInfo extends \Google\Protobuf\Internal\Message * The third party identification (if any) of the authenticated user making * the request. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * @type string $service_account_key_name * The name of the service account key used to create or exchange * credentials for authenticating the service account making the request. * This is a scheme-less URI full resource name. For example: * "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" - * @type array<\Google\Cloud\Audit\ServiceAccountDelegationInfo>|\Google\Protobuf\Internal\RepeatedField $service_account_delegation_info + * @type \Google\Cloud\Audit\ServiceAccountDelegationInfo[] $service_account_delegation_info * Identity delegation history of an authenticated service account that makes * the request. It contains information on the real authorities that try to * access GCP resources by delegating on a service account. When multiple @@ -179,7 +179,7 @@ public function setAuthoritySelector($var) * The third party identification (if any) of the authenticated user making * the request. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct third_party_principal = 4; * @return \Google\Protobuf\Struct|null @@ -203,7 +203,7 @@ public function clearThirdPartyPrincipal() * The third party identification (if any) of the authenticated user making * the request. * When the JSON object represented here has a proto equivalent, the proto - * name will be indicated in the `@type` property. + * name will be indicated in the `\@type` property. * * Generated from protobuf field .google.protobuf.Struct third_party_principal = 4; * @param \Google\Protobuf\Struct $var @@ -257,7 +257,7 @@ public function setServiceAccountKeyName($var) * ordering of the identity delegation events. * * Generated from protobuf field repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Audit\ServiceAccountDelegationInfo> */ public function getServiceAccountDelegationInfo() { @@ -272,7 +272,7 @@ public function getServiceAccountDelegationInfo() * ordering of the identity delegation events. * * Generated from protobuf field repeated .google.cloud.audit.ServiceAccountDelegationInfo service_account_delegation_info = 6; - * @param array<\Google\Cloud\Audit\ServiceAccountDelegationInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Audit\ServiceAccountDelegationInfo[] $var * @return $this */ public function setServiceAccountDelegationInfo($var) diff --git a/CloudCommonProtos/src/Audit/AuthorizationInfo.php b/CloudCommonProtos/src/Audit/AuthorizationInfo.php index 3aeea9ee7dc8..5326de014746 100644 --- a/CloudCommonProtos/src/Audit/AuthorizationInfo.php +++ b/CloudCommonProtos/src/Audit/AuthorizationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Authorization information for the operation. diff --git a/CloudCommonProtos/src/Audit/AuthorizationInfo/PermissionType.php b/CloudCommonProtos/src/Audit/AuthorizationInfo/PermissionType.php index a5623a6ffb60..b019a9826c06 100644 --- a/CloudCommonProtos/src/Audit/AuthorizationInfo/PermissionType.php +++ b/CloudCommonProtos/src/Audit/AuthorizationInfo/PermissionType.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata.php index c2c1e79b5c74..7d14d68a583d 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Audit log format for BigQuery cloud audit logs metadata. diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/BigQueryAcl.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/BigQueryAcl.php index 01aa49e58538..9b2546def1b7 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/BigQueryAcl.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/BigQueryAcl.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * An access control list. @@ -37,7 +37,7 @@ class BigQueryAcl extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Iam\V1\Policy $policy * IAM policy for the resource. - * @type array|\Google\Protobuf\Internal\RepeatedField $authorized_views + * @type string[] $authorized_views * List of authorized views for a dataset. * Format: `projects//datasets//tables/`. * } @@ -88,7 +88,7 @@ public function setPolicy($var) * Format: `projects//datasets//tables/`. * * Generated from protobuf field repeated string authorized_views = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getAuthorizedViews() { @@ -100,7 +100,7 @@ public function getAuthorizedViews() * Format: `projects//datasets//tables/`. * * Generated from protobuf field repeated string authorized_views = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setAuthorizedViews($var) @@ -113,4 +113,3 @@ public function setAuthorizedViews($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/CreateDisposition.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/CreateDisposition.php index db0693788c83..e8380a2d4a32 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/CreateDisposition.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/CreateDisposition.php @@ -60,4 +60,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Dataset.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Dataset.php index 2df8ee0b3141..58ee04851c15 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Dataset.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Dataset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BigQuery dataset. @@ -367,4 +367,3 @@ public function setDefaultCollation($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange.php index cf1ad373c647..494f61abe9f3 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dataset change event. @@ -151,4 +151,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange/Reason.php index a82336b2b9f8..626f538664e5 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetChange/Reason.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation.php index 85721a2ea611..58bcdc719a27 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dataset creation event. @@ -151,4 +151,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation/Reason.php index d71e976b53c5..4d06c65afeef 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetCreation/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion.php index 5c195e9050db..a1f550965a3d 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Dataset deletion event. @@ -107,4 +107,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion/Reason.php index f5661ee7a3ee..b3c9d3b4da4c 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/DatasetDeletion/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EncryptionInfo.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EncryptionInfo.php index 18252ba21aee..ac6c9d8eff88 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EncryptionInfo.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EncryptionInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Encryption properties for a table or a job @@ -73,4 +73,3 @@ public function setKmsKeyName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EntityInfo.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EntityInfo.php index 1fe79bb0e021..55fd140dbe9b 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EntityInfo.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/EntityInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User-provided metadata for an entity, for e.g. dataset, table or model. @@ -133,4 +133,3 @@ public function setLabels($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/FirstPartyAppMetadata.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/FirstPartyAppMetadata.php index 16863da698b9..261c658203b9 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/FirstPartyAppMetadata.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/FirstPartyAppMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * First party (Google) application specific request metadata. @@ -73,4 +73,3 @@ public function getMetadata() } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Job.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Job.php index 911420727a05..5379aac8f455 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Job.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Job.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BigQuery job. @@ -201,4 +201,3 @@ public function setJobStats($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobChange.php index 6c3e54f9b425..04f5d3206300 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job state change event. @@ -143,4 +143,3 @@ public function setJob($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig.php index bb54c9e79765..728d8eb84484 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job configuration. @@ -242,4 +242,3 @@ public function getConfig() } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Extract.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Extract.php index 16da0b3980e4..eb1e5af574bb 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Extract.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Extract.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Extract job configuration. @@ -36,7 +36,7 @@ class Extract extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $destination_uris + * @type string[] $destination_uris * URIs where extracted data should be written. Entire list is truncated * if exceeds 50K. * @type bool $destination_uris_truncated @@ -57,7 +57,7 @@ public function __construct($data = NULL) { * if exceeds 50K. * * Generated from protobuf field repeated string destination_uris = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getDestinationUris() { @@ -69,7 +69,7 @@ public function getDestinationUris() * if exceeds 50K. * * Generated from protobuf field repeated string destination_uris = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setDestinationUris($var) @@ -178,4 +178,3 @@ public function getSource() } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Load.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Load.php index 6a8f6a56a04b..7eacf06bac32 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Load.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Load.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Load job configuration. @@ -73,7 +73,7 @@ class Load extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $source_uris + * @type string[] $source_uris * URIs for the data to be imported. Entire list is truncated if exceeds * 40K. * @type bool $source_uris_truncated @@ -104,7 +104,7 @@ public function __construct($data = NULL) { * 40K. * * Generated from protobuf field repeated string source_uris = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSourceUris() { @@ -116,7 +116,7 @@ public function getSourceUris() * 40K. * * Generated from protobuf field repeated string source_uris = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSourceUris($var) @@ -325,4 +325,3 @@ public function setDestinationTableEncryption($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query.php index 71310f90f8f1..b5e426f2f6ed 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query job configuration. @@ -95,7 +95,7 @@ class Query extends \Google\Protobuf\Internal\Message * Destination table write disposition. * @type string $default_dataset * Default dataset for the query. - * @type array<\Google\Cloud\Audit\BigQueryAuditMetadata\TableDefinition>|\Google\Protobuf\Internal\RepeatedField $table_definitions + * @type \Google\Cloud\Audit\BigQueryAuditMetadata\TableDefinition[] $table_definitions * External data sources used in the query. * @type int $priority * Priority given to the query. @@ -271,7 +271,7 @@ public function setDefaultDataset($var) * External data sources used in the query. * * Generated from protobuf field repeated .google.cloud.audit.BigQueryAuditMetadata.TableDefinition table_definitions = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Audit\BigQueryAuditMetadata\TableDefinition> */ public function getTableDefinitions() { @@ -282,7 +282,7 @@ public function getTableDefinitions() * External data sources used in the query. * * Generated from protobuf field repeated .google.cloud.audit.BigQueryAuditMetadata.TableDefinition table_definitions = 6; - * @param array<\Google\Cloud\Audit\BigQueryAuditMetadata\TableDefinition>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Audit\BigQueryAuditMetadata\TableDefinition[] $var * @return $this */ public function setTableDefinitions($var) @@ -385,4 +385,3 @@ public function setStatementType($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query/Priority.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query/Priority.php index 603c182fbdb2..0bd194eec6eb 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query/Priority.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Query/Priority.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/TableCopy.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/TableCopy.php index 41665f309ccf..ff504bdbb5e3 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/TableCopy.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/TableCopy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table copy job configuration. @@ -72,7 +72,7 @@ class TableCopy extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $source_tables + * @type string[] $source_tables * Source tables. Entire list is truncated if exceeds 50K. * @type bool $source_tables_truncated * True if the source_tables field was truncated. @@ -101,7 +101,7 @@ public function __construct($data = NULL) { * Source tables. Entire list is truncated if exceeds 50K. * * Generated from protobuf field repeated string source_tables = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSourceTables() { @@ -112,7 +112,7 @@ public function getSourceTables() * Source tables. Entire list is truncated if exceeds 50K. * * Generated from protobuf field repeated string source_tables = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSourceTables($var) @@ -331,4 +331,3 @@ public function setDestinationExpirationTime($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Type.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Type.php index e6223bd32f4e..7673c13f9ed8 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Type.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobConfig/Type.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion.php index 502771579f70..72679e327d2f 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job deletion event. @@ -103,4 +103,3 @@ public function setReason($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion/Reason.php index 6e033037f112..7edb150d79aa 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobDeletion/Reason.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion.php index b4d4a94bd23d..d5b7cf4b402a 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job insertion event. @@ -109,4 +109,3 @@ public function setReason($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion/Reason.php index 24dd1982cc3c..cf09b24711c5 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobInsertion/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobState.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobState.php index 2d5e16bdb3d3..51a55ff645bb 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobState.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobState.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats.php index 1355743cd998..fb6da48bc979 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job statistics. @@ -83,7 +83,7 @@ class JobStats extends \Google\Protobuf\Internal\Message * Extract job statistics. * @type int|string $total_slot_ms * The total number of slot-ms consumed by the query job. - * @type array<\Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage>|\Google\Protobuf\Internal\RepeatedField $reservation_usage + * @type \Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage[] $reservation_usage * Reservation usage attributed from each tier of a reservation hierarchy. * This field reported misleading information and will no longer be * populated. Aggregate usage of all jobs submitted to a reservation @@ -333,7 +333,7 @@ public function setTotalSlotMs($var) * should provide a more reliable indicator of reservation imbalance. * * Generated from protobuf field repeated .google.cloud.audit.BigQueryAuditMetadata.JobStats.ReservationResourceUsage reservation_usage = 11 [deprecated = true]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage> * @deprecated */ public function getReservationUsage() @@ -351,7 +351,7 @@ public function getReservationUsage() * should provide a more reliable indicator of reservation imbalance. * * Generated from protobuf field repeated .google.cloud.audit.BigQueryAuditMetadata.JobStats.ReservationResourceUsage reservation_usage = 11 [deprecated = true]; - * @param array<\Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Audit\BigQueryAuditMetadata\JobStats\ReservationResourceUsage[] $var * @return $this * @deprecated */ @@ -428,4 +428,3 @@ public function getExtended() } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Extract.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Extract.php index c733a2898b2c..ee43cb18ce97 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Extract.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Extract.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobStats; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Extract job statistics. @@ -65,4 +65,3 @@ public function setTotalInputBytes($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Load.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Load.php index d069e5249f1a..8089dcfe479e 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Load.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Load.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobStats; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Load job statistics. @@ -65,4 +65,3 @@ public function setTotalOutputBytes($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Query.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Query.php index 7ff5fff4c200..d05175e3877a 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Query.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/Query.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobStats; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Query job statistics. @@ -76,11 +76,11 @@ class Query extends \Google\Protobuf\Internal\Message * Total bytes billed by the query job. * @type int $billing_tier * The tier assigned by the CPU-based billing. - * @type array|\Google\Protobuf\Internal\RepeatedField $referenced_tables + * @type string[] $referenced_tables * Tables accessed by the query job. - * @type array|\Google\Protobuf\Internal\RepeatedField $referenced_views + * @type string[] $referenced_views * Views accessed by the query job. - * @type array|\Google\Protobuf\Internal\RepeatedField $referenced_routines + * @type string[] $referenced_routines * Routines accessed by the query job. * @type int|string $output_row_count * Number of output rows produced by the query job. @@ -175,7 +175,7 @@ public function setBillingTier($var) * Tables accessed by the query job. * * Generated from protobuf field repeated string referenced_tables = 6; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReferencedTables() { @@ -186,7 +186,7 @@ public function getReferencedTables() * Tables accessed by the query job. * * Generated from protobuf field repeated string referenced_tables = 6; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReferencedTables($var) @@ -201,7 +201,7 @@ public function setReferencedTables($var) * Views accessed by the query job. * * Generated from protobuf field repeated string referenced_views = 7; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReferencedViews() { @@ -212,7 +212,7 @@ public function getReferencedViews() * Views accessed by the query job. * * Generated from protobuf field repeated string referenced_views = 7; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReferencedViews($var) @@ -227,7 +227,7 @@ public function setReferencedViews($var) * Routines accessed by the query job. * * Generated from protobuf field repeated string referenced_routines = 10; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getReferencedRoutines() { @@ -238,7 +238,7 @@ public function getReferencedRoutines() * Routines accessed by the query job. * * Generated from protobuf field repeated string referenced_routines = 10; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setReferencedRoutines($var) @@ -303,4 +303,3 @@ public function setCacheHit($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/ReservationResourceUsage.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/ReservationResourceUsage.php index 763bf8f4b2e9..aa52b13ac421 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/ReservationResourceUsage.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStats/ReservationResourceUsage.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata\JobStats; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Job resource usage breakdown by reservation. @@ -99,4 +99,3 @@ public function setSlotMs($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStatus.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStatus.php index 3c7a36059470..5249516d71be 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStatus.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/JobStatus.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Status of a job. @@ -45,7 +45,7 @@ class JobStatus extends \Google\Protobuf\Internal\Message * State of the job. * @type \Google\Rpc\Status $error_result * Job error, if the job failed. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $errors + * @type \Google\Rpc\Status[] $errors * Errors encountered during the running of the job. Does not necessarily * mean that the job has completed or was unsuccessful. * } @@ -122,7 +122,7 @@ public function setErrorResult($var) * mean that the job has completed or was unsuccessful. * * Generated from protobuf field repeated .google.rpc.Status errors = 3; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Rpc\Status> */ public function getErrors() { @@ -134,7 +134,7 @@ public function getErrors() * mean that the job has completed or was unsuccessful. * * Generated from protobuf field repeated .google.rpc.Status errors = 3; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Rpc\Status[] $var * @return $this */ public function setErrors($var) @@ -147,4 +147,3 @@ public function setErrors($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Model.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Model.php index a252e62b54d9..70f9522a0d5b 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Model.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Model.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Trained BigQuery ML model. @@ -289,4 +289,3 @@ public function setEncryption($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php index 64e2253b39d1..d6d1d2105e00 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model creation event. @@ -147,4 +147,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation/Reason.php index 3fda2fc5bdde..55bbb0a1a06e 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelCreation/Reason.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange.php index aba20f9c1198..27ad888ed8f3 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model data change event. @@ -103,4 +103,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange/Reason.php index 358bfc791d88..6e1e4089db4f 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataChange/Reason.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead.php index 958a839d050a..55aeb5f31f41 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model data read event. @@ -103,4 +103,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead/Reason.php index 198583dc0051..c03f96d3ff54 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDataRead/Reason.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion.php index 56248304944e..b65f88165b38 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model deletion event. @@ -107,4 +107,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion/Reason.php index dafe4bf637ec..38e904ca557d 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelDeletion/Reason.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange.php index e2dcccf1c2ae..493585d62cee 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Model metadata change event. @@ -151,4 +151,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange/Reason.php index 3e06d5fa98b0..c1da33756415 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/ModelMetadataChange/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/OperationType.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/OperationType.php index 4baf37672a4a..e026c289fec9 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/OperationType.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/OperationType.php @@ -68,4 +68,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/QueryStatementType.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/QueryStatementType.php index f1a270229801..17491d1ea260 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/QueryStatementType.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/QueryStatementType.php @@ -298,4 +298,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Routine.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Routine.php index 1da2814b55fc..ae2d54aea99f 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Routine.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Routine.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * User Defined Function (UDF) or Stored Procedure. @@ -161,4 +161,3 @@ public function setUpdateTime($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange.php index 8c358335a012..4a7186c15bec 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Routine change event. @@ -147,4 +147,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange/Reason.php index 402d4a3846d6..731e4d0eec08 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineChange/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation.php index 031941c9891e..41354344b0dd 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Routine creation event. @@ -147,4 +147,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation/Reason.php index f9474d110da4..16946a8a64bd 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineCreation/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion.php index f45e41562967..caa0b88f8163 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Routine deletion event. @@ -151,4 +151,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion/Reason.php index 80f9b802c939..5a9a4c39545c 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RoutineDeletion/Reason.php @@ -59,4 +59,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicy.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicy.php index 958ca801d7f4..9cadf8107cc0 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicy.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicy.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BigQuery row access policy. @@ -73,4 +73,3 @@ public function setRowAccessPolicyName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyChange.php index b161b3d566a6..7c45406cc3be 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Row access policy change event. @@ -113,4 +113,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyCreation.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyCreation.php index e3aef36b9a5a..fc4e4db9180d 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyCreation.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyCreation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Row access policy creation event. @@ -113,4 +113,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyDeletion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyDeletion.php index 7ca1665c8809..a30dd8d1d53f 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyDeletion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/RowAccessPolicyDeletion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Row access policy deletion event. @@ -43,7 +43,7 @@ class RowAccessPolicyDeletion extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array<\Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy>|\Google\Protobuf\Internal\RepeatedField $row_access_policies + * @type \Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy[] $row_access_policies * The row access policies that were deleted. At present, only populated * when a single policy is dropped. * @type string $job_name @@ -64,7 +64,7 @@ public function __construct($data = NULL) { * when a single policy is dropped. * * Generated from protobuf field repeated .google.cloud.audit.BigQueryAuditMetadata.RowAccessPolicy row_access_policies = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy> */ public function getRowAccessPolicies() { @@ -76,7 +76,7 @@ public function getRowAccessPolicies() * when a single policy is dropped. * * Generated from protobuf field repeated .google.cloud.audit.BigQueryAuditMetadata.RowAccessPolicy row_access_policies = 1; - * @param array<\Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Audit\BigQueryAuditMetadata\RowAccessPolicy[] $var * @return $this */ public function setRowAccessPolicies($var) @@ -145,4 +145,3 @@ public function setAllRowAccessPoliciesDropped($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/SheetsMetadata.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/SheetsMetadata.php index 64a04c94c1f2..717b90c95642 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/SheetsMetadata.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/SheetsMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Google Sheets specific request metadata. @@ -65,4 +65,3 @@ public function setDocId($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Table.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Table.php index e7e7c962c980..957a0a6660f1 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Table.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/Table.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * BigQuery table. @@ -449,4 +449,3 @@ public function setEncryption($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange.php index ac7b40f555f9..fa81ea6af193 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table metadata change event. @@ -185,4 +185,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange/Reason.php index f9bcefdc9a39..aaacf817f71f 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableChange/Reason.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation.php index 8b89cf8c3c4b..1ef933dea397 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table creation event. @@ -151,4 +151,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation/Reason.php index 76647e7d6ef7..22c87440c878 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableCreation/Reason.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange.php index a6e1a5f25b9b..5a3f8e99cae2 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table data change event. @@ -247,4 +247,3 @@ public function setStreamName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange/Reason.php index 8c1fec8fc863..99e52066cf44 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataChange/Reason.php @@ -73,4 +73,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead.php index 80dab55e3e49..5b35aa8c3425 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table data read event. @@ -74,12 +74,12 @@ class TableDataRead extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $fields + * @type string[] $fields * List of the accessed fields. Entire list is truncated if the record size * exceeds 100K. * @type bool $fields_truncated * True if the fields list was truncated. - * @type array|\Google\Protobuf\Internal\RepeatedField $policy_tags + * @type string[] $policy_tags * List of the referenced policy tags. That is, policy tags attached to the * accessed fields or their ancestors. * Policy tag resource name is a string of the format: @@ -110,7 +110,7 @@ public function __construct($data = NULL) { * exceeds 100K. * * Generated from protobuf field repeated string fields = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getFields() { @@ -122,7 +122,7 @@ public function getFields() * exceeds 100K. * * Generated from protobuf field repeated string fields = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setFields($var) @@ -166,7 +166,7 @@ public function setFieldsTruncated($var) * `projects//locations//taxonomies//policyTags/` * * Generated from protobuf field repeated string policy_tags = 9; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getPolicyTags() { @@ -180,7 +180,7 @@ public function getPolicyTags() * `projects//locations//taxonomies//policyTags/` * * Generated from protobuf field repeated string policy_tags = 9; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setPolicyTags($var) @@ -309,4 +309,3 @@ public function setSessionName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead/Reason.php index fde8ce407b33..e7f2d67b99f3 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDataRead/Reason.php @@ -87,4 +87,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDefinition.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDefinition.php index 0150b8758b51..2d81e414aba6 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDefinition.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDefinition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Definition of an external data source used in a query. @@ -36,7 +36,7 @@ class TableDefinition extends \Google\Protobuf\Internal\Message * * @type string $name * Name of the table, used in queries. - * @type array|\Google\Protobuf\Internal\RepeatedField $source_uris + * @type string[] $source_uris * URIs for the data. * } */ @@ -75,7 +75,7 @@ public function setName($var) * URIs for the data. * * Generated from protobuf field repeated string source_uris = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getSourceUris() { @@ -86,7 +86,7 @@ public function getSourceUris() * URIs for the data. * * Generated from protobuf field repeated string source_uris = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setSourceUris($var) @@ -99,4 +99,3 @@ public function setSourceUris($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion.php index 61b5dcd3f7cc..a2d0a16bffcd 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Table deletion event. @@ -107,4 +107,3 @@ public function setJobName($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion/Reason.php index 5c123dd37d35..49d361e329d3 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableDeletion/Reason.php @@ -66,4 +66,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableViewDefinition.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableViewDefinition.php index 297d5fa1afd3..ae3339aa9544 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableViewDefinition.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/TableViewDefinition.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * View definition. @@ -99,4 +99,3 @@ public function setQueryTruncated($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset.php index a1eb81ab8393..71491aba2499 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\BigQueryAuditMetadata; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Unlink linked dataset from its source dataset event @@ -141,4 +141,3 @@ public function setReason($var) } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset/Reason.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset/Reason.php index 52dc27ea706d..ddadb8b022ae 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset/Reason.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/UnlinkDataset/Reason.php @@ -52,4 +52,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/WriteDisposition.php b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/WriteDisposition.php index aafa6be66929..600c86016190 100644 --- a/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/WriteDisposition.php +++ b/CloudCommonProtos/src/Audit/BigQueryAuditMetadata/WriteDisposition.php @@ -67,4 +67,3 @@ public static function value($name) } } - diff --git a/CloudCommonProtos/src/Audit/OrgPolicyViolationInfo.php b/CloudCommonProtos/src/Audit/OrgPolicyViolationInfo.php index 7eccd7db135b..83f6c6040503 100644 --- a/CloudCommonProtos/src/Audit/OrgPolicyViolationInfo.php +++ b/CloudCommonProtos/src/Audit/OrgPolicyViolationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Represents OrgPolicy Violation information. @@ -68,7 +68,7 @@ class OrgPolicyViolationInfo extends \Google\Protobuf\Internal\Message * Optional field as of now. These tags are the Cloud tags that are * available on the resource during the policy evaluation and will * be available as part of the OrgPolicy check response for logging purposes. - * @type array<\Google\Cloud\Audit\ViolationInfo>|\Google\Protobuf\Internal\RepeatedField $violation_info + * @type \Google\Cloud\Audit\ViolationInfo[] $violation_info * Optional. Policy violations * } */ @@ -185,7 +185,7 @@ public function setResourceTags($var) * Optional. Policy violations * * Generated from protobuf field repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField<\Google\Cloud\Audit\ViolationInfo> */ public function getViolationInfo() { @@ -196,7 +196,7 @@ public function getViolationInfo() * Optional. Policy violations * * Generated from protobuf field repeated .google.cloud.audit.ViolationInfo violation_info = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\Audit\ViolationInfo>|\Google\Protobuf\Internal\RepeatedField $var + * @param \Google\Cloud\Audit\ViolationInfo[] $var * @return $this */ public function setViolationInfo($var) diff --git a/CloudCommonProtos/src/Audit/PolicyViolationInfo.php b/CloudCommonProtos/src/Audit/PolicyViolationInfo.php index 3e999671f253..4a77f3b516cb 100644 --- a/CloudCommonProtos/src/Audit/PolicyViolationInfo.php +++ b/CloudCommonProtos/src/Audit/PolicyViolationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Information related to policy violations for this request. diff --git a/CloudCommonProtos/src/Audit/RequestMetadata.php b/CloudCommonProtos/src/Audit/RequestMetadata.php index 53b0cf431032..fa453a55f00d 100644 --- a/CloudCommonProtos/src/Audit/RequestMetadata.php +++ b/CloudCommonProtos/src/Audit/RequestMetadata.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Metadata about the request. diff --git a/CloudCommonProtos/src/Audit/ResourceLocation.php b/CloudCommonProtos/src/Audit/ResourceLocation.php index d02cac4d5dbf..8770f7f32861 100644 --- a/CloudCommonProtos/src/Audit/ResourceLocation.php +++ b/CloudCommonProtos/src/Audit/ResourceLocation.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Location information about a resource. @@ -46,7 +46,7 @@ class ResourceLocation extends \Google\Protobuf\Internal\Message * @param array $data { * Optional. Data for populating the Message object. * - * @type array|\Google\Protobuf\Internal\RepeatedField $current_locations + * @type string[] $current_locations * The locations of a resource after the execution of the operation. * Requests to create or delete a location based resource must populate * the 'current_locations' field and not the 'original_locations' field. @@ -54,7 +54,7 @@ class ResourceLocation extends \Google\Protobuf\Internal\Message * "europe-west1-a" * "us-east1" * "nam3" - * @type array|\Google\Protobuf\Internal\RepeatedField $original_locations + * @type string[] $original_locations * The locations of a resource prior to the execution of the operation. * Requests that mutate the resource's location must populate both the * 'original_locations' as well as the 'current_locations' fields. @@ -79,7 +79,7 @@ public function __construct($data = NULL) { * "nam3" * * Generated from protobuf field repeated string current_locations = 1; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getCurrentLocations() { @@ -96,7 +96,7 @@ public function getCurrentLocations() * "nam3" * * Generated from protobuf field repeated string current_locations = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setCurrentLocations($var) @@ -117,7 +117,7 @@ public function setCurrentLocations($var) * "nam3" * * Generated from protobuf field repeated string original_locations = 2; - * @return \Google\Protobuf\Internal\RepeatedField + * @return RepeatedField */ public function getOriginalLocations() { @@ -134,7 +134,7 @@ public function getOriginalLocations() * "nam3" * * Generated from protobuf field repeated string original_locations = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @param string[] $var * @return $this */ public function setOriginalLocations($var) diff --git a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo.php b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo.php index db06ae3b4725..749fc3d0c62f 100644 --- a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo.php +++ b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Identity delegation history of an authenticated service account. diff --git a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/FirstPartyPrincipal.php b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/FirstPartyPrincipal.php index 6958ec216dde..b73d8aeadac2 100644 --- a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/FirstPartyPrincipal.php +++ b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/FirstPartyPrincipal.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\ServiceAccountDelegationInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * First party identity principal. @@ -109,6 +109,3 @@ public function setServiceMetadata($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FirstPartyPrincipal::class, \Google\Cloud\Audit\ServiceAccountDelegationInfo_FirstPartyPrincipal::class); - diff --git a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/ThirdPartyPrincipal.php b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/ThirdPartyPrincipal.php index b0fe1bb76e16..4d69f9549331 100644 --- a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/ThirdPartyPrincipal.php +++ b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo/ThirdPartyPrincipal.php @@ -5,8 +5,8 @@ namespace Google\Cloud\Audit\ServiceAccountDelegationInfo; use Google\Protobuf\Internal\GPBType; -use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; +use Google\Protobuf\RepeatedField; /** * Third party identity principal. @@ -75,6 +75,3 @@ public function setThirdPartyClaims($var) } -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ThirdPartyPrincipal::class, \Google\Cloud\Audit\ServiceAccountDelegationInfo_ThirdPartyPrincipal::class); - diff --git a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo_FirstPartyPrincipal.php b/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo_FirstPartyPrincipal.php deleted file mode 100644 index 7a5deed3eaa8..000000000000 --- a/CloudCommonProtos/src/Audit/ServiceAccountDelegationInfo_FirstPartyPrincipal.php +++ /dev/null @@ -1,16 +0,0 @@ -