google-cloud-service_management-v1 0.10.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/api/servicemanagement/v1/resources_pb.rb +1 -1
- data/lib/google/api/servicemanagement/v1/servicemanager_pb.rb +1 -1
- data/lib/google/cloud/service_management/v1/service_manager/client.rb +29 -13
- data/lib/google/cloud/service_management/v1/service_manager/operations.rb +13 -5
- data/lib/google/cloud/service_management/v1/service_manager/rest/client.rb +29 -13
- data/lib/google/cloud/service_management/v1/service_manager/rest/operations.rb +11 -4
- data/lib/google/cloud/service_management/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/api/documentation.rb +1 -1
- data/proto_docs/google/api/monitored_resource.rb +1 -1
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7480341066c379d397331a58bcbfd47e521c8ae5b33736f7094feae63175bfe2
|
4
|
+
data.tar.gz: c6f7c0d22c0fa7762358808883d165dea0ada26b3cd61adb07fcf95da6e974a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9f219584578340cfa73a24c8f4be78c1f0c02d2ec026a9bb8f81f2399e5a2212bcf11222b41f7881f8cbff387a2697bf4a09345a452bdc905d1fa5c3586766a
|
7
|
+
data.tar.gz: 438ae6074b7ed6cf7f9f69171c79fafd00ec67da086735e6c7ff9606c771310fef8394e6e8742af7ae4594a5371ec8ced2cd6aeb9fa710d73173bfa162899c57
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -9,7 +9,7 @@ require 'google/api/field_behavior_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
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\"\
|
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
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
@@ -14,7 +14,7 @@ require 'google/protobuf/any_pb'
|
|
14
14
|
require 'google/protobuf/empty_pb'
|
15
15
|
|
16
16
|
|
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\"
|
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\xda\x41\x1fproducer_project_id,consumer_id\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/services\x12\xa5\x01\n\nGetService\x12\x32.google.api.servicemanagement.v1.GetServiceRequest\x1a/.google.api.servicemanagement.v1.ManagedService\"2\xda\x41\x0cservice_name\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/services/{service_name}\x12\xf5\x01\n\rCreateService\x12\x35.google.api.servicemanagement.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\xca\x41\x63\n.google.api.servicemanagement.v1.ManagedService\x12\x31google.api.servicemanagement.v1.OperationMetadata\xda\x41\x07service\x82\xd3\xe4\x93\x02\x17\"\x0c/v1/services:\x07service\x12\xe6\x01\n\rDeleteService\x12\x35.google.api.servicemanagement.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.api.servicemanagement.v1.OperationMetadata\xda\x41\x0cservice_name\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/services/{service_name}\x12\x96\x02\n\x0fUndeleteService\x12\x37.google.api.servicemanagement.v1.UndeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\xca\x41l\n7google.api.servicemanagement.v1.UndeleteServiceResponse\x12\x31google.api.servicemanagement.v1.OperationMetadata\xda\x41\x0cservice_name\x82\xd3\xe4\x93\x02&\"$/v1/services/{service_name}:undelete\x12\xc9\x01\n\x12ListServiceConfigs\x12:.google.api.servicemanagement.v1.ListServiceConfigsRequest\x1a;.google.api.servicemanagement.v1.ListServiceConfigsResponse\":\xda\x41\x0cservice_name\x82\xd3\xe4\x93\x02%\x12#/v1/services/{service_name}/configs\x12\xde\x01\n\x10GetServiceConfig\x12\x38.google.api.servicemanagement.v1.GetServiceConfigRequest\x1a\x13.google.api.Service\"{\xda\x41\x1bservice_name,config_id,view\x82\xd3\xe4\x93\x02W\x12//v1/services/{service_name}/configs/{config_id}Z$\x12\"/v1/services/{service_name}/config\x12\xc2\x01\n\x13\x43reateServiceConfig\x12;.google.api.servicemanagement.v1.CreateServiceConfigRequest\x1a\x13.google.api.Service\"Y\xda\x41\x1bservice_name,service_config\x82\xd3\xe4\x93\x02\x35\"#/v1/services/{service_name}/configs:\x0eservice_config\x12\xc4\x02\n\x12SubmitConfigSource\x12:.google.api.servicemanagement.v1.SubmitConfigSourceRequest\x1a\x1d.google.longrunning.Operation\"\xd2\x01\xca\x41o\n:google.api.servicemanagement.v1.SubmitConfigSourceResponse\x12\x31google.api.servicemanagement.v1.OperationMetadata\xda\x41(service_name,config_source,validate_only\x82\xd3\xe4\x93\x02/\"*/v1/services/{service_name}/configs:submit:\x01*\x12\xd4\x01\n\x13ListServiceRollouts\x12;.google.api.servicemanagement.v1.ListServiceRolloutsRequest\x1a<.google.api.servicemanagement.v1.ListServiceRolloutsResponse\"B\xda\x41\x13service_name,filter\x82\xd3\xe4\x93\x02&\x12$/v1/services/{service_name}/rollouts\x12\xcd\x01\n\x11GetServiceRollout\x12\x39.google.api.servicemanagement.v1.GetServiceRolloutRequest\x1a(.google.api.servicemanagement.v1.Rollout\"S\xda\x41\x17service_name,rollout_id\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/services/{service_name}/rollouts/{rollout_id}\x12\xa1\x02\n\x14\x43reateServiceRollout\x12<.google.api.servicemanagement.v1.CreateServiceRolloutRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\xca\x41\\\n\'google.api.servicemanagement.v1.Rollout\x12\x31google.api.servicemanagement.v1.OperationMetadata\xda\x41\x14service_name,rollout\x82\xd3\xe4\x93\x02/\"$/v1/services/{service_name}/rollouts:\x07rollout\x12\xd9\x01\n\x14GenerateConfigReport\x12<.google.api.servicemanagement.v1.GenerateConfigReportRequest\x1a=.google.api.servicemanagement.v1.GenerateConfigReportResponse\"D\xda\x41\x15new_config,old_config\x82\xd3\xe4\x93\x02&\"!/v1/services:generateConfigReport:\x01*\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"
|
18
18
|
|
19
19
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
20
20
|
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# API](https://cloud.google.com/service-infrastructure/docs/overview)
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "servicemanagement.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -265,10 +268,11 @@ module Google
|
|
265
268
|
# Customize the options with defaults
|
266
269
|
metadata = @config.rpcs.list_services.metadata.to_h
|
267
270
|
|
268
|
-
# Set x-goog-api-client
|
271
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
269
272
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
270
273
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
271
274
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
275
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
272
276
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
273
277
|
|
274
278
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
@@ -345,10 +349,11 @@ module Google
|
|
345
349
|
# Customize the options with defaults
|
346
350
|
metadata = @config.rpcs.get_service.metadata.to_h
|
347
351
|
|
348
|
-
# Set x-goog-api-client
|
352
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
349
353
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
350
354
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
351
355
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
356
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
352
357
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
353
358
|
|
354
359
|
header_params = {}
|
@@ -447,10 +452,11 @@ module Google
|
|
447
452
|
# Customize the options with defaults
|
448
453
|
metadata = @config.rpcs.create_service.metadata.to_h
|
449
454
|
|
450
|
-
# Set x-goog-api-client
|
455
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
451
456
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
452
457
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
453
458
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
459
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
454
460
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
455
461
|
|
456
462
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
@@ -541,10 +547,11 @@ module Google
|
|
541
547
|
# Customize the options with defaults
|
542
548
|
metadata = @config.rpcs.delete_service.metadata.to_h
|
543
549
|
|
544
|
-
# Set x-goog-api-client
|
550
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
545
551
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
546
552
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
547
553
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
554
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
548
555
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
549
556
|
|
550
557
|
header_params = {}
|
@@ -641,10 +648,11 @@ module Google
|
|
641
648
|
# Customize the options with defaults
|
642
649
|
metadata = @config.rpcs.undelete_service.metadata.to_h
|
643
650
|
|
644
|
-
# Set x-goog-api-client
|
651
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
645
652
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
646
653
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
647
654
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
655
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
648
656
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
649
657
|
|
650
658
|
header_params = {}
|
@@ -739,10 +747,11 @@ module Google
|
|
739
747
|
# Customize the options with defaults
|
740
748
|
metadata = @config.rpcs.list_service_configs.metadata.to_h
|
741
749
|
|
742
|
-
# Set x-goog-api-client
|
750
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
743
751
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
744
752
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
745
753
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
754
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
746
755
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
747
756
|
|
748
757
|
header_params = {}
|
@@ -835,10 +844,11 @@ module Google
|
|
835
844
|
# Customize the options with defaults
|
836
845
|
metadata = @config.rpcs.get_service_config.metadata.to_h
|
837
846
|
|
838
|
-
# Set x-goog-api-client
|
847
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
839
848
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
840
849
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
841
850
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
851
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
842
852
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
843
853
|
|
844
854
|
header_params = {}
|
@@ -934,10 +944,11 @@ module Google
|
|
934
944
|
# Customize the options with defaults
|
935
945
|
metadata = @config.rpcs.create_service_config.metadata.to_h
|
936
946
|
|
937
|
-
# Set x-goog-api-client
|
947
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
938
948
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
939
949
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
940
950
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
951
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
941
952
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
942
953
|
|
943
954
|
header_params = {}
|
@@ -1047,10 +1058,11 @@ module Google
|
|
1047
1058
|
# Customize the options with defaults
|
1048
1059
|
metadata = @config.rpcs.submit_config_source.metadata.to_h
|
1049
1060
|
|
1050
|
-
# Set x-goog-api-client
|
1061
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1051
1062
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1052
1063
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1053
1064
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
1065
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1054
1066
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1055
1067
|
|
1056
1068
|
header_params = {}
|
@@ -1156,10 +1168,11 @@ module Google
|
|
1156
1168
|
# Customize the options with defaults
|
1157
1169
|
metadata = @config.rpcs.list_service_rollouts.metadata.to_h
|
1158
1170
|
|
1159
|
-
# Set x-goog-api-client
|
1171
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1160
1172
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1161
1173
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1162
1174
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
1175
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1163
1176
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1164
1177
|
|
1165
1178
|
header_params = {}
|
@@ -1247,10 +1260,11 @@ module Google
|
|
1247
1260
|
# Customize the options with defaults
|
1248
1261
|
metadata = @config.rpcs.get_service_rollout.metadata.to_h
|
1249
1262
|
|
1250
|
-
# Set x-goog-api-client
|
1263
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1251
1264
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1252
1265
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1253
1266
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
1267
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1254
1268
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1255
1269
|
|
1256
1270
|
header_params = {}
|
@@ -1359,10 +1373,11 @@ module Google
|
|
1359
1373
|
# Customize the options with defaults
|
1360
1374
|
metadata = @config.rpcs.create_service_rollout.metadata.to_h
|
1361
1375
|
|
1362
|
-
# Set x-goog-api-client
|
1376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1363
1377
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1364
1378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1365
1379
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
1380
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1366
1381
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1367
1382
|
|
1368
1383
|
header_params = {}
|
@@ -1465,10 +1480,11 @@ module Google
|
|
1465
1480
|
# Customize the options with defaults
|
1466
1481
|
metadata = @config.rpcs.generate_config_report.metadata.to_h
|
1467
1482
|
|
1468
|
-
# Set x-goog-api-client
|
1483
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1469
1484
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1470
1485
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1471
1486
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
1487
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1472
1488
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1473
1489
|
|
1474
1490
|
options.apply_defaults timeout: @config.rpcs.generate_config_report.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module ServiceManager
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "servicemanagement.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -279,10 +283,11 @@ module Google
|
|
279
283
|
# Customize the options with defaults
|
280
284
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
281
285
|
|
282
|
-
# Set x-goog-api-client
|
286
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
283
287
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
284
288
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
285
289
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
290
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
286
291
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
287
292
|
|
288
293
|
header_params = {}
|
@@ -368,10 +373,11 @@ module Google
|
|
368
373
|
# Customize the options with defaults
|
369
374
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
370
375
|
|
371
|
-
# Set x-goog-api-client
|
376
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
372
377
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
373
378
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
374
379
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
380
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
375
381
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
382
|
|
377
383
|
header_params = {}
|
@@ -462,10 +468,11 @@ module Google
|
|
462
468
|
# Customize the options with defaults
|
463
469
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
464
470
|
|
465
|
-
# Set x-goog-api-client
|
471
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
466
472
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
467
473
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
468
474
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
475
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
469
476
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
470
477
|
|
471
478
|
header_params = {}
|
@@ -566,10 +573,11 @@ module Google
|
|
566
573
|
# Customize the options with defaults
|
567
574
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
568
575
|
|
569
|
-
# Set x-goog-api-client
|
576
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
570
577
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
571
578
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
572
579
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION
|
580
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
573
581
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
574
582
|
|
575
583
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# API](https://cloud.google.com/service-infrastructure/docs/overview)
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "servicemanagement.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -258,12 +261,13 @@ module Google
|
|
258
261
|
# Customize the options with defaults
|
259
262
|
call_metadata = @config.rpcs.list_services.metadata.to_h
|
260
263
|
|
261
|
-
# Set x-goog-api-client
|
264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
262
265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
263
266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
264
267
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
265
268
|
transports_version_send: [:rest]
|
266
269
|
|
270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
267
271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
268
272
|
|
269
273
|
options.apply_defaults timeout: @config.rpcs.list_services.timeout,
|
@@ -339,12 +343,13 @@ module Google
|
|
339
343
|
# Customize the options with defaults
|
340
344
|
call_metadata = @config.rpcs.get_service.metadata.to_h
|
341
345
|
|
342
|
-
# Set x-goog-api-client
|
346
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
343
347
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
344
348
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
345
349
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
346
350
|
transports_version_send: [:rest]
|
347
351
|
|
352
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
348
353
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
349
354
|
|
350
355
|
options.apply_defaults timeout: @config.rpcs.get_service.timeout,
|
@@ -434,12 +439,13 @@ module Google
|
|
434
439
|
# Customize the options with defaults
|
435
440
|
call_metadata = @config.rpcs.create_service.metadata.to_h
|
436
441
|
|
437
|
-
# Set x-goog-api-client
|
442
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
438
443
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
439
444
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
440
445
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
441
446
|
transports_version_send: [:rest]
|
442
447
|
|
448
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
443
449
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
444
450
|
|
445
451
|
options.apply_defaults timeout: @config.rpcs.create_service.timeout,
|
@@ -529,12 +535,13 @@ module Google
|
|
529
535
|
# Customize the options with defaults
|
530
536
|
call_metadata = @config.rpcs.delete_service.metadata.to_h
|
531
537
|
|
532
|
-
# Set x-goog-api-client
|
538
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
533
539
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
534
540
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
535
541
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
536
542
|
transports_version_send: [:rest]
|
537
543
|
|
544
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
538
545
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
539
546
|
|
540
547
|
options.apply_defaults timeout: @config.rpcs.delete_service.timeout,
|
@@ -622,12 +629,13 @@ module Google
|
|
622
629
|
# Customize the options with defaults
|
623
630
|
call_metadata = @config.rpcs.undelete_service.metadata.to_h
|
624
631
|
|
625
|
-
# Set x-goog-api-client
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
626
633
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
627
634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
628
635
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
629
636
|
transports_version_send: [:rest]
|
630
637
|
|
638
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
631
639
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
632
640
|
|
633
641
|
options.apply_defaults timeout: @config.rpcs.undelete_service.timeout,
|
@@ -713,12 +721,13 @@ module Google
|
|
713
721
|
# Customize the options with defaults
|
714
722
|
call_metadata = @config.rpcs.list_service_configs.metadata.to_h
|
715
723
|
|
716
|
-
# Set x-goog-api-client
|
724
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
717
725
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
718
726
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
719
727
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
720
728
|
transports_version_send: [:rest]
|
721
729
|
|
730
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
722
731
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
723
732
|
|
724
733
|
options.apply_defaults timeout: @config.rpcs.list_service_configs.timeout,
|
@@ -802,12 +811,13 @@ module Google
|
|
802
811
|
# Customize the options with defaults
|
803
812
|
call_metadata = @config.rpcs.get_service_config.metadata.to_h
|
804
813
|
|
805
|
-
# Set x-goog-api-client
|
814
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
806
815
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
807
816
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
808
817
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
809
818
|
transports_version_send: [:rest]
|
810
819
|
|
820
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
811
821
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
812
822
|
|
813
823
|
options.apply_defaults timeout: @config.rpcs.get_service_config.timeout,
|
@@ -891,12 +901,13 @@ module Google
|
|
891
901
|
# Customize the options with defaults
|
892
902
|
call_metadata = @config.rpcs.create_service_config.metadata.to_h
|
893
903
|
|
894
|
-
# Set x-goog-api-client
|
904
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
895
905
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
896
906
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
897
907
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
898
908
|
transports_version_send: [:rest]
|
899
909
|
|
910
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
900
911
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
901
912
|
|
902
913
|
options.apply_defaults timeout: @config.rpcs.create_service_config.timeout,
|
@@ -997,12 +1008,13 @@ module Google
|
|
997
1008
|
# Customize the options with defaults
|
998
1009
|
call_metadata = @config.rpcs.submit_config_source.metadata.to_h
|
999
1010
|
|
1000
|
-
# Set x-goog-api-client
|
1011
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1001
1012
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1002
1013
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1003
1014
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
1004
1015
|
transports_version_send: [:rest]
|
1005
1016
|
|
1017
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1006
1018
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1007
1019
|
|
1008
1020
|
options.apply_defaults timeout: @config.rpcs.submit_config_source.timeout,
|
@@ -1099,12 +1111,13 @@ module Google
|
|
1099
1111
|
# Customize the options with defaults
|
1100
1112
|
call_metadata = @config.rpcs.list_service_rollouts.metadata.to_h
|
1101
1113
|
|
1102
|
-
# Set x-goog-api-client
|
1114
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1103
1115
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1104
1116
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1105
1117
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
1106
1118
|
transports_version_send: [:rest]
|
1107
1119
|
|
1120
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1108
1121
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1109
1122
|
|
1110
1123
|
options.apply_defaults timeout: @config.rpcs.list_service_rollouts.timeout,
|
@@ -1183,12 +1196,13 @@ module Google
|
|
1183
1196
|
# Customize the options with defaults
|
1184
1197
|
call_metadata = @config.rpcs.get_service_rollout.metadata.to_h
|
1185
1198
|
|
1186
|
-
# Set x-goog-api-client
|
1199
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1187
1200
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1188
1201
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1189
1202
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
1190
1203
|
transports_version_send: [:rest]
|
1191
1204
|
|
1205
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1192
1206
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1193
1207
|
|
1194
1208
|
options.apply_defaults timeout: @config.rpcs.get_service_rollout.timeout,
|
@@ -1285,12 +1299,13 @@ module Google
|
|
1285
1299
|
# Customize the options with defaults
|
1286
1300
|
call_metadata = @config.rpcs.create_service_rollout.metadata.to_h
|
1287
1301
|
|
1288
|
-
# Set x-goog-api-client
|
1302
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1289
1303
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1290
1304
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1291
1305
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
1292
1306
|
transports_version_send: [:rest]
|
1293
1307
|
|
1308
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1294
1309
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1295
1310
|
|
1296
1311
|
options.apply_defaults timeout: @config.rpcs.create_service_rollout.timeout,
|
@@ -1384,12 +1399,13 @@ module Google
|
|
1384
1399
|
# Customize the options with defaults
|
1385
1400
|
call_metadata = @config.rpcs.generate_config_report.metadata.to_h
|
1386
1401
|
|
1387
|
-
# Set x-goog-api-client
|
1402
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1388
1403
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1389
1404
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1390
1405
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
1391
1406
|
transports_version_send: [:rest]
|
1392
1407
|
|
1408
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1393
1409
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1394
1410
|
|
1395
1411
|
options.apply_defaults timeout: @config.rpcs.generate_config_report.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "servicemanagement.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::ServiceManagement::V1::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# content: (== include google/foo/overview.md ==)
|
32
32
|
# - name: Tutorial
|
33
33
|
# content: (== include google/foo/tutorial.md ==)
|
34
|
-
# subpages
|
34
|
+
# subpages:
|
35
35
|
# - name: Java
|
36
36
|
# content: (== include google/foo/tutorial_java.md ==)
|
37
37
|
# rules:
|
@@ -41,7 +41,7 @@ module Google
|
|
41
41
|
# @return [::String]
|
42
42
|
# Required. The monitored resource type. For example, the type
|
43
43
|
# `"cloudsql_database"` represents databases in Google Cloud SQL.
|
44
|
-
# For a list of types, see [
|
44
|
+
# For a list of types, see [Monitored resource
|
45
45
|
# types](https://cloud.google.com/monitoring/api/resources)
|
46
46
|
# and [Logging resource
|
47
47
|
# types](https://cloud.google.com/logging/docs/api/v2/resource-list).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-service_management-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -64,118 +64,6 @@ dependencies:
|
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 2.a
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: google-style
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 1.26.3
|
74
|
-
type: :development
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.26.3
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: minitest
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '5.16'
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '5.16'
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: minitest-focus
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '1.1'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '1.1'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: minitest-rg
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - "~>"
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '5.2'
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - "~>"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '5.2'
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: rake
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - ">="
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '13.0'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - ">="
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '13.0'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: redcarpet
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - "~>"
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '3.0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '3.0'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: simplecov
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '0.18'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '0.18'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: yard
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '0.9'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '0.9'
|
179
67
|
description: Google Service Management allows service producers to publish their services
|
180
68
|
on Google Cloud Platform so that they can be discovered and used by service consumers.
|
181
69
|
Note that google-cloud-service_management-v1 is a version-specific client library.
|
@@ -258,14 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
258
146
|
requirements:
|
259
147
|
- - ">="
|
260
148
|
- !ruby/object:Gem::Version
|
261
|
-
version: '2.
|
149
|
+
version: '2.7'
|
262
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
263
151
|
requirements:
|
264
152
|
- - ">="
|
265
153
|
- !ruby/object:Gem::Version
|
266
154
|
version: '0'
|
267
155
|
requirements: []
|
268
|
-
rubygems_version: 3.5.
|
156
|
+
rubygems_version: 3.5.6
|
269
157
|
signing_key:
|
270
158
|
specification_version: 4
|
271
159
|
summary: Google Service Management allows service producers to publish their services
|