1.2
1.2
scpcli application-apigateway method set
--method_type <value>
--resource_id <value>
--api_id <value>
--request_headers <value>
--query_strings <value>
--integration_type <value>
--api_key_required <value>
[--endpoint_url <value>]
[--function_id <value>]
[--privatelink_endpoint_id <value>]
Description
Set method
State ACTIVE (CURRENT)
| Version | Supported Until |
|---|---|
| 1.2 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| method_type required | **** | Method Type | GET |
| resource_id required | string | Resource ID | 27bb070b564349f8a31cc60734cc36a5 |
| api_id required | string | Api ID | 27bb070b564349f8a31cc60734cc36a5 |
| request_headers required | dict | Method Request Headers | {'test1' : True} |
| query_strings required | dict | Method Query Strings | {'param1': 'value1', 'param2': 'value2'} |
| integration_type required | string | Method Integration Type | HTTP |
| api_key_required required | boolean | Api Key Required | False |
| endpoint_url optional | string | Method Endpoint URL | https://127.0.0.1:8000 |
| function_id optional | string | Cloud Function ID | 27bb070b564349f8a31cc60734cc36a5 |
| privatelink_endpoint_id optional | string | PrivateLink Endpoint ID | 27bb070b564349f8a31cc60734cc36a5 |