class ServicesConfigs extends Resource (View source)

The "configs" collection of methods.

Typical usage is:

 $servicemanagementService = new Google\Service\ServiceManagement(...);
 $configs = $servicemanagementService->services_configs;

Methods

create(string $serviceName, Service $postBody, array $optParams = [])

Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.

get(string $serviceName, string $configId, array $optParams = [])

Gets a service configuration (version) for a managed service. (configs.get)

listServicesConfigs(string $serviceName, array $optParams = [])

Lists the history of the service configuration for a managed service, from the newest to the oldest. (configs.listServicesConfigs)

submit(string $serviceName, SubmitConfigSourceRequest $postBody, array $optParams = [])

Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation (configs.submit)

Details

Service create(string $serviceName, Service $postBody, array $optParams = [])

Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.

(configs.create)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

Service $postBody
array $optParams

Optional parameters.

Return Value

Service

Exceptions

Exception

Service get(string $serviceName, string $configId, array $optParams = [])

Gets a service configuration (version) for a managed service. (configs.get)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

string $configId

Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including SourceInfo.

array $optParams

Optional parameters.

Return Value

Service

Exceptions

Exception

ListServiceConfigsResponse listServicesConfigs(string $serviceName, array $optParams = [])

Lists the history of the service configuration for a managed service, from the newest to the oldest. (configs.listServicesConfigs)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

array $optParams

Optional parameters.

Return Value

ListServiceConfigsResponse

Exceptions

Exception

Operation submit(string $serviceName, SubmitConfigSourceRequest $postBody, array $optParams = [])

Creates a new service configuration (version) for a managed service based on user-supplied configuration source files (for example: OpenAPI Specification). This method stores the source configurations as well as the generated service configuration. To rollout the service configuration to other services, please call CreateServiceRollout. Only the 100 most recent configuration sources and ones referenced by existing service configurtions are kept for each service. The rest will be deleted eventually. Operation (configs.submit)

Parameters

string $serviceName

Required. The name of the service. See the overview for naming requirements. For example: example.googleapis.com.

SubmitConfigSourceRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception