Reference documentation and code samples for the Google Cloud Api Hub V1 Client class CollectApiDataRequest.
The CollectApiData method's request.
Generated from protobuf message google.cloud.apihub.v1.CollectApiDataRequest
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ location
string
Required. The regional location of the API hub instance and its resources. Format: projects/{project}/locations/{location}
↳ collection_type
↳ plugin_instance
string
Required. The plugin instance collecting the API data. Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
.
↳ action_id
string
Required. The action ID to be used for collecting the API data. This should map to one of the action IDs specified in action configs in the plugin.
↳ api_data
getLocation
Required. The regional location of the API hub instance and its resources.
Format: projects/{project}/locations/{location}
string
setLocation
Required. The regional location of the API hub instance and its resources.
Format: projects/{project}/locations/{location}
var
string
$this
getCollectionType
Required. The type of collection. Applies to all entries in api_data .
setCollectionType
Required. The type of collection. Applies to all entries in api_data .
$this
getPluginInstance
Required. The plugin instance collecting the API data.
Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
.
string
setPluginInstance
Required. The plugin instance collecting the API data.
Format: projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
.
var
string
$this
getActionId
Required. The action ID to be used for collecting the API data.
This should map to one of the action IDs specified in action configs in the plugin.
string
setActionId
Required. The action ID to be used for collecting the API data.
This should map to one of the action IDs specified in action configs in the plugin.
var
string
$this
getApiData
Required. The API data to be collected.
hasApiData
clearApiData
setApiData
Required. The API data to be collected.
$this
static::build
location
string
Required. The regional location of the API hub instance and its resources.
Format: projects/{project}/locations/{location}
Please see ApiHubCollectClient::locationName()
for help formatting this field.
collectionType
int
Required. The type of collection. Applies to all entries in api_data . For allowed values, use constants defined on CollectionType
apiData

