This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Set Method

1 - 1.3

scpcli application-apigateway method set
--method_type <value>
--resource_id <value>
--api_id <value>
--request_headers <value>
--query_strings <value>
--integration_type <value>
--iam_enabled <value>
--api_key_required <value>
[--endpoint_url <value>]
[--function_id <value>]
[--privatelink_endpoint_id <value>]

Description

Set method

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
method_type
required
****Method TypeGET
resource_id
required
stringResource ID27bb070b564349f8a31cc60734cc36a5
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
request_headers
required
dictMethod Request Headers{'test1' : True}
query_strings
required
dictMethod Query Strings{'param1': 'value1', 'param2': 'value2'}
integration_type
required
stringMethod Integration TypeHTTP
iam_enabled
required
booleanIAM EnabledFalse
api_key_required
required
booleanApi Key RequiredFalse
endpoint_url
optional
stringMethod Endpoint URLhttps://127.0.0.1:8000
function_id
optional
stringCloud Function ID27bb070b564349f8a31cc60734cc36a5
privatelink_endpoint_id
optional
stringPrivateLink Endpoint ID27bb070b564349f8a31cc60734cc36a5

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 (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.220260630

Parameters

NameTypeDescriptionExample
method_type
required
****Method TypeGET
resource_id
required
stringResource ID27bb070b564349f8a31cc60734cc36a5
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
request_headers
required
dictMethod Request Headers{'test1' : True}
query_strings
required
dictMethod Query Strings{'param1': 'value1', 'param2': 'value2'}
integration_type
required
stringMethod Integration TypeHTTP
api_key_required
required
booleanApi Key RequiredFalse
endpoint_url
optional
stringMethod Endpoint URLhttps://127.0.0.1:8000
function_id
optional
stringCloud Function ID27bb070b564349f8a31cc60734cc36a5
privatelink_endpoint_id
optional
stringPrivateLink Endpoint ID27bb070b564349f8a31cc60734cc36a5

3 - 1.1

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 (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260430

Parameters

NameTypeDescriptionExample
method_type
required
****Method TypeGET
resource_id
required
stringResource ID27bb070b564349f8a31cc60734cc36a5
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
request_headers
required
dictMethod Request Headers{'test1' : True}
query_strings
required
dictMethod Query Strings{'param1': 'value1', 'param2': 'value2'}
integration_type
required
stringMethod Integration TypeHTTP
api_key_required
required
booleanApi Key RequiredFalse
endpoint_url
optional
stringMethod Endpoint URLhttps://127.0.0.1:8000
function_id
optional
stringCloud Function ID27bb070b564349f8a31cc60734cc36a5
privatelink_endpoint_id
optional
stringPrivateLink Endpoint ID27bb070b564349f8a31cc60734cc36a5

4 - 1.0

scpcli application-apigateway method set
--method_type <value>
--resource_id <value>
--api_id <value>
--request_headers <value>
--query_strings <value>

Description

Set method

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020251231

Parameters

NameTypeDescriptionExample
method_type
required
****Method TypeGET
resource_id
required
stringResource ID27bb070b564349f8a31cc60734cc36a5
api_id
required
stringApi ID27bb070b564349f8a31cc60734cc36a5
request_headers
required
dictMethod Request Headers{'test1' : True}
query_strings
required
dictMethod Query Strings{'param1': 'value1', 'param2': 'value2'}