google-cloud-monitoring-v3 0.4.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/README.md +1 -1
  4. data/lib/google/cloud/monitoring/v3/alert_policy_service/client.rb +52 -56
  5. data/lib/google/cloud/monitoring/v3/alert_policy_service/paths.rb +14 -0
  6. data/lib/google/cloud/monitoring/v3/group_service/client.rb +58 -66
  7. data/lib/google/cloud/monitoring/v3/group_service/paths.rb +14 -0
  8. data/lib/google/cloud/monitoring/v3/metric_service/client.rb +166 -75
  9. data/lib/google/cloud/monitoring/v3/notification_channel_service/client.rb +75 -79
  10. data/lib/google/cloud/monitoring/v3/notification_channel_service/paths.rb +14 -0
  11. data/lib/google/cloud/monitoring/v3/query_service/client.rb +35 -39
  12. data/lib/google/cloud/monitoring/v3/service_monitoring_service/client.rb +70 -73
  13. data/lib/google/cloud/monitoring/v3/service_monitoring_service/paths.rb +14 -0
  14. data/lib/google/cloud/monitoring/v3/uptime_check_service/client.rb +56 -61
  15. data/lib/google/cloud/monitoring/v3/uptime_check_service/paths.rb +14 -0
  16. data/lib/google/cloud/monitoring/v3/version.rb +1 -1
  17. data/lib/google/monitoring/v3/alert_pb.rb +17 -2
  18. data/lib/google/monitoring/v3/alert_service_pb.rb +2 -2
  19. data/lib/google/monitoring/v3/common_pb.rb +2 -2
  20. data/lib/google/monitoring/v3/group_pb.rb +1 -1
  21. data/lib/google/monitoring/v3/group_service_pb.rb +2 -2
  22. data/lib/google/monitoring/v3/metric_pb.rb +2 -2
  23. data/lib/google/monitoring/v3/metric_service_pb.rb +2 -2
  24. data/lib/google/monitoring/v3/metric_service_services_pb.rb +12 -0
  25. data/lib/google/monitoring/v3/mutation_record_pb.rb +1 -1
  26. data/lib/google/monitoring/v3/notification_pb.rb +2 -2
  27. data/lib/google/monitoring/v3/notification_service_pb.rb +2 -2
  28. data/lib/google/monitoring/v3/query_service_pb.rb +2 -2
  29. data/lib/google/monitoring/v3/service_pb.rb +5 -2
  30. data/lib/google/monitoring/v3/service_service_pb.rb +2 -2
  31. data/lib/google/monitoring/v3/uptime_pb.rb +2 -2
  32. data/lib/google/monitoring/v3/uptime_service_pb.rb +3 -2
  33. data/proto_docs/google/api/distribution.rb +2 -2
  34. data/proto_docs/google/api/field_behavior.rb +7 -1
  35. data/proto_docs/google/api/launch_stage.rb +7 -1
  36. data/proto_docs/google/api/metric.rb +109 -36
  37. data/proto_docs/google/api/monitored_resource.rb +7 -6
  38. data/proto_docs/google/longrunning/operations.rb +164 -0
  39. data/proto_docs/google/monitoring/v3/alert.rb +68 -3
  40. data/proto_docs/google/monitoring/v3/alert_service.rb +4 -2
  41. data/proto_docs/google/monitoring/v3/common.rb +17 -5
  42. data/proto_docs/google/monitoring/v3/group_service.rb +4 -2
  43. data/proto_docs/google/monitoring/v3/metric.rb +3 -1
  44. data/proto_docs/google/monitoring/v3/metric_service.rb +13 -8
  45. data/proto_docs/google/monitoring/v3/notification_service.rb +8 -4
  46. data/proto_docs/google/monitoring/v3/service.rb +38 -6
  47. data/proto_docs/google/monitoring/v3/service_service.rb +4 -2
  48. data/proto_docs/google/monitoring/v3/span_context.rb +2 -2
  49. data/proto_docs/google/monitoring/v3/uptime.rb +5 -2
  50. data/proto_docs/google/monitoring/v3/uptime_service.rb +4 -2
  51. metadata +5 -4
@@ -42,13 +42,12 @@ module Google
42
42
  # See {::Google::Cloud::Monitoring::V3::MetricService::Client::Configuration}
43
43
  # for a description of the configuration fields.
44
44
  #
45
- # ## Example
45
+ # @example
46
46
  #
47
- # To modify the configuration for all MetricService clients:
48
- #
49
- # ::Google::Cloud::Monitoring::V3::MetricService::Client.configure do |config|
50
- # config.timeout = 10.0
51
- # end
47
+ # # Modify the configuration for all MetricService clients
48
+ # ::Google::Cloud::Monitoring::V3::MetricService::Client.configure do |config|
49
+ # config.timeout = 10.0
50
+ # end
52
51
  #
53
52
  # @yield [config] Configure the Client client.
54
53
  # @yieldparam config [Client::Configuration]
@@ -68,52 +67,34 @@ module Google
68
67
 
69
68
  default_config.rpcs.list_monitored_resource_descriptors.timeout = 30.0
70
69
  default_config.rpcs.list_monitored_resource_descriptors.retry_policy = {
71
- initial_delay: 0.1,
72
- max_delay: 30.0,
73
- multiplier: 1.3,
74
- retry_codes: [4, 14]
70
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
75
71
  }
76
72
 
77
73
  default_config.rpcs.get_monitored_resource_descriptor.timeout = 30.0
78
74
  default_config.rpcs.get_monitored_resource_descriptor.retry_policy = {
79
- initial_delay: 0.1,
80
- max_delay: 30.0,
81
- multiplier: 1.3,
82
- retry_codes: [4, 14]
75
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
83
76
  }
84
77
 
85
78
  default_config.rpcs.list_metric_descriptors.timeout = 30.0
86
79
  default_config.rpcs.list_metric_descriptors.retry_policy = {
87
- initial_delay: 0.1,
88
- max_delay: 30.0,
89
- multiplier: 1.3,
90
- retry_codes: [4, 14]
80
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
91
81
  }
92
82
 
93
83
  default_config.rpcs.get_metric_descriptor.timeout = 30.0
94
84
  default_config.rpcs.get_metric_descriptor.retry_policy = {
95
- initial_delay: 0.1,
96
- max_delay: 30.0,
97
- multiplier: 1.3,
98
- retry_codes: [4, 14]
85
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
99
86
  }
100
87
 
101
88
  default_config.rpcs.create_metric_descriptor.timeout = 12.0
102
89
 
103
90
  default_config.rpcs.delete_metric_descriptor.timeout = 30.0
104
91
  default_config.rpcs.delete_metric_descriptor.retry_policy = {
105
- initial_delay: 0.1,
106
- max_delay: 30.0,
107
- multiplier: 1.3,
108
- retry_codes: [4, 14]
92
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
109
93
  }
110
94
 
111
- default_config.rpcs.list_time_series.timeout = 30.0
95
+ default_config.rpcs.list_time_series.timeout = 90.0
112
96
  default_config.rpcs.list_time_series.retry_policy = {
113
- initial_delay: 0.1,
114
- max_delay: 30.0,
115
- multiplier: 1.3,
116
- retry_codes: [4, 14]
97
+ initial_delay: 0.1, max_delay: 30.0, multiplier: 1.3, retry_codes: [14]
117
98
  }
118
99
 
119
100
  default_config.rpcs.create_time_series.timeout = 12.0
@@ -147,19 +128,15 @@ module Google
147
128
  ##
148
129
  # Create a new MetricService client object.
149
130
  #
150
- # ## Examples
151
- #
152
- # To create a new MetricService client with the default
153
- # configuration:
154
- #
155
- # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new
131
+ # @example
156
132
  #
157
- # To create a new MetricService client with a custom
158
- # configuration:
133
+ # # Create a client using the default configuration
134
+ # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new
159
135
  #
160
- # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new do |config|
161
- # config.timeout = 10.0
162
- # end
136
+ # # Create a client using a custom configuration
137
+ # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new do |config|
138
+ # config.timeout = 10.0
139
+ # end
163
140
  #
164
141
  # @yield [config] Configure the MetricService client.
165
142
  # @yieldparam config [Client::Configuration]
@@ -179,14 +156,13 @@ module Google
179
156
 
180
157
  # Create credentials
181
158
  credentials = @config.credentials
182
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
159
+ # Use self-signed JWT if the endpoint is unchanged from default,
183
160
  # but only if the default endpoint does not have a region prefix.
184
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
185
- @config.endpoint == Client.configure.endpoint &&
161
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
186
162
  !@config.endpoint.split(".").first.include?("-")
187
163
  credentials ||= Credentials.default scope: @config.scope,
188
164
  enable_self_signed_jwt: enable_self_signed_jwt
189
- if credentials.is_a?(String) || credentials.is_a?(Hash)
165
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
190
166
  credentials = Credentials.new credentials, scope: @config.scope
191
167
  end
192
168
  @quota_project_id = @config.quota_project
@@ -222,7 +198,8 @@ module Google
222
198
  # the default parameter values, pass an empty Hash as a request object (see above).
223
199
  #
224
200
  # @param name [::String]
225
- # Required. The project on which to execute the request. The format is:
201
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
202
+ # which to execute the request. The format is:
226
203
  #
227
204
  # projects/[PROJECT_ID_OR_NUMBER]
228
205
  # @param filter [::String]
@@ -273,7 +250,9 @@ module Google
273
250
  options.apply_defaults timeout: @config.rpcs.list_monitored_resource_descriptors.timeout,
274
251
  metadata: metadata,
275
252
  retry_policy: @config.rpcs.list_monitored_resource_descriptors.retry_policy
276
- options.apply_defaults metadata: @config.metadata,
253
+
254
+ options.apply_defaults timeout: @config.timeout,
255
+ metadata: @config.metadata,
277
256
  retry_policy: @config.retry_policy
278
257
 
279
258
  @metric_service_stub.call_rpc :list_monitored_resource_descriptors, request, options: options do |response, operation|
@@ -345,7 +324,9 @@ module Google
345
324
  options.apply_defaults timeout: @config.rpcs.get_monitored_resource_descriptor.timeout,
346
325
  metadata: metadata,
347
326
  retry_policy: @config.rpcs.get_monitored_resource_descriptor.retry_policy
348
- options.apply_defaults metadata: @config.metadata,
327
+
328
+ options.apply_defaults timeout: @config.timeout,
329
+ metadata: @config.metadata,
349
330
  retry_policy: @config.retry_policy
350
331
 
351
332
  @metric_service_stub.call_rpc :get_monitored_resource_descriptor, request, options: options do |response, operation|
@@ -375,7 +356,8 @@ module Google
375
356
  # the default parameter values, pass an empty Hash as a request object (see above).
376
357
  #
377
358
  # @param name [::String]
378
- # Required. The project on which to execute the request. The format is:
359
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
360
+ # which to execute the request. The format is:
379
361
  #
380
362
  # projects/[PROJECT_ID_OR_NUMBER]
381
363
  # @param filter [::String]
@@ -428,7 +410,9 @@ module Google
428
410
  options.apply_defaults timeout: @config.rpcs.list_metric_descriptors.timeout,
429
411
  metadata: metadata,
430
412
  retry_policy: @config.rpcs.list_metric_descriptors.retry_policy
431
- options.apply_defaults metadata: @config.metadata,
413
+
414
+ options.apply_defaults timeout: @config.timeout,
415
+ metadata: @config.metadata,
432
416
  retry_policy: @config.retry_policy
433
417
 
434
418
  @metric_service_stub.call_rpc :list_metric_descriptors, request, options: options do |response, operation|
@@ -500,7 +484,9 @@ module Google
500
484
  options.apply_defaults timeout: @config.rpcs.get_metric_descriptor.timeout,
501
485
  metadata: metadata,
502
486
  retry_policy: @config.rpcs.get_metric_descriptor.retry_policy
503
- options.apply_defaults metadata: @config.metadata,
487
+
488
+ options.apply_defaults timeout: @config.timeout,
489
+ metadata: @config.metadata,
504
490
  retry_policy: @config.retry_policy
505
491
 
506
492
  @metric_service_stub.call_rpc :get_metric_descriptor, request, options: options do |response, operation|
@@ -513,6 +499,8 @@ module Google
513
499
 
514
500
  ##
515
501
  # Creates a new metric descriptor.
502
+ # The creation is executed asynchronously and callers may check the returned
503
+ # operation to track its progress.
516
504
  # User-created metric descriptors define
517
505
  # [custom metrics](https://cloud.google.com/monitoring/custom-metrics).
518
506
  #
@@ -532,8 +520,9 @@ module Google
532
520
  # the default parameter values, pass an empty Hash as a request object (see above).
533
521
  #
534
522
  # @param name [::String]
535
- # Required. The project on which to execute the request. The format is:
536
- #
523
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
524
+ # which to execute the request. The format is:
525
+ # 4
537
526
  # projects/[PROJECT_ID_OR_NUMBER]
538
527
  # @param metric_descriptor [::Google::Api::MetricDescriptor, ::Hash]
539
528
  # Required. The new [custom metric](https://cloud.google.com/monitoring/custom-metrics)
@@ -573,7 +562,9 @@ module Google
573
562
  options.apply_defaults timeout: @config.rpcs.create_metric_descriptor.timeout,
574
563
  metadata: metadata,
575
564
  retry_policy: @config.rpcs.create_metric_descriptor.retry_policy
576
- options.apply_defaults metadata: @config.metadata,
565
+
566
+ options.apply_defaults timeout: @config.timeout,
567
+ metadata: @config.metadata,
577
568
  retry_policy: @config.retry_policy
578
569
 
579
570
  @metric_service_stub.call_rpc :create_metric_descriptor, request, options: options do |response, operation|
@@ -646,7 +637,9 @@ module Google
646
637
  options.apply_defaults timeout: @config.rpcs.delete_metric_descriptor.timeout,
647
638
  metadata: metadata,
648
639
  retry_policy: @config.rpcs.delete_metric_descriptor.retry_policy
649
- options.apply_defaults metadata: @config.metadata,
640
+
641
+ options.apply_defaults timeout: @config.timeout,
642
+ metadata: @config.metadata,
650
643
  retry_policy: @config.retry_policy
651
644
 
652
645
  @metric_service_stub.call_rpc :delete_metric_descriptor, request, options: options do |response, operation|
@@ -676,8 +669,8 @@ module Google
676
669
  # the default parameter values, pass an empty Hash as a request object (see above).
677
670
  #
678
671
  # @param name [::String]
679
- # Required. The project, organization or folder on which to execute the request. The
680
- # format is:
672
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
673
+ # organization or folder on which to execute the request. The format is:
681
674
  #
682
675
  # projects/[PROJECT_ID_OR_NUMBER]
683
676
  # organizations/[ORGANIZATION_ID]
@@ -753,7 +746,9 @@ module Google
753
746
  options.apply_defaults timeout: @config.rpcs.list_time_series.timeout,
754
747
  metadata: metadata,
755
748
  retry_policy: @config.rpcs.list_time_series.retry_policy
756
- options.apply_defaults metadata: @config.metadata,
749
+
750
+ options.apply_defaults timeout: @config.timeout,
751
+ metadata: @config.metadata,
757
752
  retry_policy: @config.retry_policy
758
753
 
759
754
  @metric_service_stub.call_rpc :list_time_series, request, options: options do |response, operation|
@@ -787,7 +782,8 @@ module Google
787
782
  # the default parameter values, pass an empty Hash as a request object (see above).
788
783
  #
789
784
  # @param name [::String]
790
- # Required. The project on which to execute the request. The format is:
785
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
786
+ # which to execute the request. The format is:
791
787
  #
792
788
  # projects/[PROJECT_ID_OR_NUMBER]
793
789
  # @param time_series [::Array<::Google::Cloud::Monitoring::V3::TimeSeries, ::Hash>]
@@ -833,7 +829,9 @@ module Google
833
829
  options.apply_defaults timeout: @config.rpcs.create_time_series.timeout,
834
830
  metadata: metadata,
835
831
  retry_policy: @config.rpcs.create_time_series.retry_policy
836
- options.apply_defaults metadata: @config.metadata,
832
+
833
+ options.apply_defaults timeout: @config.timeout,
834
+ metadata: @config.metadata,
837
835
  retry_policy: @config.retry_policy
838
836
 
839
837
  @metric_service_stub.call_rpc :create_time_series, request, options: options do |response, operation|
@@ -844,6 +842,93 @@ module Google
844
842
  raise ::Google::Cloud::Error.from_error(e)
845
843
  end
846
844
 
845
+ ##
846
+ # Creates or adds data to one or more service time series. A service time
847
+ # series is a time series for a metric from a Google Cloud service. The
848
+ # response is empty if all time series in the request were written. If any
849
+ # time series could not be written, a corresponding failure message is
850
+ # included in the error response. This endpoint rejects writes to
851
+ # user-defined metrics.
852
+ # This method is only for use by Google Cloud services. Use
853
+ # {::Google::Cloud::Monitoring::V3::MetricService::Client#create_time_series projects.timeSeries.create}
854
+ # instead.
855
+ #
856
+ # @overload create_service_time_series(request, options = nil)
857
+ # Pass arguments to `create_service_time_series` via a request object, either of type
858
+ # {::Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest} or an equivalent Hash.
859
+ #
860
+ # @param request [::Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest, ::Hash]
861
+ # A request object representing the call parameters. Required. To specify no
862
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
863
+ # @param options [::Gapic::CallOptions, ::Hash]
864
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
865
+ #
866
+ # @overload create_service_time_series(name: nil, time_series: nil)
867
+ # Pass arguments to `create_service_time_series` via keyword arguments. Note that at
868
+ # least one keyword argument is required. To specify no parameters, or to keep all
869
+ # the default parameter values, pass an empty Hash as a request object (see above).
870
+ #
871
+ # @param name [::String]
872
+ # Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on
873
+ # which to execute the request. The format is:
874
+ #
875
+ # projects/[PROJECT_ID_OR_NUMBER]
876
+ # @param time_series [::Array<::Google::Cloud::Monitoring::V3::TimeSeries, ::Hash>]
877
+ # Required. The new data to be added to a list of time series.
878
+ # Adds at most one data point to each of several time series. The new data
879
+ # point must be more recent than any other point in its time series. Each
880
+ # `TimeSeries` value must fully specify a unique time series by supplying
881
+ # all label values for the metric and the monitored resource.
882
+ #
883
+ # The maximum number of `TimeSeries` objects per `Create` request is 200.
884
+ #
885
+ # @yield [response, operation] Access the result along with the RPC operation
886
+ # @yieldparam response [::Google::Protobuf::Empty]
887
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
888
+ #
889
+ # @return [::Google::Protobuf::Empty]
890
+ #
891
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
892
+ #
893
+ def create_service_time_series request, options = nil
894
+ raise ::ArgumentError, "request must be provided" if request.nil?
895
+
896
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Monitoring::V3::CreateTimeSeriesRequest
897
+
898
+ # Converts hash and nil to an options object
899
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
900
+
901
+ # Customize the options with defaults
902
+ metadata = @config.rpcs.create_service_time_series.metadata.to_h
903
+
904
+ # Set x-goog-api-client and x-goog-user-project headers
905
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
906
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
907
+ gapic_version: ::Google::Cloud::Monitoring::V3::VERSION
908
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
909
+
910
+ header_params = {
911
+ "name" => request.name
912
+ }
913
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
914
+ metadata[:"x-goog-request-params"] ||= request_params_header
915
+
916
+ options.apply_defaults timeout: @config.rpcs.create_service_time_series.timeout,
917
+ metadata: metadata,
918
+ retry_policy: @config.rpcs.create_service_time_series.retry_policy
919
+
920
+ options.apply_defaults timeout: @config.timeout,
921
+ metadata: @config.metadata,
922
+ retry_policy: @config.retry_policy
923
+
924
+ @metric_service_stub.call_rpc :create_service_time_series, request, options: options do |response, operation|
925
+ yield response, operation if block_given?
926
+ return response
927
+ end
928
+ rescue ::GRPC::BadStatus => e
929
+ raise ::Google::Cloud::Error.from_error(e)
930
+ end
931
+
847
932
  ##
848
933
  # Configuration class for the MetricService API.
849
934
  #
@@ -857,22 +942,21 @@ module Google
857
942
  # Configuration can be applied globally to all clients, or to a single client
858
943
  # on construction.
859
944
  #
860
- # # Examples
945
+ # @example
861
946
  #
862
- # To modify the global config, setting the timeout for list_monitored_resource_descriptors
863
- # to 20 seconds, and all remaining timeouts to 10 seconds:
947
+ # # Modify the global config, setting the timeout for
948
+ # # list_monitored_resource_descriptors to 20 seconds,
949
+ # # and all remaining timeouts to 10 seconds.
950
+ # ::Google::Cloud::Monitoring::V3::MetricService::Client.configure do |config|
951
+ # config.timeout = 10.0
952
+ # config.rpcs.list_monitored_resource_descriptors.timeout = 20.0
953
+ # end
864
954
  #
865
- # ::Google::Cloud::Monitoring::V3::MetricService::Client.configure do |config|
866
- # config.timeout = 10.0
867
- # config.rpcs.list_monitored_resource_descriptors.timeout = 20.0
868
- # end
869
- #
870
- # To apply the above configuration only to a new client:
871
- #
872
- # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new do |config|
873
- # config.timeout = 10.0
874
- # config.rpcs.list_monitored_resource_descriptors.timeout = 20.0
875
- # end
955
+ # # Apply the above configuration only to a new client.
956
+ # client = ::Google::Cloud::Monitoring::V3::MetricService::Client.new do |config|
957
+ # config.timeout = 10.0
958
+ # config.rpcs.list_monitored_resource_descriptors.timeout = 20.0
959
+ # end
876
960
  #
877
961
  # @!attribute [rw] endpoint
878
962
  # The hostname or hostname:port of the service endpoint.
@@ -1020,6 +1104,11 @@ module Google
1020
1104
  # @return [::Gapic::Config::Method]
1021
1105
  #
1022
1106
  attr_reader :create_time_series
1107
+ ##
1108
+ # RPC-specific configuration for `create_service_time_series`
1109
+ # @return [::Gapic::Config::Method]
1110
+ #
1111
+ attr_reader :create_service_time_series
1023
1112
 
1024
1113
  # @private
1025
1114
  def initialize parent_rpcs = nil
@@ -1039,6 +1128,8 @@ module Google
1039
1128
  @list_time_series = ::Gapic::Config::Method.new list_time_series_config
1040
1129
  create_time_series_config = parent_rpcs.create_time_series if parent_rpcs.respond_to? :create_time_series
1041
1130
  @create_time_series = ::Gapic::Config::Method.new create_time_series_config
1131
+ create_service_time_series_config = parent_rpcs.create_service_time_series if parent_rpcs.respond_to? :create_service_time_series
1132
+ @create_service_time_series = ::Gapic::Config::Method.new create_service_time_series_config
1042
1133
 
1043
1134
  yield self if block_given?
1044
1135
  end