Google Certificate Authority Service V1 Client - Class AttributeTypeAndValue (2.1.0)

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class AttributeTypeAndValue.

AttributeTypeAndValue specifies an attribute type and value. It can use either a OID or enum value to specify the attribute type.

Generated from protobuf message google.cloud.security.privateca.v1.AttributeTypeAndValue

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ type
int

The attribute type of the attribute and value pair.

↳ object_id
ObjectId

Object ID for an attribute type of an attribute and value pair.

↳ value
string

The value for the attribute type.

getType

The attribute type of the attribute and value pair.

Returns
Type
Description
int

hasType

setType

The attribute type of the attribute and value pair.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getObjectId

Object ID for an attribute type of an attribute and value pair.

Returns
Type
Description
ObjectId |null

hasObjectId

setObjectId

Object ID for an attribute type of an attribute and value pair.

Parameter
Name
Description
var
Returns
Type
Description
$this

getValue

The value for the attribute type.

Returns
Type
Description
string

setValue

The value for the attribute type.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getAttributeType

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: