environments property

List<String>? environments
getter/setter pair

Comma-separated list of environment names to which the API product is bound.

Requests to environments that are not listed are rejected. By specifying one or more environments, you can bind the resources listed in the API product to a specific environment, preventing developers from accessing those resources through API proxies deployed in another environment. This setting is used, for example, to prevent resources associated with API proxies in prod from being accessed by API proxies deployed in test.

Implementation

core.List<core.String>? environments;