google-cloud-service_management-v1 0.6.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 192c16160aea1ee646db5d6c8614aa8d970fef0c2083ee5bc9152fd4dabffedb
4
- data.tar.gz: c950e0deeaeeddebcb1e7e693d20bada71063091ba5663e115464f63b5f3d6fe
3
+ metadata.gz: a08a9ec44748e0931fbe563ce32b7e2913602249d44c16d674deef3faba8b5f1
4
+ data.tar.gz: b0cabe2f3ef319c1cd90324f245e0f9eef125a62a16456fa2f441ca9b459c049
5
5
  SHA512:
6
- metadata.gz: 9600fb7833c35317f1e0c356ab7cc7e5010ac88cb3589365d3ca99ec9e8890a1388efd1ad217efb282948b843995556a05da37fca00b786fda25d5c7a3931627
7
- data.tar.gz: 34555595a3117327e253f6e5d078a807e7f690f7f3f1a259837ae46b60933448e294a5a5d6a815048f760bfd330a6e0394c35c1f4a2cdbeba7b26319ee13a4ce
6
+ metadata.gz: ef5ea87d9edb1732473d522755778682e14e1fd4c8bc7c83e5ac48f4d0e25c8e23a86d44d7c5f140c7417547d15c0cb59cad3bca9f7d82203d4fb323af39382c
7
+ data.tar.gz: 1e06d8fd90d182310b196a21aab8934346d75bbd7394212aa8e3a67e3be7f493a05be1dda1cddbac76603e8f4c470e82109deb94194ca6632344f7bab4707745
@@ -11,9 +11,10 @@ require 'google/api/service_pb'
11
11
  require 'google/api/servicemanagement/v1/resources_pb'
12
12
  require 'google/longrunning/operations_pb'
13
13
  require 'google/protobuf/any_pb'
14
+ require 'google/protobuf/empty_pb'
14
15
 
15
16
 
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
+ 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\x1a\x1bgoogle/protobuf/empty.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\"\x17\n\x15\x45nableServiceResponse\"{\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
 
18
19
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
20
 
@@ -64,6 +65,7 @@ module Google
64
65
  ListServiceRolloutsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ListServiceRolloutsRequest").msgclass
65
66
  ListServiceRolloutsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ListServiceRolloutsResponse").msgclass
66
67
  GetServiceRolloutRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.GetServiceRolloutRequest").msgclass
68
+ EnableServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.EnableServiceResponse").msgclass
67
69
  GenerateConfigReportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.GenerateConfigReportRequest").msgclass
68
70
  GenerateConfigReportResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.GenerateConfigReportResponse").msgclass
69
71
  end
@@ -0,0 +1,137 @@
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 "gapic/config"
20
+
21
+ module Google
22
+ module Cloud
23
+ module ServiceManagement
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/service_management/v1/rest"
28
+ # client = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "ServiceManagement"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = Configuration.new parent_config
46
+ default_config.bindings_override["google.iam.v1.IAMPolicy.GetIamPolicy"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :post,
49
+ uri_template: "/v1/{resource}:getIamPolicy",
50
+ matches: [
51
+ ["resource", %r{^services/[^/]+/?$}, false]
52
+ ],
53
+ body: "*"
54
+ ),
55
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
56
+ uri_method: :post,
57
+ uri_template: "/v1/{resource}:getIamPolicy",
58
+ matches: [
59
+ ["resource", %r{^services/[^/]+/consumers/[^/]+/?$}, false]
60
+ ],
61
+ body: "*"
62
+ )
63
+ ]
64
+ default_config.bindings_override["google.iam.v1.IAMPolicy.SetIamPolicy"] = [
65
+
66
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
67
+ uri_method: :post,
68
+ uri_template: "/v1/{resource}:setIamPolicy",
69
+ matches: [
70
+ ["resource", %r{^services/[^/]+/?$}, false]
71
+ ],
72
+ body: "*"
73
+ ),
74
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
75
+ uri_method: :post,
76
+ uri_template: "/v1/{resource}:setIamPolicy",
77
+ matches: [
78
+ ["resource", %r{^services/[^/]+/consumers/[^/]+/?$}, false]
79
+ ],
80
+ body: "*"
81
+ )
82
+ ]
83
+ default_config.bindings_override["google.iam.v1.IAMPolicy.TestIamPermissions"] = [
84
+
85
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
86
+ uri_method: :post,
87
+ uri_template: "/v1/{resource}:testIamPermissions",
88
+ matches: [
89
+ ["resource", %r{^services/[^/]+/?$}, false]
90
+ ],
91
+ body: "*"
92
+ ),
93
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
94
+ uri_method: :post,
95
+ uri_template: "/v1/{resource}:testIamPermissions",
96
+ matches: [
97
+ ["resource", %r{^services/[^/]+/consumers/[^/]+/?$}, false]
98
+ ],
99
+ body: "*"
100
+ )
101
+ ]
102
+ default_config
103
+ end
104
+ yield @configure if block_given?
105
+ @configure
106
+ end
107
+
108
+ ##
109
+ # @private
110
+ # Configuration class for the google.api.servicemanagement.v1 package.
111
+ #
112
+ # This class contains common configuration for all services
113
+ # of the google.api.servicemanagement.v1 package.
114
+ #
115
+ # This configuration is for internal use of the client library classes,
116
+ # and it is not intended that the end-users will read or change it.
117
+ #
118
+ class Configuration
119
+ extend ::Gapic::Config
120
+
121
+ # @private
122
+ # Overrides for http bindings for the RPC of the mixins for this package.
123
+ # Services in this package should use these when creating clients for the mixin services.
124
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
125
+ config_attr :bindings_override, {}, ::Hash, nil
126
+
127
+ # @private
128
+ def initialize parent_config = nil
129
+ @parent_config = parent_config unless parent_config.nil?
130
+
131
+ yield self if block_given?
132
+ end
133
+ end
134
+ end
135
+ end
136
+ end
137
+ end
@@ -17,6 +17,7 @@
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
19
  require "google/cloud/service_management/v1/service_manager/rest"
20
+ require "google/cloud/service_management/v1/bindings_override"
20
21
  require "google/cloud/service_management/v1/version"
21
22
 
22
23
  module Google
@@ -18,6 +18,7 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/api/servicemanagement/v1/servicemanager_pb"
21
+ require "google/iam/v1"
21
22
 
22
23
  module Google
23
24
  module Cloud
@@ -124,7 +125,7 @@ module Google
124
125
  credentials = @config.credentials
125
126
  # Use self-signed JWT if the endpoint is unchanged from default,
126
127
  # but only if the default endpoint does not have a region prefix.
127
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
128
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
128
129
  !@config.endpoint.split(".").first.include?("-")
129
130
  credentials ||= Credentials.default scope: @config.scope,
130
131
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -140,6 +141,12 @@ module Google
140
141
  config.endpoint = @config.endpoint
141
142
  end
142
143
 
144
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
143
150
  @service_manager_stub = ::Gapic::ServiceStub.new(
144
151
  ::Google::Cloud::ServiceManagement::V1::ServiceManager::Stub,
145
152
  credentials: credentials,
@@ -156,6 +163,13 @@ module Google
156
163
  #
157
164
  attr_reader :operations_client
158
165
 
166
+ ##
167
+ # Get the associated client for mix-in of the IAMPolicy.
168
+ #
169
+ # @return [Google::Iam::V1::IAMPolicy::Client]
170
+ #
171
+ attr_reader :iam_policy_client
172
+
159
173
  # Service calls
160
174
 
161
175
  ##
@@ -184,7 +198,7 @@ module Google
184
198
  # Include services produced by the specified project.
185
199
  # @param page_size [::Integer]
186
200
  # The max number of items to include in the response list. Page size is 50
187
- # if not specified. Maximum value is 100.
201
+ # if not specified. Maximum value is 500.
188
202
  # @param page_token [::String]
189
203
  # Token identifying which result to start with; returned by a previous list
190
204
  # call.
@@ -465,8 +479,8 @@ module Google
465
479
  #
466
480
  # @param service_name [::String]
467
481
  # Required. The name of the service. See the
468
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
469
- # example: `example.googleapis.com`.
482
+ # [overview](https://cloud.google.com/service-management/overview) for naming
483
+ # requirements. For example: `example.googleapis.com`.
470
484
  #
471
485
  # @yield [response, operation] Access the result along with the RPC operation
472
486
  # @yieldparam response [::Gapic::Operation]
@@ -565,8 +579,8 @@ module Google
565
579
  #
566
580
  # @param service_name [::String]
567
581
  # Required. The name of the service. See the
568
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
569
- # example: `example.googleapis.com`.
582
+ # [overview](https://cloud.google.com/service-management/overview) for naming
583
+ # requirements. For example: `example.googleapis.com`.
570
584
  #
571
585
  # @yield [response, operation] Access the result along with the RPC operation
572
586
  # @yieldparam response [::Gapic::Operation]
@@ -661,8 +675,8 @@ module Google
661
675
  #
662
676
  # @param service_name [::String]
663
677
  # Required. The name of the service. See the
664
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
665
- # example: `example.googleapis.com`.
678
+ # [overview](https://cloud.google.com/service-management/overview) for naming
679
+ # requirements. For example: `example.googleapis.com`.
666
680
  # @param page_token [::String]
667
681
  # The token of the page to retrieve.
668
682
  # @param page_size [::Integer]
@@ -758,8 +772,8 @@ module Google
758
772
  #
759
773
  # @param service_name [::String]
760
774
  # Required. The name of the service. See the
761
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
762
- # example: `example.googleapis.com`.
775
+ # [overview](https://cloud.google.com/service-management/overview) for naming
776
+ # requirements. For example: `example.googleapis.com`.
763
777
  # @param config_id [::String]
764
778
  # Required. The id of the service configuration resource.
765
779
  #
@@ -863,8 +877,8 @@ module Google
863
877
  #
864
878
  # @param service_name [::String]
865
879
  # Required. The name of the service. See the
866
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
867
- # example: `example.googleapis.com`.
880
+ # [overview](https://cloud.google.com/service-management/overview) for naming
881
+ # requirements. For example: `example.googleapis.com`.
868
882
  # @param service_config [::Google::Api::Service, ::Hash]
869
883
  # Required. The service configuration resource.
870
884
  #
@@ -965,8 +979,8 @@ module Google
965
979
  #
966
980
  # @param service_name [::String]
967
981
  # Required. The name of the service. See the
968
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
969
- # example: `example.googleapis.com`.
982
+ # [overview](https://cloud.google.com/service-management/overview) for naming
983
+ # requirements. For example: `example.googleapis.com`.
970
984
  # @param config_source [::Google::Cloud::ServiceManagement::V1::ConfigSource, ::Hash]
971
985
  # Required. The source configuration for the service.
972
986
  # @param validate_only [::Boolean]
@@ -1067,8 +1081,8 @@ module Google
1067
1081
  #
1068
1082
  # @param service_name [::String]
1069
1083
  # Required. The name of the service. See the
1070
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
1071
- # example: `example.googleapis.com`.
1084
+ # [overview](https://cloud.google.com/service-management/overview) for naming
1085
+ # requirements. For example: `example.googleapis.com`.
1072
1086
  # @param page_token [::String]
1073
1087
  # The token of the page to retrieve.
1074
1088
  # @param page_size [::Integer]
@@ -1077,12 +1091,14 @@ module Google
1077
1091
  # @param filter [::String]
1078
1092
  # Required. Use `filter` to return subset of rollouts.
1079
1093
  # The following filters are supported:
1080
- # -- To limit the results to only those in
1081
- # status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
1082
- # use filter='status=SUCCESS'
1083
- # -- To limit the results to those in
1084
- # status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
1085
- # or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
1094
+ #
1095
+ # -- By [status]
1096
+ # [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example,
1097
+ # `filter='status=SUCCESS'`
1098
+ #
1099
+ # -- By [strategy]
1100
+ # [google.api.servicemanagement.v1.Rollout.strategy]. For example,
1101
+ # `filter='strategy=TrafficPercentStrategy'`
1086
1102
  #
1087
1103
  # @yield [response, operation] Access the result along with the RPC operation
1088
1104
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::ServiceManagement::V1::Rollout>]
@@ -1174,8 +1190,8 @@ module Google
1174
1190
  #
1175
1191
  # @param service_name [::String]
1176
1192
  # Required. The name of the service. See the
1177
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
1178
- # example: `example.googleapis.com`.
1193
+ # [overview](https://cloud.google.com/service-management/overview) for naming
1194
+ # requirements. For example: `example.googleapis.com`.
1179
1195
  # @param rollout_id [::String]
1180
1196
  # Required. The id of the rollout resource.
1181
1197
  #
@@ -1279,8 +1295,8 @@ module Google
1279
1295
  #
1280
1296
  # @param service_name [::String]
1281
1297
  # Required. The name of the service. See the
1282
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
1283
- # example: `example.googleapis.com`.
1298
+ # [overview](https://cloud.google.com/service-management/overview) for naming
1299
+ # requirements. For example: `example.googleapis.com`.
1284
1300
  # @param rollout [::Google::Cloud::ServiceManagement::V1::Rollout, ::Hash]
1285
1301
  # Required. The rollout resource. The `service_name` field is output only.
1286
1302
  #
@@ -1535,7 +1551,9 @@ module Google
1535
1551
  class Configuration
1536
1552
  extend ::Gapic::Config
1537
1553
 
1538
- config_attr :endpoint, "servicemanagement.googleapis.com", ::String
1554
+ DEFAULT_ENDPOINT = "servicemanagement.googleapis.com"
1555
+
1556
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1539
1557
  config_attr :credentials, nil do |value|
1540
1558
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1541
1559
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -656,7 +656,9 @@ module Google
656
656
  class Configuration
657
657
  extend ::Gapic::Config
658
658
 
659
- config_attr :endpoint, "servicemanagement.googleapis.com", ::String
659
+ DEFAULT_ENDPOINT = "servicemanagement.googleapis.com"
660
+
661
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
660
662
  config_attr :credentials, nil do |value|
661
663
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
662
664
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -19,6 +19,7 @@
19
19
  require "google/cloud/errors"
20
20
  require "google/api/servicemanagement/v1/servicemanager_pb"
21
21
  require "google/cloud/service_management/v1/service_manager/rest/service_stub"
22
+ require "google/iam/v1/rest"
22
23
 
23
24
  module Google
24
25
  module Cloud
@@ -120,7 +121,7 @@ module Google
120
121
  credentials = @config.credentials
121
122
  # Use self-signed JWT if the endpoint is unchanged from default,
122
123
  # but only if the default endpoint does not have a region prefix.
123
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
124
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
124
125
  !@config.endpoint.split(".").first.include?("-")
125
126
  credentials ||= Credentials.default scope: @config.scope,
126
127
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -137,6 +138,13 @@ module Google
137
138
  config.endpoint = @config.endpoint
138
139
  end
139
140
 
141
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
142
+ config.credentials = credentials
143
+ config.quota_project = @quota_project_id
144
+ config.endpoint = @config.endpoint
145
+ config.bindings_override = @config.bindings_override
146
+ end
147
+
140
148
  @service_manager_stub = ::Google::Cloud::ServiceManagement::V1::ServiceManager::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
141
149
  end
142
150
 
@@ -147,6 +155,13 @@ module Google
147
155
  #
148
156
  attr_reader :operations_client
149
157
 
158
+ ##
159
+ # Get the associated client for mix-in of the IAMPolicy.
160
+ #
161
+ # @return [Google::Iam::V1::IAMPolicy::Rest::Client]
162
+ #
163
+ attr_reader :iam_policy_client
164
+
150
165
  # Service calls
151
166
 
152
167
  ##
@@ -175,7 +190,7 @@ module Google
175
190
  # Include services produced by the specified project.
176
191
  # @param page_size [::Integer]
177
192
  # The max number of items to include in the response list. Page size is 50
178
- # if not specified. Maximum value is 100.
193
+ # if not specified. Maximum value is 500.
179
194
  # @param page_token [::String]
180
195
  # Token identifying which result to start with; returned by a previous list
181
196
  # call.
@@ -392,8 +407,8 @@ module Google
392
407
  #
393
408
  # @param service_name [::String]
394
409
  # Required. The name of the service. See the
395
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
396
- # example: `example.googleapis.com`.
410
+ # [overview](https://cloud.google.com/service-management/overview) for naming
411
+ # requirements. For example: `example.googleapis.com`.
397
412
  # @yield [result, operation] Access the result along with the TransportOperation object
398
413
  # @yieldparam result [::Gapic::Operation]
399
414
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -462,8 +477,8 @@ module Google
462
477
  #
463
478
  # @param service_name [::String]
464
479
  # Required. The name of the service. See the
465
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
466
- # example: `example.googleapis.com`.
480
+ # [overview](https://cloud.google.com/service-management/overview) for naming
481
+ # requirements. For example: `example.googleapis.com`.
467
482
  # @yield [result, operation] Access the result along with the TransportOperation object
468
483
  # @yieldparam result [::Gapic::Operation]
469
484
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -528,8 +543,8 @@ module Google
528
543
  #
529
544
  # @param service_name [::String]
530
545
  # Required. The name of the service. See the
531
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
532
- # example: `example.googleapis.com`.
546
+ # [overview](https://cloud.google.com/service-management/overview) for naming
547
+ # requirements. For example: `example.googleapis.com`.
533
548
  # @param page_token [::String]
534
549
  # The token of the page to retrieve.
535
550
  # @param page_size [::Integer]
@@ -598,8 +613,8 @@ module Google
598
613
  #
599
614
  # @param service_name [::String]
600
615
  # Required. The name of the service. See the
601
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
602
- # example: `example.googleapis.com`.
616
+ # [overview](https://cloud.google.com/service-management/overview) for naming
617
+ # requirements. For example: `example.googleapis.com`.
603
618
  # @param config_id [::String]
604
619
  # Required. The id of the service configuration resource.
605
620
  #
@@ -677,8 +692,8 @@ module Google
677
692
  #
678
693
  # @param service_name [::String]
679
694
  # Required. The name of the service. See the
680
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
681
- # example: `example.googleapis.com`.
695
+ # [overview](https://cloud.google.com/service-management/overview) for naming
696
+ # requirements. For example: `example.googleapis.com`.
682
697
  # @param service_config [::Google::Api::Service, ::Hash]
683
698
  # Required. The service configuration resource.
684
699
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -756,8 +771,8 @@ module Google
756
771
  #
757
772
  # @param service_name [::String]
758
773
  # Required. The name of the service. See the
759
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
760
- # example: `example.googleapis.com`.
774
+ # [overview](https://cloud.google.com/service-management/overview) for naming
775
+ # requirements. For example: `example.googleapis.com`.
761
776
  # @param config_source [::Google::Cloud::ServiceManagement::V1::ConfigSource, ::Hash]
762
777
  # Required. The source configuration for the service.
763
778
  # @param validate_only [::Boolean]
@@ -828,8 +843,8 @@ module Google
828
843
  #
829
844
  # @param service_name [::String]
830
845
  # Required. The name of the service. See the
831
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
832
- # example: `example.googleapis.com`.
846
+ # [overview](https://cloud.google.com/service-management/overview) for naming
847
+ # requirements. For example: `example.googleapis.com`.
833
848
  # @param page_token [::String]
834
849
  # The token of the page to retrieve.
835
850
  # @param page_size [::Integer]
@@ -838,12 +853,14 @@ module Google
838
853
  # @param filter [::String]
839
854
  # Required. Use `filter` to return subset of rollouts.
840
855
  # The following filters are supported:
841
- # -- To limit the results to only those in
842
- # status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS',
843
- # use filter='status=SUCCESS'
844
- # -- To limit the results to those in
845
- # status (google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'
846
- # or 'FAILED', use filter='status=CANCELLED OR status=FAILED'
856
+ #
857
+ # -- By [status]
858
+ # [google.api.servicemanagement.v1.Rollout.RolloutStatus]. For example,
859
+ # `filter='status=SUCCESS'`
860
+ #
861
+ # -- By [strategy]
862
+ # [google.api.servicemanagement.v1.Rollout.strategy]. For example,
863
+ # `filter='strategy=TrafficPercentStrategy'`
847
864
  # @yield [result, operation] Access the result along with the TransportOperation object
848
865
  # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ServiceManagement::V1::Rollout>]
849
866
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -908,8 +925,8 @@ module Google
908
925
  #
909
926
  # @param service_name [::String]
910
927
  # Required. The name of the service. See the
911
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
912
- # example: `example.googleapis.com`.
928
+ # [overview](https://cloud.google.com/service-management/overview) for naming
929
+ # requirements. For example: `example.googleapis.com`.
913
930
  # @param rollout_id [::String]
914
931
  # Required. The id of the rollout resource.
915
932
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -987,8 +1004,8 @@ module Google
987
1004
  #
988
1005
  # @param service_name [::String]
989
1006
  # Required. The name of the service. See the
990
- # [overview](https://cloud.google.com/service-infrastructure/docs/overview) for naming requirements. For
991
- # example: `example.googleapis.com`.
1007
+ # [overview](https://cloud.google.com/service-management/overview) for naming
1008
+ # requirements. For example: `example.googleapis.com`.
992
1009
  # @param rollout [::Google::Cloud::ServiceManagement::V1::Rollout, ::Hash]
993
1010
  # Required. The rollout resource. The `service_name` field is output only.
994
1011
  # @yield [result, operation] Access the result along with the TransportOperation object
@@ -1189,7 +1206,9 @@ module Google
1189
1206
  class Configuration
1190
1207
  extend ::Gapic::Config
1191
1208
 
1192
- config_attr :endpoint, "servicemanagement.googleapis.com", ::String
1209
+ DEFAULT_ENDPOINT = "servicemanagement.googleapis.com"
1210
+
1211
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1193
1212
  config_attr :credentials, nil do |value|
1194
1213
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1195
1214
  allowed.any? { |klass| klass === value }
@@ -1202,6 +1221,13 @@ module Google
1202
1221
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
1203
1222
  config_attr :quota_project, nil, ::String, nil
1204
1223
 
1224
+ # @private
1225
+ # Overrides for http bindings for the RPCs of this service
1226
+ # are only used when this service is used as mixin, and only
1227
+ # by the host service.
1228
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
1229
+ config_attr :bindings_override, {}, ::Hash, nil
1230
+
1205
1231
  # @private
1206
1232
  def initialize parent_config = nil
1207
1233
  @parent_config = parent_config unless parent_config.nil?