Google Cloud Private Catalog V1beta1 Client - Class AssetReference (0.4.6)

Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class AssetReference.

Defines the reference of an asset belonging to a product.

Generated from protobuf message google.cloud.privatecatalog.v1beta1.AssetReference

Namespace

Google \ Cloud \ PrivateCatalog \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Output only. A unique identifier among asset references in a product.

↳ description string

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

↳ inputs Inputs

Output only. The definition of input parameters to hydrate the asset template.

↳ validation_status int

Output only. The current state of the asset reference.

↳ validation_operation Google\LongRunning\Operation

Output only. The validation process metadata.

↳ asset string

Output only. The asset resource name if an asset is hosted by Private Catalog.

↳ gcs_path string

Output only. The cloud storage object path.

↳ git_source GitSource

Output only. The git source.

↳ gcs_source GcsSource

Output only. The cloud storage source.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation timestamp of the asset reference.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update timestamp of the asset reference.

↳ version string

The version of the source used for this asset reference.

getId

Output only. A unique identifier among asset references in a product.

Returns
Type Description
string

setId

Output only. A unique identifier among asset references in a product.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

Returns
Type Description
string

setDescription

Output only. The human-readable description of the referenced asset. Maximum 256 characters in length.

Parameter
Name Description
var string
Returns
Type Description
$this

getInputs

Output only. The definition of input parameters to hydrate the asset template.

Returns
Type Description
Inputs|null

hasInputs

clearInputs

setInputs

Output only. The definition of input parameters to hydrate the asset template.

Parameter
Name Description
var Inputs
Returns
Type Description
$this

getValidationStatus

Output only. The current state of the asset reference.

Returns
Type Description
int

setValidationStatus

Output only. The current state of the asset reference.

Parameter
Name Description
var int
Returns
Type Description
$this

getValidationOperation

Output only. The validation process metadata.

Returns
Type Description
Google\LongRunning\Operation|null

hasValidationOperation

clearValidationOperation

setValidationOperation

Output only. The validation process metadata.

Parameter
Name Description
var Google\LongRunning\Operation
Returns
Type Description
$this

getAsset

Output only. The asset resource name if an asset is hosted by Private Catalog.

Returns
Type Description
string

hasAsset

setAsset

Output only. The asset resource name if an asset is hosted by Private Catalog.

Parameter
Name Description
var string
Returns
Type Description
$this

getGcsPath

Output only. The cloud storage object path.

Returns
Type Description
string

hasGcsPath

setGcsPath

Output only. The cloud storage object path.

Parameter
Name Description
var string
Returns
Type Description
$this

getGitSource

Output only. The git source.

Returns
Type Description
GitSource|null

hasGitSource

setGitSource

Output only. The git source.

Parameter
Name Description
var GitSource
Returns
Type Description
$this

getGcsSource

Output only. The cloud storage source.

Returns
Type Description
GcsSource|null

hasGcsSource

clearGcsSource

setGcsSource

Output only. The cloud storage source.

Parameter
Name Description
var GcsSource
Returns
Type Description
$this

getCreateTime

Output only. The creation timestamp of the asset reference.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation timestamp of the asset reference.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The last update timestamp of the asset reference.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update timestamp of the asset reference.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getVersion

The version of the source used for this asset reference.

Returns
Type Description
string

setVersion

The version of the source used for this asset reference.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string