diff --git a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Bucket.php b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Bucket.php
index 3bfada3f7..7bdf687c2 100644
--- a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Bucket.php
+++ b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Bucket.php
@@ -17,8 +17,8 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Any::initOnce();
$pool->internalAddGeneratedFile(
'
-·
-proto/bucket.proto$keboola.storageDriver.command.bucket"‚
+þ
+proto/bucket.proto$keboola.storageDriver.command.bucket"®
CreateBucketCommand
stackPrefix (
projectId (
@@ -30,7 +30,9 @@ public static function initOnce() {
CreateBucketTeradataMeta
permSpace (
-spoolSpace ( "D
+spoolSpace ( *
+CreateBucketBigqueryMeta
+region ( "D
CreateBucketResponse
path (
createBucketObjectName ( "›
@@ -39,16 +41,18 @@ public static function initOnce() {
ignoreErrors (
projectReadOnlyRoleName ( "
meta (2.google.protobuf.Any
- isCascade ("Á
+ isCascade ("ë
LinkBucketCommand
stackPrefix (
targetProjectId (
targetBucketId (
sourceShareRoleName ( %
targetProjectReadOnlyRoleName ( "
-meta (2.google.protobuf.Any"6
+meta (2.google.protobuf.Any(
+LinkBucketBigqueryMeta
+region ( "6
LinkedBucketResponse
-linkedBucketObjectName ( "þ
+linkedBucketObjectName ( "°
ShareBucketCommand
stackPrefix (
sourceBucketObjectName ( %
@@ -57,7 +61,9 @@ public static function initOnce() {
sourceBucketId ( "
meta (2.google.protobuf.Any7
ShareBucketSnowflakeCommandMeta
-databaseName ( "2
+databaseName ( 0
+ShareBucketBigqueryCommandMeta
+region ( "2
ShareBucketResponse
bucketShareRoleName ( "‘
UnlinkBucketCommand
@@ -69,14 +75,16 @@ public static function initOnce() {
bucketObjectName (
bucketShareRoleName (
projectReadOnlyRoleName ( "
-meta (2.google.protobuf.Any"Á
+meta (2.google.protobuf.Any"€
&GrantBucketAccessToReadOnlyRoleCommand
projectReadOnlyRoleName ( "
meta (2.google.protobuf.Any
branchId (
stackPrefix (
destinationObjectName (
-path ( "I
+path ( =
++GrantBucketAccessToReadOnlyRoleBigqueryMeta
+region ( "I
\'GrantBucketAccessToReadOnlyRoleResponse
createBucketObjectName ( "
)RevokeBucketAccessFromReadOnlyRoleCommand
diff --git a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Project.php b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Project.php
index 019712145..c77550bd0 100644
--- a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Project.php
+++ b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Project.php
@@ -17,8 +17,8 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Any::initOnce();
$pool->internalAddGeneratedFile(
'
-þ
-proto/project.proto%keboola.storageDriver.command.project"ô
+ž
+proto/project.proto%keboola.storageDriver.command.project"„
CreateProjectCommand
stackPrefix (
projectId ( "
@@ -27,21 +27,23 @@ public static function initOnce() {
rootDatabase (
permSpace (
-spoolSpace ( 6
+spoolSpace ( F
CreateProjectBigqueryMeta
-gcsFileBucketName ( "ƒ
+gcsFileBucketName (
+region ( "ƒ
CreateProjectResponse
projectUserName (
projectRoleName (
projectPassword (
-projectReadOnlyRoleName ( "º
+projectReadOnlyRoleName ( "Ê
DropProjectCommand
projectUserName (
projectRoleName (
readOnlyRoleName ( "
-meta (2.google.protobuf.Any4
+meta (2.google.protobuf.AnyD
DropProjectBigqueryMeta
-gcsFileBucketName ( bproto3'
+gcsFileBucketName (
+region ( bproto3'
, true);
static::$is_initialized = true;
diff --git a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Workspace.php b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Workspace.php
index 81b724d09..466c55775 100644
--- a/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Workspace.php
+++ b/packages/php-storage-driver-common/generated/GPBMetadata/Proto/Workspace.php
@@ -17,9 +17,9 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Any::initOnce();
$pool->internalAddGeneratedFile(
'
-
+Ü
-proto/workspace.proto\'keboola.storageDriver.command.workspace"’
+proto/workspace.proto\'keboola.storageDriver.command.workspace"Á
CreateWorkspaceCommand
stackPrefix (
projectId (
@@ -31,7 +31,9 @@ public static function initOnce() {
CreateWorkspaceTeradataMeta
permSpace (
-spoolSpace ( "‡
+spoolSpace ( -
+CreateWorkspaceBigqueryMeta
+region ( "‡
CreateWorkspaceResponse
workspaceUserName (
workspaceRoleName (
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/CreateBucketCommand/CreateBucketBigqueryMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/CreateBucketCommand/CreateBucketBigqueryMeta.php
new file mode 100644
index 000000000..77e97ce9b
--- /dev/null
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/CreateBucketCommand/CreateBucketBigqueryMeta.php
@@ -0,0 +1,68 @@
+keboola.storageDriver.command.bucket.CreateBucketCommand.CreateBucketBigqueryMeta
+ */
+class CreateBucketBigqueryMeta extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * region where bucket is created
+ *
+ * Generated from protobuf field string region = 1;
+ */
+ protected $region = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $region
+ * region where bucket is created
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Proto\Bucket::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * region where bucket is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where bucket is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(CreateBucketBigqueryMeta::class, \Keboola\StorageDriver\Command\Bucket\CreateBucketCommand_CreateBucketBigqueryMeta::class);
+
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/GrantBucketAccessToReadOnlyRoleCommand/GrantBucketAccessToReadOnlyRoleBigqueryMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/GrantBucketAccessToReadOnlyRoleCommand/GrantBucketAccessToReadOnlyRoleBigqueryMeta.php
new file mode 100644
index 000000000..2d2ff783c
--- /dev/null
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/GrantBucketAccessToReadOnlyRoleCommand/GrantBucketAccessToReadOnlyRoleBigqueryMeta.php
@@ -0,0 +1,68 @@
+keboola.storageDriver.command.bucket.GrantBucketAccessToReadOnlyRoleCommand.GrantBucketAccessToReadOnlyRoleBigqueryMeta
+ */
+class GrantBucketAccessToReadOnlyRoleBigqueryMeta extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * region where destination dataset is created
+ *
+ * Generated from protobuf field string region = 1;
+ */
+ protected $region = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $region
+ * region where destination dataset is created
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Proto\Bucket::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * region where destination dataset is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where destination dataset is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(GrantBucketAccessToReadOnlyRoleBigqueryMeta::class, \Keboola\StorageDriver\Command\Bucket\GrantBucketAccessToReadOnlyRoleCommand_GrantBucketAccessToReadOnlyRoleBigqueryMeta::class);
+
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/LinkBucketCommand/LinkBucketBigqueryMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/LinkBucketCommand/LinkBucketBigqueryMeta.php
new file mode 100644
index 000000000..1a8c724b3
--- /dev/null
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/LinkBucketCommand/LinkBucketBigqueryMeta.php
@@ -0,0 +1,68 @@
+keboola.storageDriver.command.bucket.LinkBucketCommand.LinkBucketBigqueryMeta
+ */
+class LinkBucketBigqueryMeta extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * region where linked bucket is created
+ *
+ * Generated from protobuf field string region = 1;
+ */
+ protected $region = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $region
+ * region where linked bucket is created
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Proto\Bucket::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * region where linked bucket is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where linked bucket is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(LinkBucketBigqueryMeta::class, \Keboola\StorageDriver\Command\Bucket\LinkBucketCommand_LinkBucketBigqueryMeta::class);
+
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/ShareBucketCommand/ShareBucketBigqueryCommandMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/ShareBucketCommand/ShareBucketBigqueryCommandMeta.php
new file mode 100644
index 000000000..c57109366
--- /dev/null
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Bucket/ShareBucketCommand/ShareBucketBigqueryCommandMeta.php
@@ -0,0 +1,68 @@
+keboola.storageDriver.command.bucket.ShareBucketCommand.ShareBucketBigqueryCommandMeta
+ */
+class ShareBucketBigqueryCommandMeta extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * region where listing is created
+ *
+ * Generated from protobuf field string region = 1;
+ */
+ protected $region = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $region
+ * region where listing is created
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Proto\Bucket::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * region where listing is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where listing is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(ShareBucketBigqueryCommandMeta::class, \Keboola\StorageDriver\Command\Bucket\ShareBucketCommand_ShareBucketBigqueryCommandMeta::class);
+
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/CreateProjectCommand/CreateProjectBigqueryMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/CreateProjectCommand/CreateProjectBigqueryMeta.php
index ec085a1b3..6d2f33682 100644
--- a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/CreateProjectCommand/CreateProjectBigqueryMeta.php
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/CreateProjectCommand/CreateProjectBigqueryMeta.php
@@ -22,6 +22,12 @@ class CreateProjectBigqueryMeta extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string gcsFileBucketName = 1;
*/
protected $gcsFileBucketName = '';
+ /**
+ * region where exchanger for sharing is created
+ *
+ * Generated from protobuf field string region = 2;
+ */
+ protected $region = '';
/**
* Constructor.
@@ -31,6 +37,8 @@ class CreateProjectBigqueryMeta extends \Google\Protobuf\Internal\Message
*
* @type string $gcsFileBucketName
* file storage bucket in GCS, bigquery load from file doesn't support load with file credentials
+ * @type string $region
+ * region where exchanger for sharing is created
* }
*/
public function __construct($data = NULL) {
@@ -64,6 +72,32 @@ public function setGcsFileBucketName($var)
return $this;
}
+ /**
+ * region where exchanger for sharing is created
+ *
+ * Generated from protobuf field string region = 2;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where exchanger for sharing is created
+ *
+ * Generated from protobuf field string region = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
}
// Adding a class alias for backwards compatibility with the previous class name.
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/DropProjectCommand/DropProjectBigqueryMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/DropProjectCommand/DropProjectBigqueryMeta.php
index e7c9178f6..cd94e0b97 100644
--- a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/DropProjectCommand/DropProjectBigqueryMeta.php
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Project/DropProjectCommand/DropProjectBigqueryMeta.php
@@ -22,6 +22,12 @@ class DropProjectBigqueryMeta extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string gcsFileBucketName = 1;
*/
protected $gcsFileBucketName = '';
+ /**
+ * region where exchanger is created during project creation
+ *
+ * Generated from protobuf field string region = 2;
+ */
+ protected $region = '';
/**
* Constructor.
@@ -31,6 +37,8 @@ class DropProjectBigqueryMeta extends \Google\Protobuf\Internal\Message
*
* @type string $gcsFileBucketName
* file storage bucket in GCS
+ * @type string $region
+ * region where exchanger is created during project creation
* }
*/
public function __construct($data = NULL) {
@@ -64,6 +72,32 @@ public function setGcsFileBucketName($var)
return $this;
}
+ /**
+ * region where exchanger is created during project creation
+ *
+ * Generated from protobuf field string region = 2;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where exchanger is created during project creation
+ *
+ * Generated from protobuf field string region = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
}
// Adding a class alias for backwards compatibility with the previous class name.
diff --git a/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Workspace/CreateWorkspaceCommand/CreateWorkspaceBigqueryMeta.php b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Workspace/CreateWorkspaceCommand/CreateWorkspaceBigqueryMeta.php
new file mode 100644
index 000000000..15eae3765
--- /dev/null
+++ b/packages/php-storage-driver-common/generated/Keboola/StorageDriver/Command/Workspace/CreateWorkspaceCommand/CreateWorkspaceBigqueryMeta.php
@@ -0,0 +1,68 @@
+keboola.storageDriver.command.workspace.CreateWorkspaceCommand.CreateWorkspaceBigqueryMeta
+ */
+class CreateWorkspaceBigqueryMeta extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * region where dataset for workspace is created
+ *
+ * Generated from protobuf field string region = 1;
+ */
+ protected $region = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $region
+ * region where dataset for workspace is created
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Proto\Workspace::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * region where dataset for workspace is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @return string
+ */
+ public function getRegion()
+ {
+ return $this->region;
+ }
+
+ /**
+ * region where dataset for workspace is created
+ *
+ * Generated from protobuf field string region = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegion($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->region = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(CreateWorkspaceBigqueryMeta::class, \Keboola\StorageDriver\Command\Workspace\CreateWorkspaceCommand_CreateWorkspaceBigqueryMeta::class);
+
diff --git a/packages/php-storage-driver-common/proto/bucket.proto b/packages/php-storage-driver-common/proto/bucket.proto
index 35faa7ba7..dd35f0ee4 100644
--- a/packages/php-storage-driver-common/proto/bucket.proto
+++ b/packages/php-storage-driver-common/proto/bucket.proto
@@ -23,6 +23,10 @@ message CreateBucketCommand {
string permSpace = 1; // size of perm space allocated with bucket, example `1e9`
string spoolSpace = 2; // size of spool space allocated with bucket, example `1e9`
}
+
+ message CreateBucketBigqueryMeta {
+ string region = 1; // region where bucket is created
+ }
}
/**
@@ -52,6 +56,10 @@ message LinkBucketCommand {
string sourceShareRoleName = 4;
string targetProjectReadOnlyRoleName = 5;
google.protobuf.Any meta = 6;
+
+ message LinkBucketBigqueryMeta {
+ string region = 1; // region where linked bucket is created
+ }
}
/**
@@ -71,6 +79,10 @@ message ShareBucketCommand {
message ShareBucketSnowflakeCommandMeta {
string databaseName = 1;
}
+
+ message ShareBucketBigqueryCommandMeta {
+ string region = 1; // region where listing is created
+ }
}
/**
@@ -101,6 +113,10 @@ message GrantBucketAccessToReadOnlyRoleCommand {
string stackPrefix = 5;
string destinationObjectName = 6;
repeated string path = 7;
+
+ message GrantBucketAccessToReadOnlyRoleBigqueryMeta {
+ string region = 1; // region where destination dataset is created
+ }
}
/**
diff --git a/packages/php-storage-driver-common/proto/project.proto b/packages/php-storage-driver-common/proto/project.proto
index c98726ad8..db930691f 100644
--- a/packages/php-storage-driver-common/proto/project.proto
+++ b/packages/php-storage-driver-common/proto/project.proto
@@ -25,6 +25,7 @@ message CreateProjectCommand {
*/
message CreateProjectBigqueryMeta {
string gcsFileBucketName = 1; // file storage bucket in GCS, bigquery load from file doesn't support load with file credentials
+ string region = 2; // region where exchanger for sharing is created
}
}
@@ -54,5 +55,6 @@ message DropProjectCommand {
*/
message DropProjectBigqueryMeta {
string gcsFileBucketName = 1; // file storage bucket in GCS
+ string region = 2; // region where exchanger is created during project creation
}
}
diff --git a/packages/php-storage-driver-common/proto/workspace.proto b/packages/php-storage-driver-common/proto/workspace.proto
index c2bba1e23..ccd946a6b 100644
--- a/packages/php-storage-driver-common/proto/workspace.proto
+++ b/packages/php-storage-driver-common/proto/workspace.proto
@@ -28,6 +28,10 @@ message CreateWorkspaceCommand {
string permSpace = 1; // size of perm space allocated with workspace, example `1e9`
string spoolSpace = 2; // size of spool space allocated with workspace, example `1e9`
}
+
+ message CreateWorkspaceBigqueryMeta {
+ string region = 1; // region where dataset for workspace is created
+ }
}
/**
* Response contain all resources names created by create workspace command