List
|
|||||
|
|
Lists all the services in the application
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your applications deployed on Google App Engine
- View and manage your data across Google Cloud Platform services
- View your data across Google Cloud Platform services
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
appsId Required |
STRING |
Part of |
pageToken |
STRING |
Continuation token for fetching the next page of results |
pageSize |
INTEGER |
Maximum results to return per page |
= Parameter name
= Format
appsId STRING Required Part of |
pageToken STRING Continuation token for fetching the next page of results |
pageSize INTEGER Maximum results to return per page |
Output
This building block provides 8 output parameters
Name | Format | Description |
---|---|---|
services[] |
OBJECT |
A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service |
services[].split |
OBJECT |
Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions |
services[].split.shardBy |
ENUMERATION |
Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed |
services[].split.allocations |
OBJECT |
Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits |
services[].split.allocations.customKey.value |
NUMBER |
Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits |
services[].id |
STRING |
Relative name of the service within the application. Example: default.@OutputOnly |
services[].name |
STRING |
Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly |
nextPageToken |
STRING |
Continuation token for fetching the next page of results |
= Parameter name
= Format
services[] OBJECT A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service |
services[].split OBJECT Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions |
services[].split.shardBy ENUMERATION Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed |
services[].split.allocations OBJECT Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits |
services[].split.allocations.customKey.value NUMBER Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits |
services[].id STRING Relative name of the service within the application. Example: default.@OutputOnly |
services[].name STRING Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly |
nextPageToken STRING Continuation token for fetching the next page of results |