Skip to content

Commit 71dd85b

Browse files
feat: Automated regeneration of developerconnect v1 client (googleapis#20399)
Auto-created at 2024-10-20 09:11:34 +0000 using the toys pull request generator.
1 parent cd89784 commit 71dd85b

File tree

6 files changed

+335
-2
lines changed

6 files changed

+335
-2
lines changed

api_names_out.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143637,6 +143637,12 @@
143637143637
"/developerconnect:v1/GitRepositoryLink/uid": uid
143638143638
"/developerconnect:v1/GitRepositoryLink/updateTime": update_time
143639143639
"/developerconnect:v1/GitRepositoryLink/webhookId": webhook_id
143640+
"/developerconnect:v1/HttpBody": http_body
143641+
"/developerconnect:v1/HttpBody/contentType": content_type
143642+
"/developerconnect:v1/HttpBody/data": data
143643+
"/developerconnect:v1/HttpBody/extensions": extensions
143644+
"/developerconnect:v1/HttpBody/extensions/extension": extension
143645+
"/developerconnect:v1/HttpBody/extensions/extension/extension": extension
143640143646
"/developerconnect:v1/Installation": installation
143641143647
"/developerconnect:v1/Installation/id": id
143642143648
"/developerconnect:v1/Installation/name": name
@@ -143694,6 +143700,12 @@
143694143700
"/developerconnect:v1/OperationMetadata/statusMessage": status_message
143695143701
"/developerconnect:v1/OperationMetadata/target": target
143696143702
"/developerconnect:v1/OperationMetadata/verb": verb
143703+
"/developerconnect:v1/ProcessGitHubEnterpriseWebhookRequest": process_git_hub_enterprise_webhook_request
143704+
"/developerconnect:v1/ProcessGitHubEnterpriseWebhookRequest/body": body
143705+
"/developerconnect:v1/ProcessGitLabEnterpriseWebhookRequest": process_git_lab_enterprise_webhook_request
143706+
"/developerconnect:v1/ProcessGitLabEnterpriseWebhookRequest/body": body
143707+
"/developerconnect:v1/ProcessGitLabWebhookRequest": process_git_lab_webhook_request
143708+
"/developerconnect:v1/ProcessGitLabWebhookRequest/body": body
143697143709
"/developerconnect:v1/ServiceDirectoryConfig": service_directory_config
143698143710
"/developerconnect:v1/ServiceDirectoryConfig/service": service
143699143711
"/developerconnect:v1/Status": status
@@ -143750,6 +143762,10 @@
143750143762
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/pageSize": page_size
143751143763
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/pageToken": page_token
143752143764
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.list/parent": parent
143765+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabEnterpriseWebhook": process_git_repository_link_git_lab_enterprise_webhook
143766+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabEnterpriseWebhook/name": name
143767+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabWebhook": process_git_repository_link_git_lab_webhook
143768+
"/developerconnect:v1/developerconnect.projects.locations.connections.gitRepositoryLinks.processGitLabWebhook/name": name
143753143769
"/developerconnect:v1/developerconnect.projects.locations.connections.list": list_project_location_connections
143754143770
"/developerconnect:v1/developerconnect.projects.locations.connections.list/filter": filter
143755143771
"/developerconnect:v1/developerconnect.projects.locations.connections.list/orderBy": order_by
@@ -143762,6 +143778,8 @@
143762143778
"/developerconnect:v1/developerconnect.projects.locations.connections.patch/requestId": request_id
143763143779
"/developerconnect:v1/developerconnect.projects.locations.connections.patch/updateMask": update_mask
143764143780
"/developerconnect:v1/developerconnect.projects.locations.connections.patch/validateOnly": validate_only
143781+
"/developerconnect:v1/developerconnect.projects.locations.connections.processGitHubEnterpriseWebhook": process_connection_git_hub_enterprise_webhook
143782+
"/developerconnect:v1/developerconnect.projects.locations.connections.processGitHubEnterpriseWebhook/parent": parent
143765143783
"/developerconnect:v1/developerconnect.projects.locations.get": get_project_location
143766143784
"/developerconnect:v1/developerconnect.projects.locations.get/name": name
143767143785
"/developerconnect:v1/developerconnect.projects.locations.list": list_project_locations

generated/google-apis-developerconnect_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-developerconnect_v1
22

3+
### v0.3.0 (2024-10-20)
4+
5+
* Regenerated from discovery document revision 20241014
6+
37
### v0.2.0 (2024-09-29)
48

59
* Regenerated from discovery document revision 20240919

generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/classes.rb

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,54 @@ def update!(**args)
649649
end
650650
end
651651

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+
652700
# Represents an installation of the GitHub App.
653701
class Installation
654702
include Google::Apis::Core::Hashable
@@ -1041,6 +1089,108 @@ def update!(**args)
10411089
end
10421090
end
10431091

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+
10441194
# ServiceDirectoryConfig represents Service Directory configuration for a
10451195
# connection.
10461196
class ServiceDirectoryConfig

generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DeveloperconnectV1
1818
# Version of the google-apis-developerconnect_v1 gem
19-
GEM_VERSION = "0.2.0"
19+
GEM_VERSION = "0.3.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240919"
25+
REVISION = "20241014"
2626
end
2727
end
2828
end

generated/google-apis-developerconnect_v1/lib/google/apis/developerconnect_v1/representations.rb

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
118118
include Google::Apis::Core::JsonObjectSupport
119119
end
120120

121+
class HttpBody
122+
class Representation < Google::Apis::Core::JsonRepresentation; end
123+
124+
include Google::Apis::Core::JsonObjectSupport
125+
end
126+
121127
class Installation
122128
class Representation < Google::Apis::Core::JsonRepresentation; end
123129

@@ -184,6 +190,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
184190
include Google::Apis::Core::JsonObjectSupport
185191
end
186192

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+
187211
class ServiceDirectoryConfig
188212
class Representation < Google::Apis::Core::JsonRepresentation; end
189213

@@ -376,6 +400,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
376400
end
377401
end
378402

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+
379412
class Installation
380413
# @private
381414
class Representation < Google::Apis::Core::JsonRepresentation
@@ -483,6 +516,30 @@ class Representation < Google::Apis::Core::JsonRepresentation
483516
end
484517
end
485518

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+
486543
class ServiceDirectoryConfig
487544
# @private
488545
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)