Google_Service_ServiceManagement_Resource_ServicesConfigs
extends Google_Service_Resource
in package
The "configs" collection of methods.
Typical usage is:
$servicemanagementService = new Google_Service_ServiceManagement(...);
$configs = $servicemanagementService->configs;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- create() : Google_Service_ServiceManagement_Service
- 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.
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- get() : Google_Service_ServiceManagement_Service
- Gets a service configuration (version) for a managed service. (configs.get)
- listServicesConfigs() : Google_Service_ServiceManagement_ListServiceConfigsResponse
- Lists the history of the service configuration for a managed service, from the newest to the oldest. (configs.listServicesConfigs)
- submit() : Google_Service_ServiceManagement_Operation
- 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)
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —create()
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.
public
create(string $serviceName, Google_Service_ServiceManagement_Service $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_ServiceManagement_Service
(configs.create)
Parameters
- $serviceName : string
-
Required. The name of the service. See the overview for naming requirements. For example:
example.googleapis.com. - $postBody : Google_Service_ServiceManagement_Service
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_ServiceManagement_Service —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
get()
Gets a service configuration (version) for a managed service. (configs.get)
public
get(string $serviceName, string $configId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_ServiceManagement_Service
Parameters
- $serviceName : string
-
Required. The name of the service. See the overview for naming requirements. For example:
example.googleapis.com. - $configId : string
-
Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including
SourceInfo. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_ServiceManagement_Service —listServicesConfigs()
Lists the history of the service configuration for a managed service, from the newest to the oldest. (configs.listServicesConfigs)
public
listServicesConfigs(string $serviceName[, array<string|int, mixed> $optParams = array() ]) : Google_Service_ServiceManagement_ListServiceConfigsResponse
Parameters
- $serviceName : string
-
Required. The name of the service. See the overview for naming requirements. For example:
example.googleapis.com. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_ServiceManagement_ListServiceConfigsResponse —submit()
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)
public
submit(string $serviceName, Google_Service_ServiceManagement_SubmitConfigSourceRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_ServiceManagement_Operation
Parameters
- $serviceName : string
-
Required. The name of the service. See the overview for naming requirements. For example:
example.googleapis.com. - $postBody : Google_Service_ServiceManagement_SubmitConfigSourceRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_ServiceManagement_Operation —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed