google-cloud-service_management-v1 0.4.1 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/google/api/servicemanagement/v1/resources_pb.rb +26 -80
  4. data/lib/google/api/servicemanagement/v1/servicemanager_pb.rb +27 -84
  5. data/lib/google/cloud/service_management/v1/rest.rb +37 -0
  6. data/lib/google/cloud/service_management/v1/service_manager/client.rb +2 -2
  7. data/lib/google/cloud/service_management/v1/service_manager/operations.rb +2 -2
  8. data/lib/google/cloud/service_management/v1/service_manager/rest/client.rb +1347 -0
  9. data/lib/google/cloud/service_management/v1/service_manager/rest/operations.rb +791 -0
  10. data/lib/google/cloud/service_management/v1/service_manager/rest/service_stub.rb +823 -0
  11. data/lib/google/cloud/service_management/v1/service_manager/rest.rb +53 -0
  12. data/lib/google/cloud/service_management/v1/service_manager.rb +6 -0
  13. data/lib/google/cloud/service_management/v1/version.rb +1 -1
  14. data/lib/google/cloud/service_management/v1.rb +5 -0
  15. data/proto_docs/google/api/auth.rb +2 -1
  16. data/proto_docs/google/api/backend.rb +14 -1
  17. data/proto_docs/google/api/billing.rb +4 -2
  18. data/proto_docs/google/api/client.rb +67 -4
  19. data/proto_docs/google/api/context.rb +2 -1
  20. data/proto_docs/google/api/logging.rb +5 -4
  21. data/proto_docs/google/api/metric.rb +10 -6
  22. data/proto_docs/google/api/monitored_resource.rb +23 -18
  23. data/proto_docs/google/api/monitoring.rb +4 -2
  24. data/proto_docs/google/api/quota.rb +2 -1
  25. data/proto_docs/google/api/service.rb +6 -5
  26. data/proto_docs/google/api/system_parameter.rb +2 -1
  27. data/proto_docs/google/api/usage.rb +2 -1
  28. data/proto_docs/google/protobuf/any.rb +7 -4
  29. data/proto_docs/google/protobuf/api.rb +1 -1
  30. data/proto_docs/google/protobuf/struct.rb +1 -1
  31. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  32. data/proto_docs/google/protobuf/type.rb +9 -0
  33. metadata +11 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03f4dc2595c7118c2a16e8fa0e0f77f9f9cab355dc64c927909a78d94dc177e0
4
- data.tar.gz: b842c89933411133dd53146805eedb0abd5b3296bb51555b11e9cf54ff86d54b
3
+ metadata.gz: 192c16160aea1ee646db5d6c8614aa8d970fef0c2083ee5bc9152fd4dabffedb
4
+ data.tar.gz: c950e0deeaeeddebcb1e7e693d20bada71063091ba5663e115464f63b5f3d6fe
5
5
  SHA512:
6
- metadata.gz: bcc0d1145fda817cd74d0b78b79462da99f7766981d1a5f5676b874466c069a3268149dbce115402815c02491050a84386b502877d17deeccd563b15f30f161b
7
- data.tar.gz: 7aee4154d0c7e9ab58d18519cd703fc09e144da3fb9bd45c0993acecd6dae337ec399a39dd6d74c32f19ed39137068b02d93c80fd4f22d623f649c2833d8f7fd
6
+ metadata.gz: 9600fb7833c35317f1e0c356ab7cc7e5010ac88cb3589365d3ca99ec9e8890a1388efd1ad217efb282948b843995556a05da37fca00b786fda25d5c7a3931627
7
+ data.tar.gz: 34555595a3117327e253f6e5d078a807e7f690f7f3f1a259837ae46b60933448e294a5a5d6a815048f760bfd330a6e0394c35c1f4a2cdbeba7b26319ee13a4ce
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Service Management V1 API
2
2
 
3
- API Client library for the Service Management V1 API
3
+ Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.
4
4
 
5
5
  Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.
6
6
 
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/api/servicemanagement/v1/resources.proto
3
4
 
@@ -7,88 +8,33 @@ require 'google/api/config_change_pb'
7
8
  require 'google/api/field_behavior_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/api/servicemanagement/v1/resources.proto", :syntax => :proto3) do
12
- add_message "google.api.servicemanagement.v1.ManagedService" do
13
- optional :service_name, :string, 2
14
- optional :producer_project_id, :string, 3
15
- end
16
- add_message "google.api.servicemanagement.v1.OperationMetadata" do
17
- repeated :resource_names, :string, 1
18
- repeated :steps, :message, 2, "google.api.servicemanagement.v1.OperationMetadata.Step"
19
- optional :progress_percentage, :int32, 3
20
- optional :start_time, :message, 4, "google.protobuf.Timestamp"
21
- end
22
- add_message "google.api.servicemanagement.v1.OperationMetadata.Step" do
23
- optional :description, :string, 2
24
- optional :status, :enum, 4, "google.api.servicemanagement.v1.OperationMetadata.Status"
25
- end
26
- add_enum "google.api.servicemanagement.v1.OperationMetadata.Status" do
27
- value :STATUS_UNSPECIFIED, 0
28
- value :DONE, 1
29
- value :NOT_STARTED, 2
30
- value :IN_PROGRESS, 3
31
- value :FAILED, 4
32
- value :CANCELLED, 5
33
- end
34
- add_message "google.api.servicemanagement.v1.Diagnostic" do
35
- optional :location, :string, 1
36
- optional :kind, :enum, 2, "google.api.servicemanagement.v1.Diagnostic.Kind"
37
- optional :message, :string, 3
38
- end
39
- add_enum "google.api.servicemanagement.v1.Diagnostic.Kind" do
40
- value :WARNING, 0
41
- value :ERROR, 1
42
- end
43
- add_message "google.api.servicemanagement.v1.ConfigSource" do
44
- optional :id, :string, 5
45
- repeated :files, :message, 2, "google.api.servicemanagement.v1.ConfigFile"
46
- end
47
- add_message "google.api.servicemanagement.v1.ConfigFile" do
48
- optional :file_path, :string, 1
49
- optional :file_contents, :bytes, 3
50
- optional :file_type, :enum, 4, "google.api.servicemanagement.v1.ConfigFile.FileType"
51
- end
52
- add_enum "google.api.servicemanagement.v1.ConfigFile.FileType" do
53
- value :FILE_TYPE_UNSPECIFIED, 0
54
- value :SERVICE_CONFIG_YAML, 1
55
- value :OPEN_API_JSON, 2
56
- value :OPEN_API_YAML, 3
57
- value :FILE_DESCRIPTOR_SET_PROTO, 4
58
- value :PROTO_FILE, 6
59
- end
60
- add_message "google.api.servicemanagement.v1.ConfigRef" do
61
- optional :name, :string, 1
62
- end
63
- add_message "google.api.servicemanagement.v1.ChangeReport" do
64
- repeated :config_changes, :message, 1, "google.api.ConfigChange"
65
- end
66
- add_message "google.api.servicemanagement.v1.Rollout" do
67
- optional :rollout_id, :string, 1
68
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
69
- optional :created_by, :string, 3
70
- optional :status, :enum, 4, "google.api.servicemanagement.v1.Rollout.RolloutStatus"
71
- optional :service_name, :string, 8
72
- oneof :strategy do
73
- optional :traffic_percent_strategy, :message, 5, "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy"
74
- optional :delete_service_strategy, :message, 200, "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy"
75
- end
76
- end
77
- add_message "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy" do
78
- map :percentages, :string, :double, 1
79
- end
80
- add_message "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy" do
81
- end
82
- add_enum "google.api.servicemanagement.v1.Rollout.RolloutStatus" do
83
- value :ROLLOUT_STATUS_UNSPECIFIED, 0
84
- value :IN_PROGRESS, 1
85
- value :SUCCESS, 2
86
- value :CANCELLED, 3
87
- value :FAILED, 4
88
- value :PENDING, 5
89
- value :FAILED_ROLLED_BACK, 6
11
+
12
+ descriptor_data = "\n/google/api/servicemanagement/v1/resources.proto\x12\x1fgoogle.api.servicemanagement.v1\x1a\x1egoogle/api/config_change.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"C\n\x0eManagedService\x12\x14\n\x0cservice_name\x18\x02 \x01(\t\x12\x1b\n\x13producer_project_id\x18\x03 \x01(\t\"\x91\x03\n\x11OperationMetadata\x12\x16\n\x0eresource_names\x18\x01 \x03(\t\x12\x46\n\x05steps\x18\x02 \x03(\x0b\x32\x37.google.api.servicemanagement.v1.OperationMetadata.Step\x12\x1b\n\x13progress_percentage\x18\x03 \x01(\x05\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x66\n\x04Step\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12I\n\x06status\x18\x04 \x01(\x0e\x32\x39.google.api.servicemanagement.v1.OperationMetadata.Status\"g\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44ONE\x10\x01\x12\x0f\n\x0bNOT_STARTED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"\x8f\x01\n\nDiagnostic\x12\x10\n\x08location\x18\x01 \x01(\t\x12>\n\x04kind\x18\x02 \x01(\x0e\x32\x30.google.api.servicemanagement.v1.Diagnostic.Kind\x12\x0f\n\x07message\x18\x03 \x01(\t\"\x1e\n\x04Kind\x12\x0b\n\x07WARNING\x10\x00\x12\t\n\x05\x45RROR\x10\x01\"V\n\x0c\x43onfigSource\x12\n\n\x02id\x18\x05 \x01(\t\x12:\n\x05\x66iles\x18\x02 \x03(\x0b\x32+.google.api.servicemanagement.v1.ConfigFile\"\x95\x02\n\nConfigFile\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x15\n\rfile_contents\x18\x03 \x01(\x0c\x12G\n\tfile_type\x18\x04 \x01(\x0e\x32\x34.google.api.servicemanagement.v1.ConfigFile.FileType\"\x93\x01\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13SERVICE_CONFIG_YAML\x10\x01\x12\x11\n\rOPEN_API_JSON\x10\x02\x12\x11\n\rOPEN_API_YAML\x10\x03\x12\x1d\n\x19\x46ILE_DESCRIPTOR_SET_PROTO\x10\x04\x12\x0e\n\nPROTO_FILE\x10\x06\"\x19\n\tConfigRef\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x0c\x43hangeReport\x12\x30\n\x0e\x63onfig_changes\x18\x01 \x03(\x0b\x32\x18.google.api.ConfigChange\"\xf9\x05\n\x07Rollout\x12\x17\n\nrollout_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x03 \x01(\t\x12\x46\n\x06status\x18\x04 \x01(\x0e\x32\x36.google.api.servicemanagement.v1.Rollout.RolloutStatus\x12\x63\n\x18traffic_percent_strategy\x18\x05 \x01(\x0b\x32?.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyH\x00\x12\x62\n\x17\x64\x65lete_service_strategy\x18\xc8\x01 \x01(\x0b\x32>.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyH\x00\x12\x14\n\x0cservice_name\x18\x08 \x01(\t\x1a\xb3\x01\n\x16TrafficPercentStrategy\x12\x65\n\x0bpercentages\x18\x01 \x03(\x0b\x32P.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.PercentagesEntry\x1a\x32\n\x10PercentagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a\x17\n\x15\x44\x65leteServiceStrategy\"\x8d\x01\n\rRolloutStatus\x12\x1e\n\x1aROLLOUT_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0b\n\x07SUCCESS\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0b\n\x07PENDING\x10\x05\x12\x16\n\x12\x46\x41ILED_ROLLED_BACK\x10\x06\x42\n\n\x08strategyB\x82\x02\n#com.google.api.servicemanagement.v1B\x0eResourcesProtoP\x01ZScloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb\xa2\x02\x04GASM\xaa\x02!Google.Cloud.ServiceManagement.V1\xca\x02!Google\\Cloud\\ServiceManagement\\V1\xea\x02$Google::Cloud::ServiceManagement::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ["google.api.ConfigChange", "google/api/config_change.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
90
34
  end
91
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
92
38
  end
93
39
 
94
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/api/servicemanagement/v1/servicemanager.proto
3
4
 
@@ -11,92 +12,34 @@ require 'google/api/servicemanagement/v1/resources_pb'
11
12
  require 'google/longrunning/operations_pb'
12
13
  require 'google/protobuf/any_pb'
13
14
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/api/servicemanagement/v1/servicemanager.proto", :syntax => :proto3) do
16
- add_message "google.api.servicemanagement.v1.ListServicesRequest" do
17
- optional :producer_project_id, :string, 1
18
- optional :page_size, :int32, 5
19
- optional :page_token, :string, 6
20
- optional :consumer_id, :string, 7
21
- end
22
- add_message "google.api.servicemanagement.v1.ListServicesResponse" do
23
- repeated :services, :message, 1, "google.api.servicemanagement.v1.ManagedService"
24
- optional :next_page_token, :string, 2
25
- end
26
- add_message "google.api.servicemanagement.v1.GetServiceRequest" do
27
- optional :service_name, :string, 1
28
- end
29
- add_message "google.api.servicemanagement.v1.CreateServiceRequest" do
30
- optional :service, :message, 1, "google.api.servicemanagement.v1.ManagedService"
31
- end
32
- add_message "google.api.servicemanagement.v1.DeleteServiceRequest" do
33
- optional :service_name, :string, 1
34
- end
35
- add_message "google.api.servicemanagement.v1.UndeleteServiceRequest" do
36
- optional :service_name, :string, 1
37
- end
38
- add_message "google.api.servicemanagement.v1.UndeleteServiceResponse" do
39
- optional :service, :message, 1, "google.api.servicemanagement.v1.ManagedService"
40
- end
41
- add_message "google.api.servicemanagement.v1.GetServiceConfigRequest" do
42
- optional :service_name, :string, 1
43
- optional :config_id, :string, 2
44
- optional :view, :enum, 3, "google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView"
45
- end
46
- add_enum "google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView" do
47
- value :BASIC, 0
48
- value :FULL, 1
49
- end
50
- add_message "google.api.servicemanagement.v1.ListServiceConfigsRequest" do
51
- optional :service_name, :string, 1
52
- optional :page_token, :string, 2
53
- optional :page_size, :int32, 3
54
- end
55
- add_message "google.api.servicemanagement.v1.ListServiceConfigsResponse" do
56
- repeated :service_configs, :message, 1, "google.api.Service"
57
- optional :next_page_token, :string, 2
58
- end
59
- add_message "google.api.servicemanagement.v1.CreateServiceConfigRequest" do
60
- optional :service_name, :string, 1
61
- optional :service_config, :message, 2, "google.api.Service"
62
- end
63
- add_message "google.api.servicemanagement.v1.SubmitConfigSourceRequest" do
64
- optional :service_name, :string, 1
65
- optional :config_source, :message, 2, "google.api.servicemanagement.v1.ConfigSource"
66
- optional :validate_only, :bool, 3
67
- end
68
- add_message "google.api.servicemanagement.v1.SubmitConfigSourceResponse" do
69
- optional :service_config, :message, 1, "google.api.Service"
70
- end
71
- add_message "google.api.servicemanagement.v1.CreateServiceRolloutRequest" do
72
- optional :service_name, :string, 1
73
- optional :rollout, :message, 2, "google.api.servicemanagement.v1.Rollout"
74
- end
75
- add_message "google.api.servicemanagement.v1.ListServiceRolloutsRequest" do
76
- optional :service_name, :string, 1
77
- optional :page_token, :string, 2
78
- optional :page_size, :int32, 3
79
- optional :filter, :string, 4
80
- end
81
- add_message "google.api.servicemanagement.v1.ListServiceRolloutsResponse" do
82
- repeated :rollouts, :message, 1, "google.api.servicemanagement.v1.Rollout"
83
- optional :next_page_token, :string, 2
84
- end
85
- add_message "google.api.servicemanagement.v1.GetServiceRolloutRequest" do
86
- optional :service_name, :string, 1
87
- optional :rollout_id, :string, 2
88
- end
89
- add_message "google.api.servicemanagement.v1.GenerateConfigReportRequest" do
90
- optional :new_config, :message, 1, "google.protobuf.Any"
91
- optional :old_config, :message, 2, "google.protobuf.Any"
92
- end
93
- add_message "google.api.servicemanagement.v1.GenerateConfigReportResponse" do
94
- optional :service_name, :string, 1
95
- optional :id, :string, 2
96
- repeated :change_reports, :message, 3, "google.api.servicemanagement.v1.ChangeReport"
97
- repeated :diagnostics, :message, 4, "google.api.servicemanagement.v1.Diagnostic"
15
+
16
+ descriptor_data = "\n4google/api/servicemanagement/v1/servicemanager.proto\x12\x1fgoogle.api.servicemanagement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x18google/api/service.proto\x1a/google/api/servicemanagement/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x19google/protobuf/any.proto\"r\n\x13ListServicesRequest\x12\x1b\n\x13producer_project_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x17\n\x0b\x63onsumer_id\x18\x07 \x01(\tB\x02\x18\x01\"r\n\x14ListServicesResponse\x12\x41\n\x08services\x18\x01 \x03(\x0b\x32/.google.api.servicemanagement.v1.ManagedService\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\".\n\x11GetServiceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"]\n\x14\x43reateServiceRequest\x12\x45\n\x07service\x18\x01 \x01(\x0b\x32/.google.api.servicemanagement.v1.ManagedServiceB\x03\xe0\x41\x02\"1\n\x14\x44\x65leteServiceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"3\n\x16UndeleteServiceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"[\n\x17UndeleteServiceResponse\x12@\n\x07service\x18\x01 \x01(\x0b\x32/.google.api.servicemanagement.v1.ManagedService\"\xc2\x01\n\x17GetServiceConfigRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x04view\x18\x03 \x01(\x0e\x32\x43.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView\"!\n\nConfigView\x12\t\n\x05\x42\x41SIC\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\"]\n\x19ListServiceConfigsRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"c\n\x1aListServiceConfigsResponse\x12,\n\x0fservice_configs\x18\x01 \x03(\x0b\x32\x13.google.api.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x1a\x43reateServiceConfigRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x0eservice_config\x18\x02 \x01(\x0b\x32\x13.google.api.ServiceB\x03\xe0\x41\x02\"\x9d\x01\n\x19SubmitConfigSourceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12I\n\rconfig_source\x18\x02 \x01(\x0b\x32-.google.api.servicemanagement.v1.ConfigSourceB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"I\n\x1aSubmitConfigSourceResponse\x12+\n\x0eservice_config\x18\x01 \x01(\x0b\x32\x13.google.api.Service\"x\n\x1b\x43reateServiceRolloutRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12>\n\x07rollout\x18\x02 \x01(\x0b\x32(.google.api.servicemanagement.v1.RolloutB\x03\xe0\x41\x02\"s\n\x1aListServiceRolloutsRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x02\"r\n\x1bListServiceRolloutsResponse\x12:\n\x08rollouts\x18\x01 \x03(\x0b\x32(.google.api.servicemanagement.v1.Rollout\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x18GetServiceRolloutRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrollout_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"{\n\x1bGenerateConfigReportRequest\x12-\n\nnew_config\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x03\xe0\x41\x02\x12-\n\nold_config\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x03\xe0\x41\x01\"\xc9\x01\n\x1cGenerateConfigReportResponse\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x45\n\x0e\x63hange_reports\x18\x03 \x03(\x0b\x32-.google.api.servicemanagement.v1.ChangeReport\x12@\n\x0b\x64iagnostics\x18\x04 \x03(\x0b\x32+.google.api.servicemanagement.v1.Diagnostic2\xc8\x19\n\x0eServiceManager\x12\xb3\x01\n\x0cListServices\x12\x34.google.api.servicemanagement.v1.ListServicesRequest\x1a\x35.google.api.servicemanagement.v1.ListServicesResponse\"6\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/services\xda\x41\x1fproducer_project_id,consumer_id\x12\xa5\x01\n\nGetService\x12\x32.google.api.servicemanagement.v1.GetServiceRequest\x1a/.google.api.servicemanagement.v1.ManagedService\"2\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/services/{service_name}\xda\x41\x0cservice_name\x12\xf5\x01\n\rCreateService\x12\x35.google.api.servicemanagement.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02\x17\"\x0c/v1/services:\x07service\xda\x41\x07service\xca\x41\x63\n.google.api.servicemanagement.v1.ManagedService\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xe6\x01\n\rDeleteService\x12\x35.google.api.servicemanagement.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/services/{service_name}\xda\x41\x0cservice_name\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\x96\x02\n\x0fUndeleteService\x12\x37.google.api.servicemanagement.v1.UndeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02&\"$/v1/services/{service_name}:undelete\xda\x41\x0cservice_name\xca\x41l\n7google.api.servicemanagement.v1.UndeleteServiceResponse\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xc9\x01\n\x12ListServiceConfigs\x12:.google.api.servicemanagement.v1.ListServiceConfigsRequest\x1a;.google.api.servicemanagement.v1.ListServiceConfigsResponse\":\x82\xd3\xe4\x93\x02%\x12#/v1/services/{service_name}/configs\xda\x41\x0cservice_name\x12\xde\x01\n\x10GetServiceConfig\x12\x38.google.api.servicemanagement.v1.GetServiceConfigRequest\x1a\x13.google.api.Service\"{\x82\xd3\xe4\x93\x02W\x12//v1/services/{service_name}/configs/{config_id}Z$\x12\"/v1/services/{service_name}/config\xda\x41\x1bservice_name,config_id,view\x12\xc2\x01\n\x13\x43reateServiceConfig\x12;.google.api.servicemanagement.v1.CreateServiceConfigRequest\x1a\x13.google.api.Service\"Y\x82\xd3\xe4\x93\x02\x35\"#/v1/services/{service_name}/configs:\x0eservice_config\xda\x41\x1bservice_name,service_config\x12\xc4\x02\n\x12SubmitConfigSource\x12:.google.api.servicemanagement.v1.SubmitConfigSourceRequest\x1a\x1d.google.longrunning.Operation\"\xd2\x01\x82\xd3\xe4\x93\x02/\"*/v1/services/{service_name}/configs:submit:\x01*\xda\x41(service_name,config_source,validate_only\xca\x41o\n:google.api.servicemanagement.v1.SubmitConfigSourceResponse\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xd4\x01\n\x13ListServiceRollouts\x12;.google.api.servicemanagement.v1.ListServiceRolloutsRequest\x1a<.google.api.servicemanagement.v1.ListServiceRolloutsResponse\"B\x82\xd3\xe4\x93\x02&\x12$/v1/services/{service_name}/rollouts\xda\x41\x13service_name,filter\x12\xcd\x01\n\x11GetServiceRollout\x12\x39.google.api.servicemanagement.v1.GetServiceRolloutRequest\x1a(.google.api.servicemanagement.v1.Rollout\"S\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/services/{service_name}/rollouts/{rollout_id}\xda\x41\x17service_name,rollout_id\x12\xa1\x02\n\x14\x43reateServiceRollout\x12<.google.api.servicemanagement.v1.CreateServiceRolloutRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\x82\xd3\xe4\x93\x02/\"$/v1/services/{service_name}/rollouts:\x07rollout\xda\x41\x14service_name,rollout\xca\x41\\\n\'google.api.servicemanagement.v1.Rollout\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xd9\x01\n\x14GenerateConfigReport\x12<.google.api.servicemanagement.v1.GenerateConfigReportRequest\x1a=.google.api.servicemanagement.v1.GenerateConfigReportResponse\"D\x82\xd3\xe4\x93\x02&\"!/v1/services:generateConfigReport:\x01*\xda\x41\x15new_config,old_config\x1a\xfd\x01\xca\x41 servicemanagement.googleapis.com\xd2\x41\xd6\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/service.management,https://www.googleapis.com/auth/service.management.readonlyB\x87\x02\n#com.google.api.servicemanagement.v1B\x13ServiceManagerProtoP\x01ZScloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb\xa2\x02\x04GASM\xaa\x02!Google.Cloud.ServiceManagement.V1\xca\x02!Google\\Cloud\\ServiceManagement\\V1\xea\x02$Google::Cloud::ServiceManagement::V1b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError => e
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.api.servicemanagement.v1.ManagedService", "google/api/servicemanagement/v1/resources.proto"],
32
+ ["google.api.Service", "google/api/service.proto"],
33
+ ["google.protobuf.Any", "google/protobuf/any.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
98
39
  end
99
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
100
43
  end
101
44
 
102
45
  module Google
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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
+ require "google/cloud/service_management/v1/service_manager/rest"
20
+ require "google/cloud/service_management/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module ServiceManagement
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/service_management/v1/rest"
31
+ # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Rest::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
@@ -1491,9 +1491,9 @@ module Google
1491
1491
  # * (`String`) The path to a service account key file in JSON format
1492
1492
  # * (`Hash`) A service account key as a Hash
1493
1493
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1494
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1494
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1495
1495
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1496
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1496
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1497
1497
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1498
1498
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1499
1499
  # * (`nil`) indicating no credentials
@@ -612,9 +612,9 @@ module Google
612
612
  # * (`String`) The path to a service account key file in JSON format
613
613
  # * (`Hash`) A service account key as a Hash
614
614
  # * (`Google::Auth::Credentials`) A googleauth credentials object
615
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
615
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
616
616
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
617
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
617
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
618
618
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
619
619
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
620
620
  # * (`nil`) indicating no credentials