@@ -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
0 commit comments