Google Cloud Database Center V1beta Client - Class Affiliation (0.6.0)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class Affiliation.

Affiliation information of a resource

Generated from protobuf message google.cloud.databasecenter.v1beta.Affiliation

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_id string

Optional. resource id of affiliated resource

↳ full_resource_name string

Optional. Full resource name

↳ lineages array<Affiliation\Lineage>

Optional. Multiple lineages can be created from a resource. For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource.

getResourceId

Optional. resource id of affiliated resource

Returns
Type Description
string

setResourceId

Optional. resource id of affiliated resource

Parameter
Name Description
var string
Returns
Type Description
$this

getFullResourceName

Optional. Full resource name

Returns
Type Description
string

setFullResourceName

Optional. Full resource name

Parameter
Name Description
var string
Returns
Type Description
$this

getLineages

Optional. Multiple lineages can be created from a resource.

For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource.

Returns
Type Description
Google\Protobuf\RepeatedField<Affiliation\Lineage>

setLineages

Optional. Multiple lineages can be created from a resource.

For example, a resource can be replicated to multiple target resources. In this case, there will be multiple lineages for the resource, one for each target resource.

Parameter
Name Description
var array<Affiliation\Lineage>
Returns
Type Description
$this