google-cloud-service_management-v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5dbdfceb2ffe80990ec667158a04873b283daa2b70efe4158bbf17195b03ee84
4
- data.tar.gz: 48dd2d4bb32c1b85f04774ffff771fe2b376708e11a7ea1959477577d77be1d1
3
+ metadata.gz: 192c16160aea1ee646db5d6c8614aa8d970fef0c2083ee5bc9152fd4dabffedb
4
+ data.tar.gz: c950e0deeaeeddebcb1e7e693d20bada71063091ba5663e115464f63b5f3d6fe
5
5
  SHA512:
6
- metadata.gz: 5ea0682cd81c35650d619b5d5cba2f7f9a8318dd0e383e70e91f6a941857b6fd6ae8aadd2fa45db83de0a6da3ca0175e9e53a13b95b9873fb60400d39c6a8f94
7
- data.tar.gz: 213f38ffa4767c32eaa88817c62778d4263ac500ea0c343eea43f93e1a6b46643637235b09df8c562f369f09f1f666554128de6995e57f4c3cbaddf4ffb9155d
6
+ metadata.gz: 9600fb7833c35317f1e0c356ab7cc7e5010ac88cb3589365d3ca99ec9e8890a1388efd1ad217efb282948b843995556a05da37fca00b786fda25d5c7a3931627
7
+ data.tar.gz: 34555595a3117327e253f6e5d078a807e7f690f7f3f1a259837ae46b60933448e294a5a5d6a815048f760bfd330a6e0394c35c1f4a2cdbeba7b26319ee13a4ce
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/api/servicemanagement/v1/resources.proto
3
4
 
@@ -7,88 +8,33 @@ require 'google/api/config_change_pb'
7
8
  require 'google/api/field_behavior_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/api/servicemanagement/v1/resources.proto", :syntax => :proto3) do
12
- add_message "google.api.servicemanagement.v1.ManagedService" do
13
- optional :service_name, :string, 2
14
- optional :producer_project_id, :string, 3
15
- end
16
- add_message "google.api.servicemanagement.v1.OperationMetadata" do
17
- repeated :resource_names, :string, 1
18
- repeated :steps, :message, 2, "google.api.servicemanagement.v1.OperationMetadata.Step"
19
- optional :progress_percentage, :int32, 3
20
- optional :start_time, :message, 4, "google.protobuf.Timestamp"
21
- end
22
- add_message "google.api.servicemanagement.v1.OperationMetadata.Step" do
23
- optional :description, :string, 2
24
- optional :status, :enum, 4, "google.api.servicemanagement.v1.OperationMetadata.Status"
25
- end
26
- add_enum "google.api.servicemanagement.v1.OperationMetadata.Status" do
27
- value :STATUS_UNSPECIFIED, 0
28
- value :DONE, 1
29
- value :NOT_STARTED, 2
30
- value :IN_PROGRESS, 3
31
- value :FAILED, 4
32
- value :CANCELLED, 5
33
- end
34
- add_message "google.api.servicemanagement.v1.Diagnostic" do
35
- optional :location, :string, 1
36
- optional :kind, :enum, 2, "google.api.servicemanagement.v1.Diagnostic.Kind"
37
- optional :message, :string, 3
38
- end
39
- add_enum "google.api.servicemanagement.v1.Diagnostic.Kind" do
40
- value :WARNING, 0
41
- value :ERROR, 1
42
- end
43
- add_message "google.api.servicemanagement.v1.ConfigSource" do
44
- optional :id, :string, 5
45
- repeated :files, :message, 2, "google.api.servicemanagement.v1.ConfigFile"
46
- end
47
- add_message "google.api.servicemanagement.v1.ConfigFile" do
48
- optional :file_path, :string, 1
49
- optional :file_contents, :bytes, 3
50
- optional :file_type, :enum, 4, "google.api.servicemanagement.v1.ConfigFile.FileType"
51
- end
52
- add_enum "google.api.servicemanagement.v1.ConfigFile.FileType" do
53
- value :FILE_TYPE_UNSPECIFIED, 0
54
- value :SERVICE_CONFIG_YAML, 1
55
- value :OPEN_API_JSON, 2
56
- value :OPEN_API_YAML, 3
57
- value :FILE_DESCRIPTOR_SET_PROTO, 4
58
- value :PROTO_FILE, 6
59
- end
60
- add_message "google.api.servicemanagement.v1.ConfigRef" do
61
- optional :name, :string, 1
62
- end
63
- add_message "google.api.servicemanagement.v1.ChangeReport" do
64
- repeated :config_changes, :message, 1, "google.api.ConfigChange"
65
- end
66
- add_message "google.api.servicemanagement.v1.Rollout" do
67
- optional :rollout_id, :string, 1
68
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
69
- optional :created_by, :string, 3
70
- optional :status, :enum, 4, "google.api.servicemanagement.v1.Rollout.RolloutStatus"
71
- optional :service_name, :string, 8
72
- oneof :strategy do
73
- optional :traffic_percent_strategy, :message, 5, "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy"
74
- optional :delete_service_strategy, :message, 200, "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy"
75
- end
76
- end
77
- add_message "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy" do
78
- map :percentages, :string, :double, 1
79
- end
80
- add_message "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy" do
81
- end
82
- add_enum "google.api.servicemanagement.v1.Rollout.RolloutStatus" do
83
- value :ROLLOUT_STATUS_UNSPECIFIED, 0
84
- value :IN_PROGRESS, 1
85
- value :SUCCESS, 2
86
- value :CANCELLED, 3
87
- value :FAILED, 4
88
- value :PENDING, 5
89
- value :FAILED_ROLLED_BACK, 6
11
+
12
+ descriptor_data = "\n/google/api/servicemanagement/v1/resources.proto\x12\x1fgoogle.api.servicemanagement.v1\x1a\x1egoogle/api/config_change.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"C\n\x0eManagedService\x12\x14\n\x0cservice_name\x18\x02 \x01(\t\x12\x1b\n\x13producer_project_id\x18\x03 \x01(\t\"\x91\x03\n\x11OperationMetadata\x12\x16\n\x0eresource_names\x18\x01 \x03(\t\x12\x46\n\x05steps\x18\x02 \x03(\x0b\x32\x37.google.api.servicemanagement.v1.OperationMetadata.Step\x12\x1b\n\x13progress_percentage\x18\x03 \x01(\x05\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x66\n\x04Step\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12I\n\x06status\x18\x04 \x01(\x0e\x32\x39.google.api.servicemanagement.v1.OperationMetadata.Status\"g\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04\x44ONE\x10\x01\x12\x0f\n\x0bNOT_STARTED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"\x8f\x01\n\nDiagnostic\x12\x10\n\x08location\x18\x01 \x01(\t\x12>\n\x04kind\x18\x02 \x01(\x0e\x32\x30.google.api.servicemanagement.v1.Diagnostic.Kind\x12\x0f\n\x07message\x18\x03 \x01(\t\"\x1e\n\x04Kind\x12\x0b\n\x07WARNING\x10\x00\x12\t\n\x05\x45RROR\x10\x01\"V\n\x0c\x43onfigSource\x12\n\n\x02id\x18\x05 \x01(\t\x12:\n\x05\x66iles\x18\x02 \x03(\x0b\x32+.google.api.servicemanagement.v1.ConfigFile\"\x95\x02\n\nConfigFile\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x15\n\rfile_contents\x18\x03 \x01(\x0c\x12G\n\tfile_type\x18\x04 \x01(\x0e\x32\x34.google.api.servicemanagement.v1.ConfigFile.FileType\"\x93\x01\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13SERVICE_CONFIG_YAML\x10\x01\x12\x11\n\rOPEN_API_JSON\x10\x02\x12\x11\n\rOPEN_API_YAML\x10\x03\x12\x1d\n\x19\x46ILE_DESCRIPTOR_SET_PROTO\x10\x04\x12\x0e\n\nPROTO_FILE\x10\x06\"\x19\n\tConfigRef\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x0c\x43hangeReport\x12\x30\n\x0e\x63onfig_changes\x18\x01 \x03(\x0b\x32\x18.google.api.ConfigChange\"\xf9\x05\n\x07Rollout\x12\x17\n\nrollout_id\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\ncreated_by\x18\x03 \x01(\t\x12\x46\n\x06status\x18\x04 \x01(\x0e\x32\x36.google.api.servicemanagement.v1.Rollout.RolloutStatus\x12\x63\n\x18traffic_percent_strategy\x18\x05 \x01(\x0b\x32?.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategyH\x00\x12\x62\n\x17\x64\x65lete_service_strategy\x18\xc8\x01 \x01(\x0b\x32>.google.api.servicemanagement.v1.Rollout.DeleteServiceStrategyH\x00\x12\x14\n\x0cservice_name\x18\x08 \x01(\t\x1a\xb3\x01\n\x16TrafficPercentStrategy\x12\x65\n\x0bpercentages\x18\x01 \x03(\x0b\x32P.google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy.PercentagesEntry\x1a\x32\n\x10PercentagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01:\x02\x38\x01\x1a\x17\n\x15\x44\x65leteServiceStrategy\"\x8d\x01\n\rRolloutStatus\x12\x1e\n\x1aROLLOUT_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0b\n\x07SUCCESS\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0b\n\x07PENDING\x10\x05\x12\x16\n\x12\x46\x41ILED_ROLLED_BACK\x10\x06\x42\n\n\x08strategyB\x82\x02\n#com.google.api.servicemanagement.v1B\x0eResourcesProtoP\x01ZScloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb\xa2\x02\x04GASM\xaa\x02!Google.Cloud.ServiceManagement.V1\xca\x02!Google\\Cloud\\ServiceManagement\\V1\xea\x02$Google::Cloud::ServiceManagement::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ["google.api.ConfigChange", "google/api/config_change.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
90
34
  end
91
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
92
38
  end
93
39
 
94
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/api/servicemanagement/v1/servicemanager.proto
3
4
 
@@ -11,92 +12,34 @@ require 'google/api/servicemanagement/v1/resources_pb'
11
12
  require 'google/longrunning/operations_pb'
12
13
  require 'google/protobuf/any_pb'
13
14
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/api/servicemanagement/v1/servicemanager.proto", :syntax => :proto3) do
16
- add_message "google.api.servicemanagement.v1.ListServicesRequest" do
17
- optional :producer_project_id, :string, 1
18
- optional :page_size, :int32, 5
19
- optional :page_token, :string, 6
20
- optional :consumer_id, :string, 7
21
- end
22
- add_message "google.api.servicemanagement.v1.ListServicesResponse" do
23
- repeated :services, :message, 1, "google.api.servicemanagement.v1.ManagedService"
24
- optional :next_page_token, :string, 2
25
- end
26
- add_message "google.api.servicemanagement.v1.GetServiceRequest" do
27
- optional :service_name, :string, 1
28
- end
29
- add_message "google.api.servicemanagement.v1.CreateServiceRequest" do
30
- optional :service, :message, 1, "google.api.servicemanagement.v1.ManagedService"
31
- end
32
- add_message "google.api.servicemanagement.v1.DeleteServiceRequest" do
33
- optional :service_name, :string, 1
34
- end
35
- add_message "google.api.servicemanagement.v1.UndeleteServiceRequest" do
36
- optional :service_name, :string, 1
37
- end
38
- add_message "google.api.servicemanagement.v1.UndeleteServiceResponse" do
39
- optional :service, :message, 1, "google.api.servicemanagement.v1.ManagedService"
40
- end
41
- add_message "google.api.servicemanagement.v1.GetServiceConfigRequest" do
42
- optional :service_name, :string, 1
43
- optional :config_id, :string, 2
44
- optional :view, :enum, 3, "google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView"
45
- end
46
- add_enum "google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView" do
47
- value :BASIC, 0
48
- value :FULL, 1
49
- end
50
- add_message "google.api.servicemanagement.v1.ListServiceConfigsRequest" do
51
- optional :service_name, :string, 1
52
- optional :page_token, :string, 2
53
- optional :page_size, :int32, 3
54
- end
55
- add_message "google.api.servicemanagement.v1.ListServiceConfigsResponse" do
56
- repeated :service_configs, :message, 1, "google.api.Service"
57
- optional :next_page_token, :string, 2
58
- end
59
- add_message "google.api.servicemanagement.v1.CreateServiceConfigRequest" do
60
- optional :service_name, :string, 1
61
- optional :service_config, :message, 2, "google.api.Service"
62
- end
63
- add_message "google.api.servicemanagement.v1.SubmitConfigSourceRequest" do
64
- optional :service_name, :string, 1
65
- optional :config_source, :message, 2, "google.api.servicemanagement.v1.ConfigSource"
66
- optional :validate_only, :bool, 3
67
- end
68
- add_message "google.api.servicemanagement.v1.SubmitConfigSourceResponse" do
69
- optional :service_config, :message, 1, "google.api.Service"
70
- end
71
- add_message "google.api.servicemanagement.v1.CreateServiceRolloutRequest" do
72
- optional :service_name, :string, 1
73
- optional :rollout, :message, 2, "google.api.servicemanagement.v1.Rollout"
74
- end
75
- add_message "google.api.servicemanagement.v1.ListServiceRolloutsRequest" do
76
- optional :service_name, :string, 1
77
- optional :page_token, :string, 2
78
- optional :page_size, :int32, 3
79
- optional :filter, :string, 4
80
- end
81
- add_message "google.api.servicemanagement.v1.ListServiceRolloutsResponse" do
82
- repeated :rollouts, :message, 1, "google.api.servicemanagement.v1.Rollout"
83
- optional :next_page_token, :string, 2
84
- end
85
- add_message "google.api.servicemanagement.v1.GetServiceRolloutRequest" do
86
- optional :service_name, :string, 1
87
- optional :rollout_id, :string, 2
88
- end
89
- add_message "google.api.servicemanagement.v1.GenerateConfigReportRequest" do
90
- optional :new_config, :message, 1, "google.protobuf.Any"
91
- optional :old_config, :message, 2, "google.protobuf.Any"
92
- end
93
- add_message "google.api.servicemanagement.v1.GenerateConfigReportResponse" do
94
- optional :service_name, :string, 1
95
- optional :id, :string, 2
96
- repeated :change_reports, :message, 3, "google.api.servicemanagement.v1.ChangeReport"
97
- repeated :diagnostics, :message, 4, "google.api.servicemanagement.v1.Diagnostic"
15
+
16
+ descriptor_data = "\n4google/api/servicemanagement/v1/servicemanager.proto\x12\x1fgoogle.api.servicemanagement.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x18google/api/service.proto\x1a/google/api/servicemanagement/v1/resources.proto\x1a#google/longrunning/operations.proto\x1a\x19google/protobuf/any.proto\"r\n\x13ListServicesRequest\x12\x1b\n\x13producer_project_id\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\x12\x17\n\x0b\x63onsumer_id\x18\x07 \x01(\tB\x02\x18\x01\"r\n\x14ListServicesResponse\x12\x41\n\x08services\x18\x01 \x03(\x0b\x32/.google.api.servicemanagement.v1.ManagedService\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\".\n\x11GetServiceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"]\n\x14\x43reateServiceRequest\x12\x45\n\x07service\x18\x01 \x01(\x0b\x32/.google.api.servicemanagement.v1.ManagedServiceB\x03\xe0\x41\x02\"1\n\x14\x44\x65leteServiceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"3\n\x16UndeleteServiceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"[\n\x17UndeleteServiceResponse\x12@\n\x07service\x18\x01 \x01(\x0b\x32/.google.api.servicemanagement.v1.ManagedService\"\xc2\x01\n\x17GetServiceConfigRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x04view\x18\x03 \x01(\x0e\x32\x43.google.api.servicemanagement.v1.GetServiceConfigRequest.ConfigView\"!\n\nConfigView\x12\t\n\x05\x42\x41SIC\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\"]\n\x19ListServiceConfigsRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"c\n\x1aListServiceConfigsResponse\x12,\n\x0fservice_configs\x18\x01 \x03(\x0b\x32\x13.google.api.Service\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"i\n\x1a\x43reateServiceConfigRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x30\n\x0eservice_config\x18\x02 \x01(\x0b\x32\x13.google.api.ServiceB\x03\xe0\x41\x02\"\x9d\x01\n\x19SubmitConfigSourceRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12I\n\rconfig_source\x18\x02 \x01(\x0b\x32-.google.api.servicemanagement.v1.ConfigSourceB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"I\n\x1aSubmitConfigSourceResponse\x12+\n\x0eservice_config\x18\x01 \x01(\x0b\x32\x13.google.api.Service\"x\n\x1b\x43reateServiceRolloutRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12>\n\x07rollout\x18\x02 \x01(\x0b\x32(.google.api.servicemanagement.v1.RolloutB\x03\xe0\x41\x02\"s\n\x1aListServiceRolloutsRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x02\"r\n\x1bListServiceRolloutsResponse\x12:\n\x08rollouts\x18\x01 \x03(\x0b\x32(.google.api.servicemanagement.v1.Rollout\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"N\n\x18GetServiceRolloutRequest\x12\x19\n\x0cservice_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\nrollout_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"{\n\x1bGenerateConfigReportRequest\x12-\n\nnew_config\x18\x01 \x01(\x0b\x32\x14.google.protobuf.AnyB\x03\xe0\x41\x02\x12-\n\nold_config\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyB\x03\xe0\x41\x01\"\xc9\x01\n\x1cGenerateConfigReportResponse\x12\x14\n\x0cservice_name\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12\x45\n\x0e\x63hange_reports\x18\x03 \x03(\x0b\x32-.google.api.servicemanagement.v1.ChangeReport\x12@\n\x0b\x64iagnostics\x18\x04 \x03(\x0b\x32+.google.api.servicemanagement.v1.Diagnostic2\xc8\x19\n\x0eServiceManager\x12\xb3\x01\n\x0cListServices\x12\x34.google.api.servicemanagement.v1.ListServicesRequest\x1a\x35.google.api.servicemanagement.v1.ListServicesResponse\"6\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/services\xda\x41\x1fproducer_project_id,consumer_id\x12\xa5\x01\n\nGetService\x12\x32.google.api.servicemanagement.v1.GetServiceRequest\x1a/.google.api.servicemanagement.v1.ManagedService\"2\x82\xd3\xe4\x93\x02\x1d\x12\x1b/v1/services/{service_name}\xda\x41\x0cservice_name\x12\xf5\x01\n\rCreateService\x12\x35.google.api.servicemanagement.v1.CreateServiceRequest\x1a\x1d.google.longrunning.Operation\"\x8d\x01\x82\xd3\xe4\x93\x02\x17\"\x0c/v1/services:\x07service\xda\x41\x07service\xca\x41\x63\n.google.api.servicemanagement.v1.ManagedService\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xe6\x01\n\rDeleteService\x12\x35.google.api.servicemanagement.v1.DeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x1d*\x1b/v1/services/{service_name}\xda\x41\x0cservice_name\xca\x41J\n\x15google.protobuf.Empty\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\x96\x02\n\x0fUndeleteService\x12\x37.google.api.servicemanagement.v1.UndeleteServiceRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02&\"$/v1/services/{service_name}:undelete\xda\x41\x0cservice_name\xca\x41l\n7google.api.servicemanagement.v1.UndeleteServiceResponse\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xc9\x01\n\x12ListServiceConfigs\x12:.google.api.servicemanagement.v1.ListServiceConfigsRequest\x1a;.google.api.servicemanagement.v1.ListServiceConfigsResponse\":\x82\xd3\xe4\x93\x02%\x12#/v1/services/{service_name}/configs\xda\x41\x0cservice_name\x12\xde\x01\n\x10GetServiceConfig\x12\x38.google.api.servicemanagement.v1.GetServiceConfigRequest\x1a\x13.google.api.Service\"{\x82\xd3\xe4\x93\x02W\x12//v1/services/{service_name}/configs/{config_id}Z$\x12\"/v1/services/{service_name}/config\xda\x41\x1bservice_name,config_id,view\x12\xc2\x01\n\x13\x43reateServiceConfig\x12;.google.api.servicemanagement.v1.CreateServiceConfigRequest\x1a\x13.google.api.Service\"Y\x82\xd3\xe4\x93\x02\x35\"#/v1/services/{service_name}/configs:\x0eservice_config\xda\x41\x1bservice_name,service_config\x12\xc4\x02\n\x12SubmitConfigSource\x12:.google.api.servicemanagement.v1.SubmitConfigSourceRequest\x1a\x1d.google.longrunning.Operation\"\xd2\x01\x82\xd3\xe4\x93\x02/\"*/v1/services/{service_name}/configs:submit:\x01*\xda\x41(service_name,config_source,validate_only\xca\x41o\n:google.api.servicemanagement.v1.SubmitConfigSourceResponse\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xd4\x01\n\x13ListServiceRollouts\x12;.google.api.servicemanagement.v1.ListServiceRolloutsRequest\x1a<.google.api.servicemanagement.v1.ListServiceRolloutsResponse\"B\x82\xd3\xe4\x93\x02&\x12$/v1/services/{service_name}/rollouts\xda\x41\x13service_name,filter\x12\xcd\x01\n\x11GetServiceRollout\x12\x39.google.api.servicemanagement.v1.GetServiceRolloutRequest\x1a(.google.api.servicemanagement.v1.Rollout\"S\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/services/{service_name}/rollouts/{rollout_id}\xda\x41\x17service_name,rollout_id\x12\xa1\x02\n\x14\x43reateServiceRollout\x12<.google.api.servicemanagement.v1.CreateServiceRolloutRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\x82\xd3\xe4\x93\x02/\"$/v1/services/{service_name}/rollouts:\x07rollout\xda\x41\x14service_name,rollout\xca\x41\\\n\'google.api.servicemanagement.v1.Rollout\x12\x31google.api.servicemanagement.v1.OperationMetadata\x12\xd9\x01\n\x14GenerateConfigReport\x12<.google.api.servicemanagement.v1.GenerateConfigReportRequest\x1a=.google.api.servicemanagement.v1.GenerateConfigReportResponse\"D\x82\xd3\xe4\x93\x02&\"!/v1/services:generateConfigReport:\x01*\xda\x41\x15new_config,old_config\x1a\xfd\x01\xca\x41 servicemanagement.googleapis.com\xd2\x41\xd6\x01https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-only,https://www.googleapis.com/auth/service.management,https://www.googleapis.com/auth/service.management.readonlyB\x87\x02\n#com.google.api.servicemanagement.v1B\x13ServiceManagerProtoP\x01ZScloud.google.com/go/servicemanagement/apiv1/servicemanagementpb;servicemanagementpb\xa2\x02\x04GASM\xaa\x02!Google.Cloud.ServiceManagement.V1\xca\x02!Google\\Cloud\\ServiceManagement\\V1\xea\x02$Google::Cloud::ServiceManagement::V1b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError => e
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.api.servicemanagement.v1.ManagedService", "google/api/servicemanagement/v1/resources.proto"],
32
+ ["google.api.Service", "google/api/service.proto"],
33
+ ["google.protobuf.Any", "google/protobuf/any.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
98
39
  end
99
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
100
43
  end
101
44
 
102
45
  module Google
@@ -1491,9 +1491,9 @@ module Google
1491
1491
  # * (`String`) The path to a service account key file in JSON format
1492
1492
  # * (`Hash`) A service account key as a Hash
1493
1493
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1494
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1494
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1495
1495
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1496
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1496
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1497
1497
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1498
1498
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1499
1499
  # * (`nil`) indicating no credentials
@@ -612,9 +612,9 @@ module Google
612
612
  # * (`String`) The path to a service account key file in JSON format
613
613
  # * (`Hash`) A service account key as a Hash
614
614
  # * (`Google::Auth::Credentials`) A googleauth credentials object
615
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
615
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
616
616
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
617
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
617
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
618
618
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
619
619
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
620
620
  # * (`nil`) indicating no credentials
@@ -1154,9 +1154,9 @@ module Google
1154
1154
  # * (`String`) The path to a service account key file in JSON format
1155
1155
  # * (`Hash`) A service account key as a Hash
1156
1156
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1157
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1157
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1158
1158
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1159
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1159
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1160
1160
  # * (`nil`) indicating no credentials
1161
1161
  # @return [::Object]
1162
1162
  # @!attribute [rw] scope
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceManagement
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -63,7 +63,8 @@ module Google
63
63
  # @return [::String]
64
64
  # Selects the methods to which this rule applies.
65
65
  #
66
- # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax details.
66
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
67
+ # details.
67
68
  # @!attribute [rw] oauth
68
69
  # @return [::Google::Api::OAuthRequirements]
69
70
  # The requirements for OAuth credentials.
@@ -35,7 +35,8 @@ module Google
35
35
  # @return [::String]
36
36
  # Selects the methods to which this rule applies.
37
37
  #
38
- # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax details.
38
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
39
+ # details.
39
40
  # @!attribute [rw] address
40
41
  # @return [::String]
41
42
  # The address of the API backend.
@@ -105,10 +106,22 @@ module Google
105
106
  # See
106
107
  # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
107
108
  # for more details on the supported values.
109
+ # @!attribute [rw] overrides_by_request_protocol
110
+ # @return [::Google::Protobuf::Map{::String => ::Google::Api::BackendRule}]
111
+ # The map between request protocol and the backend address.
108
112
  class BackendRule
109
113
  include ::Google::Protobuf::MessageExts
110
114
  extend ::Google::Protobuf::MessageExts::ClassMethods
111
115
 
116
+ # @!attribute [rw] key
117
+ # @return [::String]
118
+ # @!attribute [rw] value
119
+ # @return [::Google::Api::BackendRule]
120
+ class OverridesByRequestProtocolEntry
121
+ include ::Google::Protobuf::MessageExts
122
+ extend ::Google::Protobuf::MessageExts::ClassMethods
123
+ end
124
+
112
125
  # Path Translation specifies how to combine the backend address with the
113
126
  # request path in order to produce the appropriate forwarding URL for the
114
127
  # request.
@@ -66,11 +66,13 @@ module Google
66
66
  # @!attribute [rw] monitored_resource
67
67
  # @return [::String]
68
68
  # The monitored resource type. The type must be defined in
69
- # {::Google::Api::Service#monitored_resources Service.monitored_resources} section.
69
+ # {::Google::Api::Service#monitored_resources Service.monitored_resources}
70
+ # section.
70
71
  # @!attribute [rw] metrics
71
72
  # @return [::Array<::String>]
72
73
  # Names of the metrics to report to this billing destination.
73
- # Each name must be defined in {::Google::Api::Service#metrics Service.metrics} section.
74
+ # Each name must be defined in
75
+ # {::Google::Api::Service#metrics Service.metrics} section.
74
76
  class BillingDestination
75
77
  include ::Google::Protobuf::MessageExts
76
78
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -71,7 +71,8 @@ module Google
71
71
  # @return [::String]
72
72
  # Selects the methods to which this rule applies.
73
73
  #
74
- # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax details.
74
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
75
+ # details.
75
76
  # @!attribute [rw] requested
76
77
  # @return [::Array<::String>]
77
78
  # A list of full type names of requested contexts.
@@ -69,13 +69,14 @@ module Google
69
69
  # @!attribute [rw] monitored_resource
70
70
  # @return [::String]
71
71
  # The monitored resource type. The type must be defined in the
72
- # {::Google::Api::Service#monitored_resources Service.monitored_resources} section.
72
+ # {::Google::Api::Service#monitored_resources Service.monitored_resources}
73
+ # section.
73
74
  # @!attribute [rw] logs
74
75
  # @return [::Array<::String>]
75
76
  # Names of the logs to be sent to this destination. Each name must
76
- # be defined in the {::Google::Api::Service#logs Service.logs} section. If the log name is
77
- # not a domain scoped name, it will be automatically prefixed with
78
- # the service name followed by "/".
77
+ # be defined in the {::Google::Api::Service#logs Service.logs} section. If the
78
+ # log name is not a domain scoped name, it will be automatically prefixed
79
+ # with the service name followed by "/".
79
80
  class LoggingDestination
80
81
  include ::Google::Protobuf::MessageExts
81
82
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -174,9 +174,10 @@ module Google
174
174
  # @return [::Array<::String>]
175
175
  # Read-only. If present, then a [time
176
176
  # series][google.monitoring.v3.TimeSeries], which is identified partially by
177
- # a metric type and a {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor}, that is associated
178
- # with this metric type can only be associated with one of the monitored
179
- # resource types listed here.
177
+ # a metric type and a
178
+ # {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor}, that
179
+ # is associated with this metric type can only be associated with one of the
180
+ # monitored resource types listed here.
180
181
  class MetricDescriptor
181
182
  include ::Google::Protobuf::MessageExts
182
183
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -184,7 +185,9 @@ module Google
184
185
  # Additional annotations that can be used to guide the usage of a metric.
185
186
  # @!attribute [rw] launch_stage
186
187
  # @return [::Google::Api::LaunchStage]
187
- # Deprecated. Must use the {::Google::Api::MetricDescriptor#launch_stage MetricDescriptor.launch_stage} instead.
188
+ # Deprecated. Must use the
189
+ # {::Google::Api::MetricDescriptor#launch_stage MetricDescriptor.launch_stage}
190
+ # instead.
188
191
  # @!attribute [rw] sample_period
189
192
  # @return [::Google::Protobuf::Duration]
190
193
  # The sampling period of metric data points. For metrics which are written
@@ -253,8 +256,9 @@ module Google
253
256
  # labels of a {::Google::Api::MetricDescriptor `MetricDescriptor`}.
254
257
  # @!attribute [rw] type
255
258
  # @return [::String]
256
- # An existing metric type, see {::Google::Api::MetricDescriptor google.api.MetricDescriptor}.
257
- # For example, `custom.googleapis.com/invoice/paid/amount`.
259
+ # An existing metric type, see
260
+ # {::Google::Api::MetricDescriptor google.api.MetricDescriptor}. For example,
261
+ # `custom.googleapis.com/invoice/paid/amount`.
258
262
  # @!attribute [rw] labels
259
263
  # @return [::Google::Protobuf::Map{::String => ::String}]
260
264
  # The set of label values that uniquely identify this metric. All
@@ -19,9 +19,10 @@
19
19
 
20
20
  module Google
21
21
  module Api
22
- # An object that describes the schema of a {::Google::Api::MonitoredResource MonitoredResource} object using a
23
- # type name and a set of labels. For example, the monitored resource
24
- # descriptor for Google Compute Engine VM instances has a type of
22
+ # An object that describes the schema of a
23
+ # {::Google::Api::MonitoredResource MonitoredResource} object using a type name
24
+ # and a set of labels. For example, the monitored resource descriptor for
25
+ # Google Compute Engine VM instances has a type of
25
26
  # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
26
27
  # `"zone"` to identify particular VM instances.
27
28
  #
@@ -70,11 +71,13 @@ module Google
70
71
  # An object representing a resource that can be used for monitoring, logging,
71
72
  # billing, or other purposes. Examples include virtual machine instances,
72
73
  # databases, and storage devices such as disks. The `type` field identifies a
73
- # {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor} object that describes the resource's
74
- # schema. Information in the `labels` field identifies the actual resource and
75
- # its attributes according to the schema. For example, a particular Compute
76
- # Engine VM instance could be represented by the following object, because the
77
- # {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor} for `"gce_instance"` has labels
74
+ # {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor} object
75
+ # that describes the resource's schema. Information in the `labels` field
76
+ # identifies the actual resource and its attributes according to the schema.
77
+ # For example, a particular Compute Engine VM instance could be represented by
78
+ # the following object, because the
79
+ # {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor} for
80
+ # `"gce_instance"` has labels
78
81
  # `"project_id"`, `"instance_id"` and `"zone"`:
79
82
  #
80
83
  # { "type": "gce_instance",
@@ -84,10 +87,12 @@ module Google
84
87
  # @!attribute [rw] type
85
88
  # @return [::String]
86
89
  # Required. The monitored resource type. This field must match
87
- # the `type` field of a {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor} object. For
88
- # example, the type of a Compute Engine VM instance is `gce_instance`.
89
- # Some descriptors include the service name in the type; for example,
90
- # the type of a Datastream stream is `datastream.googleapis.com/Stream`.
90
+ # the `type` field of a
91
+ # {::Google::Api::MonitoredResourceDescriptor MonitoredResourceDescriptor}
92
+ # object. For example, the type of a Compute Engine VM instance is
93
+ # `gce_instance`. Some descriptors include the service name in the type; for
94
+ # example, the type of a Datastream stream is
95
+ # `datastream.googleapis.com/Stream`.
91
96
  # @!attribute [rw] labels
92
97
  # @return [::Google::Protobuf::Map{::String => ::String}]
93
98
  # Required. Values for all of the labels listed in the associated monitored
@@ -107,12 +112,12 @@ module Google
107
112
  end
108
113
  end
109
114
 
110
- # Auxiliary metadata for a {::Google::Api::MonitoredResource MonitoredResource} object.
111
- # {::Google::Api::MonitoredResource MonitoredResource} objects contain the minimum set of information to
112
- # uniquely identify a monitored resource instance. There is some other useful
113
- # auxiliary metadata. Monitoring and Logging use an ingestion
114
- # pipeline to extract metadata for cloud resources of all types, and store
115
- # the metadata in this message.
115
+ # Auxiliary metadata for a {::Google::Api::MonitoredResource MonitoredResource}
116
+ # object. {::Google::Api::MonitoredResource MonitoredResource} objects contain the
117
+ # minimum set of information to uniquely identify a monitored resource
118
+ # instance. There is some other useful auxiliary metadata. Monitoring and
119
+ # Logging use an ingestion pipeline to extract metadata for cloud resources of
120
+ # all types, and store the metadata in this message.
116
121
  # @!attribute [rw] system_labels
117
122
  # @return [::Google::Protobuf::Struct]
118
123
  # Output only. Values for predefined system metadata labels.
@@ -96,11 +96,13 @@ module Google
96
96
  # @!attribute [rw] monitored_resource
97
97
  # @return [::String]
98
98
  # The monitored resource type. The type must be defined in
99
- # {::Google::Api::Service#monitored_resources Service.monitored_resources} section.
99
+ # {::Google::Api::Service#monitored_resources Service.monitored_resources}
100
+ # section.
100
101
  # @!attribute [rw] metrics
101
102
  # @return [::Array<::String>]
102
103
  # Types of the metrics to report to this monitoring destination.
103
- # Each type must be defined in {::Google::Api::Service#metrics Service.metrics} section.
104
+ # Each type must be defined in
105
+ # {::Google::Api::Service#metrics Service.metrics} section.
104
106
  class MonitoringDestination
105
107
  include ::Google::Protobuf::MessageExts
106
108
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -86,7 +86,8 @@ module Google
86
86
  # @return [::String]
87
87
  # Selects the methods to which this rule applies.
88
88
  #
89
- # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax details.
89
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
90
+ # details.
90
91
  # @!attribute [rw] metric_costs
91
92
  # @return [::Google::Protobuf::Map{::String => ::Integer}]
92
93
  # Metrics to update when the selected methods are called, and the associated
@@ -74,10 +74,10 @@ module Google
74
74
  # @!attribute [rw] apis
75
75
  # @return [::Array<::Google::Protobuf::Api>]
76
76
  # A list of API interfaces exported by this service. Only the `name` field
77
- # of the {::Google::Protobuf::Api google.protobuf.Api} needs to be provided by the configuration
78
- # author, as the remaining fields will be derived from the IDL during the
79
- # normalization process. It is an error to specify an API interface here
80
- # which cannot be resolved against the associated IDL files.
77
+ # of the {::Google::Protobuf::Api google.protobuf.Api} needs to be provided by
78
+ # the configuration author, as the remaining fields will be derived from the
79
+ # IDL during the normalization process. It is an error to specify an API
80
+ # interface here which cannot be resolved against the associated IDL files.
81
81
  # @!attribute [rw] types
82
82
  # @return [::Array<::Google::Protobuf::Type>]
83
83
  # A list of all proto message types included in this API service.
@@ -135,7 +135,8 @@ module Google
135
135
  # @!attribute [rw] monitored_resources
136
136
  # @return [::Array<::Google::Api::MonitoredResourceDescriptor>]
137
137
  # Defines the monitored resources used by this service. This is required
138
- # by the {::Google::Api::Service#monitoring Service.monitoring} and {::Google::Api::Service#logging Service.logging} configurations.
138
+ # by the {::Google::Api::Service#monitoring Service.monitoring} and
139
+ # {::Google::Api::Service#logging Service.logging} configurations.
139
140
  # @!attribute [rw] billing
140
141
  # @return [::Google::Api::Billing]
141
142
  # Billing configuration.
@@ -68,7 +68,8 @@ module Google
68
68
  # Selects the methods to which this rule applies. Use '*' to indicate all
69
69
  # methods in all APIs.
70
70
  #
71
- # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax details.
71
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
72
+ # details.
72
73
  # @!attribute [rw] parameters
73
74
  # @return [::Array<::Google::Api::SystemParameter>]
74
75
  # Define parameters. Multiple names may be defined for a parameter.
@@ -81,7 +81,8 @@ module Google
81
81
  # Selects the methods to which this rule applies. Use '*' to indicate all
82
82
  # methods in all APIs.
83
83
  #
84
- # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax details.
84
+ # Refer to {::Google::Api::DocumentationRule#selector selector} for syntax
85
+ # details.
85
86
  # @!attribute [rw] allow_unregistered_calls
86
87
  # @return [::Boolean]
87
88
  # If true, the selected method allows unregistered calls, e.g. calls
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -148,7 +148,7 @@ module Google
148
148
  # The mixin construct implies that all methods in `AccessControl` are
149
149
  # also declared with same name and request/response types in
150
150
  # `Storage`. A documentation generator or annotation processor will
151
- # see the effective `Storage.GetAcl` method after inheriting
151
+ # see the effective `Storage.GetAcl` method after inherting
152
152
  # documentation and annotations as follows:
153
153
  #
154
154
  # service Storage {
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
@@ -38,6 +38,9 @@ module Google
38
38
  # @!attribute [rw] syntax
39
39
  # @return [::Google::Protobuf::Syntax]
40
40
  # The source syntax.
41
+ # @!attribute [rw] edition
42
+ # @return [::String]
43
+ # The source edition string, only valid when syntax is SYNTAX_EDITIONS.
41
44
  class Type
42
45
  include ::Google::Protobuf::MessageExts
43
46
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -172,6 +175,9 @@ module Google
172
175
  # @!attribute [rw] syntax
173
176
  # @return [::Google::Protobuf::Syntax]
174
177
  # The source syntax.
178
+ # @!attribute [rw] edition
179
+ # @return [::String]
180
+ # The source edition string, only valid when syntax is SYNTAX_EDITIONS.
175
181
  class Enum
176
182
  include ::Google::Protobuf::MessageExts
177
183
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -218,6 +224,9 @@ module Google
218
224
 
219
225
  # Syntax `proto3`.
220
226
  SYNTAX_PROTO3 = 1
227
+
228
+ # Syntax `editions`.
229
+ SYNTAX_EDITIONS = 2
221
230
  end
222
231
  end
223
232
  end
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.5.0
4
+ version: 0.6.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a