import { ServiceType } from "@protobuf-ts/runtime-rpc"; import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { Diagnostic } from "./resources"; import { ChangeReport } from "./resources"; import { Any } from "../../../protobuf/any"; import { Rollout } from "./resources"; import { ConfigSource } from "./resources"; import { Service } from "../../service"; import { ManagedService } from "./resources"; /** * Request message for `ListServices` method. * * @generated from protobuf message google.api.servicemanagement.v1.ListServicesRequest */ export interface ListServicesRequest { /** * Include services produced by the specified project. * * @generated from protobuf field: string producer_project_id = 1; */ producerProjectId: string; /** * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * * @generated from protobuf field: int32 page_size = 5; */ pageSize: number; /** * Token identifying which result to start with; returned by a previous list * call. * * @generated from protobuf field: string page_token = 6; */ pageToken: string; /** * Include services consumed by the specified consumer. * * The Google Service Management implementation accepts the following * forms: * - project: * * @deprecated * @generated from protobuf field: string consumer_id = 7 [deprecated = true]; */ consumerId: string; } /** * Response message for `ListServices` method. * * @generated from protobuf message google.api.servicemanagement.v1.ListServicesResponse */ export interface ListServicesResponse { /** * The returned services will only have the name field set. * * @generated from protobuf field: repeated google.api.servicemanagement.v1.ManagedService services = 1; */ services: ManagedService[]; /** * Token that can be passed to `ListServices` to resume a paginated query. * * @generated from protobuf field: string next_page_token = 2; */ nextPageToken: string; } /** * Request message for `GetService` method. * * @generated from protobuf message google.api.servicemanagement.v1.GetServiceRequest */ export interface GetServiceRequest { /** * Required. The name of the service. See the `ServiceManager` overview for * naming requirements. For example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; } /** * Request message for CreateService method. * * @generated from protobuf message google.api.servicemanagement.v1.CreateServiceRequest */ export interface CreateServiceRequest { /** * Required. Initial values for the service resource. * * @generated from protobuf field: google.api.servicemanagement.v1.ManagedService service = 1; */ service?: ManagedService; } /** * Request message for DeleteService method. * * @generated from protobuf message google.api.servicemanagement.v1.DeleteServiceRequest */ export interface DeleteServiceRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; } /** * Request message for UndeleteService method. * * @generated from protobuf message google.api.servicemanagement.v1.UndeleteServiceRequest */ export interface UndeleteServiceRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; } /** * Response message for UndeleteService method. * * @generated from protobuf message google.api.servicemanagement.v1.UndeleteServiceResponse */ export interface UndeleteServiceResponse { /** * Revived service resource. * * @generated from protobuf field: google.api.servicemanagement.v1.ManagedService service = 1; */ service?: ManagedService; } /** * Request message for GetServiceConfig method. * * @generated from protobuf message google.api.servicemanagement.v1.GetServiceConfigRequest */ export interface GetServiceConfigRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * Required. The id of the service configuration resource. * * This field must be specified for the server to return all fields, including * `SourceInfo`. * * @generated from protobuf field: string config_id = 2; */ configId: string; /** * Specifies which parts of the Service Config should be returned in the * response. * * @generated from protobuf field: google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView view = 3; */ view: GetServiceConfigRequest_ConfigView; } /** * @generated from protobuf enum google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView */ export declare enum GetServiceConfigRequest_ConfigView { /** * Server response includes all fields except SourceInfo. * * @generated from protobuf enum value: BASIC = 0; */ BASIC = 0, /** * 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. * * @generated from protobuf enum value: FULL = 1; */ FULL = 1 } /** * Request message for ListServiceConfigs method. * * @generated from protobuf message google.api.servicemanagement.v1.ListServiceConfigsRequest */ export interface ListServiceConfigsRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * The token of the page to retrieve. * * @generated from protobuf field: string page_token = 2; */ pageToken: string; /** * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * * @generated from protobuf field: int32 page_size = 3; */ pageSize: number; } /** * Response message for ListServiceConfigs method. * * @generated from protobuf message google.api.servicemanagement.v1.ListServiceConfigsResponse */ export interface ListServiceConfigsResponse { /** * The list of service configuration resources. * * @generated from protobuf field: repeated google.api.Service service_configs = 1; */ serviceConfigs: Service[]; /** * The token of the next page of results. * * @generated from protobuf field: string next_page_token = 2; */ nextPageToken: string; } /** * Request message for CreateServiceConfig method. * * @generated from protobuf message google.api.servicemanagement.v1.CreateServiceConfigRequest */ export interface CreateServiceConfigRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * Required. The service configuration resource. * * @generated from protobuf field: google.api.Service service_config = 2; */ serviceConfig?: Service; } /** * Request message for SubmitConfigSource method. * * @generated from protobuf message google.api.servicemanagement.v1.SubmitConfigSourceRequest */ export interface SubmitConfigSourceRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * Required. The source configuration for the service. * * @generated from protobuf field: google.api.servicemanagement.v1.ConfigSource config_source = 2; */ configSource?: ConfigSource; /** * Optional. If set, this will result in the generation of a * `google.api.Service` configuration based on the `ConfigSource` provided, * but the generated config and the sources will NOT be persisted. * * @generated from protobuf field: bool validate_only = 3; */ validateOnly: boolean; } /** * Response message for SubmitConfigSource method. * * @generated from protobuf message google.api.servicemanagement.v1.SubmitConfigSourceResponse */ export interface SubmitConfigSourceResponse { /** * The generated service configuration. * * @generated from protobuf field: google.api.Service service_config = 1; */ serviceConfig?: Service; } /** * Request message for 'CreateServiceRollout' * * @generated from protobuf message google.api.servicemanagement.v1.CreateServiceRolloutRequest */ export interface CreateServiceRolloutRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * Required. The rollout resource. The `service_name` field is output only. * * @generated from protobuf field: google.api.servicemanagement.v1.Rollout rollout = 2; */ rollout?: Rollout; } /** * Request message for 'ListServiceRollouts' * * @generated from protobuf message google.api.servicemanagement.v1.ListServiceRolloutsRequest */ export interface ListServiceRolloutsRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * The token of the page to retrieve. * * @generated from protobuf field: string page_token = 2; */ pageToken: string; /** * The max number of items to include in the response list. Page size is 50 * if not specified. Maximum value is 100. * * @generated from protobuf field: int32 page_size = 3; */ pageSize: number; /** * Required. Use `filter` to return subset of rollouts. * The following filters are supported: * -- To limit the results to only those in * status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', * use filter='status=SUCCESS' * -- To limit the results to those in * status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED' * or 'FAILED', use filter='status=CANCELLED OR status=FAILED' * * @generated from protobuf field: string filter = 4; */ filter: string; } /** * Response message for ListServiceRollouts method. * * @generated from protobuf message google.api.servicemanagement.v1.ListServiceRolloutsResponse */ export interface ListServiceRolloutsResponse { /** * The list of rollout resources. * * @generated from protobuf field: repeated google.api.servicemanagement.v1.Rollout rollouts = 1; */ rollouts: Rollout[]; /** * The token of the next page of results. * * @generated from protobuf field: string next_page_token = 2; */ nextPageToken: string; } /** * Request message for GetServiceRollout method. * * @generated from protobuf message google.api.servicemanagement.v1.GetServiceRolloutRequest */ export interface GetServiceRolloutRequest { /** * Required. The name of the service. See the * [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For * example: `example.googleapis.com`. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * Required. The id of the rollout resource. * * @generated from protobuf field: string rollout_id = 2; */ rolloutId: string; } /** * Request message for GenerateConfigReport method. * * @generated from protobuf message google.api.servicemanagement.v1.GenerateConfigReportRequest */ export interface GenerateConfigReportRequest { /** * Required. Service configuration for which we want to generate the report. * For this version of API, the supported types are * [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], * [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], * and [google.api.Service][google.api.Service] * * @generated from protobuf field: google.protobuf.Any new_config = 1; */ newConfig?: Any; /** * Optional. Service configuration against which the comparison will be done. * For this version of API, the supported types are * [google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef], * [google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource], * and [google.api.Service][google.api.Service] * * @generated from protobuf field: google.protobuf.Any old_config = 2; */ oldConfig?: Any; } /** * Response message for GenerateConfigReport method. * * @generated from protobuf message google.api.servicemanagement.v1.GenerateConfigReportResponse */ export interface GenerateConfigReportResponse { /** * Name of the service this report belongs to. * * @generated from protobuf field: string service_name = 1; */ serviceName: string; /** * ID of the service configuration this report belongs to. * * @generated from protobuf field: string id = 2; */ id: string; /** * list of ChangeReport, each corresponding to comparison between two * service configurations. * * @generated from protobuf field: repeated google.api.servicemanagement.v1.ChangeReport change_reports = 3; */ changeReports: ChangeReport[]; /** * Errors / Linter warnings associated with the service definition this * report * belongs to. * * @generated from protobuf field: repeated google.api.servicemanagement.v1.Diagnostic diagnostics = 4; */ diagnostics: Diagnostic[]; } declare class ListServicesRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ListServicesRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListServicesRequest): ListServicesRequest; internalBinaryWrite(message: ListServicesRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.ListServicesRequest */ export declare const ListServicesRequest: ListServicesRequest$Type; declare class ListServicesResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): ListServicesResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListServicesResponse): ListServicesResponse; internalBinaryWrite(message: ListServicesResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.ListServicesResponse */ export declare const ListServicesResponse: ListServicesResponse$Type; declare class GetServiceRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): GetServiceRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetServiceRequest): GetServiceRequest; internalBinaryWrite(message: GetServiceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.GetServiceRequest */ export declare const GetServiceRequest: GetServiceRequest$Type; declare class CreateServiceRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): CreateServiceRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateServiceRequest): CreateServiceRequest; internalBinaryWrite(message: CreateServiceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.CreateServiceRequest */ export declare const CreateServiceRequest: CreateServiceRequest$Type; declare class DeleteServiceRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): DeleteServiceRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteServiceRequest): DeleteServiceRequest; internalBinaryWrite(message: DeleteServiceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.DeleteServiceRequest */ export declare const DeleteServiceRequest: DeleteServiceRequest$Type; declare class UndeleteServiceRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): UndeleteServiceRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UndeleteServiceRequest): UndeleteServiceRequest; internalBinaryWrite(message: UndeleteServiceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.UndeleteServiceRequest */ export declare const UndeleteServiceRequest: UndeleteServiceRequest$Type; declare class UndeleteServiceResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): UndeleteServiceResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UndeleteServiceResponse): UndeleteServiceResponse; internalBinaryWrite(message: UndeleteServiceResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.UndeleteServiceResponse */ export declare const UndeleteServiceResponse: UndeleteServiceResponse$Type; declare class GetServiceConfigRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): GetServiceConfigRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetServiceConfigRequest): GetServiceConfigRequest; internalBinaryWrite(message: GetServiceConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.GetServiceConfigRequest */ export declare const GetServiceConfigRequest: GetServiceConfigRequest$Type; declare class ListServiceConfigsRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ListServiceConfigsRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListServiceConfigsRequest): ListServiceConfigsRequest; internalBinaryWrite(message: ListServiceConfigsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.ListServiceConfigsRequest */ export declare const ListServiceConfigsRequest: ListServiceConfigsRequest$Type; declare class ListServiceConfigsResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): ListServiceConfigsResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListServiceConfigsResponse): ListServiceConfigsResponse; internalBinaryWrite(message: ListServiceConfigsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.ListServiceConfigsResponse */ export declare const ListServiceConfigsResponse: ListServiceConfigsResponse$Type; declare class CreateServiceConfigRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): CreateServiceConfigRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateServiceConfigRequest): CreateServiceConfigRequest; internalBinaryWrite(message: CreateServiceConfigRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.CreateServiceConfigRequest */ export declare const CreateServiceConfigRequest: CreateServiceConfigRequest$Type; declare class SubmitConfigSourceRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): SubmitConfigSourceRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitConfigSourceRequest): SubmitConfigSourceRequest; internalBinaryWrite(message: SubmitConfigSourceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.SubmitConfigSourceRequest */ export declare const SubmitConfigSourceRequest: SubmitConfigSourceRequest$Type; declare class SubmitConfigSourceResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): SubmitConfigSourceResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubmitConfigSourceResponse): SubmitConfigSourceResponse; internalBinaryWrite(message: SubmitConfigSourceResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.SubmitConfigSourceResponse */ export declare const SubmitConfigSourceResponse: SubmitConfigSourceResponse$Type; declare class CreateServiceRolloutRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): CreateServiceRolloutRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateServiceRolloutRequest): CreateServiceRolloutRequest; internalBinaryWrite(message: CreateServiceRolloutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.CreateServiceRolloutRequest */ export declare const CreateServiceRolloutRequest: CreateServiceRolloutRequest$Type; declare class ListServiceRolloutsRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): ListServiceRolloutsRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListServiceRolloutsRequest): ListServiceRolloutsRequest; internalBinaryWrite(message: ListServiceRolloutsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.ListServiceRolloutsRequest */ export declare const ListServiceRolloutsRequest: ListServiceRolloutsRequest$Type; declare class ListServiceRolloutsResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): ListServiceRolloutsResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListServiceRolloutsResponse): ListServiceRolloutsResponse; internalBinaryWrite(message: ListServiceRolloutsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.ListServiceRolloutsResponse */ export declare const ListServiceRolloutsResponse: ListServiceRolloutsResponse$Type; declare class GetServiceRolloutRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): GetServiceRolloutRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetServiceRolloutRequest): GetServiceRolloutRequest; internalBinaryWrite(message: GetServiceRolloutRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.GetServiceRolloutRequest */ export declare const GetServiceRolloutRequest: GetServiceRolloutRequest$Type; declare class GenerateConfigReportRequest$Type extends MessageType { constructor(); create(value?: PartialMessage): GenerateConfigReportRequest; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GenerateConfigReportRequest): GenerateConfigReportRequest; internalBinaryWrite(message: GenerateConfigReportRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.GenerateConfigReportRequest */ export declare const GenerateConfigReportRequest: GenerateConfigReportRequest$Type; declare class GenerateConfigReportResponse$Type extends MessageType { constructor(); create(value?: PartialMessage): GenerateConfigReportResponse; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GenerateConfigReportResponse): GenerateConfigReportResponse; internalBinaryWrite(message: GenerateConfigReportResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.servicemanagement.v1.GenerateConfigReportResponse */ export declare const GenerateConfigReportResponse: GenerateConfigReportResponse$Type; /** * @generated ServiceType for protobuf service google.api.servicemanagement.v1.ServiceManager */ export declare const ServiceManager: ServiceType; export {};