Google Cloud Ai Platform V1 Client - Class ResourceId (1.13.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ResourceId.

The type and ID of the Google Drive resource.

Generated from protobuf message google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GoogleDriveSource

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_type int

Required. The type of the Google Drive resource.

↳ resource_id string

Required. The ID of the Google Drive resource.

getResourceType

Required. The type of the Google Drive resource.

Returns
Type Description
int

setResourceType

Required. The type of the Google Drive resource.

Parameter
Name Description
var int
Returns
Type Description
$this

getResourceId

Required. The ID of the Google Drive resource.

Returns
Type Description
string

setResourceId

Required. The ID of the Google Drive resource.

Parameter
Name Description
var string
Returns
Type Description
$this