mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-17 13:06:47 +02:00
feat: Publish EasySaas Rollouts and Deployments logging proto
PiperOrigin-RevId: 890517773
This commit is contained in:
parent
77c78e90ae
commit
a7cd05f10e
3 changed files with 295 additions and 0 deletions
202
google/cloud/saasplatform/saasservicemgmt/logging/v1/BUILD.bazel
Normal file
202
google/cloud/saasplatform/saasservicemgmt/logging/v1/BUILD.bazel
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
# This file was automatically generated by BuildFileGenerator
|
||||
|
||||
# buildifier: disable=load-on-top
|
||||
|
||||
# This is an API workspace, having public visibility by default makes perfect sense.
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
##############################################################################
|
||||
# Common
|
||||
##############################################################################
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
|
||||
proto_library(
|
||||
name = "logging_proto",
|
||||
srcs = [
|
||||
"rollout_log.proto",
|
||||
],
|
||||
deps = ["//google/rpc:status_proto"],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# Java
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"java_gapic_assembly_gradle_pkg",
|
||||
"java_proto_library",
|
||||
)
|
||||
|
||||
java_proto_library(
|
||||
name = "logging_java_proto",
|
||||
deps = [":logging_proto"],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
java_gapic_assembly_gradle_pkg(
|
||||
name = "google-cloud-saasplatform-saasservicemgmt-logging-v1-java",
|
||||
deps = [
|
||||
":logging_java_proto",
|
||||
":logging_proto",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# Go
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"go_gapic_assembly_pkg",
|
||||
"go_grpc_library",
|
||||
)
|
||||
|
||||
go_grpc_library(
|
||||
name = "logging_go_proto",
|
||||
importpath = "cloud.google.com/go/saasplatform/saasservicemgmt/logging/apiv1/loggingpb",
|
||||
protos = [":logging_proto"],
|
||||
deps = ["//google/rpc:status_go_proto"],
|
||||
)
|
||||
|
||||
go_gapic_assembly_pkg(
|
||||
name = "google-cloud-saasplatform-saasservicemgmt-logging-v1-go",
|
||||
deps = [
|
||||
":logging_go_proto",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# Python
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"moved_proto_library",
|
||||
"py_gapic_assembly_pkg",
|
||||
"py_gapic_library",
|
||||
"py_grpc_library",
|
||||
"py_proto_library",
|
||||
)
|
||||
|
||||
moved_proto_library(
|
||||
name = "logging_moved_proto",
|
||||
srcs = [":logging_proto"],
|
||||
deps = ["//google/rpc:status_proto"],
|
||||
)
|
||||
|
||||
py_proto_library(
|
||||
name = "logging_py_proto",
|
||||
deps = [":logging_moved_proto"],
|
||||
)
|
||||
|
||||
py_grpc_library(
|
||||
name = "logging_py_grpc",
|
||||
srcs = [":logging_moved_proto"],
|
||||
deps = [":logging_py_proto"],
|
||||
)
|
||||
|
||||
py_gapic_library(
|
||||
name = "logging_py_gapic",
|
||||
srcs = [":logging_proto"],
|
||||
rest_numeric_enums = False,
|
||||
transport = "grpc+rest",
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
py_gapic_assembly_pkg(
|
||||
name = "google-cloud-saasplatform-saasservicemgmt-logging-v1-py",
|
||||
deps = [
|
||||
":logging_py_gapic",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# PHP
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"php_gapic_assembly_pkg",
|
||||
"php_proto_library",
|
||||
)
|
||||
|
||||
php_proto_library(
|
||||
name = "logging_php_proto",
|
||||
deps = [":logging_proto"],
|
||||
)
|
||||
|
||||
php_gapic_assembly_pkg(
|
||||
name = "google-cloud-saasplatform-saasservicemgmt-logging-v1-php",
|
||||
deps = [
|
||||
":logging_php_proto",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# Ruby
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"ruby_grpc_library",
|
||||
"ruby_proto_library",
|
||||
)
|
||||
|
||||
ruby_proto_library(
|
||||
name = "logging_ruby_proto",
|
||||
deps = [":logging_proto"],
|
||||
)
|
||||
|
||||
ruby_grpc_library(
|
||||
name = "logging_ruby_grpc",
|
||||
srcs = [":logging_proto"],
|
||||
deps = [":logging_ruby_proto"],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# C#
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"csharp_gapic_assembly_pkg",
|
||||
"csharp_proto_library",
|
||||
)
|
||||
|
||||
csharp_proto_library(
|
||||
name = "logging_csharp_proto",
|
||||
deps = [":logging_proto"],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
csharp_gapic_assembly_pkg(
|
||||
name = "google-cloud-saasplatform-saasservicemgmt-logging-v1-csharp",
|
||||
package_name = "Google.Cloud.SaasPlatform.SaasServiceMgmt.Logging.V1",
|
||||
generate_nongapic_package = True,
|
||||
deps = [
|
||||
":logging_csharp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# C++
|
||||
##############################################################################
|
||||
# buildifier: disable=same-origin-load
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"cc_grpc_library",
|
||||
"cc_proto_library",
|
||||
)
|
||||
|
||||
cc_proto_library(
|
||||
name = "logging_cc_proto",
|
||||
deps = [":logging_proto"],
|
||||
)
|
||||
|
||||
cc_grpc_library(
|
||||
name = "logging_cc_grpc",
|
||||
srcs = [":logging_proto"],
|
||||
grpc_only = True,
|
||||
deps = [":logging_cc_proto"],
|
||||
)
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
# SaaS Service Management API Logging Integration
|
||||
|
||||
These protos represent the SaaS Service Management API log entry schema for rollouts.
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
// Copyright 2026 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.saasplatform.saasservicemgmt.logging.v1;
|
||||
|
||||
import "google/rpc/status.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.SaasPlatform.SaasServiceMgmt.Logging.V1";
|
||||
option go_package = "cloud.google.com/go/saasplatform/saasservicemgmt/logging/apiv1/loggingpb;loggingpb";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "RolloutLogProto";
|
||||
option java_package = "com.google.cloud.saasplatform.saasservicemgmt.logging.v1";
|
||||
option php_namespace = "Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\Logging\\V1";
|
||||
option ruby_package = "Google::Cloud::SaasPlatform::SaasServiceMgmt::Logging::V1";
|
||||
|
||||
// Log message for Rollout events.
|
||||
message RolloutLog {
|
||||
// Unique identifier of the root rollout.
|
||||
string root_rollout_id = 1;
|
||||
|
||||
// Specified rollout type associated with this rollout.
|
||||
string rollout_kind = 2;
|
||||
|
||||
// Strategy used for executing this rollout.
|
||||
string rollout_orchestration_strategy = 3;
|
||||
|
||||
// The previous state of the rollout, e.g. RUNNING.
|
||||
RolloutState prev_state = 4;
|
||||
|
||||
// The current running state of the rollout, e.g. PAUSED.
|
||||
RolloutState current_state = 5;
|
||||
|
||||
// Brief description for the rollout event, e.g. “Waiting to start rollout.”
|
||||
string reason = 6;
|
||||
|
||||
// A human readable string that specifies relevant information about the
|
||||
// rollout’s last transition,
|
||||
// e.g. “Soaking for 2 hours.”
|
||||
string message = 7;
|
||||
|
||||
// Associated status corresponding to the event this log describes,
|
||||
// corresponds to the status of the actionable error message.
|
||||
google.rpc.Status error = 8;
|
||||
}
|
||||
|
||||
// The state of the rollout.
|
||||
enum RolloutState {
|
||||
// Unspecified state.
|
||||
ROLLOUT_STATE_UNSPECIFIED = 0;
|
||||
|
||||
// Rollout is in progress.
|
||||
RUNNING = 1;
|
||||
|
||||
// Rollout has been paused.
|
||||
PAUSED = 2;
|
||||
|
||||
// Rollout is being paused.
|
||||
PAUSING = 3;
|
||||
|
||||
// Rollout is being resumed.
|
||||
RESUMING = 4;
|
||||
|
||||
// Rollout has been cancelled.
|
||||
CANCELLED = 5;
|
||||
|
||||
// Rollout has failed.
|
||||
FAILED = 6;
|
||||
|
||||
// Rollout is waiting for some condition to be met before starting.
|
||||
WAITING = 7;
|
||||
|
||||
// Rollout completed successfully.
|
||||
SUCCEEDED = 8;
|
||||
|
||||
// Rollout is being canceled.
|
||||
CANCELLING = 9;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue