Class ServicesResource.ConfigsResource
The "configs" collection of methods.
Inherited Members
Namespace: Google.Apis.ServiceManagement.v1
Assembly: Google.Apis.ServiceManagement.v1.dll
Syntax
public class ServicesResource.ConfigsResource
Constructors
ConfigsResource(IClientService)
Constructs a new resource.
Declaration
public ConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Service, string)
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.
Declaration
public virtual ServicesResource.ConfigsResource.CreateRequest Create(Service body, string serviceName)
Parameters
Type | Name | Description |
---|---|---|
Service | body | The body of the request. |
string | serviceName | Required. The name of the service. See the
overview for naming requirements. For example:
|
Returns
Type | Description |
---|---|
ServicesResource.ConfigsResource.CreateRequest |
Get(string, string)
Gets a service configuration (version) for a managed service.
Declaration
public virtual ServicesResource.ConfigsResource.GetRequest Get(string serviceName, string configId)
Parameters
Type | Name | Description |
---|---|---|
string | serviceName | Required. The name of the service. See the
overview for naming requirements. For example:
|
string | configId | Required. The id of the service configuration resource. This field must be specified for the server to
return all fields, including |
Returns
Type | Description |
---|---|
ServicesResource.ConfigsResource.GetRequest |
List(string)
Lists the history of the service configuration for a managed service, from the newest to the oldest.
Declaration
public virtual ServicesResource.ConfigsResource.ListRequest List(string serviceName)
Parameters
Type | Name | Description |
---|---|---|
string | serviceName | Required. The name of the service. See the
overview for naming requirements. For example:
|
Returns
Type | Description |
---|---|
ServicesResource.ConfigsResource.ListRequest |
Submit(SubmitConfigSourceRequest, string)
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
Declaration
public virtual ServicesResource.ConfigsResource.SubmitRequest Submit(SubmitConfigSourceRequest body, string serviceName)
Parameters
Type | Name | Description |
---|---|---|
SubmitConfigSourceRequest | body | The body of the request. |
string | serviceName | Required. The name of the service. See the
overview for naming requirements. For example:
|
Returns
Type | Description |
---|---|
ServicesResource.ConfigsResource.SubmitRequest |