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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\PrivateCatalog\V1beta1\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 Google\Cloud\PrivateCatalog\V1beta1\GitSource

Output only. The git source.

↳ gcs_source Google\Cloud\PrivateCatalog\V1beta1\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
TypeDescription
string

setId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

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

Returns
TypeDescription
string

setDescription

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputs

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

Returns
TypeDescription
Google\Cloud\PrivateCatalog\V1beta1\Inputs|null

hasInputs

clearInputs

setInputs

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

Parameter
NameDescription
var Google\Cloud\PrivateCatalog\V1beta1\Inputs
Returns
TypeDescription
$this

getValidationStatus

Output only. The current state of the asset reference.

Returns
TypeDescription
int

setValidationStatus

Output only. The current state of the asset reference.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getValidationOperation

Output only. The validation process metadata.

Returns
TypeDescription
Google\LongRunning\Operation|null

hasValidationOperation

clearValidationOperation

setValidationOperation

Output only. The validation process metadata.

Parameter
NameDescription
var Google\LongRunning\Operation
Returns
TypeDescription
$this

getAsset

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

Returns
TypeDescription
string

hasAsset

setAsset

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcsPath

Output only. The cloud storage object path.

Returns
TypeDescription
string

hasGcsPath

setGcsPath

Output only. The cloud storage object path.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGitSource

Output only. The git source.

Returns
TypeDescription
Google\Cloud\PrivateCatalog\V1beta1\GitSource|null

hasGitSource

setGitSource

Output only. The git source.

Parameter
NameDescription
var Google\Cloud\PrivateCatalog\V1beta1\GitSource
Returns
TypeDescription
$this

getGcsSource

Output only. The cloud storage source.

Returns
TypeDescription
Google\Cloud\PrivateCatalog\V1beta1\GcsSource|null

hasGcsSource

clearGcsSource

setGcsSource

Output only. The cloud storage source.

Parameter
NameDescription
var Google\Cloud\PrivateCatalog\V1beta1\GcsSource
Returns
TypeDescription
$this

getCreateTime

Output only. The creation timestamp of the asset reference.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation timestamp of the asset reference.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getVersion

The version of the source used for this asset reference.

Returns
TypeDescription
string

setVersion

The version of the source used for this asset reference.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string