diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/.owlbot-manifest.json b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/.owlbot-manifest.json index 28ad3fd70a78..8868b33e4674 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/.owlbot-manifest.json +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/.owlbot-manifest.json @@ -55,6 +55,7 @@ "proto_docs/google/protobuf/empty.rb", "proto_docs/google/protobuf/field_mask.rb", "proto_docs/google/protobuf/timestamp.rb", + "proto_docs/google/rpc/status.rb", "snippets/Gemfile", "snippets/saas_deployments/create_release.rb", "snippets/saas_deployments/create_saas.rb", diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/paths.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/paths.rb index bfcf0769898e..d9b4fb1907ef 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/paths.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/paths.rb @@ -25,6 +25,95 @@ module V1beta1 module SaasDeployments # Path helper methods for the SaasDeployments API. module Paths + ## + # Create a fully-qualified Application resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/applications/{application}` + # + # @param project [String] + # @param location [String] + # @param application [String] + # + # @return [::String] + def application_path project:, location:, application: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + + "projects/#{project}/locations/#{location}/applications/#{application}" + end + + ## + # Create a fully-qualified ApplicationTemplate resource string. + # + # @overload application_template_path(project:, location:, space:, application_template:) + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}` + # + # @param project [String] + # @param location [String] + # @param space [String] + # @param application_template [String] + # + # @overload application_template_path(project:, location:, workspace:, application_template:) + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/workspaces/{workspace}/applicationTemplates/{application_template}` + # + # @param project [String] + # @param location [String] + # @param workspace [String] + # @param application_template [String] + # + # @return [::String] + def application_template_path **args + resources = { + "application_template:location:project:space" => (proc do |project:, location:, space:, application_template:| + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/" + + "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}" + end), + "application_template:location:project:workspace" => (proc do |project:, location:, workspace:, application_template:| + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + raise ::ArgumentError, "workspace cannot contain /" if workspace.to_s.include? "/" + + "projects/#{project}/locations/#{location}/workspaces/#{workspace}/applicationTemplates/#{application_template}" + end) + } + + resource = resources[args.keys.sort.join(":")] + raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil? + resource.call(**args) + end + + ## + # Create a fully-qualified ApplicationTemplateRevision resource string. + # + # The resource will be in the following format: + # + # `projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}` + # + # @param project [String] + # @param location [String] + # @param space [String] + # @param application_template [String] + # @param revision [String] + # + # @return [::String] + def application_template_revision_path project:, location:, space:, application_template:, revision: + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" + raise ::ArgumentError, "space cannot contain /" if space.to_s.include? "/" + raise ::ArgumentError, "application_template cannot contain /" if application_template.to_s.include? "/" + + "projects/#{project}/locations/#{location}/spaces/#{space}/applicationTemplates/#{application_template}/revisions/#{revision}" + end + ## # Create a fully-qualified Location resource string. # diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb.rb index 816cbc457c60..165f51b3563d 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb.rb @@ -5,10 +5,11 @@ require 'google/protobuf' require 'google/api/field_behavior_pb' +require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' -descriptor_data = "\n>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"O\n\tBlueprint\x12\x17\n\x07package\x18\x01 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x13\n\x06\x65ngine\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xd5\x01\n\x0cUnitVariable\x12\x18\n\x08variable\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12Z\n\x04type\x18\x02 \x01(\x0e\x32\x44.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.TypeB\x06\xe0\x41\x01\xe0\x41\x05\x12\x12\n\x05value\x18\x03 \x01(\tB\x03\xe0\x41\x01\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x07\n\x03INT\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\"\xfb\x03\n\rUnitCondition\x12\\\n\x06status\x18\x01 \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.StatusB\x03\xe0\x41\x02\x12X\n\x04type\x18\x02 \x01(\x0e\x32\x45.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.TypeB\x03\xe0\x41\x02\x12=\n\x14last_transition_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06reason\x18\x05 \x01(\tB\x03\xe0\x41\x02\"W\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x01\x12\x0f\n\x0bSTATUS_TRUE\x10\x02\x12\x10\n\x0cSTATUS_FALSE\x10\x03\"o\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTYPE_READY\x10\x01\x12\x11\n\rTYPE_UPDATING\x10\x02\x12\x14\n\x10TYPE_PROVISIONED\x10\x03\x12\x18\n\x14TYPE_OPERATION_ERROR\x10\x04\"\xcc\x04\n\x16UnitOperationCondition\x12\x65\n\x06status\x18\x01 \x01(\x0e\x32P.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.StatusB\x03\xe0\x41\x02\x12\x61\n\x04type\x18\x02 \x01(\x0e\x32N.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.TypeB\x03\xe0\x41\x02\x12=\n\x14last_transition_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06reason\x18\x05 \x01(\tB\x03\xe0\x41\x02\"W\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x01\x12\x0f\n\x0bSTATUS_TRUE\x10\x02\x12\x10\n\x0cSTATUS_FALSE\x10\x03\"\xa4\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eTYPE_SCHEDULED\x10\x02\x12\x10\n\x0cTYPE_RUNNING\x10\x03\x12\x12\n\x0eTYPE_SUCCEEDED\x10\x04\x12\x12\n\x0eTYPE_CANCELLED\x10\x05\x12\x14\n\x10TYPE_APP_CREATED\x10\x06\x12\"\n\x1eTYPE_APP_COMPONENTS_REGISTERED\x10\x07\"3\n\tAggregate\x12\x12\n\x05group\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x63ount\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02*\x96\x01\n\x1aUnitOperationErrorCategory\x12-\n)UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12\x12\n\x0eNOT_APPLICABLE\x10\x01\x12\t\n\x05\x46\x41TAL\x10\x02\x12\r\n\tRETRIABLE\x10\x03\x12\r\n\tIGNORABLE\x10\x04\x12\x0c\n\x08STANDARD\x10\x05\x42\xc7\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x0b\x43ommonProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1b\x06proto3" +descriptor_data = "\n>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"O\n\tBlueprint\x12\x17\n\x07package\x18\x01 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12\x13\n\x06\x65ngine\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xeb\x01\n\x0cUnitVariable\x12\x18\n\x08variable\x18\x01 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12Z\n\x04type\x18\x02 \x01(\x0e\x32\x44.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariable.TypeB\x06\xe0\x41\x01\xe0\x41\x05\x12\x12\n\x05value\x18\x03 \x01(\tB\x03\xe0\x41\x01\"Q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06STRING\x10\x01\x12\x07\n\x03INT\x10\x02\x12\x08\n\x04\x42OOL\x10\x03\x12\n\n\x06STRUCT\x10\x04\x12\x08\n\x04LIST\x10\x05\"\xfb\x03\n\rUnitCondition\x12\\\n\x06status\x18\x01 \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.StatusB\x03\xe0\x41\x02\x12X\n\x04type\x18\x02 \x01(\x0e\x32\x45.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitCondition.TypeB\x03\xe0\x41\x02\x12=\n\x14last_transition_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06reason\x18\x05 \x01(\tB\x03\xe0\x41\x02\"W\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x01\x12\x0f\n\x0bSTATUS_TRUE\x10\x02\x12\x10\n\x0cSTATUS_FALSE\x10\x03\"o\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTYPE_READY\x10\x01\x12\x11\n\rTYPE_UPDATING\x10\x02\x12\x14\n\x10TYPE_PROVISIONED\x10\x03\x12\x18\n\x14TYPE_OPERATION_ERROR\x10\x04\"\xe9\x04\n\x16UnitOperationCondition\x12\x65\n\x06status\x18\x01 \x01(\x0e\x32P.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.StatusB\x03\xe0\x41\x02\x12\x61\n\x04type\x18\x02 \x01(\x0e\x32N.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.TypeB\x03\xe0\x41\x02\x12=\n\x14last_transition_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06reason\x18\x05 \x01(\tB\x03\xe0\x41\x02\"W\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x01\x12\x0f\n\x0bSTATUS_TRUE\x10\x02\x12\x10\n\x0cSTATUS_FALSE\x10\x03\"\xc1\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eTYPE_SCHEDULED\x10\x02\x12\x10\n\x0cTYPE_RUNNING\x10\x03\x12\x12\n\x0eTYPE_SUCCEEDED\x10\x04\x12\x12\n\x0eTYPE_CANCELLED\x10\x05\x12\x14\n\x10TYPE_APP_CREATED\x10\x06\x12\"\n\x1eTYPE_APP_COMPONENTS_REGISTERED\x10\x07\x12\x1b\n\x17TYPE_WORKLOAD_SUCCEEDED\x10\x08\"\xcf\x03\n\rSaasCondition\x12\\\n\x06status\x18\x01 \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.StatusB\x03\xe0\x41\x02\x12X\n\x04type\x18\x06 \x01(\x0e\x32\x45.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.TypeB\x03\xe0\x41\x02\x12=\n\x14last_transition_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06reason\x18\x05 \x01(\tB\x03\xe0\x41\x02\"W\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x01\x12\x0f\n\x0bSTATUS_TRUE\x10\x02\x12\x10\n\x0cSTATUS_FALSE\x10\x03\"C\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nTYPE_READY\x10\x01\x12\x15\n\x11TYPE_SYNCHRONIZED\x10\x02\"3\n\tAggregate\x12\x12\n\x05group\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x63ount\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02*\x96\x01\n\x1aUnitOperationErrorCategory\x12-\n)UNIT_OPERATION_ERROR_CATEGORY_UNSPECIFIED\x10\x00\x12\x12\n\x0eNOT_APPLICABLE\x10\x01\x12\t\n\x05\x46\x41TAL\x10\x02\x12\r\n\tRETRIABLE\x10\x03\x12\r\n\tIGNORABLE\x10\x04\x12\x0c\n\x08STANDARD\x10\x05\x42\xc7\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x0b\x43ommonProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -27,6 +28,9 @@ module V1beta1 UnitOperationCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition").msgclass UnitOperationCondition::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Status").enummodule UnitOperationCondition::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationCondition.Type").enummodule + SaasCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition").msgclass + SaasCondition::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Status").enummodule + SaasCondition::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasCondition.Type").enummodule Aggregate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate").msgclass UnitOperationErrorCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationErrorCategory").enummodule end diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources_pb.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources_pb.rb index 7f4669657418..c9aae1cb121f 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources_pb.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources_pb.rb @@ -9,9 +9,10 @@ require 'google/api/resource_pb' require 'google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb' require 'google/protobuf/timestamp_pb' +require 'google/rpc/status_pb' -descriptor_data = "\nMgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x1d\n\x08Location\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x99\x05\n\x04Saas\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12S\n\tlocations\x18\x04 \x03(\x0b\x32;.google.cloud.saasplatform.saasservicemgmt.v1beta1.LocationB\x03\xe0\x41\x01\x12Y\n\x06labels\x18\xa1Q \x03(\x0b\x32\x43.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.LabelsEntryB\x03\xe0\x41\x01\x12\x63\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32H.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#saasservicemgmt.googleapis.com/Saas\x12\x33projects/{project}/locations/{location}/saas/{saas}*\x04saas2\x04saas\"\xb7\x05\n\x06Tenant\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12!\n\x11\x63onsumer_resource\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12<\n\x04saas\x18\x03 \x01(\tB.\xe0\x41\x02\xe0\x41\x05\xfa\x41%\n#saasservicemgmt.googleapis.com/Saas\x12[\n\x06labels\x18\xa1Q \x03(\x0b\x32\x45.google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant.LabelsEntryB\x03\xe0\x41\x01\x12\x65\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32J.google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:u\xea\x41r\n%saasservicemgmt.googleapis.com/Tenant\x12\x38projects/{project}/locations/{location}/tenants/{tenant}*\x07tenants2\x06tenant\"\x9f\x08\n\x08UnitKind\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12G\n\x0f\x64\x65\x66\x61ult_release\x18\x02 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12[\n\x0c\x64\x65pendencies\x18\x04 \x03(\x0b\x32=.google.cloud.saasplatform.saasservicemgmt.v1beta1.DependencyB\x06\xe0\x41\x01\xe0\x41\x05\x12h\n\x17input_variable_mappings\x18\x05 \x03(\x0b\x32\x42.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMappingB\x03\xe0\x41\x01\x12i\n\x18output_variable_mappings\x18\x06 \x03(\x0b\x32\x42.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMappingB\x03\xe0\x41\x01\x12<\n\x04saas\x18\x08 \x01(\tB.\xe0\x41\x02\xe0\x41\x05\xfa\x41%\n#saasservicemgmt.googleapis.com/Saas\x12]\n\x06labels\x18\xa1Q \x03(\x0b\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind.LabelsEntryB\x03\xe0\x41\x01\x12g\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32L.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n\'saasservicemgmt.googleapis.com/UnitKind\x12.google.cloud.saasplatform.saasservicemgmt.v1beta1.DeprovisionB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12<\n\x04unit\x18\x02 \x01(\tB.\xe0\x41\x02\xe0\x41\x05\xfa\x41%\n#saasservicemgmt.googleapis.com/Unit\x12S\n\x15parent_unit_operation\x18\x03 \x01(\tB4\xe0\x41\x01\xfa\x41.\n,saasservicemgmt.googleapis.com/UnitOperation\x12?\n\x07rollout\x18\x04 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12\x13\n\x06\x63\x61ncel\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12j\n\x05state\x18\x06 \x01(\x0e\x32S.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.UnitOperationStateB\x06\xe0\x41\x01\xe0\x41\x03\x12\x65\n\nconditions\x18\x07 \x03(\x0b\x32I.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationConditionB\x06\xe0\x41\x01\xe0\x41\x03\x12R\n\x08schedule\x18\x0c \x01(\x0b\x32;.google.cloud.saasplatform.saasservicemgmt.v1beta1.ScheduleB\x03\xe0\x41\x01\x12\x1c\n\x0c\x65ngine_state\x18\x0e \x01(\tB\x06\xe0\x41\x01\xe0\x41\x03\x12m\n\x0e\x65rror_category\x18\x0f \x01(\x0e\x32M.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationErrorCategoryB\x06\xe0\x41\x01\xe0\x41\x03\x12\x62\n\x06labels\x18\xa1Q \x03(\x0b\x32L.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.LabelsEntryB\x03\xe0\x41\x01\x12l\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32Q.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x02\n\x12UnitOperationState\x12 \n\x1cUNIT_OPERATION_STATE_UNKNOWN\x10\x00\x12 \n\x1cUNIT_OPERATION_STATE_PENDING\x10\x01\x12\"\n\x1eUNIT_OPERATION_STATE_SCHEDULED\x10\x02\x12 \n\x1cUNIT_OPERATION_STATE_RUNNING\x10\x04\x12\"\n\x1eUNIT_OPERATION_STATE_SUCCEEDED\x10\x05\x12\x1f\n\x1bUNIT_OPERATION_STATE_FAILED\x10\x06\x12\"\n\x1eUNIT_OPERATION_STATE_CANCELLED\x10\x07:\x99\x01\xea\x41\x95\x01\n,saasservicemgmt.googleapis.com/UnitOperation\x12\x46projects/{project}/locations/{location}/unitOperations/{unitOperation}*\x0eunitOperations2\runitOperationB\x15\n\x13unit_operation_type\"\xab\x01\n\tProvision\x12?\n\x07release\x18\x01 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12]\n\x0finput_variables\x18\x03 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x03\xe0\x41\x01\"\r\n\x0b\x44\x65provision\"\xa9\x01\n\x07Upgrade\x12?\n\x07release\x18\x01 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12]\n\x0finput_variables\x18\x02 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x03\xe0\x41\x01\"?\n\x08Schedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"\x84\n\n\x07Release\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x45\n\tunit_kind\x18\x02 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12T\n\tblueprint\x18\x03 \x01(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.BlueprintB\x03\xe0\x41\x01\x12q\n\x14release_requirements\x18\x04 \x01(\x0b\x32N.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.ReleaseRequirementsB\x03\xe0\x41\x01\x12`\n\x0finput_variables\x18\x05 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x06\xe0\x41\x01\xe0\x41\x03\x12\x61\n\x10output_variables\x18\x06 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x06\xe0\x41\x01\xe0\x41\x03\x12\x65\n\x17input_variable_defaults\x18\x07 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x03\xe0\x41\x01\x12\\\n\x06labels\x18\xa1Q \x03(\x0b\x32\x46.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.LabelsEntryB\x03\xe0\x41\x01\x12\x66\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32K.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1ah\n\x13ReleaseRequirements\x12Q\n\x19upgradeable_from_releases\x18\x01 \x03(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:z\xea\x41w\n&saasservicemgmt.googleapis.com/Release\x12:projects/{project}/locations/{location}/releases/{release}*\x08releases2\x07release\"\xde\x01\n\x0fVariableMapping\x12S\n\x04\x66rom\x18\x02 \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.FromMappingB\x03\xe0\x41\x01H\x00\x12O\n\x02to\x18\x03 \x01(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.ToMappingB\x03\xe0\x41\x01H\x00\x12\x15\n\x08variable\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x0e\n\x0cmapping_type\"D\n\x0b\x46romMapping\x12\x17\n\ndependency\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0foutput_variable\x18\x02 \x01(\tB\x03\xe0\x41\x02\"a\n\tToMapping\x12\x17\n\ndependency\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0einput_variable\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11ignore_for_lookup\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"g\n\nDependency\x12\x45\n\tunit_kind\x18\x01 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12\x12\n\x05\x61lias\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\xd9\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x1dSaasDeploymentsResourcesProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1b\x06proto3" +descriptor_data = "\nMgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x1d\n\x08Location\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\xfd\x08\n\x04Saas\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12S\n\tlocations\x18\x04 \x03(\x0b\x32;.google.cloud.saasplatform.saasservicemgmt.v1beta1.LocationB\x03\xe0\x41\x01\x12]\n\x14\x61pplication_template\x18\x05 \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef\x12\x1b\n\x0e\x62lueprint_repo\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12Q\n\x05state\x18\x07 \x01(\x0e\x32=.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.StateB\x03\xe0\x41\x03\x12Y\n\nconditions\x18\x08 \x03(\x0b\x32@.google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasConditionB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\t \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12Y\n\x06labels\x18\xa1Q \x03(\x0b\x32\x43.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.LabelsEntryB\x03\xe0\x41\x01\x12\x63\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32H.google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8f\x01\n\x05State\x12\x1a\n\x16STATE_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cSTATE_ACTIVE\x10\x01\x12\x11\n\rSTATE_RUNNING\x10\x02\x12\x10\n\x0cSTATE_FAILED\x10\x03\x12\x0e\n\x06\x41\x43TIVE\x10\x01\x1a\x02\x08\x01\x12\x0f\n\x07RUNNING\x10\x02\x1a\x02\x08\x01\x12\x0e\n\x06\x46\x41ILED\x10\x03\x1a\x02\x08\x01\x1a\x02\x10\x01:i\xea\x41\x66\n#saasservicemgmt.googleapis.com/Saas\x12\x33projects/{project}/locations/{location}/saas/{saas}*\x04saas2\x04saas\"\xb7\x05\n\x06Tenant\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12!\n\x11\x63onsumer_resource\x18\x02 \x01(\tB\x06\xe0\x41\x01\xe0\x41\x05\x12<\n\x04saas\x18\x03 \x01(\tB.\xe0\x41\x02\xe0\x41\x05\xfa\x41%\n#saasservicemgmt.googleapis.com/Saas\x12[\n\x06labels\x18\xa1Q \x03(\x0b\x32\x45.google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant.LabelsEntryB\x03\xe0\x41\x01\x12\x65\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32J.google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:u\xea\x41r\n%saasservicemgmt.googleapis.com/Tenant\x12\x38projects/{project}/locations/{location}/tenants/{tenant}*\x07tenants2\x06tenant\"\xdf\t\n\x08UnitKind\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12G\n\x0f\x64\x65\x66\x61ult_release\x18\x02 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12[\n\x0c\x64\x65pendencies\x18\x04 \x03(\x0b\x32=.google.cloud.saasplatform.saasservicemgmt.v1beta1.DependencyB\x06\xe0\x41\x01\xe0\x41\x05\x12h\n\x17input_variable_mappings\x18\x05 \x03(\x0b\x32\x42.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMappingB\x03\xe0\x41\x01\x12i\n\x18output_variable_mappings\x18\x06 \x03(\x0b\x32\x42.google.cloud.saasplatform.saasservicemgmt.v1beta1.VariableMappingB\x03\xe0\x41\x01\x12<\n\x04saas\x18\x08 \x01(\tB.\xe0\x41\x02\xe0\x41\x05\xfa\x41%\n#saasservicemgmt.googleapis.com/Saas\x12l\n\x1e\x61pplication_template_component\x18\n \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.ComponentRefB\x03\xe0\x41\x03\x12P\n\napp_params\x18\x0b \x01(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams\x12]\n\x06labels\x18\xa1Q \x03(\x0b\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind.LabelsEntryB\x03\xe0\x41\x01\x12g\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32L.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x7f\xea\x41|\n\'saasservicemgmt.googleapis.com/UnitKind\x12\n\x0b\x61pplication\x18\x1d \x01(\tB)\xe0\x41\x01\xfa\x41#\n!apphub.googleapis.com/Application\x12Y\n\x06labels\x18\xa1Q \x03(\x0b\x32\x43.google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.LabelsEntryB\x03\xe0\x41\x01\x12\x63\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32H.google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1b\n\rsatisfies_pzs\x18\xc1P \x01(\x08\x42\x03\xe0\x41\x03\x12\x1b\n\rsatisfies_pzi\x18\xc2P \x01(\x08\x42\x03\xe0\x41\x03\x1aQ\n\x13MaintenanceSettings\x12:\n\x11pinned_until_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc8\x01\n\tUnitState\x12\x1a\n\x16UNIT_STATE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aUNIT_STATE_NOT_PROVISIONED\x10\x01\x12\x1b\n\x17UNIT_STATE_PROVISIONING\x10\x02\x12\x17\n\x13UNIT_STATE_UPDATING\x10\x03\x12\x1d\n\x19UNIT_STATE_DEPROVISIONING\x10\x04\x12\x14\n\x10UNIT_STATE_READY\x10\x05\x12\x14\n\x10UNIT_STATE_ERROR\x10\x06\"g\n\x0eManagementMode\x12\x1f\n\x1bMANAGEMENT_MODE_UNSPECIFIED\x10\x00\x12\x18\n\x14MANAGEMENT_MODE_USER\x10\x01\x12\x1a\n\x16MANAGEMENT_MODE_SYSTEM\x10\x02\"\xa7\x01\n\x12SystemManagedState\x12$\n SYSTEM_MANAGED_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bSYSTEM_MANAGED_STATE_ACTIVE\x10\x01\x12!\n\x1dSYSTEM_MANAGED_STATE_INACTIVE\x10\x02\x12\'\n#SYSTEM_MANAGED_STATE_DECOMMISSIONED\x10\x03:k\xea\x41h\n#saasservicemgmt.googleapis.com/Unit\x12\x34projects/{project}/locations/{location}/units/{unit}*\x05units2\x04unit\"_\n\x0eUnitDependency\x12\x12\n\x05\x61lias\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x04unit\x18\x02 \x01(\tB+\xe0\x41\x03\xfa\x41%\n#saasservicemgmt.googleapis.com/Unit\"\x8d\x0f\n\rUnitOperation\x12V\n\tprovision\x18\x08 \x01(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.ProvisionB\x03\xe0\x41\x01H\x00\x12R\n\x07upgrade\x18\t \x01(\x0b\x32:.google.cloud.saasplatform.saasservicemgmt.v1beta1.UpgradeB\x03\xe0\x41\x01H\x00\x12Z\n\x0b\x64\x65provision\x18\n \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.DeprovisionB\x03\xe0\x41\x01H\x00\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12<\n\x04unit\x18\x02 \x01(\tB.\xe0\x41\x02\xe0\x41\x05\xfa\x41%\n#saasservicemgmt.googleapis.com/Unit\x12S\n\x15parent_unit_operation\x18\x03 \x01(\tB4\xe0\x41\x01\xfa\x41.\n,saasservicemgmt.googleapis.com/UnitOperation\x12?\n\x07rollout\x18\x04 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12\x13\n\x06\x63\x61ncel\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12j\n\x05state\x18\x06 \x01(\x0e\x32S.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.UnitOperationStateB\x06\xe0\x41\x01\xe0\x41\x03\x12\x65\n\nconditions\x18\x07 \x03(\x0b\x32I.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationConditionB\x06\xe0\x41\x01\xe0\x41\x03\x12R\n\x08schedule\x18\x0c \x01(\x0b\x32;.google.cloud.saasplatform.saasservicemgmt.v1beta1.ScheduleB\x03\xe0\x41\x01\x12\x1c\n\x0c\x65ngine_state\x18\x0e \x01(\tB\x06\xe0\x41\x01\xe0\x41\x03\x12m\n\x0e\x65rror_category\x18\x0f \x01(\x0e\x32M.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperationErrorCategoryB\x06\xe0\x41\x01\xe0\x41\x03\x12\x62\n\x06labels\x18\xa1Q \x03(\x0b\x32L.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.LabelsEntryB\x03\xe0\x41\x01\x12l\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32Q.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitOperation.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0b\x64\x65lete_time\x18\xc1P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x02\n\x12UnitOperationState\x12 \n\x1cUNIT_OPERATION_STATE_UNKNOWN\x10\x00\x12 \n\x1cUNIT_OPERATION_STATE_PENDING\x10\x01\x12\"\n\x1eUNIT_OPERATION_STATE_SCHEDULED\x10\x02\x12 \n\x1cUNIT_OPERATION_STATE_RUNNING\x10\x04\x12\"\n\x1eUNIT_OPERATION_STATE_SUCCEEDED\x10\x05\x12\x1f\n\x1bUNIT_OPERATION_STATE_FAILED\x10\x06\x12\"\n\x1eUNIT_OPERATION_STATE_CANCELLED\x10\x07:\x99\x01\xea\x41\x95\x01\n,saasservicemgmt.googleapis.com/UnitOperation\x12\x46projects/{project}/locations/{location}/unitOperations/{unitOperation}*\x0eunitOperations2\runitOperationB\x15\n\x13unit_operation_type\"\xab\x01\n\tProvision\x12?\n\x07release\x18\x01 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12]\n\x0finput_variables\x18\x03 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x03\xe0\x41\x01\"\r\n\x0b\x44\x65provision\"\xa9\x01\n\x07Upgrade\x12?\n\x07release\x18\x01 \x01(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12]\n\x0finput_variables\x18\x02 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x03\xe0\x41\x01\"?\n\x08Schedule\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"\xf2\n\n\x07Release\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x45\n\tunit_kind\x18\x02 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12T\n\tblueprint\x18\x03 \x01(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.BlueprintB\x03\xe0\x41\x01\x12q\n\x14release_requirements\x18\x04 \x01(\x0b\x32N.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.ReleaseRequirementsB\x03\xe0\x41\x01\x12`\n\x0finput_variables\x18\x05 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x06\xe0\x41\x01\xe0\x41\x03\x12\x61\n\x10output_variables\x18\x06 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x06\xe0\x41\x01\xe0\x41\x03\x12\x65\n\x17input_variable_defaults\x18\x07 \x03(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitVariableB\x03\xe0\x41\x01\x12l\n\x1e\x61pplication_template_component\x18\t \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.ComponentRefB\x03\xe0\x41\x03\x12\\\n\x06labels\x18\xa1Q \x03(\x0b\x32\x46.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.LabelsEntryB\x03\xe0\x41\x01\x12\x66\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32K.google.cloud.saasplatform.saasservicemgmt.v1beta1.Release.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1ah\n\x13ReleaseRequirements\x12Q\n\x19upgradeable_from_releases\x18\x01 \x03(\tB.\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:z\xea\x41w\n&saasservicemgmt.googleapis.com/Release\x12:projects/{project}/locations/{location}/releases/{release}*\x08releases2\x07release\"\xde\x01\n\x0fVariableMapping\x12S\n\x04\x66rom\x18\x02 \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.FromMappingB\x03\xe0\x41\x01H\x00\x12O\n\x02to\x18\x03 \x01(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.ToMappingB\x03\xe0\x41\x01H\x00\x12\x15\n\x08variable\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x0e\n\x0cmapping_type\"D\n\x0b\x46romMapping\x12\x17\n\ndependency\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0foutput_variable\x18\x02 \x01(\tB\x03\xe0\x41\x02\"a\n\tToMapping\x12\x17\n\ndependency\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0einput_variable\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1e\n\x11ignore_for_lookup\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"g\n\nDependency\x12\x45\n\tunit_kind\x18\x01 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12\x12\n\x05\x61lias\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\xd2\x01\n\x0c\x43ompositeRef\x12U\n\x14\x61pplication_template\x18\x01 \x01(\tB7\xe0\x41\x02\xfa\x41\x31\n/designcenter.googleapis.com/ApplicationTemplate\x12N\n\x08revision\x18\x02 \x01(\tB<\xfa\x41\x39\n7designcenter.googleapis.com/ApplicationTemplateRevision\x12\x1b\n\x0esync_operation\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\x8b\x01\n\x0c\x43omponentRef\x12V\n\rcomposite_ref\x18\x01 \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef\x12\x11\n\tcomponent\x18\x02 \x01(\t\x12\x10\n\x08revision\x18\x03 \x01(\t\"\xbb\x02\n\tAppParams\x12\r\n\x05group\x18\x01 \x01(\t\x12Q\n\x05scope\x18\x02 \x01(\x0b\x32\x42.google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope\x1a\xcb\x01\n\x05Scope\x12Z\n\x04type\x18\x01 \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope.TypeB\x03\xe0\x41\x02\"f\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rTYPE_REGIONAL\x10\x01\x12\x0f\n\x0bTYPE_GLOBAL\x10\x02\x12\x10\n\x08REGIONAL\x10\x01\x1a\x02\x08\x01\x12\x0e\n\x06GLOBAL\x10\x02\x1a\x02\x08\x01\x1a\x02\x10\x01\x42\xfc\x06\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x1dSaasDeploymentsResourcesProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1\xea\x41g\n!apphub.googleapis.com/Application\x12\x42projects/{project}/locations/{location}/applications/{application}\xea\x41\xff\x01\n/designcenter.googleapis.com/ApplicationTemplate\x12\x61projects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{applicationTemplate}\x12iprojects/{project}/locations/{location}/workspaces/{workspace}/applicationTemplates/{applicationTemplate}\xea\x41\xb2\x01\n7designcenter.googleapis.com/ApplicationTemplateRevision\x12wprojects/{project}/locations/{location}/spaces/{space}/applicationTemplates/{application_template}/revisions/{revision}b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) @@ -23,6 +24,7 @@ module SaasServiceMgmt module V1beta1 Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Location").msgclass Saas = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas").msgclass + Saas::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Saas.State").enummodule Tenant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Tenant").msgclass UnitKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UnitKind").msgclass Unit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Unit").msgclass @@ -43,6 +45,11 @@ module V1beta1 FromMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.FromMapping").msgclass ToMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ToMapping").msgclass Dependency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Dependency").msgclass + CompositeRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.CompositeRef").msgclass + ComponentRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ComponentRef").msgclass + AppParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams").msgclass + AppParams::Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope").msgclass + AppParams::Scope::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.AppParams.Scope.Type").enummodule end end end diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb.rb index 1bf359bcfc03..5c2b559f3f59 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb.rb @@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb' -descriptor_data = "\nJgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\r\n\x07Rollout\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x42\n\x07release\x18\x03 \x01(\tB1\xe0\x41\x01\xe0\x41\x05\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12\x36\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12\x34\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12[\n\x05state\x18\n \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.RolloutStateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x15state_transition_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12G\n\x0croot_rollout\x18\x10 \x01(\tB1\xe0\x41\x03\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12I\n\x0eparent_rollout\x18\x11 \x01(\tB1\xe0\x41\x03\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12+\n\x1erollout_orchestration_strategy\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunit_filter\x18\x15 \x01(\tB\x03\xe0\x41\x01\x12K\n\x0crollout_kind\x18\x16 \x01(\tB5\xe0\x41\x01\xe0\x41\x05\xfa\x41,\n*saasservicemgmt.googleapis.com/RolloutKind\x12V\n\x05stats\x18\x18 \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStatsB\x06\xe0\x41\x03\xe0\x41\x01\x12W\n\x07\x63ontrol\x18\x19 \x01(\x0b\x32\x41.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControlB\x03\xe0\x41\x01\x12\\\n\x06labels\x18\xa1Q \x03(\x0b\x32\x46.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.LabelsEntryB\x03\xe0\x41\x01\x12\x66\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32K.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x02\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15ROLLOUT_STATE_RUNNING\x10\x01\x12\x18\n\x14ROLLOUT_STATE_PAUSED\x10\x02\x12\x1b\n\x17ROLLOUT_STATE_SUCCEEDED\x10\x03\x12\x18\n\x14ROLLOUT_STATE_FAILED\x10\x04\x12\x1b\n\x17ROLLOUT_STATE_CANCELLED\x10\x05\x12\x19\n\x15ROLLOUT_STATE_WAITING\x10\x06\x12\x1c\n\x18ROLLOUT_STATE_CANCELLING\x10\x07\x12\x1a\n\x16ROLLOUT_STATE_RESUMING\x10\x08\x12\x19\n\x15ROLLOUT_STATE_PAUSING\x10\t:}\xea\x41z\n&saasservicemgmt.googleapis.com/Rollout\x12=projects/{project}/locations/{location}/rollouts/{rollout_id}*\x08rollouts2\x07rollout\"\x95\t\n\x0bRolloutKind\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x45\n\tunit_kind\x18\x02 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12+\n\x1erollout_orchestration_strategy\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunit_filter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12}\n\x19update_unit_kind_strategy\x18\x06 \x01(\x0e\x32U.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategyB\x03\xe0\x41\x01\x12^\n\x0c\x65rror_budget\x18\x07 \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudgetB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12`\n\x06labels\x18\xa1Q \x03(\x0b\x32J.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.LabelsEntryB\x03\xe0\x41\x01\x12j\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32O.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x16UpdateUnitKindStrategy\x12)\n%UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED\x10\x00\x12&\n\"UPDATE_UNIT_KIND_STRATEGY_ON_START\x10\x01\x12#\n\x1fUPDATE_UNIT_KIND_STRATEGY_NEVER\x10\x02:\x93\x01\xea\x41\x8f\x01\n*saasservicemgmt.googleapis.com/RolloutKind\x12\x46projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}*\x0crolloutKinds2\x0brolloutKindB\x0f\n\r_error_budget\"J\n\x0b\x45rrorBudget\x12\x1a\n\rallowed_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12\x61llowed_percentage\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\"n\n\x0cRolloutStats\x12^\n\x13operations_by_state\x18\x02 \x03(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.AggregateB\x03\xe0\x41\x03\"\xad\x02\n\x0eRolloutControl\x12s\n\nrun_params\x18\x02 \x01(\x0b\x32X.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParamsB\x03\xe0\x41\x01H\x00\x12U\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32@.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutActionB\x03\xe0\x41\x02\x1a>\n\x16RunRolloutActionParams\x12$\n\x17retry_failed_operations\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x42\x0f\n\raction_params*|\n\rRolloutAction\x12\x1e\n\x1aROLLOUT_ACTION_UNSPECIFIED\x10\x00\x12\x16\n\x12ROLLOUT_ACTION_RUN\x10\x01\x12\x18\n\x14ROLLOUT_ACTION_PAUSE\x10\x02\x12\x19\n\x15ROLLOUT_ACTION_CANCEL\x10\x03\x42\xd6\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x1aSaasRolloutsResourcesProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1b\x06proto3" +descriptor_data = "\nJgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaf\x0e\n\x07Rollout\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x42\n\x07release\x18\x03 \x01(\tB1\xe0\x41\x01\xe0\x41\x05\xfa\x41(\n&saasservicemgmt.googleapis.com/Release\x12\x36\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12\x34\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12[\n\x05state\x18\n \x01(\x0e\x32G.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.RolloutStateB\x03\xe0\x41\x03\x12\x1a\n\rstate_message\x18\x0b \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x15state_transition_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xe0\x41\x01\xe0\x41\x03\x12G\n\x0croot_rollout\x18\x10 \x01(\tB1\xe0\x41\x03\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12I\n\x0eparent_rollout\x18\x11 \x01(\tB1\xe0\x41\x03\xe0\x41\x01\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12+\n\x1erollout_orchestration_strategy\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunit_filter\x18\x15 \x01(\tB\x03\xe0\x41\x01\x12K\n\x0crollout_kind\x18\x16 \x01(\tB5\xe0\x41\x02\xe0\x41\x05\xfa\x41,\n*saasservicemgmt.googleapis.com/RolloutKind\x12V\n\x05stats\x18\x18 \x01(\x0b\x32?.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStatsB\x06\xe0\x41\x03\xe0\x41\x01\x12W\n\x07\x63ontrol\x18\x19 \x01(\x0b\x32\x41.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControlB\x03\xe0\x41\x01\x12%\n\x15\x65\x66\x66\x65\x63tive_unit_filter\x18\x1a \x01(\tB\x06\xe0\x41\x01\xe0\x41\x03\x12\\\n\x06labels\x18\xa1Q \x03(\x0b\x32\x46.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.LabelsEntryB\x03\xe0\x41\x01\x12\x66\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32K.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0b\x64\x65lete_time\x18\xc1P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x02\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15ROLLOUT_STATE_RUNNING\x10\x01\x12\x18\n\x14ROLLOUT_STATE_PAUSED\x10\x02\x12\x1b\n\x17ROLLOUT_STATE_SUCCEEDED\x10\x03\x12\x18\n\x14ROLLOUT_STATE_FAILED\x10\x04\x12\x1b\n\x17ROLLOUT_STATE_CANCELLED\x10\x05\x12\x19\n\x15ROLLOUT_STATE_WAITING\x10\x06\x12\x1c\n\x18ROLLOUT_STATE_CANCELLING\x10\x07\x12\x1a\n\x16ROLLOUT_STATE_RESUMING\x10\x08\x12\x19\n\x15ROLLOUT_STATE_PAUSING\x10\t:}\xea\x41z\n&saasservicemgmt.googleapis.com/Rollout\x12=projects/{project}/locations/{location}/rollouts/{rollout_id}*\x08rollouts2\x07rollout\"\x95\t\n\x0bRolloutKind\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x45\n\tunit_kind\x18\x02 \x01(\tB2\xe0\x41\x02\xe0\x41\x05\xfa\x41)\n\'saasservicemgmt.googleapis.com/UnitKind\x12+\n\x1erollout_orchestration_strategy\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bunit_filter\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12}\n\x19update_unit_kind_strategy\x18\x06 \x01(\x0e\x32U.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategyB\x03\xe0\x41\x01\x12^\n\x0c\x65rror_budget\x18\x07 \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudgetB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12`\n\x06labels\x18\xa1Q \x03(\x0b\x32J.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.LabelsEntryB\x03\xe0\x41\x01\x12j\n\x0b\x61nnotations\x18\xa2Q \x03(\x0b\x32O.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x03uid\x18\xd9O \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x12\n\x04\x65tag\x18\xdaO \x01(\tB\x03\xe0\x41\x03\x12\x35\n\x0b\x63reate_time\x18\xbfP \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x35\n\x0bupdate_time\x18\xc0P \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x16UpdateUnitKindStrategy\x12)\n%UPDATE_UNIT_KIND_STRATEGY_UNSPECIFIED\x10\x00\x12&\n\"UPDATE_UNIT_KIND_STRATEGY_ON_START\x10\x01\x12#\n\x1fUPDATE_UNIT_KIND_STRATEGY_NEVER\x10\x02:\x93\x01\xea\x41\x8f\x01\n*saasservicemgmt.googleapis.com/RolloutKind\x12\x46projects/{project}/locations/{location}/rolloutKinds/{rollout_kind_id}*\x0crolloutKinds2\x0brolloutKindB\x0f\n\r_error_budget\"}\n\x0b\x45rrorBudget\x12\x1f\n\rallowed_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12$\n\x12\x61llowed_percentage\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x10\n\x0e_allowed_countB\x15\n\x13_allowed_percentage\"\xc4\x01\n\x0cRolloutStats\x12\x64\n\x13operations_by_state\x18\x02 \x03(\x0b\x32<.google.cloud.saasplatform.saasservicemgmt.v1beta1.AggregateB\t\xe0\x41\x03\xe0\x41\x01\xe0\x41\x06\x12/\n\x1a\x65stimated_total_unit_count\x18\x03 \x01(\x03\x42\x06\xe0\x41\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x1d\n\x1b_estimated_total_unit_count\"\xad\x02\n\x0eRolloutControl\x12s\n\nrun_params\x18\x02 \x01(\x0b\x32X.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParamsB\x03\xe0\x41\x01H\x00\x12U\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32@.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutActionB\x03\xe0\x41\x02\x1a>\n\x16RunRolloutActionParams\x12$\n\x17retry_failed_operations\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x42\x0f\n\raction_params*|\n\rRolloutAction\x12\x1e\n\x1aROLLOUT_ACTION_UNSPECIFIED\x10\x00\x12\x16\n\x12ROLLOUT_ACTION_RUN\x10\x01\x12\x18\n\x14ROLLOUT_ACTION_PAUSE\x10\x02\x12\x19\n\x15ROLLOUT_ACTION_CANCEL\x10\x03\x42\xd6\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x1aSaasRolloutsResourcesProtoP\x01Z_cloud.google.com/go/saasplatform/saasservicemgmt/apiv1beta1/saasservicemgmtpb;saasservicemgmtpb\xaa\x02\x31Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1\xca\x02\x31Google\\Cloud\\SaasPlatform\\SaasServiceMgmt\\V1beta1\xea\x02\x35Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1b\x06proto3" pool = ::Google::Protobuf::DescriptorPool.generated_pool pool.add_serialized_file(descriptor_data) diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb index 2d43b15d52a4..671aed211014 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb @@ -59,6 +59,7 @@ class UnitVariable extend ::Google::Protobuf::MessageExts::ClassMethods # Enumeration of variable types. + # `STRUCT` and `LIST` values should be JSON-encoded strings. module Type # Variable type is unspecified. TYPE_UNSPECIFIED = 0 @@ -71,6 +72,12 @@ module Type # Variable type is bool. BOOL = 3 + + # Variable type is struct. + STRUCT = 4 + + # Variable type is list. + LIST = 5 end end @@ -191,6 +198,62 @@ module Type # Indicates if services and workloads have been registered with AppHub. TYPE_APP_COMPONENTS_REGISTERED = 7 + + # Indicates if the UnitOperation's core workload execution completed + # successfully. + # The workload is the core execution operation performed for a + # UnitOperation (e.g., provisioning, updating, or deprovisioning + # resources) excluding post-operation checks. + TYPE_WORKLOAD_SUCCEEDED = 8 + end + end + + # SaasCondition describes the status of a Saas. + # @!attribute [rw] status + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasCondition::Status] + # Required. Status of the condition. + # @!attribute [rw] type + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasCondition::Type] + # Required. Type of the condition. + # @!attribute [rw] last_transition_time + # @return [::Google::Protobuf::Timestamp] + # Required. Last time the condition transited from one status to another. + # @!attribute [rw] message + # @return [::String] + # Required. Human readable message indicating details about the last + # transition. + # @!attribute [rw] reason + # @return [::String] + # Required. Brief reason for the condition's last transition. + class SaasCondition + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Enumeration of condition statuses. + module Status + # Condition status is unspecified. + STATUS_UNSPECIFIED = 0 + + # Condition is unknown. + STATUS_UNKNOWN = 1 + + # Condition is true. + STATUS_TRUE = 2 + + # Condition is false. + STATUS_FALSE = 3 + end + + # Enumeration of condition types. + module Type + # Condition type is unspecified. + TYPE_UNSPECIFIED = 0 + + # Condition type is ready. + TYPE_READY = 1 + + # Condition type is synchronized. + TYPE_SYNCHRONIZED = 2 end end diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb index 598e666af4ab..69849c7db363 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb @@ -42,6 +42,30 @@ class Location # @return [::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Location>] # Optional. List of locations that the service is available in. Rollout # refers to the list to generate a rollout plan. + # @!attribute [rw] application_template + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CompositeRef] + # Reference to composite ApplicationTemplate. + # When specified, the template components will be imported into their + # equivalent UnitKind, Release and Blueprint resources. + # Deleted references will not delete imported resources. + # Should only be specified on source regions, and be unspecified on replica + # regions. + # @!attribute [r] blueprint_repo + # @return [::String] + # Output only. Name of repository in Artifact Registry for system-generated + # Blueprints, eg. Blueprints of imported ApplicationTemplates. + # @!attribute [r] state + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Saas::State] + # Output only. State of the Saas. + # It is always in ACTIVE state if the application_template is empty. + # @!attribute [r] conditions + # @return [::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasCondition>] + # Output only. A set of conditions which indicate the various conditions this + # resource can have. + # @!attribute [r] error + # @return [::Google::Rpc::Status] + # Output only. If the state is FAILED, the corresponding error code and + # message. Defaults to code=OK for all other states. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels on the resource, which can be used for categorization. @@ -95,6 +119,32 @@ class AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end + + # State of the Saas. + module State + # State type is unspecified. + STATE_TYPE_UNSPECIFIED = 0 + + # The Saas is ready + STATE_ACTIVE = 1 + + # In the process of importing, synchronizing or replicating + # ApplicationTemplates + STATE_RUNNING = 2 + + # Failure during process of importing, synchronizing or replicating + # ApplicationTemplate processing + STATE_FAILED = 3 + + # Deprecated: Use STATE_ACTIVE. + ACTIVE = 1 + + # Deprecated: Use STATE_RUNNING. + RUNNING = 2 + + # Deprecated: Use STATE_FAILED. + FAILED = 3 + end end # Tenant represents the service producer side of an instance of the @@ -217,6 +267,13 @@ class AnnotationsEntry # (managed service) that the producer wants to manage with App Lifecycle # Manager. Part of the App Lifecycle Manager common data model. Immutable # once set. + # @!attribute [r] application_template_component + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ComponentRef] + # Output only. Reference to component and revision in a composite + # ApplicationTemplate. + # @!attribute [rw] app_params + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::AppParams] + # AppParams contains the parameters for creating an AppHub Application. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels on the resource, which can be used for categorization. @@ -348,6 +405,11 @@ class AnnotationsEntry # @return [::Google::Protobuf::Timestamp] # Optional. Output only. If set, indicates the time when the system will # start removing the unit. + # @!attribute [rw] application + # @return [::String] + # Optional. Reference to the AppHub Application this unit belongs to. + # All resources deployed in this Unit will be associated with the specified + # Application. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels on the resource, which can be used for categorization. @@ -380,6 +442,13 @@ class AnnotationsEntry # Output only. The timestamp when the resource was last updated. Any # change to the resource made by users must refresh this value. # Changes to a resource made by the service should refresh this value. + # @!attribute [r] satisfies_pzs + # @return [::Boolean] + # Output only. Indicates whether the resource location satisfies Zone + # Separation constraints. This is false by default. + # @!attribute [r] satisfies_pzi + # @return [::Boolean] + # Output only. Reserved for future use. class Unit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -492,7 +561,7 @@ class UnitDependency # unit to focus only on the change they have requested. # # This is a base object that contains the common fields in all unit operations. - # Next: 19 + # Next: 22 # @!attribute [rw] provision # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Provision] # Note: The following fields are mutually exclusive: `provision`, `upgrade`, `deprovision`. If a field in that set is populated, all other fields in the set will automatically be cleared. @@ -579,6 +648,10 @@ class UnitDependency # Output only. The timestamp when the resource was last updated. Any # change to the resource made by users must refresh this value. # Changes to a resource made by the service should refresh this value. + # @!attribute [r] delete_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The timestamp when the resource was marked for deletion + # (deletion is an asynchronous operation). class UnitOperation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -703,6 +776,10 @@ class Schedule # @!attribute [rw] input_variable_defaults # @return [::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UnitVariable>] # Optional. Mapping of input variables to default values. Maximum 100 + # @!attribute [r] application_template_component + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ComponentRef] + # Output only. Reference to component and revision in a composite + # ApplicationTemplate. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels on the resource, which can be used for categorization. @@ -831,6 +908,88 @@ class Dependency include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end + + # CompositeRef represents a reference to a composite resource. + # Next ID: 4 + # @!attribute [rw] application_template + # @return [::String] + # Required. Reference to the ApplicationTemplate resource. + # @!attribute [rw] revision + # @return [::String] + # Revision of the ApplicationTemplate to use. + # Changes to revision will trigger manual resynchronization. + # If empty, ApplicationTemplate will be ignored. + # @!attribute [r] sync_operation + # @return [::String] + # Output only. Reference to on-going AppTemplate import and replication + # operation (i.e. the operation_id for the long-running operation). This + # field is opaque for external usage. + class CompositeRef + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # ComponentRef represents a reference to a component resource. + # Next ID: 4 + # @!attribute [rw] composite_ref + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CompositeRef] + # Reference to the Composite ApplicationTemplate. + # @!attribute [rw] component + # @return [::String] + # Name of the component in composite.Components + # @!attribute [rw] revision + # @return [::String] + # Revision of the component. + # If the component does not have a revision, this field will be explicitly + # set to the revision of the composite ApplicationTemplate. + class ComponentRef + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + + # AppParams contains the parameters for creating an AppHub Application. + # @!attribute [rw] group + # @return [::String] + # Grouping used to construct the name of the AppHub Application. + # Multiple UnitKinds can specify the same group to use the same Application + # across their respective units. + # Corresponds to the app_boundary_id in the ADC composite + # ApplicationTemplate. Defaults to UnitKind.name + # @!attribute [rw] scope + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::AppParams::Scope] + # Corresponds to the scope in the ADC composite ApplicationTemplate. + # Defaults to TYPE_REGIONAL. + class AppParams + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Scope of an application. + # @!attribute [rw] type + # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::AppParams::Scope::Type] + # Required. Scope Type. + class Scope + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + + # Scope Type. + module Type + # Unspecified type. + TYPE_UNSPECIFIED = 0 + + # Regional type. + TYPE_REGIONAL = 1 + + # Global type. + TYPE_GLOBAL = 2 + + # Deprecated: Use TYPE_REGIONAL. + REGIONAL = 1 + + # Deprecated: Use TYPE_GLOBAL. + GLOBAL = 2 + end + end + end end end end diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.rb index acbaceb6dd63..49d0c73751e4 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.rb @@ -72,8 +72,8 @@ module V1beta1 # @return [::String] # Optional. The strategy used for executing this Rollout. # This strategy will override whatever strategy is specified in the - # RolloutType. If not specified on creation, the - # strategy from RolloutType will be used. + # RolloutKind. If not specified on creation, the + # strategy from RolloutKind will be used. # # There are two supported values strategies which are used to control # - "Google.Cloud.Simple.AllAtOnce" @@ -86,11 +86,11 @@ module V1beta1 # Optional. CEL(https://github.com/google/cel-spec) formatted filter string # against Unit. The filter will be applied to determine the eligible unit # population. This filter can only reduce, but not expand the scope of the - # rollout. If not provided, the unit_filter from the RolloutType will be + # rollout. If not provided, the unit_filter from the RolloutKind will be # used. # @!attribute [rw] rollout_kind # @return [::String] - # Optional. Immutable. Name of the RolloutKind this rollout is stemming from + # Required. Immutable. Name of the RolloutKind this rollout is stemming from # and adhering to. # @!attribute [r] stats # @return [::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutStats] @@ -103,6 +103,15 @@ module V1beta1 # all natural Rollout States (such as RUNNING -> SUCCEEDED or RUNNING -> # FAILED). Requests can only be made when the Rollout is in a non-terminal # state. + # @!attribute [r] effective_unit_filter + # @return [::String] + # Optional. Output only. Output only snapshot of the effective unit filter at + # Rollout start time. Contains a CEL(https://github.com/google/cel-spec) + # expression consisting of a conjunction of Rollout.unit_filter and + # RolloutKind.unit_filter. This field captures the filter applied by the + # Rollout to determine the Unit population. If the associated RolloutKind's + # unit_filter is modified after the rollout is started, it will not be + # updated here. # @!attribute [rw] labels # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels on the resource, which can be used for categorization. @@ -135,6 +144,10 @@ module V1beta1 # Output only. The timestamp when the resource was last updated. Any # change to the resource made by users must refresh this value. # Changes to a resource made by the service should refresh this value. + # @!attribute [r] delete_time + # @return [::Google::Protobuf::Timestamp] + # Output only. The timestamp when the resource was marked for deletion + # (deletion is an asynchronous operation). class Rollout include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods @@ -316,10 +329,10 @@ class ErrorBudget # RolloutStats contains information about the progress of a rollout. # @!attribute [r] operations_by_state # @return [::Array<::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Aggregate>] - # Output only. A breakdown of the progress of operations triggered by the - # rollout. Provides a count of Operations by their state. This can be used to - # determine the number of units which have been updated, or are scheduled to - # be updated. + # Optional. Output only. Unordered list. A breakdown of the progress of + # operations triggered by the rollout. Provides a count of Operations by + # their state. This can be used to determine the number of units which have + # been updated, or are scheduled to be updated. # # There will be at most one entry per group. # Possible values for operation groups are: @@ -329,6 +342,10 @@ class ErrorBudget # - "SUCCEEDED" # - "FAILED" # - "CANCELLED" + # @!attribute [r] estimated_total_unit_count + # @return [::Integer] + # Optional. Output only. Estimated number of units based. The estimation is + # computed upon creation of the rollout. class RolloutStats include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/rpc/status.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/rpc/status.rb new file mode 100644 index 000000000000..c1a1c07eb2db --- /dev/null +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/proto_docs/google/rpc/status.rb @@ -0,0 +1,48 @@ +# frozen_string_literal: true + +# 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 +# +# https://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. + +# Auto-generated by gapic-generator-ruby. DO NOT EDIT! + + +module Google + module Rpc + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + # @!attribute [rw] code + # @return [::Integer] + # The status code, which should be an enum value of + # [google.rpc.Code][google.rpc.Code]. + # @!attribute [rw] message + # @return [::String] + # A developer-facing error message, which should be in English. Any + # user-facing error message should be localized and sent in the + # {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized + # by the client. + # @!attribute [rw] details + # @return [::Array<::Google::Protobuf::Any>] + # A list of messages that carry the error details. There is a common set of + # message types for APIs to use. + class Status + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods + end + end +end diff --git a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/test/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments_paths_test.rb b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/test/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments_paths_test.rb index f942d2c50daa..d6d8573de07f 100644 --- a/google-cloud-saas_platform-saas_service_mgmt-v1beta1/test/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments_paths_test.rb +++ b/google-cloud-saas_platform-saas_service_mgmt-v1beta1/test/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments_paths_test.rb @@ -41,6 +41,45 @@ def logger end end + def test_application_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasDeployments::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.application_path project: "value0", location: "value1", application: "value2" + assert_equal "projects/value0/locations/value1/applications/value2", path + end + end + + def test_application_template_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasDeployments::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.application_template_path project: "value0", location: "value1", space: "value2", application_template: "value3" + assert_equal "projects/value0/locations/value1/spaces/value2/applicationTemplates/value3", path + + path = client.application_template_path project: "value0", location: "value1", workspace: "value2", application_template: "value3" + assert_equal "projects/value0/locations/value1/workspaces/value2/applicationTemplates/value3", path + end + end + + def test_application_template_revision_path + grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure + ::Gapic::ServiceStub.stub :new, DummyStub.new do + client = ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::SaasDeployments::Client.new do |config| + config.credentials = grpc_channel + end + + path = client.application_template_revision_path project: "value0", location: "value1", space: "value2", application_template: "value3", revision: "value4" + assert_equal "projects/value0/locations/value1/spaces/value2/applicationTemplates/value3/revisions/value4", path + end + end + def test_location_path grpc_channel = ::GRPC::Core::Channel.new "localhost:8888", nil, :this_channel_is_insecure ::Gapic::ServiceStub.stub :new, DummyStub.new do