google-apis-developerconnect_v1 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,6 +107,63 @@ module Google
107
107
  end
108
108
  end
109
109
 
110
+ # Request message for AddGitRepositoryLinkPullRequestComment.
111
+ class AddGitRepositoryLinkPullRequestCommentRequest
112
+ include Google::Apis::Core::Hashable
113
+
114
+ # Message representing a SCM Pull Request Comment.
115
+ # Corresponds to the JSON property `comment`
116
+ # @return [Google::Apis::DeveloperconnectV1::PullRequestComment]
117
+ attr_accessor :comment
118
+
119
+ # Required. The ID of the Pull Request.
120
+ # Corresponds to the JSON property `pullRequestId`
121
+ # @return [String]
122
+ attr_accessor :pull_request_id
123
+
124
+ def initialize(**args)
125
+ update!(**args)
126
+ end
127
+
128
+ # Update properties of this object
129
+ def update!(**args)
130
+ @comment = args[:comment] if args.key?(:comment)
131
+ @pull_request_id = args[:pull_request_id] if args.key?(:pull_request_id)
132
+ end
133
+ end
134
+
135
+ # Request message for AddGitRepositoryLinkPullRequestReviewComment.
136
+ class AddGitRepositoryLinkPullRequestReviewCommentRequest
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # Message representing a SCM Pull Request Review Comment (inline on diff).
140
+ # Corresponds to the JSON property `comment`
141
+ # @return [Google::Apis::DeveloperconnectV1::PullRequestReviewComment]
142
+ attr_accessor :comment
143
+
144
+ # Optional. The commit SHA to comment on. If not specified, defaults to the HEAD
145
+ # commit of the Pull Request.
146
+ # Corresponds to the JSON property `commitId`
147
+ # @return [String]
148
+ attr_accessor :commit_id
149
+
150
+ # Required. The ID of the Pull Request.
151
+ # Corresponds to the JSON property `pullRequestId`
152
+ # @return [String]
153
+ attr_accessor :pull_request_id
154
+
155
+ def initialize(**args)
156
+ update!(**args)
157
+ end
158
+
159
+ # Update properties of this object
160
+ def update!(**args)
161
+ @comment = args[:comment] if args.key?(:comment)
162
+ @commit_id = args[:commit_id] if args.key?(:commit_id)
163
+ @pull_request_id = args[:pull_request_id] if args.key?(:pull_request_id)
164
+ end
165
+ end
166
+
110
167
  # AppHubService represents the App Hub Service.
111
168
  class AppHubService
112
169
  include Google::Apis::Core::Hashable
@@ -425,6 +482,37 @@ module Google
425
482
  end
426
483
  end
427
484
 
485
+ # BlameRange represents blame information for a range of lines.
486
+ class BlameRange
487
+ include Google::Apis::Core::Hashable
488
+
489
+ # SCMCommit represents commit metadata.
490
+ # Corresponds to the JSON property `commit`
491
+ # @return [Google::Apis::DeveloperconnectV1::ScmCommit]
492
+ attr_accessor :commit
493
+
494
+ # The 1-indexed starting line number of the range (inclusive).
495
+ # Corresponds to the JSON property `firstLine`
496
+ # @return [Fixnum]
497
+ attr_accessor :first_line
498
+
499
+ # The 1-indexed ending line number of the range (inclusive).
500
+ # Corresponds to the JSON property `lastLine`
501
+ # @return [Fixnum]
502
+ attr_accessor :last_line
503
+
504
+ def initialize(**args)
505
+ update!(**args)
506
+ end
507
+
508
+ # Update properties of this object
509
+ def update!(**args)
510
+ @commit = args[:commit] if args.key?(:commit)
511
+ @first_line = args[:first_line] if args.key?(:first_line)
512
+ @last_line = args[:last_line] if args.key?(:last_line)
513
+ end
514
+ end
515
+
428
516
  # The request message for Operations.CancelOperation.
429
517
  class CancelOperationRequest
430
518
  include Google::Apis::Core::Hashable
@@ -457,7 +545,7 @@ module Google
457
545
  # @return [Google::Apis::DeveloperconnectV1::BitbucketDataCenterConfig]
458
546
  attr_accessor :bitbucket_data_center_config
459
547
 
460
- # Output only. [Output only] Create timestamp
548
+ # Output only. Create timestamp.
461
549
  # Corresponds to the JSON property `createTime`
462
550
  # @return [String]
463
551
  attr_accessor :create_time
@@ -468,7 +556,7 @@ module Google
468
556
  # @return [Google::Apis::DeveloperconnectV1::CryptoKeyConfig]
469
557
  attr_accessor :crypto_key_config
470
558
 
471
- # Output only. [Output only] Delete timestamp
559
+ # Output only. Delete timestamp.
472
560
  # Corresponds to the JSON property `deleteTime`
473
561
  # @return [String]
474
562
  attr_accessor :delete_time
@@ -553,7 +641,7 @@ module Google
553
641
  # @return [String]
554
642
  attr_accessor :uid
555
643
 
556
- # Output only. [Output only] Update timestamp
644
+ # Output only. Update timestamp.
557
645
  # Corresponds to the JSON property `updateTime`
558
646
  # @return [String]
559
647
  attr_accessor :update_time
@@ -772,6 +860,25 @@ module Google
772
860
  end
773
861
  end
774
862
 
863
+ # Response message for DiffGitRepositoryLinkCommit.
864
+ class DiffGitRepositoryLinkCommitResponse
865
+ include Google::Apis::Core::Hashable
866
+
867
+ # The file diff extracted from the unified diff.
868
+ # Corresponds to the JSON property `files`
869
+ # @return [Array<Google::Apis::DeveloperconnectV1::FileDiff>]
870
+ attr_accessor :files
871
+
872
+ def initialize(**args)
873
+ update!(**args)
874
+ end
875
+
876
+ # Update properties of this object
877
+ def update!(**args)
878
+ @files = args[:files] if args.key?(:files)
879
+ end
880
+ end
881
+
775
882
  # A generic empty message that you can re-use to avoid defining duplicated empty
776
883
  # messages in your APIs. A typical example is to use it as the request or the
777
884
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -908,6 +1015,104 @@ module Google
908
1015
  end
909
1016
  end
910
1017
 
1018
+ # Response message for FetchGitRepositoryLinkCommitList.
1019
+ class FetchGitRepositoryLinkCommitListResponse
1020
+ include Google::Apis::Core::Hashable
1021
+
1022
+ # The list of commit metadata.
1023
+ # Corresponds to the JSON property `commits`
1024
+ # @return [Array<Google::Apis::DeveloperconnectV1::ScmCommit>]
1025
+ attr_accessor :commits
1026
+
1027
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1028
+ # field is omitted, there are no subsequent pages.
1029
+ # Corresponds to the JSON property `nextPageToken`
1030
+ # @return [String]
1031
+ attr_accessor :next_page_token
1032
+
1033
+ def initialize(**args)
1034
+ update!(**args)
1035
+ end
1036
+
1037
+ # Update properties of this object
1038
+ def update!(**args)
1039
+ @commits = args[:commits] if args.key?(:commits)
1040
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1041
+ end
1042
+ end
1043
+
1044
+ # Response message for FetchGitRepositoryLinkCommit.
1045
+ class FetchGitRepositoryLinkCommitResponse
1046
+ include Google::Apis::Core::Hashable
1047
+
1048
+ # SCMCommit represents commit metadata.
1049
+ # Corresponds to the JSON property `commit`
1050
+ # @return [Google::Apis::DeveloperconnectV1::ScmCommit]
1051
+ attr_accessor :commit
1052
+
1053
+ # List of file changes and patch diffs. Omitted when view is `BASIC`. Patch
1054
+ # diffs (`FileDiff.patch`) are only populated when `path_filters` is specified
1055
+ # in the request.
1056
+ # Corresponds to the JSON property `files`
1057
+ # @return [Array<Google::Apis::DeveloperconnectV1::FileDiff>]
1058
+ attr_accessor :files
1059
+
1060
+ def initialize(**args)
1061
+ update!(**args)
1062
+ end
1063
+
1064
+ # Update properties of this object
1065
+ def update!(**args)
1066
+ @commit = args[:commit] if args.key?(:commit)
1067
+ @files = args[:files] if args.key?(:files)
1068
+ end
1069
+ end
1070
+
1071
+ # Response message for FetchGitRepositoryLinkFileBlame.
1072
+ class FetchGitRepositoryLinkFileBlameResponse
1073
+ include Google::Apis::Core::Hashable
1074
+
1075
+ # The list of blame ranges for the file.
1076
+ # Corresponds to the JSON property `ranges`
1077
+ # @return [Array<Google::Apis::DeveloperconnectV1::BlameRange>]
1078
+ attr_accessor :ranges
1079
+
1080
+ def initialize(**args)
1081
+ update!(**args)
1082
+ end
1083
+
1084
+ # Update properties of this object
1085
+ def update!(**args)
1086
+ @ranges = args[:ranges] if args.key?(:ranges)
1087
+ end
1088
+ end
1089
+
1090
+ # Response message for FetchGitRepositoryLinkPullRequestList.
1091
+ class FetchGitRepositoryLinkPullRequestListResponse
1092
+ include Google::Apis::Core::Hashable
1093
+
1094
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1095
+ # field is omitted, there are no subsequent pages.
1096
+ # Corresponds to the JSON property `nextPageToken`
1097
+ # @return [String]
1098
+ attr_accessor :next_page_token
1099
+
1100
+ # The list of pull requests.
1101
+ # Corresponds to the JSON property `pullRequests`
1102
+ # @return [Array<Google::Apis::DeveloperconnectV1::PullRequest>]
1103
+ attr_accessor :pull_requests
1104
+
1105
+ def initialize(**args)
1106
+ update!(**args)
1107
+ end
1108
+
1109
+ # Update properties of this object
1110
+ def update!(**args)
1111
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1112
+ @pull_requests = args[:pull_requests] if args.key?(:pull_requests)
1113
+ end
1114
+ end
1115
+
911
1116
  # Response message for FetchLinkableGitRepositories.
912
1117
  class FetchLinkableGitRepositoriesResponse
913
1118
  include Google::Apis::Core::Hashable
@@ -1074,6 +1279,38 @@ module Google
1074
1279
  end
1075
1280
  end
1076
1281
 
1282
+ # Message for a file diff.
1283
+ class FileDiff
1284
+ include Google::Apis::Core::Hashable
1285
+
1286
+ # Standard unified diff patch hunk for the file. Only populated when `
1287
+ # path_filters` is specified in the request; otherwise empty.
1288
+ # Corresponds to the JSON property `patch`
1289
+ # @return [String]
1290
+ attr_accessor :patch
1291
+
1292
+ # Relative path to the file in the repository.
1293
+ # Corresponds to the JSON property `path`
1294
+ # @return [String]
1295
+ attr_accessor :path
1296
+
1297
+ # Status of change: "ADDED", "MODIFIED", "REMOVED", "RENAMED".
1298
+ # Corresponds to the JSON property `status`
1299
+ # @return [String]
1300
+ attr_accessor :status
1301
+
1302
+ def initialize(**args)
1303
+ update!(**args)
1304
+ end
1305
+
1306
+ # Update properties of this object
1307
+ def update!(**args)
1308
+ @patch = args[:patch] if args.key?(:patch)
1309
+ @path = args[:path] if args.key?(:path)
1310
+ @status = args[:status] if args.key?(:status)
1311
+ end
1312
+ end
1313
+
1077
1314
  # Message for responding to finishing an OAuth flow.
1078
1315
  class FinishOAuthResponse
1079
1316
  include Google::Apis::Core::Hashable
@@ -1394,8 +1631,8 @@ module Google
1394
1631
  class GitProxyConfig
1395
1632
  include Google::Apis::Core::Hashable
1396
1633
 
1397
- # Optional. Setting this to true allows the git proxy to be used for performing
1398
- # git operations on the repositories linked in the connection.
1634
+ # Optional. Setting this to true allows the Git proxy to be used for performing
1635
+ # Git operations on the repositories linked in the connection.
1399
1636
  # Corresponds to the JSON property `enabled`
1400
1637
  # @return [Boolean]
1401
1638
  attr_accessor :enabled
@@ -1434,12 +1671,12 @@ module Google
1434
1671
  # @return [String]
1435
1672
  attr_accessor :clone_uri
1436
1673
 
1437
- # Output only. [Output only] Create timestamp
1674
+ # Output only. Create timestamp.
1438
1675
  # Corresponds to the JSON property `createTime`
1439
1676
  # @return [String]
1440
1677
  attr_accessor :create_time
1441
1678
 
1442
- # Output only. [Output only] Delete timestamp
1679
+ # Output only. Delete timestamp.
1443
1680
  # Corresponds to the JSON property `deleteTime`
1444
1681
  # @return [String]
1445
1682
  attr_accessor :delete_time
@@ -1451,8 +1688,8 @@ module Google
1451
1688
  # @return [String]
1452
1689
  attr_accessor :etag
1453
1690
 
1454
- # Output only. URI to access the linked repository through the Git Proxy. This
1455
- # field is only populated if the git proxy is enabled for the connection.
1691
+ # Output only. URI to access the linked repository through the Git proxy. This
1692
+ # field is only populated if the Git proxy is enabled for the connection.
1456
1693
  # Corresponds to the JSON property `gitProxyUri`
1457
1694
  # @return [String]
1458
1695
  attr_accessor :git_proxy_uri
@@ -1480,7 +1717,7 @@ module Google
1480
1717
  # @return [String]
1481
1718
  attr_accessor :uid
1482
1719
 
1483
- # Output only. [Output only] Update timestamp
1720
+ # Output only. Update timestamp.
1484
1721
  # Corresponds to the JSON property `updateTime`
1485
1722
  # @return [String]
1486
1723
  attr_accessor :update_time
@@ -1842,7 +2079,7 @@ module Google
1842
2079
  class ListConnectionsResponse
1843
2080
  include Google::Apis::Core::Hashable
1844
2081
 
1845
- # The list of Connection
2082
+ # The list of Connections.
1846
2083
  # Corresponds to the JSON property `connections`
1847
2084
  # @return [Array<Google::Apis::DeveloperconnectV1::Connection>]
1848
2085
  attr_accessor :connections
@@ -1899,7 +2136,7 @@ module Google
1899
2136
  class ListGitRepositoryLinksResponse
1900
2137
  include Google::Apis::Core::Hashable
1901
2138
 
1902
- # The list of GitRepositoryLinks
2139
+ # The list of GitRepositoryLinks.
1903
2140
  # Corresponds to the JSON property `gitRepositoryLinks`
1904
2141
  # @return [Array<Google::Apis::DeveloperconnectV1::GitRepositoryLink>]
1905
2142
  attr_accessor :git_repository_links
@@ -2129,6 +2366,49 @@ module Google
2129
2366
  end
2130
2367
  end
2131
2368
 
2369
+ # Message for modifying SCM Pull Request.
2370
+ class ModifyGitRepositoryLinkPullRequestRequest
2371
+ include Google::Apis::Core::Hashable
2372
+
2373
+ # Optional. The target branch to merge into.
2374
+ # Corresponds to the JSON property `baseRef`
2375
+ # @return [String]
2376
+ attr_accessor :base_ref
2377
+
2378
+ # Optional. The body description of the Pull Request.
2379
+ # Corresponds to the JSON property `body`
2380
+ # @return [String]
2381
+ attr_accessor :body
2382
+
2383
+ # Required. The SCM-specific pull request identifier (for example, "45").
2384
+ # Corresponds to the JSON property `pullRequestId`
2385
+ # @return [String]
2386
+ attr_accessor :pull_request_id
2387
+
2388
+ # Optional. The state of the Pull Request.
2389
+ # Corresponds to the JSON property `state`
2390
+ # @return [String]
2391
+ attr_accessor :state
2392
+
2393
+ # Optional. The title of the Pull Request.
2394
+ # Corresponds to the JSON property `title`
2395
+ # @return [String]
2396
+ attr_accessor :title
2397
+
2398
+ def initialize(**args)
2399
+ update!(**args)
2400
+ end
2401
+
2402
+ # Update properties of this object
2403
+ def update!(**args)
2404
+ @base_ref = args[:base_ref] if args.key?(:base_ref)
2405
+ @body = args[:body] if args.key?(:body)
2406
+ @pull_request_id = args[:pull_request_id] if args.key?(:pull_request_id)
2407
+ @state = args[:state] if args.key?(:state)
2408
+ @title = args[:title] if args.key?(:title)
2409
+ end
2410
+ end
2411
+
2132
2412
  # Represents an OAuth token of the account that authorized the Connection, and
2133
2413
  # associated metadata.
2134
2414
  class OAuthCredential
@@ -2158,6 +2438,25 @@ module Google
2158
2438
  end
2159
2439
  end
2160
2440
 
2441
+ # Message for opening SCM Pull Request.
2442
+ class OpenGitRepositoryLinkPullRequestRequest
2443
+ include Google::Apis::Core::Hashable
2444
+
2445
+ # Message representing a SCM Pull Request.
2446
+ # Corresponds to the JSON property `pullRequest`
2447
+ # @return [Google::Apis::DeveloperconnectV1::PullRequest]
2448
+ attr_accessor :pull_request
2449
+
2450
+ def initialize(**args)
2451
+ update!(**args)
2452
+ end
2453
+
2454
+ # Update properties of this object
2455
+ def update!(**args)
2456
+ @pull_request = args[:pull_request] if args.key?(:pull_request)
2457
+ end
2458
+ end
2459
+
2161
2460
  # This resource represents a long-running operation that is the result of a
2162
2461
  # network API call.
2163
2462
  class Operation
@@ -2526,6 +2825,224 @@ module Google
2526
2825
  end
2527
2826
  end
2528
2827
 
2828
+ # Message representing a SCM Pull Request.
2829
+ class PullRequest
2830
+ include Google::Apis::Core::Hashable
2831
+
2832
+ # Output only. The username of the author.
2833
+ # Corresponds to the JSON property `author`
2834
+ # @return [String]
2835
+ attr_accessor :author
2836
+
2837
+ # Required. The target commit SHA of the base branch.
2838
+ # Corresponds to the JSON property `baseRef`
2839
+ # @return [String]
2840
+ attr_accessor :base_ref
2841
+
2842
+ # Optional. The body description of the PR.
2843
+ # Corresponds to the JSON property `body`
2844
+ # @return [String]
2845
+ attr_accessor :body
2846
+
2847
+ # Output only. When the PR was closed.
2848
+ # Corresponds to the JSON property `closeTime`
2849
+ # @return [String]
2850
+ attr_accessor :close_time
2851
+
2852
+ # Output only. When the PR was created.
2853
+ # Corresponds to the JSON property `createTime`
2854
+ # @return [String]
2855
+ attr_accessor :create_time
2856
+
2857
+ # Output only. When the PR was declined. Only set for SCM providers that support
2858
+ # declining pull requests. Never set for GitHub, GitHub Enterprise, GitLab, or
2859
+ # GitLab Enterprise, where a pull request closed without being merged is `CLOSED`
2860
+ # .
2861
+ # Corresponds to the JSON property `declineTime`
2862
+ # @return [String]
2863
+ attr_accessor :decline_time
2864
+
2865
+ # Required. The source commit SHA of the head branch.
2866
+ # Corresponds to the JSON property `headRef`
2867
+ # @return [String]
2868
+ attr_accessor :head_ref
2869
+
2870
+ # Output only. The HTML URL of the pull request on the SCM provider.
2871
+ # Corresponds to the JSON property `htmlUrl`
2872
+ # @return [String]
2873
+ attr_accessor :html_url
2874
+
2875
+ # Required. The ID of the PR.
2876
+ # Corresponds to the JSON property `id`
2877
+ # @return [String]
2878
+ attr_accessor :id
2879
+
2880
+ # Output only. When the PR was merged.
2881
+ # Corresponds to the JSON property `mergeTime`
2882
+ # @return [String]
2883
+ attr_accessor :merge_time
2884
+
2885
+ # Output only. The mergeability state of the pull request.
2886
+ # Corresponds to the JSON property `mergeability`
2887
+ # @return [String]
2888
+ attr_accessor :mergeability
2889
+
2890
+ # Output only. The current state of the PR.
2891
+ # Corresponds to the JSON property `state`
2892
+ # @return [String]
2893
+ attr_accessor :state
2894
+
2895
+ # Required. The title of the PR.
2896
+ # Corresponds to the JSON property `title`
2897
+ # @return [String]
2898
+ attr_accessor :title
2899
+
2900
+ # Output only. When the PR was updated.
2901
+ # Corresponds to the JSON property `updateTime`
2902
+ # @return [String]
2903
+ attr_accessor :update_time
2904
+
2905
+ def initialize(**args)
2906
+ update!(**args)
2907
+ end
2908
+
2909
+ # Update properties of this object
2910
+ def update!(**args)
2911
+ @author = args[:author] if args.key?(:author)
2912
+ @base_ref = args[:base_ref] if args.key?(:base_ref)
2913
+ @body = args[:body] if args.key?(:body)
2914
+ @close_time = args[:close_time] if args.key?(:close_time)
2915
+ @create_time = args[:create_time] if args.key?(:create_time)
2916
+ @decline_time = args[:decline_time] if args.key?(:decline_time)
2917
+ @head_ref = args[:head_ref] if args.key?(:head_ref)
2918
+ @html_url = args[:html_url] if args.key?(:html_url)
2919
+ @id = args[:id] if args.key?(:id)
2920
+ @merge_time = args[:merge_time] if args.key?(:merge_time)
2921
+ @mergeability = args[:mergeability] if args.key?(:mergeability)
2922
+ @state = args[:state] if args.key?(:state)
2923
+ @title = args[:title] if args.key?(:title)
2924
+ @update_time = args[:update_time] if args.key?(:update_time)
2925
+ end
2926
+ end
2927
+
2928
+ # Message representing a SCM Pull Request Comment.
2929
+ class PullRequestComment
2930
+ include Google::Apis::Core::Hashable
2931
+
2932
+ # Output only. The username of the author.
2933
+ # Corresponds to the JSON property `author`
2934
+ # @return [String]
2935
+ attr_accessor :author
2936
+
2937
+ # Required. The body of the comment.
2938
+ # Corresponds to the JSON property `body`
2939
+ # @return [String]
2940
+ attr_accessor :body
2941
+
2942
+ # Output only. When the comment was created.
2943
+ # Corresponds to the JSON property `createTime`
2944
+ # @return [String]
2945
+ attr_accessor :create_time
2946
+
2947
+ # Output only. The ID of the comment.
2948
+ # Corresponds to the JSON property `id`
2949
+ # @return [String]
2950
+ attr_accessor :id
2951
+
2952
+ # Output only. When the comment was updated.
2953
+ # Corresponds to the JSON property `updateTime`
2954
+ # @return [String]
2955
+ attr_accessor :update_time
2956
+
2957
+ def initialize(**args)
2958
+ update!(**args)
2959
+ end
2960
+
2961
+ # Update properties of this object
2962
+ def update!(**args)
2963
+ @author = args[:author] if args.key?(:author)
2964
+ @body = args[:body] if args.key?(:body)
2965
+ @create_time = args[:create_time] if args.key?(:create_time)
2966
+ @id = args[:id] if args.key?(:id)
2967
+ @update_time = args[:update_time] if args.key?(:update_time)
2968
+ end
2969
+ end
2970
+
2971
+ # Message representing a SCM Pull Request Review Comment (inline on diff).
2972
+ class PullRequestReviewComment
2973
+ include Google::Apis::Core::Hashable
2974
+
2975
+ # Output only. The username of the author.
2976
+ # Corresponds to the JSON property `author`
2977
+ # @return [String]
2978
+ attr_accessor :author
2979
+
2980
+ # Required. The body of the comment.
2981
+ # Corresponds to the JSON property `body`
2982
+ # @return [String]
2983
+ attr_accessor :body
2984
+
2985
+ # Output only. The commit SHA the comment was actually applied to.
2986
+ # Corresponds to the JSON property `commitId`
2987
+ # @return [String]
2988
+ attr_accessor :commit_id
2989
+
2990
+ # Output only. When the comment was created.
2991
+ # Corresponds to the JSON property `createTime`
2992
+ # @return [String]
2993
+ attr_accessor :create_time
2994
+
2995
+ # Optional. The first line of the comment range (inclusive). If not specified,
2996
+ # the comment applies only to the `last_line`.
2997
+ # Corresponds to the JSON property `firstLine`
2998
+ # @return [Fixnum]
2999
+ attr_accessor :first_line
3000
+
3001
+ # Output only. The ID of the comment.
3002
+ # Corresponds to the JSON property `id`
3003
+ # @return [String]
3004
+ attr_accessor :id
3005
+
3006
+ # Required. The last line of the comment range (inclusive). If `first_line` is
3007
+ # not specified, the comment applies only to this line.
3008
+ # Corresponds to the JSON property `lastLine`
3009
+ # @return [Fixnum]
3010
+ attr_accessor :last_line
3011
+
3012
+ # Required. The file path to comment on.
3013
+ # Corresponds to the JSON property `path`
3014
+ # @return [String]
3015
+ attr_accessor :path
3016
+
3017
+ # Optional. The side of the diff to comment on. Defaults to HEAD.
3018
+ # Corresponds to the JSON property `side`
3019
+ # @return [String]
3020
+ attr_accessor :side
3021
+
3022
+ # Output only. When the comment was updated.
3023
+ # Corresponds to the JSON property `updateTime`
3024
+ # @return [String]
3025
+ attr_accessor :update_time
3026
+
3027
+ def initialize(**args)
3028
+ update!(**args)
3029
+ end
3030
+
3031
+ # Update properties of this object
3032
+ def update!(**args)
3033
+ @author = args[:author] if args.key?(:author)
3034
+ @body = args[:body] if args.key?(:body)
3035
+ @commit_id = args[:commit_id] if args.key?(:commit_id)
3036
+ @create_time = args[:create_time] if args.key?(:create_time)
3037
+ @first_line = args[:first_line] if args.key?(:first_line)
3038
+ @id = args[:id] if args.key?(:id)
3039
+ @last_line = args[:last_line] if args.key?(:last_line)
3040
+ @path = args[:path] if args.key?(:path)
3041
+ @side = args[:side] if args.key?(:side)
3042
+ @update_time = args[:update_time] if args.key?(:update_time)
3043
+ end
3044
+ end
3045
+
2529
3046
  # RuntimeConfig represents the runtimes where the application is deployed.
2530
3047
  class RuntimeConfig
2531
3048
  include Google::Apis::Core::Hashable
@@ -2576,6 +3093,55 @@ module Google
2576
3093
  end
2577
3094
  end
2578
3095
 
3096
+ # SCMCommit represents commit metadata.
3097
+ class ScmCommit
3098
+ include Google::Apis::Core::Hashable
3099
+
3100
+ # The author's display name.
3101
+ # Corresponds to the JSON property `author`
3102
+ # @return [String]
3103
+ attr_accessor :author
3104
+
3105
+ # The author's email address.
3106
+ # Corresponds to the JSON property `authorEmail`
3107
+ # @return [String]
3108
+ attr_accessor :author_email
3109
+
3110
+ # Timestamp when the commit was authored.
3111
+ # Corresponds to the JSON property `commitTime`
3112
+ # @return [String]
3113
+ attr_accessor :commit_time
3114
+
3115
+ # Commit message text.
3116
+ # Corresponds to the JSON property `message`
3117
+ # @return [String]
3118
+ attr_accessor :message
3119
+
3120
+ # Full 40-character SCM commit SHA.
3121
+ # Corresponds to the JSON property `sha`
3122
+ # @return [String]
3123
+ attr_accessor :sha
3124
+
3125
+ # The SCM provider's HTML URL link for this commit.
3126
+ # Corresponds to the JSON property `url`
3127
+ # @return [String]
3128
+ attr_accessor :url
3129
+
3130
+ def initialize(**args)
3131
+ update!(**args)
3132
+ end
3133
+
3134
+ # Update properties of this object
3135
+ def update!(**args)
3136
+ @author = args[:author] if args.key?(:author)
3137
+ @author_email = args[:author_email] if args.key?(:author_email)
3138
+ @commit_time = args[:commit_time] if args.key?(:commit_time)
3139
+ @message = args[:message] if args.key?(:message)
3140
+ @sha = args[:sha] if args.key?(:sha)
3141
+ @url = args[:url] if args.key?(:url)
3142
+ end
3143
+ end
3144
+
2579
3145
  # Configuration for connections to Secure Source Manager instance
2580
3146
  class SecureSourceManagerInstanceConfig
2581
3147
  include Google::Apis::Core::Hashable