Reference documentation and code samples for the Google Cloud Eventarc Publishing V1 Client class CloudEventAttributeValue.
The following abstract data types are available for use in attributes.
Generated from protobuf message google.cloud.eventarc.publishing.v1.CloudEvent.CloudEventAttributeValue
Namespace
Google \ Cloud \ Eventarc \ Publishing \ V1 \ CloudEventMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ce_boolean |
bool
Boolean value. |
↳ ce_integer |
int
Integer value. |
↳ ce_string |
string
String value. |
↳ ce_bytes |
string
Bytes value. |
↳ ce_uri |
string
URI value. |
↳ ce_uri_ref |
string
URI-reference value. |
↳ ce_timestamp |
Google\Protobuf\Timestamp
Timestamp value. |
getCeBoolean
Boolean value.
Returns | |
---|---|
Type | Description |
bool |
hasCeBoolean
setCeBoolean
Boolean value.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getCeInteger
Integer value.
Returns | |
---|---|
Type | Description |
int |
hasCeInteger
setCeInteger
Integer value.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getCeString
String value.
Returns | |
---|---|
Type | Description |
string |
hasCeString
setCeString
String value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCeBytes
Bytes value.
Returns | |
---|---|
Type | Description |
string |
hasCeBytes
setCeBytes
Bytes value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCeUri
URI value.
Returns | |
---|---|
Type | Description |
string |
hasCeUri
setCeUri
URI value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCeUriRef
URI-reference value.
Returns | |
---|---|
Type | Description |
string |
hasCeUriRef
setCeUriRef
URI-reference value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCeTimestamp
Timestamp value.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCeTimestamp
setCeTimestamp
Timestamp value.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getAttr
Returns | |
---|---|
Type | Description |
string |