google-api-client 0.30.1 → 0.30.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +64 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  4. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
  8. data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1.rb +1 -1
  13. data/generated/google/apis/appengine_v1/classes.rb +8 -64
  14. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  15. data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/bigquery_v2/classes.rb +12 -4
  20. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  21. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  22. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
  23. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
  25. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  26. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
  27. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  28. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
  29. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  30. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
  31. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  32. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
  33. data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
  34. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  35. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
  36. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  37. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
  38. data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +6 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +6 -0
  43. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  44. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
  45. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  46. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
  47. data/generated/google/apis/content_v2.rb +1 -1
  48. data/generated/google/apis/content_v2/classes.rb +6 -0
  49. data/generated/google/apis/content_v2/representations.rb +2 -0
  50. data/generated/google/apis/content_v2_1.rb +1 -1
  51. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  52. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
  57. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  58. data/generated/google/apis/dlp_v2.rb +1 -1
  59. data/generated/google/apis/dlp_v2/classes.rb +8 -74
  60. data/generated/google/apis/docs_v1.rb +1 -1
  61. data/generated/google/apis/docs_v1/classes.rb +10 -0
  62. data/generated/google/apis/fcm_v1.rb +1 -1
  63. data/generated/google/apis/fcm_v1/classes.rb +56 -0
  64. data/generated/google/apis/fcm_v1/representations.rb +31 -0
  65. data/generated/google/apis/file_v1.rb +1 -1
  66. data/generated/google/apis/file_v1/classes.rb +6 -6
  67. data/generated/google/apis/file_v1/representations.rb +1 -1
  68. data/generated/google/apis/file_v1beta1.rb +1 -1
  69. data/generated/google/apis/file_v1beta1/classes.rb +6 -6
  70. data/generated/google/apis/file_v1beta1/representations.rb +1 -1
  71. data/generated/google/apis/genomics_v1.rb +1 -1
  72. data/generated/google/apis/genomics_v1/classes.rb +8 -74
  73. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  74. data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
  75. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  76. data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
  77. data/generated/google/apis/gmail_v1.rb +1 -1
  78. data/generated/google/apis/gmail_v1/classes.rb +10 -2
  79. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  80. data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
  81. data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
  82. data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
  83. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  84. data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
  85. data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
  86. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  87. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
  88. data/generated/google/apis/language_v1.rb +1 -1
  89. data/generated/google/apis/language_v1/classes.rb +4 -37
  90. data/generated/google/apis/language_v1beta1.rb +1 -1
  91. data/generated/google/apis/language_v1beta1/classes.rb +4 -37
  92. data/generated/google/apis/language_v1beta2.rb +1 -1
  93. data/generated/google/apis/language_v1beta2/classes.rb +4 -37
  94. data/generated/google/apis/logging_v2.rb +5 -2
  95. data/generated/google/apis/logging_v2/service.rb +4 -1
  96. data/generated/google/apis/ml_v1.rb +1 -1
  97. data/generated/google/apis/ml_v1/classes.rb +27 -77
  98. data/generated/google/apis/ml_v1/representations.rb +2 -0
  99. data/generated/google/apis/monitoring_v3.rb +5 -2
  100. data/generated/google/apis/monitoring_v3/classes.rb +13 -97
  101. data/generated/google/apis/monitoring_v3/service.rb +4 -1
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +12 -78
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
  107. data/generated/google/apis/redis_v1beta1/service.rb +2 -2
  108. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  109. data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
  110. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
  112. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  113. data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
  114. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  115. data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
  116. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  117. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
  118. data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
  119. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
  120. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
  121. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
  122. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  123. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  124. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  125. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
  126. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  127. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
  128. data/generated/google/apis/serviceusage_v1.rb +1 -1
  129. data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
  130. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  131. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
  132. data/generated/google/apis/storage_v1.rb +1 -1
  133. data/generated/google/apis/storage_v1/classes.rb +0 -7
  134. data/generated/google/apis/storage_v1/representations.rb +0 -1
  135. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  136. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
  137. data/generated/google/apis/vision_v1.rb +1 -1
  138. data/generated/google/apis/vision_v1/classes.rb +36 -333
  139. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  140. data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
  141. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  142. data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
  143. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +2 -2
  145. data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
  146. data/lib/google/apis/version.rb +1 -1
  147. metadata +6 -2
@@ -22,7 +22,10 @@ module Google
22
22
  module LoggingV2
23
23
  # Stackdriver Logging API
24
24
  #
25
- # Writes log entries and manages your Logging configuration.
25
+ # Writes log entries and manages your Stackdriver Logging configuration. The
26
+ # table entries below are presented in alphabetical order, not in order of
27
+ # common use. For explanations of the concepts found in the table entries, read
28
+ # the Stackdriver Logging documentation.
26
29
  #
27
30
  # @example
28
31
  # require 'google/apis/logging_v2'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190524'
28
+ REVISION = '20190530'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -392,9 +392,9 @@ module Google
392
392
  # @return [String]
393
393
  attr_accessor :goal
394
394
 
395
- # Optional. The Tensorflow summary tag name to use for optimizing trials. For
396
- # current versions of Tensorflow, this tag name should exactly match what is
397
- # shown in Tensorboard, including all scopes. For versions of Tensorflow
395
+ # Optional. The TensorFlow summary tag name to use for optimizing trials. For
396
+ # current versions of TensorFlow, this tag name should exactly match what is
397
+ # shown in TensorBoard, including all scopes. For versions of TensorFlow
398
398
  # prior to 0.12, this should be only the tag passed to tf.Summary.
399
399
  # By default, "training/hptuning/metric" will be used.
400
400
  # Corresponds to the JSON property `hyperparameterMetricTag`
@@ -1336,6 +1336,11 @@ module Google
1336
1336
  # @return [String]
1337
1337
  attr_accessor :master_type
1338
1338
 
1339
+ # Optional. The maximum job running time. The default is 7 days.
1340
+ # Corresponds to the JSON property `maxRunningTime`
1341
+ # @return [String]
1342
+ attr_accessor :max_running_time
1343
+
1339
1344
  # Required. The Google Cloud Storage location of the packages with
1340
1345
  # the training program and any additional dependencies.
1341
1346
  # The maximum number of package URIs is 100.
@@ -1449,6 +1454,7 @@ module Google
1449
1454
  @job_dir = args[:job_dir] if args.key?(:job_dir)
1450
1455
  @master_config = args[:master_config] if args.key?(:master_config)
1451
1456
  @master_type = args[:master_type] if args.key?(:master_type)
1457
+ @max_running_time = args[:max_running_time] if args.key?(:max_running_time)
1452
1458
  @package_uris = args[:package_uris] if args.key?(:package_uris)
1453
1459
  @parameter_server_config = args[:parameter_server_config] if args.key?(:parameter_server_config)
1454
1460
  @parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count)
@@ -1484,6 +1490,15 @@ module Google
1484
1490
  # @return [Float]
1485
1491
  attr_accessor :consumed_ml_units
1486
1492
 
1493
+ # The TensorFlow summary tag name used for optimizing hyperparameter tuning
1494
+ # trials. See
1495
+ # [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.FIELDS.
1496
+ # hyperparameter_metric_tag)
1497
+ # for more information. Only set for hyperparameter tuning jobs.
1498
+ # Corresponds to the JSON property `hyperparameterMetricTag`
1499
+ # @return [String]
1500
+ attr_accessor :hyperparameter_metric_tag
1501
+
1487
1502
  # Whether this job is a built-in Algorithm job.
1488
1503
  # Corresponds to the JSON property `isBuiltInAlgorithmJob`
1489
1504
  # @return [Boolean]
@@ -1511,6 +1526,7 @@ module Google
1511
1526
  @built_in_algorithm_output = args[:built_in_algorithm_output] if args.key?(:built_in_algorithm_output)
1512
1527
  @completed_trial_count = args[:completed_trial_count] if args.key?(:completed_trial_count)
1513
1528
  @consumed_ml_units = args[:consumed_ml_units] if args.key?(:consumed_ml_units)
1529
+ @hyperparameter_metric_tag = args[:hyperparameter_metric_tag] if args.key?(:hyperparameter_metric_tag)
1514
1530
  @is_built_in_algorithm_job = args[:is_built_in_algorithm_job] if args.key?(:is_built_in_algorithm_job)
1515
1531
  @is_hyperparameter_tuning_job = args[:is_hyperparameter_tuning_job] if args.key?(:is_hyperparameter_tuning_job)
1516
1532
  @trials = args[:trials] if args.key?(:trials)
@@ -2148,43 +2164,10 @@ module Google
2148
2164
 
2149
2165
  # The `Status` type defines a logical error model that is suitable for
2150
2166
  # different programming environments, including REST APIs and RPC APIs. It is
2151
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2152
- # - Simple to use and understand for most users
2153
- # - Flexible enough to meet unexpected needs
2154
- # # Overview
2155
- # The `Status` message contains three pieces of data: error code, error
2156
- # message, and error details. The error code should be an enum value of
2157
- # google.rpc.Code, but it may accept additional error codes if needed. The
2158
- # error message should be a developer-facing English message that helps
2159
- # developers *understand* and *resolve* the error. If a localized user-facing
2160
- # error message is needed, put the localized message in the error details or
2161
- # localize it in the client. The optional error details may contain arbitrary
2162
- # information about the error. There is a predefined set of error detail types
2163
- # in the package `google.rpc` that can be used for common error conditions.
2164
- # # Language mapping
2165
- # The `Status` message is the logical representation of the error model, but it
2166
- # is not necessarily the actual wire format. When the `Status` message is
2167
- # exposed in different client libraries and different wire protocols, it can be
2168
- # mapped differently. For example, it will likely be mapped to some exceptions
2169
- # in Java, but more likely mapped to some error codes in C.
2170
- # # Other uses
2171
- # The error model and the `Status` message can be used in a variety of
2172
- # environments, either with or without APIs, to provide a
2173
- # consistent developer experience across different environments.
2174
- # Example uses of this error model include:
2175
- # - Partial errors. If a service needs to return partial errors to the client,
2176
- # it may embed the `Status` in the normal response to indicate the partial
2177
- # errors.
2178
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2179
- # have a `Status` message for error reporting.
2180
- # - Batch operations. If a client uses batch request and batch response, the
2181
- # `Status` message should be used directly inside batch response, one for
2182
- # each error sub-response.
2183
- # - Asynchronous operations. If an API call embeds asynchronous operation
2184
- # results in its response, the status of those operations should be
2185
- # represented directly using the `Status` message.
2186
- # - Logging. If some API errors are stored in logs, the message `Status` could
2187
- # be used directly after any stripping needed for security/privacy reasons.
2167
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2168
+ # three pieces of data: error code, error message, and error details.
2169
+ # You can find out more about this error model and how to work with it in the
2170
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2188
2171
  # Corresponds to the JSON property `error`
2189
2172
  # @return [Google::Apis::MlV1::GoogleRpcStatus]
2190
2173
  attr_accessor :error
@@ -2251,43 +2234,10 @@ module Google
2251
2234
 
2252
2235
  # The `Status` type defines a logical error model that is suitable for
2253
2236
  # different programming environments, including REST APIs and RPC APIs. It is
2254
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2255
- # - Simple to use and understand for most users
2256
- # - Flexible enough to meet unexpected needs
2257
- # # Overview
2258
- # The `Status` message contains three pieces of data: error code, error
2259
- # message, and error details. The error code should be an enum value of
2260
- # google.rpc.Code, but it may accept additional error codes if needed. The
2261
- # error message should be a developer-facing English message that helps
2262
- # developers *understand* and *resolve* the error. If a localized user-facing
2263
- # error message is needed, put the localized message in the error details or
2264
- # localize it in the client. The optional error details may contain arbitrary
2265
- # information about the error. There is a predefined set of error detail types
2266
- # in the package `google.rpc` that can be used for common error conditions.
2267
- # # Language mapping
2268
- # The `Status` message is the logical representation of the error model, but it
2269
- # is not necessarily the actual wire format. When the `Status` message is
2270
- # exposed in different client libraries and different wire protocols, it can be
2271
- # mapped differently. For example, it will likely be mapped to some exceptions
2272
- # in Java, but more likely mapped to some error codes in C.
2273
- # # Other uses
2274
- # The error model and the `Status` message can be used in a variety of
2275
- # environments, either with or without APIs, to provide a
2276
- # consistent developer experience across different environments.
2277
- # Example uses of this error model include:
2278
- # - Partial errors. If a service needs to return partial errors to the client,
2279
- # it may embed the `Status` in the normal response to indicate the partial
2280
- # errors.
2281
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2282
- # have a `Status` message for error reporting.
2283
- # - Batch operations. If a client uses batch request and batch response, the
2284
- # `Status` message should be used directly inside batch response, one for
2285
- # each error sub-response.
2286
- # - Asynchronous operations. If an API call embeds asynchronous operation
2287
- # results in its response, the status of those operations should be
2288
- # represented directly using the `Status` message.
2289
- # - Logging. If some API errors are stored in logs, the message `Status` could
2290
- # be used directly after any stripping needed for security/privacy reasons.
2237
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2238
+ # three pieces of data: error code, error message, and error details.
2239
+ # You can find out more about this error model and how to work with it in the
2240
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2291
2241
  class GoogleRpcStatus
2292
2242
  include Google::Apis::Core::Hashable
2293
2243
 
@@ -551,6 +551,7 @@ module Google
551
551
  property :master_config, as: 'masterConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
552
552
 
553
553
  property :master_type, as: 'masterType'
554
+ property :max_running_time, as: 'maxRunningTime'
554
555
  collection :package_uris, as: 'packageUris'
555
556
  property :parameter_server_config, as: 'parameterServerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation
556
557
 
@@ -575,6 +576,7 @@ module Google
575
576
 
576
577
  property :completed_trial_count, :numeric_string => true, as: 'completedTrialCount'
577
578
  property :consumed_ml_units, as: 'consumedMLUnits'
579
+ property :hyperparameter_metric_tag, as: 'hyperparameterMetricTag'
578
580
  property :is_built_in_algorithm_job, as: 'isBuiltInAlgorithmJob'
579
581
  property :is_hyperparameter_tuning_job, as: 'isHyperparameterTuningJob'
580
582
  collection :trials, as: 'trials', class: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput, decorator: Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput::Representation
@@ -22,12 +22,15 @@ module Google
22
22
  #
23
23
  # Manages your Stackdriver Monitoring data and configurations. Most projects
24
24
  # must be associated with a Stackdriver account, with a few exceptions as noted
25
- # on the individual method pages.
25
+ # on the individual method pages. The table entries below are presented in
26
+ # alphabetical order, not in order of common use. For explanations of the
27
+ # concepts found in the table entries, read the Stackdriver Monitoring
28
+ # documentation.
26
29
  #
27
30
  # @see https://cloud.google.com/monitoring/api/
28
31
  module MonitoringV3
29
32
  VERSION = 'V3'
30
- REVISION = '20190526'
33
+ REVISION = '20190604'
31
34
 
32
35
  # View and manage your data across Google Cloud Platform services
33
36
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -344,38 +344,10 @@ module Google
344
344
 
345
345
  # The Status type defines a logical error model that is suitable for different
346
346
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
347
- # (https://github.com/grpc). The error model is designed to be:
348
- # Simple to use and understand for most users
349
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
350
- # three pieces of data: error code, error message, and error details. The error
351
- # code should be an enum value of google.rpc.Code, but it may accept additional
352
- # error codes if needed. The error message should be a developer-facing English
353
- # message that helps developers understand and resolve the error. If a localized
354
- # user-facing error message is needed, put the localized message in the error
355
- # details or localize it in the client. The optional error details may contain
356
- # arbitrary information about the error. There is a predefined set of error
357
- # detail types in the package google.rpc that can be used for common error
358
- # conditions.Language mappingThe Status message is the logical representation of
359
- # the error model, but it is not necessarily the actual wire format. When the
360
- # Status message is exposed in different client libraries and different wire
361
- # protocols, it can be mapped differently. For example, it will likely be mapped
362
- # to some exceptions in Java, but more likely mapped to some error codes in C.
363
- # Other usesThe error model and the Status message can be used in a variety of
364
- # environments, either with or without APIs, to provide a consistent developer
365
- # experience across different environments.Example uses of this error model
366
- # include:
367
- # Partial errors. If a service needs to return partial errors to the client, it
368
- # may embed the Status in the normal response to indicate the partial errors.
369
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
370
- # Status message for error reporting.
371
- # Batch operations. If a client uses batch request and batch response, the
372
- # Status message should be used directly inside batch response, one for each
373
- # error sub-response.
374
- # Asynchronous operations. If an API call embeds asynchronous operation results
375
- # in its response, the status of those operations should be represented directly
376
- # using the Status message.
377
- # Logging. If some API errors are stored in logs, the message Status could be
378
- # used directly after any stripping needed for security/privacy reasons.
347
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
348
+ # error code, error message, and error details.You can find out more about this
349
+ # error model and how to work with it in the API Design Guide (https://cloud.
350
+ # google.com/apis/design/errors).
379
351
  # Corresponds to the JSON property `error`
380
352
  # @return [Google::Apis::MonitoringV3::Status]
381
353
  attr_accessor :error
@@ -442,38 +414,10 @@ module Google
442
414
 
443
415
  # The Status type defines a logical error model that is suitable for different
444
416
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
445
- # (https://github.com/grpc). The error model is designed to be:
446
- # Simple to use and understand for most users
447
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
448
- # three pieces of data: error code, error message, and error details. The error
449
- # code should be an enum value of google.rpc.Code, but it may accept additional
450
- # error codes if needed. The error message should be a developer-facing English
451
- # message that helps developers understand and resolve the error. If a localized
452
- # user-facing error message is needed, put the localized message in the error
453
- # details or localize it in the client. The optional error details may contain
454
- # arbitrary information about the error. There is a predefined set of error
455
- # detail types in the package google.rpc that can be used for common error
456
- # conditions.Language mappingThe Status message is the logical representation of
457
- # the error model, but it is not necessarily the actual wire format. When the
458
- # Status message is exposed in different client libraries and different wire
459
- # protocols, it can be mapped differently. For example, it will likely be mapped
460
- # to some exceptions in Java, but more likely mapped to some error codes in C.
461
- # Other usesThe error model and the Status message can be used in a variety of
462
- # environments, either with or without APIs, to provide a consistent developer
463
- # experience across different environments.Example uses of this error model
464
- # include:
465
- # Partial errors. If a service needs to return partial errors to the client, it
466
- # may embed the Status in the normal response to indicate the partial errors.
467
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
468
- # Status message for error reporting.
469
- # Batch operations. If a client uses batch request and batch response, the
470
- # Status message should be used directly inside batch response, one for each
471
- # error sub-response.
472
- # Asynchronous operations. If an API call embeds asynchronous operation results
473
- # in its response, the status of those operations should be represented directly
474
- # using the Status message.
475
- # Logging. If some API errors are stored in logs, the message Status could be
476
- # used directly after any stripping needed for security/privacy reasons.
417
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
418
+ # error code, error message, and error details.You can find out more about this
419
+ # error model and how to work with it in the API Design Guide (https://cloud.
420
+ # google.com/apis/design/errors).
477
421
  # Corresponds to the JSON property `error`
478
422
  # @return [Google::Apis::MonitoringV3::Status]
479
423
  attr_accessor :error
@@ -2028,7 +1972,7 @@ module Google
2028
1972
  # the use of the labels "instance_id" and "zone" to identify particular VM
2029
1973
  # instances.Different APIs can support different monitored resource types. APIs
2030
1974
  # generally provide a list method that returns the monitored resource
2031
- # descriptors used by the API.
1975
+ # descriptors used by the API.Next ID: 10
2032
1976
  class MonitoredResourceDescriptor
2033
1977
  include Google::Apis::Core::Hashable
2034
1978
 
@@ -2482,38 +2426,10 @@ module Google
2482
2426
 
2483
2427
  # The Status type defines a logical error model that is suitable for different
2484
2428
  # programming environments, including REST APIs and RPC APIs. It is used by gRPC
2485
- # (https://github.com/grpc). The error model is designed to be:
2486
- # Simple to use and understand for most users
2487
- # Flexible enough to meet unexpected needsOverviewThe Status message contains
2488
- # three pieces of data: error code, error message, and error details. The error
2489
- # code should be an enum value of google.rpc.Code, but it may accept additional
2490
- # error codes if needed. The error message should be a developer-facing English
2491
- # message that helps developers understand and resolve the error. If a localized
2492
- # user-facing error message is needed, put the localized message in the error
2493
- # details or localize it in the client. The optional error details may contain
2494
- # arbitrary information about the error. There is a predefined set of error
2495
- # detail types in the package google.rpc that can be used for common error
2496
- # conditions.Language mappingThe Status message is the logical representation of
2497
- # the error model, but it is not necessarily the actual wire format. When the
2498
- # Status message is exposed in different client libraries and different wire
2499
- # protocols, it can be mapped differently. For example, it will likely be mapped
2500
- # to some exceptions in Java, but more likely mapped to some error codes in C.
2501
- # Other usesThe error model and the Status message can be used in a variety of
2502
- # environments, either with or without APIs, to provide a consistent developer
2503
- # experience across different environments.Example uses of this error model
2504
- # include:
2505
- # Partial errors. If a service needs to return partial errors to the client, it
2506
- # may embed the Status in the normal response to indicate the partial errors.
2507
- # Workflow errors. A typical workflow has multiple steps. Each step may have a
2508
- # Status message for error reporting.
2509
- # Batch operations. If a client uses batch request and batch response, the
2510
- # Status message should be used directly inside batch response, one for each
2511
- # error sub-response.
2512
- # Asynchronous operations. If an API call embeds asynchronous operation results
2513
- # in its response, the status of those operations should be represented directly
2514
- # using the Status message.
2515
- # Logging. If some API errors are stored in logs, the message Status could be
2516
- # used directly after any stripping needed for security/privacy reasons.
2429
+ # (https://github.com/grpc). Each Status message contains three pieces of data:
2430
+ # error code, error message, and error details.You can find out more about this
2431
+ # error model and how to work with it in the API Design Guide (https://cloud.
2432
+ # google.com/apis/design/errors).
2517
2433
  class Status
2518
2434
  include Google::Apis::Core::Hashable
2519
2435
 
@@ -24,7 +24,10 @@ module Google
24
24
  #
25
25
  # Manages your Stackdriver Monitoring data and configurations. Most projects
26
26
  # must be associated with a Stackdriver account, with a few exceptions as noted
27
- # on the individual method pages.
27
+ # on the individual method pages. The table entries below are presented in
28
+ # alphabetical order, not in order of common use. For explanations of the
29
+ # concepts found in the table entries, read the Stackdriver Monitoring
30
+ # documentation.
28
31
  #
29
32
  # @example
30
33
  # require 'google/apis/monitoring_v3'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/memorystore/docs/redis/
26
26
  module RedisV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190531'
28
+ REVISION = '20190607'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -80,7 +80,7 @@ module Google
80
80
  end
81
81
  end
82
82
 
83
- # The GCS location for the output content
83
+ # The Cloud Storage location for the output content
84
84
  class GcsDestination
85
85
  include Google::Apis::Core::Hashable
86
86
 
@@ -100,7 +100,7 @@ module Google
100
100
  end
101
101
  end
102
102
 
103
- # The GCS location for the input content
103
+ # The Cloud Storage location for the input content
104
104
  class GcsSource
105
105
  include Google::Apis::Core::Hashable
106
106
 
@@ -237,7 +237,7 @@ module Google
237
237
  class InputConfig
238
238
  include Google::Apis::Core::Hashable
239
239
 
240
- # The GCS location for the input content
240
+ # The Cloud Storage location for the input content
241
241
  # Corresponds to the JSON property `gcsSource`
242
242
  # @return [Google::Apis::RedisV1::GcsSource]
243
243
  attr_accessor :gcs_source
@@ -563,43 +563,10 @@ module Google
563
563
 
564
564
  # The `Status` type defines a logical error model that is suitable for
565
565
  # different programming environments, including REST APIs and RPC APIs. It is
566
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
567
- # - Simple to use and understand for most users
568
- # - Flexible enough to meet unexpected needs
569
- # # Overview
570
- # The `Status` message contains three pieces of data: error code, error
571
- # message, and error details. The error code should be an enum value of
572
- # google.rpc.Code, but it may accept additional error codes if needed. The
573
- # error message should be a developer-facing English message that helps
574
- # developers *understand* and *resolve* the error. If a localized user-facing
575
- # error message is needed, put the localized message in the error details or
576
- # localize it in the client. The optional error details may contain arbitrary
577
- # information about the error. There is a predefined set of error detail types
578
- # in the package `google.rpc` that can be used for common error conditions.
579
- # # Language mapping
580
- # The `Status` message is the logical representation of the error model, but it
581
- # is not necessarily the actual wire format. When the `Status` message is
582
- # exposed in different client libraries and different wire protocols, it can be
583
- # mapped differently. For example, it will likely be mapped to some exceptions
584
- # in Java, but more likely mapped to some error codes in C.
585
- # # Other uses
586
- # The error model and the `Status` message can be used in a variety of
587
- # environments, either with or without APIs, to provide a
588
- # consistent developer experience across different environments.
589
- # Example uses of this error model include:
590
- # - Partial errors. If a service needs to return partial errors to the client,
591
- # it may embed the `Status` in the normal response to indicate the partial
592
- # errors.
593
- # - Workflow errors. A typical workflow has multiple steps. Each step may
594
- # have a `Status` message for error reporting.
595
- # - Batch operations. If a client uses batch request and batch response, the
596
- # `Status` message should be used directly inside batch response, one for
597
- # each error sub-response.
598
- # - Asynchronous operations. If an API call embeds asynchronous operation
599
- # results in its response, the status of those operations should be
600
- # represented directly using the `Status` message.
601
- # - Logging. If some API errors are stored in logs, the message `Status` could
602
- # be used directly after any stripping needed for security/privacy reasons.
566
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
567
+ # three pieces of data: error code, error message, and error details.
568
+ # You can find out more about this error model and how to work with it in the
569
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
603
570
  # Corresponds to the JSON property `error`
604
571
  # @return [Google::Apis::RedisV1::Status]
605
572
  attr_accessor :error
@@ -657,7 +624,7 @@ module Google
657
624
  class OutputConfig
658
625
  include Google::Apis::Core::Hashable
659
626
 
660
- # The GCS location for the output content
627
+ # The Cloud Storage location for the output content
661
628
  # Corresponds to the JSON property `gcsDestination`
662
629
  # @return [Google::Apis::RedisV1::GcsDestination]
663
630
  attr_accessor :gcs_destination
@@ -674,43 +641,10 @@ module Google
674
641
 
675
642
  # The `Status` type defines a logical error model that is suitable for
676
643
  # different programming environments, including REST APIs and RPC APIs. It is
677
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
678
- # - Simple to use and understand for most users
679
- # - Flexible enough to meet unexpected needs
680
- # # Overview
681
- # The `Status` message contains three pieces of data: error code, error
682
- # message, and error details. The error code should be an enum value of
683
- # google.rpc.Code, but it may accept additional error codes if needed. The
684
- # error message should be a developer-facing English message that helps
685
- # developers *understand* and *resolve* the error. If a localized user-facing
686
- # error message is needed, put the localized message in the error details or
687
- # localize it in the client. The optional error details may contain arbitrary
688
- # information about the error. There is a predefined set of error detail types
689
- # in the package `google.rpc` that can be used for common error conditions.
690
- # # Language mapping
691
- # The `Status` message is the logical representation of the error model, but it
692
- # is not necessarily the actual wire format. When the `Status` message is
693
- # exposed in different client libraries and different wire protocols, it can be
694
- # mapped differently. For example, it will likely be mapped to some exceptions
695
- # in Java, but more likely mapped to some error codes in C.
696
- # # Other uses
697
- # The error model and the `Status` message can be used in a variety of
698
- # environments, either with or without APIs, to provide a
699
- # consistent developer experience across different environments.
700
- # Example uses of this error model include:
701
- # - Partial errors. If a service needs to return partial errors to the client,
702
- # it may embed the `Status` in the normal response to indicate the partial
703
- # errors.
704
- # - Workflow errors. A typical workflow has multiple steps. Each step may
705
- # have a `Status` message for error reporting.
706
- # - Batch operations. If a client uses batch request and batch response, the
707
- # `Status` message should be used directly inside batch response, one for
708
- # each error sub-response.
709
- # - Asynchronous operations. If an API call embeds asynchronous operation
710
- # results in its response, the status of those operations should be
711
- # represented directly using the `Status` message.
712
- # - Logging. If some API errors are stored in logs, the message `Status` could
713
- # be used directly after any stripping needed for security/privacy reasons.
644
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
645
+ # three pieces of data: error code, error message, and error details.
646
+ # You can find out more about this error model and how to work with it in the
647
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
714
648
  class Status
715
649
  include Google::Apis::Core::Hashable
716
650