google-cloud-saas_platform-saas_service_mgmt-v1beta1 0.a → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/bindings_override.rb +77 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/rest.rb +41 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/client.rb +3785 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/credentials.rb +49 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/paths.rb +185 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/rest/client.rb +3557 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/rest/service_stub.rb +1925 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments/rest.rb +55 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_deployments.rb +57 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/client.rb +1517 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/credentials.rb +49 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/paths.rb +128 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/rest/client.rb +1429 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/rest/service_stub.rb +697 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts/rest.rb +55 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/saas_rollouts.rb +57 -0
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1/version.rb +7 -2
- data/lib/google/cloud/saas_platform/saas_service_mgmt/v1beta1.rb +48 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb.rb +58 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources_pb.rb +73 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service_pb.rb +89 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service_services_pb.rb +105 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb.rb +60 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service_pb.rb +65 -0
- data/lib/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service_services_pb.rb +65 -0
- data/lib/google-cloud-saas_platform-saas_service_mgmt-v1beta1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +473 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/common.rb +231 -0
- data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_resources.rb +837 -0
- data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/deployments_service.rb +976 -0
- data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.rb +389 -0
- data/proto_docs/google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.rb +344 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +127 -0
- metadata +94 -9
@@ -0,0 +1,60 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/field_info_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/cloud/saasplatform/saasservicemgmt/v1beta1/common_pb'
|
11
|
+
require 'google/protobuf/timestamp_pb'
|
12
|
+
|
13
|
+
|
14
|
+
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"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
30
|
+
["google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate", "google/cloud/saasplatform/saasservicemgmt/v1beta1/common.proto"],
|
31
|
+
]
|
32
|
+
imports.each do |type_name, expected_filename|
|
33
|
+
import_file = pool.lookup(type_name).file_descriptor
|
34
|
+
if import_file.name != expected_filename
|
35
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
39
|
+
warn "This will become an error in the next major version."
|
40
|
+
end
|
41
|
+
|
42
|
+
module Google
|
43
|
+
module Cloud
|
44
|
+
module SaasPlatform
|
45
|
+
module SaasServiceMgmt
|
46
|
+
module V1beta1
|
47
|
+
Rollout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout").msgclass
|
48
|
+
Rollout::RolloutState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout.RolloutState").enummodule
|
49
|
+
RolloutKind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind").msgclass
|
50
|
+
RolloutKind::UpdateUnitKindStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind.UpdateUnitKindStrategy").enummodule
|
51
|
+
ErrorBudget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ErrorBudget").msgclass
|
52
|
+
RolloutStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStats").msgclass
|
53
|
+
RolloutControl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl").msgclass
|
54
|
+
RolloutControl::RunRolloutActionParams = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutControl.RunRolloutActionParams").msgclass
|
55
|
+
RolloutAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutAction").enummodule
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources_pb'
|
12
|
+
require 'google/protobuf/empty_pb'
|
13
|
+
require 'google/protobuf/field_mask_pb'
|
14
|
+
|
15
|
+
|
16
|
+
descriptor_data = "\nHgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto\x12\x31google.cloud.saasplatform.saasservicemgmt.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1aJgoogle/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xa3\x01\n\x13ListRolloutsRequest\x12?\n\x06parent\x18\x96N \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&saasservicemgmt.googleapis.com/Rollout\x12\x12\n\tpage_size\x18\x89R \x01(\x05\x12\x13\n\npage_token\x18\x8aR \x01(\t\x12\x0f\n\x06\x66ilter\x18\x8bR \x01(\t\x12\x11\n\x08order_by\x18\x8cR \x01(\t\"\x95\x01\n\x14ListRolloutsResponse\x12M\n\x08rollouts\x18\x8dR \x03(\x0b\x32:.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout\x12\x18\n\x0fnext_page_token\x18\x8eR \x01(\t\x12\x14\n\x0bunreachable\x18\x8fR \x03(\t\"R\n\x11GetRolloutRequest\x12=\n\x04name\x18\x91N \x01(\tB.\xe0\x41\x02\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\"\xf1\x01\n\x14\x43reateRolloutRequest\x12?\n\x06parent\x18\x96N \x01(\tB.\xe0\x41\x02\xfa\x41(\x12&saasservicemgmt.googleapis.com/Rollout\x12\x18\n\nrollout_id\x18\x87R \x01(\tB\x03\xe0\x41\x02\x12Q\n\x07rollout\x18\x88R \x01(\x0b\x32:.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutB\x03\xe0\x41\x02\x12\x16\n\rvalidate_only\x18\x85R \x01(\x08\x12\x13\n\nrequest_id\x18\x86R \x01(\t\"\xc8\x01\n\x14UpdateRolloutRequest\x12Q\n\x07rollout\x18\x88R \x01(\x0b\x32:.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutB\x03\xe0\x41\x02\x12\x16\n\rvalidate_only\x18\x85R \x01(\x08\x12\x13\n\nrequest_id\x18\x86R \x01(\t\x12\x30\n\x0bupdate_mask\x18\x90R \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x91\x01\n\x14\x44\x65leteRolloutRequest\x12=\n\x04name\x18\x91N \x01(\tB.\xe0\x41\x02\xfa\x41(\n&saasservicemgmt.googleapis.com/Rollout\x12\r\n\x04\x65tag\x18\xdaO \x01(\t\x12\x16\n\rvalidate_only\x18\x85R \x01(\x08\x12\x13\n\nrequest_id\x18\x86R \x01(\t\"\xab\x01\n\x17ListRolloutKindsRequest\x12\x43\n\x06parent\x18\x96N \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*saasservicemgmt.googleapis.com/RolloutKind\x12\x12\n\tpage_size\x18\x89R \x01(\x05\x12\x13\n\npage_token\x18\x8aR \x01(\t\x12\x0f\n\x06\x66ilter\x18\x8bR \x01(\t\x12\x11\n\x08order_by\x18\x8cR \x01(\t\"\xa2\x01\n\x18ListRolloutKindsResponse\x12V\n\rrollout_kinds\x18\x8dR \x03(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind\x12\x18\n\x0fnext_page_token\x18\x8eR \x01(\t\x12\x14\n\x0bunreachable\x18\x8fR \x03(\t\"Z\n\x15GetRolloutKindRequest\x12\x41\n\x04name\x18\x91N \x01(\tB2\xe0\x41\x02\xfa\x41,\n*saasservicemgmt.googleapis.com/RolloutKind\"\x87\x02\n\x18\x43reateRolloutKindRequest\x12\x43\n\x06parent\x18\x96N \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*saasservicemgmt.googleapis.com/RolloutKind\x12\x1d\n\x0frollout_kind_id\x18\x87R \x01(\tB\x03\xe0\x41\x02\x12Z\n\x0crollout_kind\x18\x88R \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKindB\x03\xe0\x41\x02\x12\x16\n\rvalidate_only\x18\x85R \x01(\x08\x12\x13\n\nrequest_id\x18\x86R \x01(\t\"\xd5\x01\n\x18UpdateRolloutKindRequest\x12Z\n\x0crollout_kind\x18\x88R \x01(\x0b\x32>.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKindB\x03\xe0\x41\x02\x12\x16\n\rvalidate_only\x18\x85R \x01(\x08\x12\x13\n\nrequest_id\x18\x86R \x01(\t\x12\x30\n\x0bupdate_mask\x18\x90R \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x99\x01\n\x18\x44\x65leteRolloutKindRequest\x12\x41\n\x04name\x18\x91N \x01(\tB2\xe0\x41\x02\xfa\x41,\n*saasservicemgmt.googleapis.com/RolloutKind\x12\r\n\x04\x65tag\x18\xdaO \x01(\t\x12\x16\n\rvalidate_only\x18\x85R \x01(\x08\x12\x13\n\nrequest_id\x18\x86R \x01(\t2\x88\x13\n\x0cSaasRollouts\x12\xe3\x01\n\x0cListRollouts\x12\x46.google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutsRequest\x1aG.google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutsResponse\"B\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{parent=projects/*/locations/*}/rollouts\x12\xd0\x01\n\nGetRollout\x12\x44.google.cloud.saasplatform.saasservicemgmt.v1beta1.GetRolloutRequest\x1a:.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{name=projects/*/locations/*/rollouts/*}\x12\xf4\x01\n\rCreateRollout\x12G.google.cloud.saasplatform.saasservicemgmt.v1beta1.CreateRolloutRequest\x1a:.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout\"^\xda\x41\x19parent,rollout,rollout_id\x82\xd3\xe4\x93\x02<\"1/v1beta1/{parent=projects/*/locations/*}/rollouts:\x07rollout\x12\xf6\x01\n\rUpdateRollout\x12G.google.cloud.saasplatform.saasservicemgmt.v1beta1.UpdateRolloutRequest\x1a:.google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout\"`\xda\x41\x13rollout,update_mask\x82\xd3\xe4\x93\x02\x44\x32\x39/v1beta1/{rollout.name=projects/*/locations/*/rollouts/*}:\x07rollout\x12\xb2\x01\n\rDeleteRollout\x12G.google.cloud.saasplatform.saasservicemgmt.v1beta1.DeleteRolloutRequest\x1a\x16.google.protobuf.Empty\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33*1/v1beta1/{name=projects/*/locations/*/rollouts/*}\x12\xf3\x01\n\x10ListRolloutKinds\x12J.google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutKindsRequest\x1aK.google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutKindsResponse\"F\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{parent=projects/*/locations/*}/rolloutKinds\x12\xe0\x01\n\x0eGetRolloutKind\x12H.google.cloud.saasplatform.saasservicemgmt.v1beta1.GetRolloutKindRequest\x1a>.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{name=projects/*/locations/*/rolloutKinds/*}\x12\x93\x02\n\x11\x43reateRolloutKind\x12K.google.cloud.saasplatform.saasservicemgmt.v1beta1.CreateRolloutKindRequest\x1a>.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind\"q\xda\x41#parent,rollout_kind,rollout_kind_id\x82\xd3\xe4\x93\x02\x45\"5/v1beta1/{parent=projects/*/locations/*}/rolloutKinds:\x0crollout_kind\x12\x95\x02\n\x11UpdateRolloutKind\x12K.google.cloud.saasplatform.saasservicemgmt.v1beta1.UpdateRolloutKindRequest\x1a>.google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutKind\"s\xda\x41\x18rollout_kind,update_mask\x82\xd3\xe4\x93\x02R2B/v1beta1/{rollout_kind.name=projects/*/locations/*/rolloutKinds/*}:\x0crollout_kind\x12\xbe\x01\n\x11\x44\x65leteRolloutKind\x12K.google.cloud.saasplatform.saasservicemgmt.v1beta1.DeleteRolloutKindRequest\x1a\x16.google.protobuf.Empty\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37*5/v1beta1/{name=projects/*/locations/*/rolloutKinds/*}\x1aR\xca\x41\x1esaasservicemgmt.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd4\x02\n5com.google.cloud.saasplatform.saasservicemgmt.v1beta1B\x18SaasRolloutsServiceProtoP\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"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.cloud.saasplatform.saasservicemgmt.v1beta1.Rollout", "google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_resources.proto"],
|
32
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
42
|
+
end
|
43
|
+
|
44
|
+
module Google
|
45
|
+
module Cloud
|
46
|
+
module SaasPlatform
|
47
|
+
module SaasServiceMgmt
|
48
|
+
module V1beta1
|
49
|
+
ListRolloutsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutsRequest").msgclass
|
50
|
+
ListRolloutsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutsResponse").msgclass
|
51
|
+
GetRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.GetRolloutRequest").msgclass
|
52
|
+
CreateRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.CreateRolloutRequest").msgclass
|
53
|
+
UpdateRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UpdateRolloutRequest").msgclass
|
54
|
+
DeleteRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.DeleteRolloutRequest").msgclass
|
55
|
+
ListRolloutKindsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutKindsRequest").msgclass
|
56
|
+
ListRolloutKindsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.ListRolloutKindsResponse").msgclass
|
57
|
+
GetRolloutKindRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.GetRolloutKindRequest").msgclass
|
58
|
+
CreateRolloutKindRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.CreateRolloutKindRequest").msgclass
|
59
|
+
UpdateRolloutKindRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.UpdateRolloutKindRequest").msgclass
|
60
|
+
DeleteRolloutKindRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.saasplatform.saasservicemgmt.v1beta1.DeleteRolloutKindRequest").msgclass
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service.proto for package 'Google.Cloud.SaasPlatform.SaasServiceMgmt.V1beta1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2025 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/saasplatform/saasservicemgmt/v1beta1/rollouts_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module SaasPlatform
|
25
|
+
module SaasServiceMgmt
|
26
|
+
module V1beta1
|
27
|
+
module SaasRollouts
|
28
|
+
# Manages the rollout of SaaS services.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.saasplatform.saasservicemgmt.v1beta1.SaasRollouts'
|
36
|
+
|
37
|
+
# Retrieve a collection of rollouts.
|
38
|
+
rpc :ListRollouts, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutsResponse
|
39
|
+
# Retrieve a single rollout.
|
40
|
+
rpc :GetRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetRolloutRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Rollout
|
41
|
+
# Create a new rollout.
|
42
|
+
rpc :CreateRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateRolloutRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Rollout
|
43
|
+
# Update a single rollout.
|
44
|
+
rpc :UpdateRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateRolloutRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::Rollout
|
45
|
+
# Delete a single rollout.
|
46
|
+
rpc :DeleteRollout, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteRolloutRequest, ::Google::Protobuf::Empty
|
47
|
+
# Retrieve a collection of rollout kinds.
|
48
|
+
rpc :ListRolloutKinds, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutKindsRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::ListRolloutKindsResponse
|
49
|
+
# Retrieve a single rollout kind.
|
50
|
+
rpc :GetRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::GetRolloutKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutKind
|
51
|
+
# Create a new rollout kind.
|
52
|
+
rpc :CreateRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::CreateRolloutKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutKind
|
53
|
+
# Update a single rollout kind.
|
54
|
+
rpc :UpdateRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::UpdateRolloutKindRequest, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::RolloutKind
|
55
|
+
# Delete a single rollout kind.
|
56
|
+
rpc :DeleteRolloutKind, ::Google::Cloud::SaasPlatform::SaasServiceMgmt::V1beta1::DeleteRolloutKindRequest, ::Google::Protobuf::Empty
|
57
|
+
end
|
58
|
+
|
59
|
+
Stub = Service.rpc_stub_class
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/saas_platform/saas_service_mgmt/v1beta1"
|