google-api-client 0.30.1 → 0.30.2

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 (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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20190527'
30
+ REVISION = '20190531'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -71,43 +71,10 @@ module Google
71
71
 
72
72
  # The `Status` type defines a logical error model that is suitable for
73
73
  # different programming environments, including REST APIs and RPC APIs. It is
74
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
75
- # - Simple to use and understand for most users
76
- # - Flexible enough to meet unexpected needs
77
- # # Overview
78
- # The `Status` message contains three pieces of data: error code, error
79
- # message, and error details. The error code should be an enum value of
80
- # google.rpc.Code, but it may accept additional error codes if needed. The
81
- # error message should be a developer-facing English message that helps
82
- # developers *understand* and *resolve* the error. If a localized user-facing
83
- # error message is needed, put the localized message in the error details or
84
- # localize it in the client. The optional error details may contain arbitrary
85
- # information about the error. There is a predefined set of error detail types
86
- # in the package `google.rpc` that can be used for common error conditions.
87
- # # Language mapping
88
- # The `Status` message is the logical representation of the error model, but it
89
- # is not necessarily the actual wire format. When the `Status` message is
90
- # exposed in different client libraries and different wire protocols, it can be
91
- # mapped differently. For example, it will likely be mapped to some exceptions
92
- # in Java, but more likely mapped to some error codes in C.
93
- # # Other uses
94
- # The error model and the `Status` message can be used in a variety of
95
- # environments, either with or without APIs, to provide a
96
- # consistent developer experience across different environments.
97
- # Example uses of this error model include:
98
- # - Partial errors. If a service needs to return partial errors to the client,
99
- # it may embed the `Status` in the normal response to indicate the partial
100
- # errors.
101
- # - Workflow errors. A typical workflow has multiple steps. Each step may
102
- # have a `Status` message for error reporting.
103
- # - Batch operations. If a client uses batch request and batch response, the
104
- # `Status` message should be used directly inside batch response, one for
105
- # each error sub-response.
106
- # - Asynchronous operations. If an API call embeds asynchronous operation
107
- # results in its response, the status of those operations should be
108
- # represented directly using the `Status` message.
109
- # - Logging. If some API errors are stored in logs, the message `Status` could
110
- # be used directly after any stripping needed for security/privacy reasons.
74
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
75
+ # three pieces of data: error code, error message, and error details.
76
+ # You can find out more about this error model and how to work with it in the
77
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
111
78
  # Corresponds to the JSON property `error`
112
79
  # @return [Google::Apis::VisionV1p2beta1::Status]
113
80
  attr_accessor :error
@@ -1080,43 +1047,10 @@ module Google
1080
1047
 
1081
1048
  # The `Status` type defines a logical error model that is suitable for
1082
1049
  # different programming environments, including REST APIs and RPC APIs. It is
1083
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1084
- # - Simple to use and understand for most users
1085
- # - Flexible enough to meet unexpected needs
1086
- # # Overview
1087
- # The `Status` message contains three pieces of data: error code, error
1088
- # message, and error details. The error code should be an enum value of
1089
- # google.rpc.Code, but it may accept additional error codes if needed. The
1090
- # error message should be a developer-facing English message that helps
1091
- # developers *understand* and *resolve* the error. If a localized user-facing
1092
- # error message is needed, put the localized message in the error details or
1093
- # localize it in the client. The optional error details may contain arbitrary
1094
- # information about the error. There is a predefined set of error detail types
1095
- # in the package `google.rpc` that can be used for common error conditions.
1096
- # # Language mapping
1097
- # The `Status` message is the logical representation of the error model, but it
1098
- # is not necessarily the actual wire format. When the `Status` message is
1099
- # exposed in different client libraries and different wire protocols, it can be
1100
- # mapped differently. For example, it will likely be mapped to some exceptions
1101
- # in Java, but more likely mapped to some error codes in C.
1102
- # # Other uses
1103
- # The error model and the `Status` message can be used in a variety of
1104
- # environments, either with or without APIs, to provide a
1105
- # consistent developer experience across different environments.
1106
- # Example uses of this error model include:
1107
- # - Partial errors. If a service needs to return partial errors to the client,
1108
- # it may embed the `Status` in the normal response to indicate the partial
1109
- # errors.
1110
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1111
- # have a `Status` message for error reporting.
1112
- # - Batch operations. If a client uses batch request and batch response, the
1113
- # `Status` message should be used directly inside batch response, one for
1114
- # each error sub-response.
1115
- # - Asynchronous operations. If an API call embeds asynchronous operation
1116
- # results in its response, the status of those operations should be
1117
- # represented directly using the `Status` message.
1118
- # - Logging. If some API errors are stored in logs, the message `Status` could
1119
- # be used directly after any stripping needed for security/privacy reasons.
1050
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1051
+ # three pieces of data: error code, error message, and error details.
1052
+ # You can find out more about this error model and how to work with it in the
1053
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1120
1054
  # Corresponds to the JSON property `error`
1121
1055
  # @return [Google::Apis::VisionV1p2beta1::Status]
1122
1056
  attr_accessor :error
@@ -2935,43 +2869,10 @@ module Google
2935
2869
 
2936
2870
  # The `Status` type defines a logical error model that is suitable for
2937
2871
  # different programming environments, including REST APIs and RPC APIs. It is
2938
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2939
- # - Simple to use and understand for most users
2940
- # - Flexible enough to meet unexpected needs
2941
- # # Overview
2942
- # The `Status` message contains three pieces of data: error code, error
2943
- # message, and error details. The error code should be an enum value of
2944
- # google.rpc.Code, but it may accept additional error codes if needed. The
2945
- # error message should be a developer-facing English message that helps
2946
- # developers *understand* and *resolve* the error. If a localized user-facing
2947
- # error message is needed, put the localized message in the error details or
2948
- # localize it in the client. The optional error details may contain arbitrary
2949
- # information about the error. There is a predefined set of error detail types
2950
- # in the package `google.rpc` that can be used for common error conditions.
2951
- # # Language mapping
2952
- # The `Status` message is the logical representation of the error model, but it
2953
- # is not necessarily the actual wire format. When the `Status` message is
2954
- # exposed in different client libraries and different wire protocols, it can be
2955
- # mapped differently. For example, it will likely be mapped to some exceptions
2956
- # in Java, but more likely mapped to some error codes in C.
2957
- # # Other uses
2958
- # The error model and the `Status` message can be used in a variety of
2959
- # environments, either with or without APIs, to provide a
2960
- # consistent developer experience across different environments.
2961
- # Example uses of this error model include:
2962
- # - Partial errors. If a service needs to return partial errors to the client,
2963
- # it may embed the `Status` in the normal response to indicate the partial
2964
- # errors.
2965
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2966
- # have a `Status` message for error reporting.
2967
- # - Batch operations. If a client uses batch request and batch response, the
2968
- # `Status` message should be used directly inside batch response, one for
2969
- # each error sub-response.
2970
- # - Asynchronous operations. If an API call embeds asynchronous operation
2971
- # results in its response, the status of those operations should be
2972
- # represented directly using the `Status` message.
2973
- # - Logging. If some API errors are stored in logs, the message `Status` could
2974
- # be used directly after any stripping needed for security/privacy reasons.
2872
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2873
+ # three pieces of data: error code, error message, and error details.
2874
+ # You can find out more about this error model and how to work with it in the
2875
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2975
2876
  # Corresponds to the JSON property `error`
2976
2877
  # @return [Google::Apis::VisionV1p2beta1::Status]
2977
2878
  attr_accessor :error
@@ -5156,43 +5057,10 @@ module Google
5156
5057
 
5157
5058
  # The `Status` type defines a logical error model that is suitable for
5158
5059
  # different programming environments, including REST APIs and RPC APIs. It is
5159
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
5160
- # - Simple to use and understand for most users
5161
- # - Flexible enough to meet unexpected needs
5162
- # # Overview
5163
- # The `Status` message contains three pieces of data: error code, error
5164
- # message, and error details. The error code should be an enum value of
5165
- # google.rpc.Code, but it may accept additional error codes if needed. The
5166
- # error message should be a developer-facing English message that helps
5167
- # developers *understand* and *resolve* the error. If a localized user-facing
5168
- # error message is needed, put the localized message in the error details or
5169
- # localize it in the client. The optional error details may contain arbitrary
5170
- # information about the error. There is a predefined set of error detail types
5171
- # in the package `google.rpc` that can be used for common error conditions.
5172
- # # Language mapping
5173
- # The `Status` message is the logical representation of the error model, but it
5174
- # is not necessarily the actual wire format. When the `Status` message is
5175
- # exposed in different client libraries and different wire protocols, it can be
5176
- # mapped differently. For example, it will likely be mapped to some exceptions
5177
- # in Java, but more likely mapped to some error codes in C.
5178
- # # Other uses
5179
- # The error model and the `Status` message can be used in a variety of
5180
- # environments, either with or without APIs, to provide a
5181
- # consistent developer experience across different environments.
5182
- # Example uses of this error model include:
5183
- # - Partial errors. If a service needs to return partial errors to the client,
5184
- # it may embed the `Status` in the normal response to indicate the partial
5185
- # errors.
5186
- # - Workflow errors. A typical workflow has multiple steps. Each step may
5187
- # have a `Status` message for error reporting.
5188
- # - Batch operations. If a client uses batch request and batch response, the
5189
- # `Status` message should be used directly inside batch response, one for
5190
- # each error sub-response.
5191
- # - Asynchronous operations. If an API call embeds asynchronous operation
5192
- # results in its response, the status of those operations should be
5193
- # represented directly using the `Status` message.
5194
- # - Logging. If some API errors are stored in logs, the message `Status` could
5195
- # be used directly after any stripping needed for security/privacy reasons.
5060
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5061
+ # three pieces of data: error code, error message, and error details.
5062
+ # You can find out more about this error model and how to work with it in the
5063
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
5196
5064
  # Corresponds to the JSON property `error`
5197
5065
  # @return [Google::Apis::VisionV1p2beta1::Status]
5198
5066
  attr_accessor :error
@@ -7043,43 +6911,10 @@ module Google
7043
6911
 
7044
6912
  # The `Status` type defines a logical error model that is suitable for
7045
6913
  # different programming environments, including REST APIs and RPC APIs. It is
7046
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
7047
- # - Simple to use and understand for most users
7048
- # - Flexible enough to meet unexpected needs
7049
- # # Overview
7050
- # The `Status` message contains three pieces of data: error code, error
7051
- # message, and error details. The error code should be an enum value of
7052
- # google.rpc.Code, but it may accept additional error codes if needed. The
7053
- # error message should be a developer-facing English message that helps
7054
- # developers *understand* and *resolve* the error. If a localized user-facing
7055
- # error message is needed, put the localized message in the error details or
7056
- # localize it in the client. The optional error details may contain arbitrary
7057
- # information about the error. There is a predefined set of error detail types
7058
- # in the package `google.rpc` that can be used for common error conditions.
7059
- # # Language mapping
7060
- # The `Status` message is the logical representation of the error model, but it
7061
- # is not necessarily the actual wire format. When the `Status` message is
7062
- # exposed in different client libraries and different wire protocols, it can be
7063
- # mapped differently. For example, it will likely be mapped to some exceptions
7064
- # in Java, but more likely mapped to some error codes in C.
7065
- # # Other uses
7066
- # The error model and the `Status` message can be used in a variety of
7067
- # environments, either with or without APIs, to provide a
7068
- # consistent developer experience across different environments.
7069
- # Example uses of this error model include:
7070
- # - Partial errors. If a service needs to return partial errors to the client,
7071
- # it may embed the `Status` in the normal response to indicate the partial
7072
- # errors.
7073
- # - Workflow errors. A typical workflow has multiple steps. Each step may
7074
- # have a `Status` message for error reporting.
7075
- # - Batch operations. If a client uses batch request and batch response, the
7076
- # `Status` message should be used directly inside batch response, one for
7077
- # each error sub-response.
7078
- # - Asynchronous operations. If an API call embeds asynchronous operation
7079
- # results in its response, the status of those operations should be
7080
- # represented directly using the `Status` message.
7081
- # - Logging. If some API errors are stored in logs, the message `Status` could
7082
- # be used directly after any stripping needed for security/privacy reasons.
6914
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
6915
+ # three pieces of data: error code, error message, and error details.
6916
+ # You can find out more about this error model and how to work with it in the
6917
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
7083
6918
  # Corresponds to the JSON property `error`
7084
6919
  # @return [Google::Apis::VisionV1p2beta1::Status]
7085
6920
  attr_accessor :error
@@ -8969,43 +8804,10 @@ module Google
8969
8804
 
8970
8805
  # The `Status` type defines a logical error model that is suitable for
8971
8806
  # different programming environments, including REST APIs and RPC APIs. It is
8972
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
8973
- # - Simple to use and understand for most users
8974
- # - Flexible enough to meet unexpected needs
8975
- # # Overview
8976
- # The `Status` message contains three pieces of data: error code, error
8977
- # message, and error details. The error code should be an enum value of
8978
- # google.rpc.Code, but it may accept additional error codes if needed. The
8979
- # error message should be a developer-facing English message that helps
8980
- # developers *understand* and *resolve* the error. If a localized user-facing
8981
- # error message is needed, put the localized message in the error details or
8982
- # localize it in the client. The optional error details may contain arbitrary
8983
- # information about the error. There is a predefined set of error detail types
8984
- # in the package `google.rpc` that can be used for common error conditions.
8985
- # # Language mapping
8986
- # The `Status` message is the logical representation of the error model, but it
8987
- # is not necessarily the actual wire format. When the `Status` message is
8988
- # exposed in different client libraries and different wire protocols, it can be
8989
- # mapped differently. For example, it will likely be mapped to some exceptions
8990
- # in Java, but more likely mapped to some error codes in C.
8991
- # # Other uses
8992
- # The error model and the `Status` message can be used in a variety of
8993
- # environments, either with or without APIs, to provide a
8994
- # consistent developer experience across different environments.
8995
- # Example uses of this error model include:
8996
- # - Partial errors. If a service needs to return partial errors to the client,
8997
- # it may embed the `Status` in the normal response to indicate the partial
8998
- # errors.
8999
- # - Workflow errors. A typical workflow has multiple steps. Each step may
9000
- # have a `Status` message for error reporting.
9001
- # - Batch operations. If a client uses batch request and batch response, the
9002
- # `Status` message should be used directly inside batch response, one for
9003
- # each error sub-response.
9004
- # - Asynchronous operations. If an API call embeds asynchronous operation
9005
- # results in its response, the status of those operations should be
9006
- # represented directly using the `Status` message.
9007
- # - Logging. If some API errors are stored in logs, the message `Status` could
9008
- # be used directly after any stripping needed for security/privacy reasons.
8807
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
8808
+ # three pieces of data: error code, error message, and error details.
8809
+ # You can find out more about this error model and how to work with it in the
8810
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
9009
8811
  # Corresponds to the JSON property `error`
9010
8812
  # @return [Google::Apis::VisionV1p2beta1::Status]
9011
8813
  attr_accessor :error
@@ -11357,43 +11159,10 @@ module Google
11357
11159
 
11358
11160
  # The `Status` type defines a logical error model that is suitable for
11359
11161
  # different programming environments, including REST APIs and RPC APIs. It is
11360
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
11361
- # - Simple to use and understand for most users
11362
- # - Flexible enough to meet unexpected needs
11363
- # # Overview
11364
- # The `Status` message contains three pieces of data: error code, error
11365
- # message, and error details. The error code should be an enum value of
11366
- # google.rpc.Code, but it may accept additional error codes if needed. The
11367
- # error message should be a developer-facing English message that helps
11368
- # developers *understand* and *resolve* the error. If a localized user-facing
11369
- # error message is needed, put the localized message in the error details or
11370
- # localize it in the client. The optional error details may contain arbitrary
11371
- # information about the error. There is a predefined set of error detail types
11372
- # in the package `google.rpc` that can be used for common error conditions.
11373
- # # Language mapping
11374
- # The `Status` message is the logical representation of the error model, but it
11375
- # is not necessarily the actual wire format. When the `Status` message is
11376
- # exposed in different client libraries and different wire protocols, it can be
11377
- # mapped differently. For example, it will likely be mapped to some exceptions
11378
- # in Java, but more likely mapped to some error codes in C.
11379
- # # Other uses
11380
- # The error model and the `Status` message can be used in a variety of
11381
- # environments, either with or without APIs, to provide a
11382
- # consistent developer experience across different environments.
11383
- # Example uses of this error model include:
11384
- # - Partial errors. If a service needs to return partial errors to the client,
11385
- # it may embed the `Status` in the normal response to indicate the partial
11386
- # errors.
11387
- # - Workflow errors. A typical workflow has multiple steps. Each step may
11388
- # have a `Status` message for error reporting.
11389
- # - Batch operations. If a client uses batch request and batch response, the
11390
- # `Status` message should be used directly inside batch response, one for
11391
- # each error sub-response.
11392
- # - Asynchronous operations. If an API call embeds asynchronous operation
11393
- # results in its response, the status of those operations should be
11394
- # represented directly using the `Status` message.
11395
- # - Logging. If some API errors are stored in logs, the message `Status` could
11396
- # be used directly after any stripping needed for security/privacy reasons.
11162
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11163
+ # three pieces of data: error code, error message, and error details.
11164
+ # You can find out more about this error model and how to work with it in the
11165
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
11397
11166
  # Corresponds to the JSON property `error`
11398
11167
  # @return [Google::Apis::VisionV1p2beta1::Status]
11399
11168
  attr_accessor :error
@@ -11874,43 +11643,10 @@ module Google
11874
11643
 
11875
11644
  # The `Status` type defines a logical error model that is suitable for
11876
11645
  # different programming environments, including REST APIs and RPC APIs. It is
11877
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
11878
- # - Simple to use and understand for most users
11879
- # - Flexible enough to meet unexpected needs
11880
- # # Overview
11881
- # The `Status` message contains three pieces of data: error code, error
11882
- # message, and error details. The error code should be an enum value of
11883
- # google.rpc.Code, but it may accept additional error codes if needed. The
11884
- # error message should be a developer-facing English message that helps
11885
- # developers *understand* and *resolve* the error. If a localized user-facing
11886
- # error message is needed, put the localized message in the error details or
11887
- # localize it in the client. The optional error details may contain arbitrary
11888
- # information about the error. There is a predefined set of error detail types
11889
- # in the package `google.rpc` that can be used for common error conditions.
11890
- # # Language mapping
11891
- # The `Status` message is the logical representation of the error model, but it
11892
- # is not necessarily the actual wire format. When the `Status` message is
11893
- # exposed in different client libraries and different wire protocols, it can be
11894
- # mapped differently. For example, it will likely be mapped to some exceptions
11895
- # in Java, but more likely mapped to some error codes in C.
11896
- # # Other uses
11897
- # The error model and the `Status` message can be used in a variety of
11898
- # environments, either with or without APIs, to provide a
11899
- # consistent developer experience across different environments.
11900
- # Example uses of this error model include:
11901
- # - Partial errors. If a service needs to return partial errors to the client,
11902
- # it may embed the `Status` in the normal response to indicate the partial
11903
- # errors.
11904
- # - Workflow errors. A typical workflow has multiple steps. Each step may
11905
- # have a `Status` message for error reporting.
11906
- # - Batch operations. If a client uses batch request and batch response, the
11907
- # `Status` message should be used directly inside batch response, one for
11908
- # each error sub-response.
11909
- # - Asynchronous operations. If an API call embeds asynchronous operation
11910
- # results in its response, the status of those operations should be
11911
- # represented directly using the `Status` message.
11912
- # - Logging. If some API errors are stored in logs, the message `Status` could
11913
- # be used directly after any stripping needed for security/privacy reasons.
11646
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
11647
+ # three pieces of data: error code, error message, and error details.
11648
+ # You can find out more about this error model and how to work with it in the
11649
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
11914
11650
  class Status
11915
11651
  include Google::Apis::Core::Hashable
11916
11652
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/analytics
26
26
  module YoutubeAnalyticsV2
27
27
  VERSION = 'V2'
28
- REVISION = '20180601'
28
+ REVISION = '20190531'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -18,14 +18,14 @@ require 'google/apis/youtube_partner_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Youtube Content ID API
21
+ # YouTube Content ID API
22
22
  #
23
23
  # API for YouTube partners. To use this API a YouTube CMS account is required.
24
24
  #
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190502'
28
+ REVISION = '20190603'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module YoutubePartnerV1
23
- # Youtube Content ID API
23
+ # YouTube Content ID API
24
24
  #
25
25
  # API for YouTube partners. To use this API a YouTube CMS account is required.
26
26
  #
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.30.1'.freeze
18
+ VERSION = '0.30.2'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.1
4
+ version: 0.30.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-06-03 00:00:00.000000000 Z
14
+ date: 2019-06-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -984,6 +984,10 @@ files:
984
984
  - generated/google/apis/securitycenter_v1beta1/classes.rb
985
985
  - generated/google/apis/securitycenter_v1beta1/representations.rb
986
986
  - generated/google/apis/securitycenter_v1beta1/service.rb
987
+ - generated/google/apis/securitycenter_v1p1alpha1.rb
988
+ - generated/google/apis/securitycenter_v1p1alpha1/classes.rb
989
+ - generated/google/apis/securitycenter_v1p1alpha1/representations.rb
990
+ - generated/google/apis/securitycenter_v1p1alpha1/service.rb
987
991
  - generated/google/apis/servicebroker_v1.rb
988
992
  - generated/google/apis/servicebroker_v1/classes.rb
989
993
  - generated/google/apis/servicebroker_v1/representations.rb