Index
ServiceManager
(interface)ChangeReport
(message)ConfigFile
(message)ConfigFile.FileType
(enum)ConfigRef
(message)ConfigSource
(message)CreateServiceConfigRequest
(message)CreateServiceRequest
(message)CreateServiceRolloutRequest
(message)DeleteServiceRequest
(message)Diagnostic
(message)Diagnostic.Kind
(enum)DisableServiceRequest
(message)DisableServiceResponse
(message)EnableServiceRequest
(message)EnableServiceResponse
(message)GenerateConfigReportRequest
(message)GenerateConfigReportResponse
(message)GetServiceConfigRequest
(message)GetServiceConfigRequest.ConfigView
(enum)GetServiceRequest
(message)GetServiceRolloutRequest
(message)ListServiceConfigsRequest
(message)ListServiceConfigsResponse
(message)ListServiceRolloutsRequest
(message)ListServiceRolloutsResponse
(message)ListServicesRequest
(message)ListServicesResponse
(message)ManagedService
(message)OperationMetadata
(message)OperationMetadata.Status
(enum)OperationMetadata.Step
(message)Rollout
(message)Rollout.DeleteServiceStrategy
(message)Rollout.RolloutStatus
(enum)Rollout.TrafficPercentStrategy
(message)SubmitConfigSourceRequest
(message)SubmitConfigSourceResponse
(message)UndeleteServiceRequest
(message)UndeleteServiceResponse
(message)
ServiceManager
CreateService |
---|
Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation<response: ManagedService>
|
CreateServiceConfig |
---|
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 Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.
|
CreateServiceRollout |
---|
Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation<response: Rollout>
|
DeleteService |
---|
Deletes a managed service. This method will change the service to the Operation<response: google.protobuf.Empty>
|
DisableService |
---|
Disables a Operation<response: DisableServiceResponse>
|
EnableService |
---|
Enables a Operation<response: EnableServiceResponse>
|
GenerateConfigReport |
---|
Generates and returns a report (errors, warnings and changes from existing configurations) associated with GenerateConfigReportRequest.new_value If GenerateConfigReportRequest.old_value is specified, GenerateConfigReportRequest will contain a single ChangeReport based on the comparison between GenerateConfigReportRequest.new_value and GenerateConfigReportRequest.old_value. If GenerateConfigReportRequest.old_value is not specified, this method will compare GenerateConfigReportRequest.new_value with the last pushed service configuration.
|
GetService |
---|
Gets a managed service. Authentication is required unless the service is public.
|
GetServiceConfig |
---|
Gets a service configuration (version) for a managed service.
|
GetServiceRollout |
---|
Gets a service configuration
|
ListServiceConfigs |
---|
Lists the history of the service configuration for a managed service, from the newest to the oldest.
|
ListServiceRollouts |
---|
Lists the history of the service configuration rollouts for a managed service, from the newest to the oldest.
|
ListServices |
---|
Lists managed services. Returns all public services. For authenticated users, also returns all services the calling user has "servicemanagement.services.get" permission for.
|
SubmitConfigSource |
---|
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 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<response: SubmitConfigSourceResponse>
|
UndeleteService |
---|
Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation<response: UndeleteServiceResponse>
|
ChangeReport
Change report associated with a particular service configuration.
It contains a list of ConfigChanges based on the comparison between two service configurations.
Fields | |
---|---|
config_changes[] |
List of changes between two service configurations. The changes will be alphabetically sorted based on the identifier of each change. A ConfigChange identifier is a dot separated path to the configuration. Example: visibility.rules[selector='LibraryService.CreateBook'].restriction |
ConfigFile
Generic specification of a source configuration file
Fields | |
---|---|
file_path |
The file name of the configuration file (full or relative path). |
file_contents |
The bytes that constitute the file. |
file_type |
The type of configuration file this represents. |
FileType
Enums | |
---|---|
FILE_TYPE_UNSPECIFIED |
Unknown file type. |
SERVICE_CONFIG_YAML |
YAML-specification of service. |
OPEN_API_JSON |
OpenAPI specification, serialized in JSON. |
OPEN_API_YAML |
OpenAPI specification, serialized in YAML. |
FILE_DESCRIPTOR_SET_PROTO |
FileDescriptorSet, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $protoc --include_imports --include_source_info test.proto -o out.pb |
PROTO_FILE |
Uncompiled Proto file. Used for storage and display purposes only, currently server-side compilation is not supported. Should match the inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A file of this type can only be included if at least one file of type FILE_DESCRIPTOR_SET_PROTO is included. |
ConfigRef
Represents a service configuration with its name and id.
Fields | |
---|---|
name |
Resource name of a service config. It must have the following format: "services/{service name}/configs/{config id}". |
ConfigSource
Represents a source file which is used to generate the service configuration defined by google.api.Service
.
Fields | |
---|---|
id |
A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. If empty, the server may choose to generate one instead. |
files[] |
Set of source configuration files that are used to generate a service configuration ( |
CreateServiceConfigRequest
Request message for CreateServiceConfig method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
service_config |
Required. The service configuration resource. |
CreateServiceRequest
Request message for CreateService method.
Fields | |
---|---|
service |
Required. Initial values for the service resource. |
CreateServiceRolloutRequest
Request message for 'CreateServiceRollout'
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
rollout |
Required. The rollout resource. The |
DeleteServiceRequest
Request message for DeleteService method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
Diagnostic
Represents a diagnostic message (error or warning)
Fields | |
---|---|
location |
File name and line number of the error or warning. |
kind |
The kind of diagnostic information provided. |
message |
Message describing the error or warning. |
Kind
The kind of diagnostic information possible.
Enums | |
---|---|
WARNING |
Warnings and errors |
ERROR |
Only errors |
DisableServiceRequest
Request message for DisableService method.
Fields | |
---|---|
service_name |
Required. Name of the service to disable. Specifying an unknown service name will cause the request to fail. Authorization requires the following IAM permission on the specified resource
|
consumer_id |
Required. The identity of consumer resource which service disablement will be applied to. The Google Service Management implementation accepts the following forms: - "project: Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id. Authorization requires the following IAM permission on the specified resource
|
DisableServiceResponse
Operation payload for DisableService method.
EnableServiceRequest
Request message for EnableService method.
Fields | |
---|---|
service_name |
Required. Name of the service to enable. Specifying an unknown service name will cause the request to fail. Authorization requires the following IAM permission on the specified resource
|
consumer_id |
Required. The identity of consumer resource which service enablement will be applied to. The Google Service Management implementation accepts the following forms: - "project: Note: this is made compatible with google.api.servicecontrol.v1.Operation.consumer_id. Authorization requires the following IAM permission on the specified resource
|
EnableServiceResponse
Operation payload for EnableService method.
GenerateConfigReportRequest
Request message for GenerateConfigReport method.
Fields | |
---|---|
new_config |
Required. Service configuration for which we want to generate the report. For this version of API, the supported types are |
old_config |
Optional. Service configuration against which the comparison will be done. For this version of API, the supported types are |
GenerateConfigReportResponse
Response message for GenerateConfigReport method.
Fields | |
---|---|
service_name |
Name of the service this report belongs to. |
id |
ID of the service configuration this report belongs to. |
change_reports[] |
list of ChangeReport, each corresponding to comparison between two service configurations. |
diagnostics[] |
Errors / Linter warnings associated with the service definition this report belongs to. |
GetServiceConfigRequest
Request message for GetServiceConfig method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
config_id |
Required. The id of the service configuration resource. This field must be specified for the server to return all fields, including |
view |
Specifies which parts of the Service Config should be returned in the response. |
ConfigView
Enums | |
---|---|
BASIC |
Server response includes all fields except SourceInfo. |
FULL |
Server response includes all fields including SourceInfo. SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' and are only available for configs created using the SubmitConfigSource method. |
GetServiceRequest
Request message for GetService
method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the Authorization requires the following IAM permission on the specified resource
|
GetServiceRolloutRequest
Request message for GetServiceRollout method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
rollout_id |
Required. The id of the rollout resource. |
ListServiceConfigsRequest
Request message for ListServiceConfigs method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
page_token |
The token of the page to retrieve. |
page_size |
The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100. |
ListServiceConfigsResponse
Response message for ListServiceConfigs method.
Fields | |
---|---|
service_configs[] |
The list of service configuration resources. |
next_page_token |
The token of the next page of results. |
ListServiceRolloutsRequest
Request message for 'ListServiceRollouts'
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
page_token |
The token of the page to retrieve. |
page_size |
The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 100. |
filter |
Required. Use -- By -- By [strategy]
[google.api.servicemanagement.v1.Rollout.strategy]. For example, |
ListServiceRolloutsResponse
Response message for ListServiceRollouts method.
Fields | |
---|---|
rollouts[] |
The list of rollout resources. |
next_page_token |
The token of the next page of results. |
ListServicesRequest
Request message for ListServices
method.
Fields | |
---|---|
producer_project_id |
Include services produced by the specified project. |
page_size |
The max number of items to include in the response list. Page size is 50 if not specified. Maximum value is 500. |
page_token |
Token identifying which result to start with; returned by a previous list call. |
consumer_id |
Include services consumed by the specified consumer. The Google Service Management implementation accepts the following forms: - project: |
ListServicesResponse
Response message for ListServices
method.
Fields | |
---|---|
services[] |
The returned services will only have the name field set. |
next_page_token |
Token that can be passed to |
ManagedService
The full representation of a Service that is managed by Google Service Management.
Fields | |
---|---|
service_name |
The name of the service. See the overview for naming requirements. |
producer_project_id |
ID of the project that produces and owns this service. |
OperationMetadata
The metadata associated with a long running operation resource.
Fields | |
---|---|
resource_names[] |
The full name of the resources that this operation is directly associated with. |
steps[] |
Detailed status information for each step. The order is undetermined. |
progress_percentage |
Percentage of completion of this operation, ranging from 0 to 100. |
start_time |
The start time of the operation. |
Status
Code describes the status of the operation (or one of its steps).
Enums | |
---|---|
STATUS_UNSPECIFIED |
Unspecifed code. |
DONE |
The operation or step has completed without errors. |
NOT_STARTED |
The operation or step has not started yet. |
IN_PROGRESS |
The operation or step is in progress. |
FAILED |
The operation or step has completed with errors. If the operation is rollbackable, the rollback completed with errors too. |
CANCELLED |
The operation or step has completed with cancellation. |
Step
Represents the status of one operation step.
Fields | |
---|---|
description |
The short description of the step. |
status |
The status code. |
Rollout
A rollout resource that defines how service configuration versions are pushed to control plane systems. Typically, you create a new version of the service config, and then create a Rollout to push the service config.
Fields | |
---|---|
rollout_id |
Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of |
create_time |
Creation time of the rollout. Readonly. |
created_by |
The user who created the Rollout. Readonly. |
status |
The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. |
service_name |
The name of the service associated with this Rollout. |
Union field strategy . Strategy that defines which versions of service configurations should be pushed and how they should be used at runtime. strategy can be only one of the following: |
|
traffic_percent_strategy |
Google Service Control selects service configurations based on traffic percentage. |
delete_service_strategy |
The strategy associated with a rollout to delete a |
DeleteServiceStrategy
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
RolloutStatus
Status of a Rollout.
Enums | |
---|---|
ROLLOUT_STATUS_UNSPECIFIED |
No status specified. |
IN_PROGRESS |
The Rollout is in progress. |
SUCCESS |
The Rollout has completed successfully. |
CANCELLED |
The Rollout has been cancelled. This can happen if you have overlapping Rollout pushes, and the previous ones will be cancelled. |
FAILED |
The Rollout has failed and the rollback attempt has failed too. |
PENDING |
The Rollout has not started yet and is pending for execution. |
FAILED_ROLLED_BACK |
The Rollout has failed and rolled back to the previous successful Rollout. |
TrafficPercentStrategy
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version.
One example of how to gradually rollout a new service configuration using this strategy: Day 1
Rollout {
id: "example.googleapis.com/rollout_20160206"
traffic_percent_strategy {
percentages: {
"example.googleapis.com/20160201": 70.00
"example.googleapis.com/20160206": 30.00
}
}
}
Day 2
Rollout {
id: "example.googleapis.com/rollout_20160207"
traffic_percent_strategy: {
percentages: {
"example.googleapis.com/20160206": 100.00
}
}
}
Fields | |
---|---|
percentages |
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. |
SubmitConfigSourceRequest
Request message for SubmitConfigSource method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
config_source |
Required. The source configuration for the service. |
validate_only |
Optional. If set, this will result in the generation of a |
SubmitConfigSourceResponse
Response message for SubmitConfigSource method.
Fields | |
---|---|
service_config |
The generated service configuration. |
UndeleteServiceRequest
Request message for UndeleteService method.
Fields | |
---|---|
service_name |
Required. The name of the service. See the overview for naming requirements. For example: Authorization requires the following IAM permission on the specified resource
|
UndeleteServiceResponse
Response message for UndeleteService method.
Fields | |
---|---|
service |
Revived service resource. |