Reference documentation and code samples for the Cloud Bigtable V2 Client class CreateInstanceRequest.
Request message for BigtableInstanceAdmin.CreateInstance.
Generated from protobuf message google.bigtable.admin.v2.CreateInstanceRequest
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The unique name of the project in which to create the new instance. Values are of the form projects/{project}
.
↳ instance_id
string
Required. The ID to be used when referring to the new instance within its project, e.g., just myinstance
rather than projects/myproject/instances/myinstance
.
↳ instance
Google\Cloud\Bigtable\Admin\V2\Instance
Required. The instance to create. Fields marked OutputOnly
must be left blank.
↳ clusters
array| Google\Protobuf\Internal\MapField
Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just mycluster
rather than projects/myproject/instances/myinstance/clusters/mycluster
. Fields marked OutputOnly
must be left blank. Currently, at most four clusters can be specified.
getParent
Required. The unique name of the project in which to create the new
instance. Values are of the form projects/{project}
.
string
setParent
Required. The unique name of the project in which to create the new
instance. Values are of the form projects/{project}
.
var
string
$this
getInstanceId
Required. The ID to be used when referring to the new instance within its
project, e.g., just myinstance
rather than projects/myproject/instances/myinstance
.
string
setInstanceId
Required. The ID to be used when referring to the new instance within its
project, e.g., just myinstance
rather than projects/myproject/instances/myinstance
.
var
string
$this
getInstance
Required. The instance to create.
Fields marked OutputOnly
must be left blank.
hasInstance
clearInstance
setInstance
Required. The instance to create.
Fields marked OutputOnly
must be left blank.
$this
getClusters
Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just mycluster
rather than projects/myproject/instances/myinstance/clusters/mycluster
.
Fields marked OutputOnly
must be left blank.
Currently, at most four clusters can be specified.
setClusters
Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just mycluster
rather than projects/myproject/instances/myinstance/clusters/mycluster
.
Fields marked OutputOnly
must be left blank.
Currently, at most four clusters can be specified.
$this
static::build
parent
string
Required. The unique name of the project in which to create the new
instance. Values are of the form projects/{project}
. Please see Google\Cloud\Bigtable\Admin\V2\BigtableInstanceAdminClient::projectName()
for help formatting this field.
instanceId
string
Required. The ID to be used when referring to the new instance within its
project, e.g., just myinstance
rather than projects/myproject/instances/myinstance
.
instance
Google\Cloud\Bigtable\Admin\V2\Instance
Required. The instance to create.
Fields marked OutputOnly
must be left blank.
clusters
array
Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just mycluster
rather than projects/myproject/instances/myinstance/clusters/mycluster
.
Fields marked OutputOnly
must be left blank.
Currently, at most four clusters can be specified.