Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ResourceConfig.
The configuration of resources created for a given plugin instance action.
Generated from protobuf message google.cloud.apihub.v1.PluginInstanceAction.ResourceConfig
Namespace
Google \ Cloud \ ApiHub \ V1 \ PluginInstanceActionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ action_type |
int
Output only. The type of the action. |
↳ pubsub_topic |
string
Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic} |
getActionType
Output only. The type of the action.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ActionType. |
setActionType
Output only. The type of the action.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ActionType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPubsubTopic
Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
| Returns | |
|---|---|
| Type | Description |
string |
|
setPubsubTopic
Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|