languageCode = $languageCode; } /** * @return string */ public function getLanguageCode() { return $this->languageCode; } /** * A list of updates to apply to the label. Requests will be applied in the * order they are specified. * * @param GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest[] $requests */ public function setRequests($requests) { $this->requests = $requests; } /** * @return GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest[] */ public function getRequests() { return $this->requests; } /** * Set to `true` in order to use the user's admin credentials. The server will * verify the user is an admin for the label before allowing access. * * @param bool $useAdminAccess */ public function setUseAdminAccess($useAdminAccess) { $this->useAdminAccess = $useAdminAccess; } /** * @return bool */ public function getUseAdminAccess() { return $this->useAdminAccess; } /** * When specified, only certain fields belonging to the indicated view will be * returned. * * Accepted values: LABEL_VIEW_BASIC, LABEL_VIEW_FULL * * @param self::VIEW_* $view */ public function setView($view) { $this->view = $view; } /** * @return self::VIEW_* */ public function getView() { return $this->view; } /** * Provides control over how write requests are executed. * * @param GoogleAppsDriveLabelsV2WriteControl $writeControl */ public function setWriteControl(GoogleAppsDriveLabelsV2WriteControl $writeControl) { $this->writeControl = $writeControl; } /** * @return GoogleAppsDriveLabelsV2WriteControl */ public function getWriteControl() { return $this->writeControl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest');