📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Classroom
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AddOnAttachment.php
▶ Open 📄 View Source
🐘 AddOnAttachmentStudentSubmission.php
▶ Open 📄 View Source
🐘 AddOnContext.php
▶ Open 📄 View Source
🐘 Announcement.php
▶ Open 📄 View Source
🐘 Assignment.php
▶ Open 📄 View Source
🐘 AssignmentSubmission.php
▶ Open 📄 View Source
🐘 Attachment.php
▶ Open 📄 View Source
🐘 ClassroomEmpty.php
▶ Open 📄 View Source
🐘 CloudPubsubTopic.php
▶ Open 📄 View Source
🐘 CopyHistory.php
▶ Open 📄 View Source
🐘 Course.php
▶ Open 📄 View Source
🐘 CourseAlias.php
▶ Open 📄 View Source
🐘 CourseMaterial.php
▶ Open 📄 View Source
🐘 CourseMaterialSet.php
▶ Open 📄 View Source
🐘 CourseRosterChangesInfo.php
▶ Open 📄 View Source
🐘 CourseWork.php
▶ Open 📄 View Source
🐘 CourseWorkChangesInfo.php
▶ Open 📄 View Source
🐘 CourseWorkMaterial.php
▶ Open 📄 View Source
🐘 Criterion.php
▶ Open 📄 View Source
🐘 Date.php
▶ Open 📄 View Source
🐘 DriveFile.php
▶ Open 📄 View Source
🐘 DriveFolder.php
▶ Open 📄 View Source
🐘 EmbedUri.php
▶ Open 📄 View Source
🐘 Feed.php
▶ Open 📄 View Source
🐘 Form.php
▶ Open 📄 View Source
🐘 GeminiGem.php
▶ Open 📄 View Source
🐘 GlobalPermission.php
▶ Open 📄 View Source
🐘 GradeCategory.php
▶ Open 📄 View Source
🐘 GradeHistory.php
▶ Open 📄 View Source
🐘 GradebookSettings.php
▶ Open 📄 View Source
🐘 GradingPeriod.php
▶ Open 📄 View Source
🐘 GradingPeriodSettings.php
▶ Open 📄 View Source
🐘 Guardian.php
▶ Open 📄 View Source
🐘 GuardianInvitation.php
▶ Open 📄 View Source
🐘 IndividualStudentsOptions.php
▶ Open 📄 View Source
🐘 Invitation.php
▶ Open 📄 View Source
🐘 Level.php
▶ Open 📄 View Source
🐘 Link.php
▶ Open 📄 View Source
🐘 ListAddOnAttachmentsResponse.php
▶ Open 📄 View Source
🐘 ListAnnouncementsResponse.php
▶ Open 📄 View Source
🐘 ListCourseAliasesResponse.php
▶ Open 📄 View Source
🐘 ListCourseWorkMaterialResponse.php
▶ Open 📄 View Source
🐘 ListCourseWorkResponse.php
▶ Open 📄 View Source
🐘 ListCoursesResponse.php
▶ Open 📄 View Source
🐘 ListGuardianInvitationsResponse.php
▶ Open 📄 View Source
🐘 ListGuardiansResponse.php
▶ Open 📄 View Source
🐘 ListInvitationsResponse.php
▶ Open 📄 View Source
🐘 ListRubricsResponse.php
▶ Open 📄 View Source
🐘 ListStudentGroupMembersResponse.php
▶ Open 📄 View Source
🐘 ListStudentGroupsResponse.php
▶ Open 📄 View Source
🐘 ListStudentSubmissionsResponse.php
▶ Open 📄 View Source
🐘 ListStudentsResponse.php
▶ Open 📄 View Source
🐘 ListTeachersResponse.php
▶ Open 📄 View Source
🐘 ListTopicResponse.php
▶ Open 📄 View Source
🐘 Material.php
▶ Open 📄 View Source
🐘 ModifyAnnouncementAssigneesRequest.php
▶ Open 📄 View Source
🐘 ModifyAttachmentsRequest.php
▶ Open 📄 View Source
🐘 ModifyCourseWorkAssigneesRequest.php
▶ Open 📄 View Source
🐘 ModifyIndividualStudentsOptions.php
▶ Open 📄 View Source
🐘 MultipleChoiceQuestion.php
▶ Open 📄 View Source
🐘 MultipleChoiceSubmission.php
▶ Open 📄 View Source
🐘 Name.php
▶ Open 📄 View Source
🐘 NotebookLmNotebook.php
▶ Open 📄 View Source
🐘 ReclaimStudentSubmissionRequest.php
▶ Open 📄 View Source
🐘 Registration.php
▶ Open 📄 View Source
🐘 ReturnStudentSubmissionRequest.php
▶ Open 📄 View Source
🐘 Rubric.php
▶ Open 📄 View Source
🐘 RubricGrade.php
▶ Open 📄 View Source
🐘 SharedDriveFile.php
▶ Open 📄 View Source
🐘 ShortAnswerSubmission.php
▶ Open 📄 View Source
🐘 StateHistory.php
▶ Open 📄 View Source
🐘 Student.php
▶ Open 📄 View Source
🐘 StudentContext.php
▶ Open 📄 View Source
🐘 StudentGroup.php
▶ Open 📄 View Source
🐘 StudentGroupMember.php
▶ Open 📄 View Source
🐘 StudentSubmission.php
▶ Open 📄 View Source
🐘 SubmissionHistory.php
▶ Open 📄 View Source
🐘 Teacher.php
▶ Open 📄 View Source
🐘 TeacherContext.php
▶ Open 📄 View Source
🐘 TimeOfDay.php
▶ Open 📄 View Source
🐘 Topic.php
▶ Open 📄 View Source
🐘 TurnInStudentSubmissionRequest.php
▶ Open 📄 View Source
🐘 UserProfile.php
▶ Open 📄 View Source
🐘 YouTubeVideo.php
▶ Open 📄 View Source

📄 Source: GradebookSettings.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Classroom;

class GradebookSettings extends \Google\Collection
{
  /**
   * No method specified. This is never returned.
   */
  public const CALCULATION_TYPE_CALCULATION_TYPE_UNSPECIFIED = 'CALCULATION_TYPE_UNSPECIFIED';
  /**
   * Overall grade is the sum of grades divided by the sum of total points
   * regardless of category.
   */
  public const CALCULATION_TYPE_TOTAL_POINTS = 'TOTAL_POINTS';
  /**
   * Overall grade is the weighted average by category.
   */
  public const CALCULATION_TYPE_WEIGHTED_CATEGORIES = 'WEIGHTED_CATEGORIES';
  /**
   * No setting specified. This is never returned.
   */
  public const DISPLAY_SETTING_DISPLAY_SETTING_UNSPECIFIED = 'DISPLAY_SETTING_UNSPECIFIED';
  /**
   * Shows overall grade in the gradebook and student profile to both teachers
   * and students.
   */
  public const DISPLAY_SETTING_SHOW_OVERALL_GRADE = 'SHOW_OVERALL_GRADE';
  /**
   * Does not show overall grade in the gradebook or student profile.
   */
  public const DISPLAY_SETTING_HIDE_OVERALL_GRADE = 'HIDE_OVERALL_GRADE';
  /**
   * Shows the overall grade to teachers in the gradebook and student profile.
   * Hides from students in their student profile.
   */
  public const DISPLAY_SETTING_SHOW_TEACHERS_ONLY = 'SHOW_TEACHERS_ONLY';
  protected $collection_key = 'gradeCategories';
  /**
   * Indicates how the overall grade is calculated.
   *
   * @var string
   */
  public $calculationType;
  /**
   * Indicates who can see the overall grade..
   *
   * @var string
   */
  public $displaySetting;
  protected $gradeCategoriesType = GradeCategory::class;
  protected $gradeCategoriesDataType = 'array';

  /**
   * Indicates how the overall grade is calculated.
   *
   * Accepted values: CALCULATION_TYPE_UNSPECIFIED, TOTAL_POINTS,
   * WEIGHTED_CATEGORIES
   *
   * @param self::CALCULATION_TYPE_* $calculationType
   */
  public function setCalculationType($calculationType)
  {
    $this->calculationType = $calculationType;
  }
  /**
   * @return self::CALCULATION_TYPE_*
   */
  public function getCalculationType()
  {
    return $this->calculationType;
  }
  /**
   * Indicates who can see the overall grade..
   *
   * Accepted values: DISPLAY_SETTING_UNSPECIFIED, SHOW_OVERALL_GRADE,
   * HIDE_OVERALL_GRADE, SHOW_TEACHERS_ONLY
   *
   * @param self::DISPLAY_SETTING_* $displaySetting
   */
  public function setDisplaySetting($displaySetting)
  {
    $this->displaySetting = $displaySetting;
  }
  /**
   * @return self::DISPLAY_SETTING_*
   */
  public function getDisplaySetting()
  {
    return $this->displaySetting;
  }
  /**
   * Grade categories that are available for coursework in the course.
   *
   * @param GradeCategory[] $gradeCategories
   */
  public function setGradeCategories($gradeCategories)
  {
    $this->gradeCategories = $gradeCategories;
  }
  /**
   * @return GradeCategory[]
   */
  public function getGradeCategories()
  {
    return $this->gradeCategories;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GradebookSettings::class, 'Google_Service_Classroom_GradebookSettings');
← Back