Reference documentation and code samples for the Google Cloud Observability V1 Client class CreateLinkRequest.
Request for creating a link.
Generated from protobuf message google.cloud.observability.v1.CreateLinkRequest
Namespace
Google \ Cloud \ Observability \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Name of the containing dataset for this link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID] |
↳ link_id |
string
Required. Id of the link to create. |
↳ link |
Link
Required. Link to create. |
getParent
Required. Name of the containing dataset for this link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Name of the containing dataset for this link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLinkId
Required. Id of the link to create.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLinkId
Required. Id of the link to create.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLink
Required. Link to create.
| Returns | |
|---|---|
| Type | Description |
Link|null |
|
hasLink
clearLink
setLink
Required. Link to create.
| Parameter | |
|---|---|
| Name | Description |
var |
Link
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. Name of the containing dataset for this link. The format is: projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID] Please see ObservabilityClient::datasetName() for help formatting this field. |
link |
Link
Required. Link to create. |
linkId |
string
Required. Id of the link to create. |
| Returns | |
|---|---|
| Type | Description |
CreateLinkRequest |
|