Class: Google::Apis::SecuresourcemanagerV1::BatchCreatePullRequestCommentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::BatchCreatePullRequestCommentsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securesourcemanager_v1/classes.rb,
lib/google/apis/securesourcemanager_v1/representations.rb,
lib/google/apis/securesourcemanager_v1/representations.rb
Overview
The request to batch create pull request comments.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreatePullRequestCommentsRequest
constructor
A new instance of BatchCreatePullRequestCommentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchCreatePullRequestCommentsRequest
Returns a new instance of BatchCreatePullRequestCommentsRequest.
108 109 110 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<Google::Apis::SecuresourcemanagerV1::CreatePullRequestCommentRequest>
Required. The request message specifying the resources to create. There should
be exactly one CreatePullRequestCommentRequest with CommentDetail being REVIEW
in the list, and no more than 100 CreatePullRequestCommentRequests with
CommentDetail being CODE in the list
Corresponds to the JSON property requests
106 107 108 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 106 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
113 114 115 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 113 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |