google-apis-developerconnect_v1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/developerconnect_v1/classes.rb +153 -3
- data/lib/google/apis/developerconnect_v1/gem_version.rb +2 -2
- data/lib/google/apis/developerconnect_v1/representations.rb +57 -0
- data/lib/google/apis/developerconnect_v1/service.rb +109 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95edbc1e19e40a52047f824f893a95b74b6bc3db82b398ca903f44fab708b50a
|
4
|
+
data.tar.gz: e9ccd4974015b1a0094447d4365cd19fdb42804975629d6faf26336386c86941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffde1469b5481ccfa88a89329e336f22b7424ec45f75fd1be9e4461d43f5586082da5a7afd9e5062f0fbcde2c3aaa89e37111db33a39256f407cc11098d8caf4
|
7
|
+
data.tar.gz: e06ffd8977b2546bd5216af054bbdf310d9413a595d9d3e9882b841842e93218bde1ad1a8194f945b28ff6bce71f4ea3624459785fd6ef210e06a287a8970f34
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-developerconnect_v1
|
2
2
|
|
3
|
+
### v0.4.0 (2024-11-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241107
|
6
|
+
|
7
|
+
### v0.3.0 (2024-10-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241017
|
10
|
+
|
3
11
|
### v0.2.0 (2024-09-29)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240919
|
@@ -649,6 +649,54 @@ module Google
|
|
649
649
|
end
|
650
650
|
end
|
651
651
|
|
652
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
653
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
654
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
655
|
+
# methods in the request as well as the response. It can be used as a top-level
|
656
|
+
# request field, which is convenient if one wants to extract parameters from
|
657
|
+
# either the URL or HTTP template into the request fields and also want access
|
658
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
659
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
660
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
661
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
662
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
663
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
664
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
665
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
666
|
+
# only changes how the request and response bodies are handled, all other
|
667
|
+
# features will continue to work unchanged.
|
668
|
+
class HttpBody
|
669
|
+
include Google::Apis::Core::Hashable
|
670
|
+
|
671
|
+
# The HTTP Content-Type header value specifying the content type of the body.
|
672
|
+
# Corresponds to the JSON property `contentType`
|
673
|
+
# @return [String]
|
674
|
+
attr_accessor :content_type
|
675
|
+
|
676
|
+
# The HTTP request/response body as raw binary.
|
677
|
+
# Corresponds to the JSON property `data`
|
678
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
679
|
+
# @return [String]
|
680
|
+
attr_accessor :data
|
681
|
+
|
682
|
+
# Application specific response metadata. Must be set in the first response for
|
683
|
+
# streaming APIs.
|
684
|
+
# Corresponds to the JSON property `extensions`
|
685
|
+
# @return [Array<Hash<String,Object>>]
|
686
|
+
attr_accessor :extensions
|
687
|
+
|
688
|
+
def initialize(**args)
|
689
|
+
update!(**args)
|
690
|
+
end
|
691
|
+
|
692
|
+
# Update properties of this object
|
693
|
+
def update!(**args)
|
694
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
695
|
+
@data = args[:data] if args.key?(:data)
|
696
|
+
@extensions = args[:extensions] if args.key?(:extensions)
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
652
700
|
# Represents an installation of the GitHub App.
|
653
701
|
class Installation
|
654
702
|
include Google::Apis::Core::Hashable
|
@@ -1002,9 +1050,9 @@ module Google
|
|
1002
1050
|
attr_accessor :end_time
|
1003
1051
|
|
1004
1052
|
# Output only. Identifies whether the user has requested cancellation of the
|
1005
|
-
# operation. Operations that have been cancelled successfully have
|
1006
|
-
# error value with a google.rpc.Status.code of 1,
|
1007
|
-
# CANCELLED`.
|
1053
|
+
# operation. Operations that have been cancelled successfully have google.
|
1054
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of 1,
|
1055
|
+
# corresponding to `Code.CANCELLED`.
|
1008
1056
|
# Corresponds to the JSON property `requestedCancellation`
|
1009
1057
|
# @return [Boolean]
|
1010
1058
|
attr_accessor :requested_cancellation
|
@@ -1041,6 +1089,108 @@ module Google
|
|
1041
1089
|
end
|
1042
1090
|
end
|
1043
1091
|
|
1092
|
+
# RPC request object accepted by the ProcessGitHubEnterpriseWebhook RPC method.
|
1093
|
+
class ProcessGitHubEnterpriseWebhookRequest
|
1094
|
+
include Google::Apis::Core::Hashable
|
1095
|
+
|
1096
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
1097
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
1098
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
1099
|
+
# methods in the request as well as the response. It can be used as a top-level
|
1100
|
+
# request field, which is convenient if one wants to extract parameters from
|
1101
|
+
# either the URL or HTTP template into the request fields and also want access
|
1102
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
1103
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
1104
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
1105
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
1106
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
1107
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
1108
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
1109
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
1110
|
+
# only changes how the request and response bodies are handled, all other
|
1111
|
+
# features will continue to work unchanged.
|
1112
|
+
# Corresponds to the JSON property `body`
|
1113
|
+
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
|
1114
|
+
attr_accessor :body
|
1115
|
+
|
1116
|
+
def initialize(**args)
|
1117
|
+
update!(**args)
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
# Update properties of this object
|
1121
|
+
def update!(**args)
|
1122
|
+
@body = args[:body] if args.key?(:body)
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# RPC request object accepted by the ProcessGitLabEnterpriseWebhook RPC method.
|
1127
|
+
class ProcessGitLabEnterpriseWebhookRequest
|
1128
|
+
include Google::Apis::Core::Hashable
|
1129
|
+
|
1130
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
1131
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
1132
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
1133
|
+
# methods in the request as well as the response. It can be used as a top-level
|
1134
|
+
# request field, which is convenient if one wants to extract parameters from
|
1135
|
+
# either the URL or HTTP template into the request fields and also want access
|
1136
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
1137
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
1138
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
1139
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
1140
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
1141
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
1142
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
1143
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
1144
|
+
# only changes how the request and response bodies are handled, all other
|
1145
|
+
# features will continue to work unchanged.
|
1146
|
+
# Corresponds to the JSON property `body`
|
1147
|
+
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
|
1148
|
+
attr_accessor :body
|
1149
|
+
|
1150
|
+
def initialize(**args)
|
1151
|
+
update!(**args)
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
# Update properties of this object
|
1155
|
+
def update!(**args)
|
1156
|
+
@body = args[:body] if args.key?(:body)
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
# RPC request object accepted by the ProcessGitLabWebhook RPC method.
|
1161
|
+
class ProcessGitLabWebhookRequest
|
1162
|
+
include Google::Apis::Core::Hashable
|
1163
|
+
|
1164
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
1165
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
1166
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
1167
|
+
# methods in the request as well as the response. It can be used as a top-level
|
1168
|
+
# request field, which is convenient if one wants to extract parameters from
|
1169
|
+
# either the URL or HTTP template into the request fields and also want access
|
1170
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
1171
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
1172
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
1173
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
1174
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
1175
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
1176
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
1177
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
1178
|
+
# only changes how the request and response bodies are handled, all other
|
1179
|
+
# features will continue to work unchanged.
|
1180
|
+
# Corresponds to the JSON property `body`
|
1181
|
+
# @return [Google::Apis::DeveloperconnectV1::HttpBody]
|
1182
|
+
attr_accessor :body
|
1183
|
+
|
1184
|
+
def initialize(**args)
|
1185
|
+
update!(**args)
|
1186
|
+
end
|
1187
|
+
|
1188
|
+
# Update properties of this object
|
1189
|
+
def update!(**args)
|
1190
|
+
@body = args[:body] if args.key?(:body)
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1044
1194
|
# ServiceDirectoryConfig represents Service Directory configuration for a
|
1045
1195
|
# connection.
|
1046
1196
|
class ServiceDirectoryConfig
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DeveloperconnectV1
|
18
18
|
# Version of the google-apis-developerconnect_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241107"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class HttpBody
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class Installation
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -184,6 +190,24 @@ module Google
|
|
184
190
|
include Google::Apis::Core::JsonObjectSupport
|
185
191
|
end
|
186
192
|
|
193
|
+
class ProcessGitHubEnterpriseWebhookRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class ProcessGitLabEnterpriseWebhookRequest
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ProcessGitLabWebhookRequest
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
187
211
|
class ServiceDirectoryConfig
|
188
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
213
|
|
@@ -376,6 +400,15 @@ module Google
|
|
376
400
|
end
|
377
401
|
end
|
378
402
|
|
403
|
+
class HttpBody
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :content_type, as: 'contentType'
|
407
|
+
property :data, :base64 => true, as: 'data'
|
408
|
+
collection :extensions, as: 'extensions'
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
379
412
|
class Installation
|
380
413
|
# @private
|
381
414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -483,6 +516,30 @@ module Google
|
|
483
516
|
end
|
484
517
|
end
|
485
518
|
|
519
|
+
class ProcessGitHubEnterpriseWebhookRequest
|
520
|
+
# @private
|
521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
522
|
+
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation
|
523
|
+
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
527
|
+
class ProcessGitLabEnterpriseWebhookRequest
|
528
|
+
# @private
|
529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
530
|
+
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation
|
531
|
+
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class ProcessGitLabWebhookRequest
|
536
|
+
# @private
|
537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
538
|
+
property :body, as: 'body', class: Google::Apis::DeveloperconnectV1::HttpBody, decorator: Google::Apis::DeveloperconnectV1::HttpBody::Representation
|
539
|
+
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
486
543
|
class ServiceDirectoryConfig
|
487
544
|
# @private
|
488
545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -393,11 +393,11 @@ module Google
|
|
393
393
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
394
394
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
395
395
|
# @param [String] update_mask
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
396
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
397
|
+
# Connection resource by the update. The fields specified in the update_mask are
|
398
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
399
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
400
|
+
# overwritten.
|
401
401
|
# @param [Boolean] validate_only
|
402
402
|
# Optional. If set, validate the request, but do not actually post it.
|
403
403
|
# @param [String] fields
|
@@ -433,6 +433,41 @@ module Google
|
|
433
433
|
execute_or_queue_command(command, &block)
|
434
434
|
end
|
435
435
|
|
436
|
+
# ProcessGitHubEnterpriseWebhook is called by the external GitHub Enterprise
|
437
|
+
# instances for notifying events.
|
438
|
+
# @param [String] parent
|
439
|
+
# Required. Project and location where the webhook will be received. Format: `
|
440
|
+
# projects/*/locations/*`.
|
441
|
+
# @param [Google::Apis::DeveloperconnectV1::ProcessGitHubEnterpriseWebhookRequest] process_git_hub_enterprise_webhook_request_object
|
442
|
+
# @param [String] fields
|
443
|
+
# Selector specifying which fields to include in a partial response.
|
444
|
+
# @param [String] quota_user
|
445
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
446
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
447
|
+
# @param [Google::Apis::RequestOptions] options
|
448
|
+
# Request-specific options
|
449
|
+
#
|
450
|
+
# @yield [result, err] Result & error if block supplied
|
451
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Empty] parsed result object
|
452
|
+
# @yieldparam err [StandardError] error object if request failed
|
453
|
+
#
|
454
|
+
# @return [Google::Apis::DeveloperconnectV1::Empty]
|
455
|
+
#
|
456
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
457
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
458
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
459
|
+
def process_connection_git_hub_enterprise_webhook(parent, process_git_hub_enterprise_webhook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
460
|
+
command = make_simple_command(:post, 'v1/{+parent}/connections:processGitHubEnterpriseWebhook', options)
|
461
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::ProcessGitHubEnterpriseWebhookRequest::Representation
|
462
|
+
command.request_object = process_git_hub_enterprise_webhook_request_object
|
463
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Empty::Representation
|
464
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Empty
|
465
|
+
command.params['parent'] = parent unless parent.nil?
|
466
|
+
command.query['fields'] = fields unless fields.nil?
|
467
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
468
|
+
execute_or_queue_command(command, &block)
|
469
|
+
end
|
470
|
+
|
436
471
|
# Creates a GitRepositoryLink. Upon linking a Git Repository, Developer Connect
|
437
472
|
# will configure the Git Repository to send webhook events to Developer Connect.
|
438
473
|
# Connections that use Firebase GitHub Application will have events forwarded to
|
@@ -721,6 +756,75 @@ module Google
|
|
721
756
|
execute_or_queue_command(command, &block)
|
722
757
|
end
|
723
758
|
|
759
|
+
# ProcessGitLabEnterpriseWebhook is called by the external GitLab Enterprise
|
760
|
+
# instances for notifying events.
|
761
|
+
# @param [String] name
|
762
|
+
# Required. The GitRepositoryLink resource where the webhook will be received.
|
763
|
+
# Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
|
764
|
+
# @param [Google::Apis::DeveloperconnectV1::ProcessGitLabEnterpriseWebhookRequest] process_git_lab_enterprise_webhook_request_object
|
765
|
+
# @param [String] fields
|
766
|
+
# Selector specifying which fields to include in a partial response.
|
767
|
+
# @param [String] quota_user
|
768
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
769
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
770
|
+
# @param [Google::Apis::RequestOptions] options
|
771
|
+
# Request-specific options
|
772
|
+
#
|
773
|
+
# @yield [result, err] Result & error if block supplied
|
774
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Empty] parsed result object
|
775
|
+
# @yieldparam err [StandardError] error object if request failed
|
776
|
+
#
|
777
|
+
# @return [Google::Apis::DeveloperconnectV1::Empty]
|
778
|
+
#
|
779
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
780
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
781
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
782
|
+
def process_git_repository_link_git_lab_enterprise_webhook(name, process_git_lab_enterprise_webhook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
783
|
+
command = make_simple_command(:post, 'v1/{+name}:processGitLabEnterpriseWebhook', options)
|
784
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::ProcessGitLabEnterpriseWebhookRequest::Representation
|
785
|
+
command.request_object = process_git_lab_enterprise_webhook_request_object
|
786
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Empty::Representation
|
787
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Empty
|
788
|
+
command.params['name'] = name unless name.nil?
|
789
|
+
command.query['fields'] = fields unless fields.nil?
|
790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
791
|
+
execute_or_queue_command(command, &block)
|
792
|
+
end
|
793
|
+
|
794
|
+
# ProcessGitLabWebhook is called by the GitLab.com for notifying events.
|
795
|
+
# @param [String] name
|
796
|
+
# Required. The GitRepositoryLink resource where the webhook will be received.
|
797
|
+
# Format: `projects/*/locations/*/connections/*/gitRepositoryLinks/*`.
|
798
|
+
# @param [Google::Apis::DeveloperconnectV1::ProcessGitLabWebhookRequest] process_git_lab_webhook_request_object
|
799
|
+
# @param [String] fields
|
800
|
+
# Selector specifying which fields to include in a partial response.
|
801
|
+
# @param [String] quota_user
|
802
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
803
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
804
|
+
# @param [Google::Apis::RequestOptions] options
|
805
|
+
# Request-specific options
|
806
|
+
#
|
807
|
+
# @yield [result, err] Result & error if block supplied
|
808
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Empty] parsed result object
|
809
|
+
# @yieldparam err [StandardError] error object if request failed
|
810
|
+
#
|
811
|
+
# @return [Google::Apis::DeveloperconnectV1::Empty]
|
812
|
+
#
|
813
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
814
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
815
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
816
|
+
def process_git_repository_link_git_lab_webhook(name, process_git_lab_webhook_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
817
|
+
command = make_simple_command(:post, 'v1/{+name}:processGitLabWebhook', options)
|
818
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::ProcessGitLabWebhookRequest::Representation
|
819
|
+
command.request_object = process_git_lab_webhook_request_object
|
820
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Empty::Representation
|
821
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Empty
|
822
|
+
command.params['name'] = name unless name.nil?
|
823
|
+
command.query['fields'] = fields unless fields.nil?
|
824
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
825
|
+
execute_or_queue_command(command, &block)
|
826
|
+
end
|
827
|
+
|
724
828
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
725
829
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
726
830
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-developerconnect_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Developer Connect API V1
|