@@ -127,39 +127,25 @@ export interface NamePart {
127
127
}
128
128
129
129
export interface UninterpretedOption {
130
- name ?: ( NamePart [ ] | null ) ;
131
- identifier_value ?: ( string | null ) ;
132
- positive_int_value ?: ( number | null ) ;
133
- negative_int_value ?: ( number | null ) ;
134
- double_value ?: ( number | null ) ;
135
- string_value ?: ( string | null ) ;
136
- aggregate_value ?: ( string | null ) ;
130
+ name ?: NamePart [ ] ;
131
+ identifier_value ?: string ;
132
+ positive_int_value ?: number ;
133
+ negative_int_value ?: number ;
134
+ double_value ?: number ;
135
+ string_value ?: string ;
136
+ aggregate_value ?: string ;
137
137
}
138
138
139
139
export interface CustomHttpPattern {
140
- kind ?: ( string | null ) ;
141
- path ?: ( string | null ) ;
142
- }
143
-
144
- export interface HttpRule {
145
- selector ?: ( string | null ) ;
146
- get ?: ( string | null ) ;
147
- put ?: ( string | null ) ;
148
- post ?: ( string | null ) ;
149
- delete ?: ( string | null ) ;
150
- patch ?: ( string | null ) ;
151
- custom ?: ( CustomHttpPattern | null ) ;
152
- body ?: ( string | null ) ;
153
- response_body ?: ( string | null ) ;
154
- additional_bindings ?: ( HttpRule [ ] | null ) ;
140
+ kind ?: string ;
141
+ path ?: string ;
155
142
}
156
143
157
144
export interface MethodOptions {
158
145
deprecated ?: ( boolean | null ) ;
159
146
idempotency_level ?: ( IdempotencyLevel | keyof typeof IdempotencyLevel | null ) ;
160
147
uninterpreted_option ?: ( UninterpretedOption [ ] | null ) ;
161
- "(google.api.http)" ?: ( HttpRule | null ) ;
162
- "(google.api.method_signature)" ?: ( string [ ] | null ) ;
148
+ [ k : string ] : unknown
163
149
}
164
150
165
151
export interface MethodDefinition < RequestType , ResponseType , OutputRequestType = RequestType , OutputResponseType = ResponseType > {
0 commit comments