CreateCollectionRequest
extends Message
in package
Generated from protobuf message <code>couchbase.admin.collection.v1.CreateCollectionRequest</code>
Table of Contents
- $bucket_name : mixed
- Generated from protobuf field <code>string bucket_name = 1;</code>
- $collection_name : mixed
- Generated from protobuf field <code>string collection_name = 3;</code>
- $max_expiry_secs : mixed
- Generated from protobuf field <code>optional uint32 max_expiry_secs = 4;</code>
- $scope_name : mixed
- Generated from protobuf field <code>string scope_name = 2;</code>
- __construct() : mixed
- Constructor.
- clearMaxExpirySecs() : mixed
- getBucketName() : string
- Generated from protobuf field <code>string bucket_name = 1;</code>
- getCollectionName() : string
- Generated from protobuf field <code>string collection_name = 3;</code>
- getMaxExpirySecs() : int
- Generated from protobuf field <code>optional uint32 max_expiry_secs = 4;</code>
- getScopeName() : string
- Generated from protobuf field <code>string scope_name = 2;</code>
- hasMaxExpirySecs() : mixed
- setBucketName() : $this
- Generated from protobuf field <code>string bucket_name = 1;</code>
- setCollectionName() : $this
- Generated from protobuf field <code>string collection_name = 3;</code>
- setMaxExpirySecs() : $this
- Generated from protobuf field <code>optional uint32 max_expiry_secs = 4;</code>
- setScopeName() : $this
- Generated from protobuf field <code>string scope_name = 2;</code>
Properties
$bucket_name
Generated from protobuf field <code>string bucket_name = 1;</code>
protected
mixed
$bucket_name
= ''
$collection_name
Generated from protobuf field <code>string collection_name = 3;</code>
protected
mixed
$collection_name
= ''
$max_expiry_secs
Generated from protobuf field <code>optional uint32 max_expiry_secs = 4;</code>
protected
mixed
$max_expiry_secs
= null
$scope_name
Generated from protobuf field <code>string scope_name = 2;</code>
protected
mixed
$scope_name
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type string $bucket_name @type string $scope_name @type string $collection_name @type int $max_expiry_secs
}
Return values
mixed —clearMaxExpirySecs()
public
clearMaxExpirySecs() : mixed
Return values
mixed —getBucketName()
Generated from protobuf field <code>string bucket_name = 1;</code>
public
getBucketName() : string
Return values
string —getCollectionName()
Generated from protobuf field <code>string collection_name = 3;</code>
public
getCollectionName() : string
Return values
string —getMaxExpirySecs()
Generated from protobuf field <code>optional uint32 max_expiry_secs = 4;</code>
public
getMaxExpirySecs() : int
Return values
int —getScopeName()
Generated from protobuf field <code>string scope_name = 2;</code>
public
getScopeName() : string
Return values
string —hasMaxExpirySecs()
public
hasMaxExpirySecs() : mixed
Return values
mixed —setBucketName()
Generated from protobuf field <code>string bucket_name = 1;</code>
public
setBucketName(string $var) : $this
Parameters
- $var : string
Return values
$this —setCollectionName()
Generated from protobuf field <code>string collection_name = 3;</code>
public
setCollectionName(string $var) : $this
Parameters
- $var : string
Return values
$this —setMaxExpirySecs()
Generated from protobuf field <code>optional uint32 max_expiry_secs = 4;</code>
public
setMaxExpirySecs(int $var) : $this
Parameters
- $var : int
Return values
$this —setScopeName()
Generated from protobuf field <code>string scope_name = 2;</code>
public
setScopeName(string $var) : $this
Parameters
- $var : string