Skip to content

Commit ecb0ca1

Browse files
1 parent def1d98 commit ecb0ca1

10 files changed

+72
-72
lines changed

src/Classroom/Resource/CoursesAnnouncements.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public function get($courseId, $id, $optParams = [])
113113
* not exist. (announcements.getAddOnContext)
114114
*
115115
* @param string $courseId Required. Identifier of the course.
116-
* @param string $itemId Identifier of the announcement, courseWork, or
117-
* courseWorkMaterial under which the attachment is attached. This field is
116+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
117+
* `CourseWorkMaterial` under which the attachment is attached. This field is
118118
* required, but is not marked as such while we are migrating from post_id.
119119
* @param array $optParams Optional parameters.
120120
*
@@ -128,7 +128,7 @@ public function get($courseId, $id, $optParams = [])
128128
* This field is required for all requests except when the user is in the
129129
* [Attachment Discovery iframe](https://developers.google.com/classroom/add-
130130
* ons/get-started/iframes/attachment-discovery-iframe).
131-
* @opt_param string postId Optional. Deprecated, use item_id instead.
131+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
132132
* @return AddOnContext
133133
* @throws \Google\Service\Exception
134134
*/

src/Classroom/Resource/CoursesAnnouncementsAddOnAttachments.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class CoursesAnnouncementsAddOnAttachments extends \Google\Service\Resource
3939
* identified resources does not exist. (addOnAttachments.create)
4040
*
4141
* @param string $courseId Required. Identifier of the course.
42-
* @param string $itemId Identifier of the announcement, courseWork, or
43-
* courseWorkMaterial under which to create the attachment. This field is
42+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
43+
* `CourseWorkMaterial` under which to create the attachment. This field is
4444
* required, but is not marked as such while we are migrating from post_id.
4545
* @param AddOnAttachment $postBody
4646
* @param array $optParams Optional parameters.
@@ -52,7 +52,7 @@ class CoursesAnnouncementsAddOnAttachments extends \Google\Service\Resource
5252
* creation. Returns an error if not provided for partner-first attachment
5353
* creation and the developer projects that created the attachment and its
5454
* parent stream item do not match.
55-
* @opt_param string postId Optional. Deprecated, use item_id instead.
55+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
5656
* @return AddOnAttachment
5757
* @throws \Google\Service\Exception
5858
*/
@@ -70,13 +70,13 @@ public function create($courseId, $itemId, AddOnAttachment $postBody, $optParams
7070
* (addOnAttachments.delete)
7171
*
7272
* @param string $courseId Required. Identifier of the course.
73-
* @param string $itemId Identifier of the announcement, courseWork, or
74-
* courseWorkMaterial under which the attachment is attached. This field is
73+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
74+
* `CourseWorkMaterial` under which the attachment is attached. This field is
7575
* required, but is not marked as such while we are migrating from post_id.
7676
* @param string $attachmentId Required. Identifier of the attachment.
7777
* @param array $optParams Optional parameters.
7878
*
79-
* @opt_param string postId Optional. Deprecated, use item_id instead.
79+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
8080
* @return ClassroomEmpty
8181
* @throws \Google\Service\Exception
8282
*/
@@ -94,13 +94,13 @@ public function delete($courseId, $itemId, $attachmentId, $optParams = [])
9494
* identified resources does not exist. (addOnAttachments.get)
9595
*
9696
* @param string $courseId Required. Identifier of the course.
97-
* @param string $itemId Identifier of the announcement, courseWork, or
98-
* courseWorkMaterial under which the attachment is attached. This field is
97+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
98+
* `CourseWorkMaterial` under which the attachment is attached. This field is
9999
* required, but is not marked as such while we are migrating from post_id.
100100
* @param string $attachmentId Required. Identifier of the attachment.
101101
* @param array $optParams Optional parameters.
102102
*
103-
* @opt_param string postId Optional. Deprecated, use item_id instead.
103+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
104104
* @return AddOnAttachment
105105
* @throws \Google\Service\Exception
106106
*/
@@ -119,8 +119,8 @@ public function get($courseId, $itemId, $attachmentId, $optParams = [])
119119
* (addOnAttachments.listCoursesAnnouncementsAddOnAttachments)
120120
*
121121
* @param string $courseId Required. Identifier of the course.
122-
* @param string $itemId Identifier of the announcement, courseWork, or
123-
* courseWorkMaterial whose attachments should be enumerated. This field is
122+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
123+
* `CourseWorkMaterial` whose attachments should be enumerated. This field is
124124
* required, but is not marked as such while we are migrating from post_id.
125125
* @param array $optParams Optional parameters.
126126
*
@@ -133,7 +133,7 @@ public function get($courseId, $itemId, $attachmentId, $optParams = [])
133133
* When paginating, all other parameters provided to `ListAddOnAttachments` must
134134
* match the call that provided the page token.
135135
* @opt_param string postId Optional. Identifier of the post under the course
136-
* whose attachments to enumerate. Deprecated, use item_id instead.
136+
* whose attachments to enumerate. Deprecated, use `item_id` instead.
137137
* @return ListAddOnAttachmentsResponse
138138
* @throws \Google\Service\Exception
139139
*/

src/Classroom/Resource/CoursesCourseWork.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ public function get($courseId, $id, $optParams = [])
116116
* not exist. (courseWork.getAddOnContext)
117117
*
118118
* @param string $courseId Required. Identifier of the course.
119-
* @param string $itemId Identifier of the announcement, courseWork, or
120-
* courseWorkMaterial under which the attachment is attached. This field is
119+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
120+
* `CourseWorkMaterial` under which the attachment is attached. This field is
121121
* required, but is not marked as such while we are migrating from post_id.
122122
* @param array $optParams Optional parameters.
123123
*
@@ -131,7 +131,7 @@ public function get($courseId, $id, $optParams = [])
131131
* This field is required for all requests except when the user is in the
132132
* [Attachment Discovery iframe](https://developers.google.com/classroom/add-
133133
* ons/get-started/iframes/attachment-discovery-iframe).
134-
* @opt_param string postId Optional. Deprecated, use item_id instead.
134+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
135135
* @return AddOnContext
136136
* @throws \Google\Service\Exception
137137
*/

src/Classroom/Resource/CoursesCourseWorkAddOnAttachments.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class CoursesCourseWorkAddOnAttachments extends \Google\Service\Resource
3939
* identified resources does not exist. (addOnAttachments.create)
4040
*
4141
* @param string $courseId Required. Identifier of the course.
42-
* @param string $itemId Identifier of the announcement, courseWork, or
43-
* courseWorkMaterial under which to create the attachment. This field is
42+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
43+
* `CourseWorkMaterial` under which to create the attachment. This field is
4444
* required, but is not marked as such while we are migrating from post_id.
4545
* @param AddOnAttachment $postBody
4646
* @param array $optParams Optional parameters.
@@ -52,7 +52,7 @@ class CoursesCourseWorkAddOnAttachments extends \Google\Service\Resource
5252
* creation. Returns an error if not provided for partner-first attachment
5353
* creation and the developer projects that created the attachment and its
5454
* parent stream item do not match.
55-
* @opt_param string postId Optional. Deprecated, use item_id instead.
55+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
5656
* @return AddOnAttachment
5757
* @throws \Google\Service\Exception
5858
*/
@@ -70,13 +70,13 @@ public function create($courseId, $itemId, AddOnAttachment $postBody, $optParams
7070
* (addOnAttachments.delete)
7171
*
7272
* @param string $courseId Required. Identifier of the course.
73-
* @param string $itemId Identifier of the announcement, courseWork, or
74-
* courseWorkMaterial under which the attachment is attached. This field is
73+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
74+
* `CourseWorkMaterial` under which the attachment is attached. This field is
7575
* required, but is not marked as such while we are migrating from post_id.
7676
* @param string $attachmentId Required. Identifier of the attachment.
7777
* @param array $optParams Optional parameters.
7878
*
79-
* @opt_param string postId Optional. Deprecated, use item_id instead.
79+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
8080
* @return ClassroomEmpty
8181
* @throws \Google\Service\Exception
8282
*/
@@ -94,13 +94,13 @@ public function delete($courseId, $itemId, $attachmentId, $optParams = [])
9494
* identified resources does not exist. (addOnAttachments.get)
9595
*
9696
* @param string $courseId Required. Identifier of the course.
97-
* @param string $itemId Identifier of the announcement, courseWork, or
98-
* courseWorkMaterial under which the attachment is attached. This field is
97+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
98+
* `CourseWorkMaterial` under which the attachment is attached. This field is
9999
* required, but is not marked as such while we are migrating from post_id.
100100
* @param string $attachmentId Required. Identifier of the attachment.
101101
* @param array $optParams Optional parameters.
102102
*
103-
* @opt_param string postId Optional. Deprecated, use item_id instead.
103+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
104104
* @return AddOnAttachment
105105
* @throws \Google\Service\Exception
106106
*/
@@ -119,8 +119,8 @@ public function get($courseId, $itemId, $attachmentId, $optParams = [])
119119
* (addOnAttachments.listCoursesCourseWorkAddOnAttachments)
120120
*
121121
* @param string $courseId Required. Identifier of the course.
122-
* @param string $itemId Identifier of the announcement, courseWork, or
123-
* courseWorkMaterial whose attachments should be enumerated. This field is
122+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
123+
* `CourseWorkMaterial` whose attachments should be enumerated. This field is
124124
* required, but is not marked as such while we are migrating from post_id.
125125
* @param array $optParams Optional parameters.
126126
*
@@ -133,7 +133,7 @@ public function get($courseId, $itemId, $attachmentId, $optParams = [])
133133
* When paginating, all other parameters provided to `ListAddOnAttachments` must
134134
* match the call that provided the page token.
135135
* @opt_param string postId Optional. Identifier of the post under the course
136-
* whose attachments to enumerate. Deprecated, use item_id instead.
136+
* whose attachments to enumerate. Deprecated, use `item_id` instead.
137137
* @return ListAddOnAttachmentsResponse
138138
* @throws \Google\Service\Exception
139139
*/

src/Classroom/Resource/CoursesCourseWorkAddOnAttachmentsStudentSubmissions.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ class CoursesCourseWorkAddOnAttachmentsStudentSubmissions extends \Google\Servic
3636
* identified resources does not exist. (studentSubmissions.get)
3737
*
3838
* @param string $courseId Required. Identifier of the course.
39-
* @param string $itemId Identifier of the announcement, courseWork, or
40-
* courseWorkMaterial under which the attachment is attached. This field is
39+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
40+
* `CourseWorkMaterial` under which the attachment is attached. This field is
4141
* required, but is not marked as such while we are migrating from post_id.
4242
* @param string $attachmentId Required. Identifier of the attachment.
4343
* @param string $submissionId Required. Identifier of the student’s submission.
4444
* @param array $optParams Optional parameters.
4545
*
46-
* @opt_param string postId Optional. Deprecated, use item_id instead.
46+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
4747
* @return AddOnAttachmentStudentSubmission
4848
* @throws \Google\Service\Exception
4949
*/
@@ -62,15 +62,15 @@ public function get($courseId, $itemId, $attachmentId, $submissionId, $optParams
6262
* does not exist. (studentSubmissions.patch)
6363
*
6464
* @param string $courseId Required. Identifier of the course.
65-
* @param string $itemId Identifier of the announcement, courseWork, or
66-
* courseWorkMaterial under which the attachment is attached. This field is
65+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
66+
* `CourseWorkMaterial` under which the attachment is attached. This field is
6767
* required, but is not marked as such while we are migrating from post_id.
6868
* @param string $attachmentId Required. Identifier of the attachment.
6969
* @param string $submissionId Required. Identifier of the student's submission.
7070
* @param AddOnAttachmentStudentSubmission $postBody
7171
* @param array $optParams Optional parameters.
7272
*
73-
* @opt_param string postId Optional. Deprecated, use item_id instead.
73+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
7474
* @opt_param string updateMask Required. Mask that identifies which fields on
7575
* the attachment to update. The update fails if invalid fields are specified.
7676
* If a field supports empty values, it can be cleared by specifying it in the

src/Classroom/Resource/CoursesCourseWorkMaterials.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ public function get($courseId, $id, $optParams = [])
114114
* not exist. (courseWorkMaterials.getAddOnContext)
115115
*
116116
* @param string $courseId Required. Identifier of the course.
117-
* @param string $itemId Identifier of the announcement, courseWork, or
118-
* courseWorkMaterial under which the attachment is attached. This field is
117+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
118+
* `CourseWorkMaterial` under which the attachment is attached. This field is
119119
* required, but is not marked as such while we are migrating from post_id.
120120
* @param array $optParams Optional parameters.
121121
*
@@ -129,7 +129,7 @@ public function get($courseId, $id, $optParams = [])
129129
* This field is required for all requests except when the user is in the
130130
* [Attachment Discovery iframe](https://developers.google.com/classroom/add-
131131
* ons/get-started/iframes/attachment-discovery-iframe).
132-
* @opt_param string postId Optional. Deprecated, use item_id instead.
132+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
133133
* @return AddOnContext
134134
* @throws \Google\Service\Exception
135135
*/

src/Classroom/Resource/CoursesCourseWorkMaterialsAddOnAttachments.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ class CoursesCourseWorkMaterialsAddOnAttachments extends \Google\Service\Resourc
3939
* identified resources does not exist. (addOnAttachments.create)
4040
*
4141
* @param string $courseId Required. Identifier of the course.
42-
* @param string $itemId Identifier of the announcement, courseWork, or
43-
* courseWorkMaterial under which to create the attachment. This field is
42+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
43+
* `CourseWorkMaterial` under which to create the attachment. This field is
4444
* required, but is not marked as such while we are migrating from post_id.
4545
* @param AddOnAttachment $postBody
4646
* @param array $optParams Optional parameters.
@@ -52,7 +52,7 @@ class CoursesCourseWorkMaterialsAddOnAttachments extends \Google\Service\Resourc
5252
* creation. Returns an error if not provided for partner-first attachment
5353
* creation and the developer projects that created the attachment and its
5454
* parent stream item do not match.
55-
* @opt_param string postId Optional. Deprecated, use item_id instead.
55+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
5656
* @return AddOnAttachment
5757
* @throws \Google\Service\Exception
5858
*/
@@ -70,13 +70,13 @@ public function create($courseId, $itemId, AddOnAttachment $postBody, $optParams
7070
* (addOnAttachments.delete)
7171
*
7272
* @param string $courseId Required. Identifier of the course.
73-
* @param string $itemId Identifier of the announcement, courseWork, or
74-
* courseWorkMaterial under which the attachment is attached. This field is
73+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
74+
* `CourseWorkMaterial` under which the attachment is attached. This field is
7575
* required, but is not marked as such while we are migrating from post_id.
7676
* @param string $attachmentId Required. Identifier of the attachment.
7777
* @param array $optParams Optional parameters.
7878
*
79-
* @opt_param string postId Optional. Deprecated, use item_id instead.
79+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
8080
* @return ClassroomEmpty
8181
* @throws \Google\Service\Exception
8282
*/
@@ -94,13 +94,13 @@ public function delete($courseId, $itemId, $attachmentId, $optParams = [])
9494
* identified resources does not exist. (addOnAttachments.get)
9595
*
9696
* @param string $courseId Required. Identifier of the course.
97-
* @param string $itemId Identifier of the announcement, courseWork, or
98-
* courseWorkMaterial under which the attachment is attached. This field is
97+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
98+
* `CourseWorkMaterial` under which the attachment is attached. This field is
9999
* required, but is not marked as such while we are migrating from post_id.
100100
* @param string $attachmentId Required. Identifier of the attachment.
101101
* @param array $optParams Optional parameters.
102102
*
103-
* @opt_param string postId Optional. Deprecated, use item_id instead.
103+
* @opt_param string postId Optional. Deprecated, use `item_id` instead.
104104
* @return AddOnAttachment
105105
* @throws \Google\Service\Exception
106106
*/
@@ -119,8 +119,8 @@ public function get($courseId, $itemId, $attachmentId, $optParams = [])
119119
* (addOnAttachments.listCoursesCourseWorkMaterialsAddOnAttachments)
120120
*
121121
* @param string $courseId Required. Identifier of the course.
122-
* @param string $itemId Identifier of the announcement, courseWork, or
123-
* courseWorkMaterial whose attachments should be enumerated. This field is
122+
* @param string $itemId Identifier of the `Announcement`, `CourseWork`, or
123+
* `CourseWorkMaterial` whose attachments should be enumerated. This field is
124124
* required, but is not marked as such while we are migrating from post_id.
125125
* @param array $optParams Optional parameters.
126126
*
@@ -133,7 +133,7 @@ public function get($courseId, $itemId, $attachmentId, $optParams = [])
133133
* When paginating, all other parameters provided to `ListAddOnAttachments` must
134134
* match the call that provided the page token.
135135
* @opt_param string postId Optional. Identifier of the post under the course
136-
* whose attachments to enumerate. Deprecated, use item_id instead.
136+
* whose attachments to enumerate. Deprecated, use `item_id` instead.
137137
* @return ListAddOnAttachmentsResponse
138138
* @throws \Google\Service\Exception
139139
*/

src/Classroom/Resource/CoursesPosts.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CoursesPosts extends \Google\Service\Resource
4141
* not exist. (posts.getAddOnContext)
4242
*
4343
* @param string $courseId Required. Identifier of the course.
44-
* @param string $postId Optional. Deprecated, use item_id instead.
44+
* @param string $postId Optional. Deprecated, use `item_id` instead.
4545
* @param array $optParams Optional parameters.
4646
*
4747
* @opt_param string addOnToken Optional. Token that authorizes the request. The
@@ -54,8 +54,8 @@ class CoursesPosts extends \Google\Service\Resource
5454
* This field is required for all requests except when the user is in the
5555
* [Attachment Discovery iframe](https://developers.google.com/classroom/add-
5656
* ons/get-started/iframes/attachment-discovery-iframe).
57-
* @opt_param string itemId Identifier of the announcement, courseWork, or
58-
* courseWorkMaterial under which the attachment is attached. This field is
57+
* @opt_param string itemId Identifier of the `Announcement`, `CourseWork`, or
58+
* `CourseWorkMaterial` under which the attachment is attached. This field is
5959
* required, but is not marked as such while we are migrating from post_id.
6060
* @return AddOnContext
6161
* @throws \Google\Service\Exception

0 commit comments

Comments
 (0)