description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * The owner of the resource (optional). For example, "user:" or "project:". * * @param string $owner */ public function setOwner($owner) { $this->owner = $owner; } /** * @return string */ public function getOwner() { return $this->owner; } /** * The name of the resource being accessed. For example, a shared calendar * name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current * error is google.rpc.Code.PERMISSION_DENIED. * * @param string $resourceName */ public function setResourceName($resourceName) { $this->resourceName = $resourceName; } /** * @return string */ public function getResourceName() { return $this->resourceName; } /** * A name for the type of resource being accessed, e.g. "sql table", "cloud * storage bucket", "file", "Google calendar"; or the type URL of the * resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". * * @param string $resourceType */ public function setResourceType($resourceType) { $this->resourceType = $resourceType; } /** * @return string */ public function getResourceType() { return $this->resourceType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ResourceInfo::class, 'Google_Service_DatabaseMigrationService_ResourceInfo');