google-api-client 0.30.0 → 0.30.1

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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +8 -74
  5. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +8 -74
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +16 -0
  10. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  11. data/generated/google/apis/cloudidentity_v1/classes.rb +8 -74
  12. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  13. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +8 -74
  14. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  15. data/generated/google/apis/cloudsearch_v1/classes.rb +11 -0
  16. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  17. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  18. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +9 -6
  19. data/generated/google/apis/compute_alpha.rb +1 -1
  20. data/generated/google/apis/compute_alpha/classes.rb +255 -155
  21. data/generated/google/apis/compute_alpha/representations.rb +4 -3
  22. data/generated/google/apis/compute_alpha/service.rb +11 -4
  23. data/generated/google/apis/compute_beta.rb +1 -1
  24. data/generated/google/apis/compute_beta/classes.rb +2818 -235
  25. data/generated/google/apis/compute_beta/representations.rb +957 -0
  26. data/generated/google/apis/compute_beta/service.rb +2371 -475
  27. data/generated/google/apis/compute_v1.rb +1 -1
  28. data/generated/google/apis/compute_v1/classes.rb +239 -92
  29. data/generated/google/apis/compute_v1/representations.rb +19 -0
  30. data/generated/google/apis/compute_v1/service.rb +4 -2
  31. data/generated/google/apis/container_v1beta1.rb +1 -1
  32. data/generated/google/apis/container_v1beta1/classes.rb +24 -0
  33. data/generated/google/apis/container_v1beta1/representations.rb +3 -0
  34. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  35. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  36. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -0
  37. data/generated/google/apis/content_v2.rb +1 -1
  38. data/generated/google/apis/content_v2/classes.rb +1 -1
  39. data/generated/google/apis/content_v2_1.rb +1 -1
  40. data/generated/google/apis/content_v2_1/classes.rb +1 -1
  41. data/generated/google/apis/dialogflow_v2.rb +1 -1
  42. data/generated/google/apis/dialogflow_v2/classes.rb +3 -4
  43. data/generated/google/apis/dlp_v2.rb +1 -1
  44. data/generated/google/apis/dlp_v2/classes.rb +44 -0
  45. data/generated/google/apis/dlp_v2/representations.rb +29 -0
  46. data/generated/google/apis/docs_v1.rb +1 -1
  47. data/generated/google/apis/docs_v1/classes.rb +0 -10
  48. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  49. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  50. data/generated/google/apis/healthcare_v1alpha2/classes.rb +7 -6
  51. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  52. data/generated/google/apis/healthcare_v1beta1/classes.rb +1 -1
  53. data/generated/google/apis/jobs_v2.rb +1 -1
  54. data/generated/google/apis/jobs_v2/classes.rb +2 -2
  55. data/generated/google/apis/jobs_v3.rb +1 -1
  56. data/generated/google/apis/jobs_v3/classes.rb +4 -3
  57. data/generated/google/apis/logging_v2.rb +1 -1
  58. data/generated/google/apis/logging_v2/classes.rb +4 -1
  59. data/generated/google/apis/ml_v1.rb +1 -1
  60. data/generated/google/apis/ml_v1/classes.rb +6 -0
  61. data/generated/google/apis/ml_v1/representations.rb +1 -0
  62. data/generated/google/apis/monitoring_v3.rb +1 -1
  63. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  64. data/generated/google/apis/redis_v1.rb +1 -1
  65. data/generated/google/apis/redis_v1/classes.rb +125 -0
  66. data/generated/google/apis/redis_v1/representations.rb +83 -0
  67. data/generated/google/apis/redis_v1/service.rb +78 -0
  68. data/generated/google/apis/redis_v1beta1.rb +1 -1
  69. data/generated/google/apis/redis_v1beta1/classes.rb +125 -0
  70. data/generated/google/apis/redis_v1beta1/representations.rb +83 -0
  71. data/generated/google/apis/redis_v1beta1/service.rb +78 -0
  72. data/generated/google/apis/securitycenter_v1.rb +1 -1
  73. data/generated/google/apis/securitycenter_v1/classes.rb +10 -76
  74. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  75. data/generated/google/apis/securitycenter_v1beta1/classes.rb +10 -76
  76. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  77. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -74
  78. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  79. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -74
  80. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  81. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -74
  82. data/generated/google/apis/serviceusage_v1.rb +1 -1
  83. data/generated/google/apis/serviceusage_v1/classes.rb +8 -74
  84. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  85. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -74
  86. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  87. data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -0
  88. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  89. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  90. data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -111
  91. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  92. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -74
  93. data/generated/google/apis/vision_v1.rb +1 -1
  94. data/generated/google/apis/vision_v1/classes.rb +36 -20
  95. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  96. data/generated/google/apis/vision_v1p1beta1/classes.rb +36 -20
  97. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  98. data/generated/google/apis/vision_v1p2beta1/classes.rb +36 -20
  99. data/lib/google/apis/version.rb +1 -1
  100. metadata +2 -2
@@ -2302,43 +2302,10 @@ module Google
2302
2302
 
2303
2303
  # The `Status` type defines a logical error model that is suitable for
2304
2304
  # different programming environments, including REST APIs and RPC APIs. It is
2305
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2306
- # - Simple to use and understand for most users
2307
- # - Flexible enough to meet unexpected needs
2308
- # # Overview
2309
- # The `Status` message contains three pieces of data: error code, error
2310
- # message, and error details. The error code should be an enum value of
2311
- # google.rpc.Code, but it may accept additional error codes if needed. The
2312
- # error message should be a developer-facing English message that helps
2313
- # developers *understand* and *resolve* the error. If a localized user-facing
2314
- # error message is needed, put the localized message in the error details or
2315
- # localize it in the client. The optional error details may contain arbitrary
2316
- # information about the error. There is a predefined set of error detail types
2317
- # in the package `google.rpc` that can be used for common error conditions.
2318
- # # Language mapping
2319
- # The `Status` message is the logical representation of the error model, but it
2320
- # is not necessarily the actual wire format. When the `Status` message is
2321
- # exposed in different client libraries and different wire protocols, it can be
2322
- # mapped differently. For example, it will likely be mapped to some exceptions
2323
- # in Java, but more likely mapped to some error codes in C.
2324
- # # Other uses
2325
- # The error model and the `Status` message can be used in a variety of
2326
- # environments, either with or without APIs, to provide a
2327
- # consistent developer experience across different environments.
2328
- # Example uses of this error model include:
2329
- # - Partial errors. If a service needs to return partial errors to the client,
2330
- # it may embed the `Status` in the normal response to indicate the partial
2331
- # errors.
2332
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2333
- # have a `Status` message for error reporting.
2334
- # - Batch operations. If a client uses batch request and batch response, the
2335
- # `Status` message should be used directly inside batch response, one for
2336
- # each error sub-response.
2337
- # - Asynchronous operations. If an API call embeds asynchronous operation
2338
- # results in its response, the status of those operations should be
2339
- # represented directly using the `Status` message.
2340
- # - Logging. If some API errors are stored in logs, the message `Status` could
2341
- # be used directly after any stripping needed for security/privacy reasons.
2305
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2306
+ # three pieces of data: error code, error message, and error details.
2307
+ # You can find out more about this error model and how to work with it in the
2308
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2342
2309
  # Corresponds to the JSON property `error`
2343
2310
  # @return [Google::Apis::ServicenetworkingV1beta::Status]
2344
2311
  attr_accessor :error
@@ -3192,43 +3159,10 @@ module Google
3192
3159
 
3193
3160
  # The `Status` type defines a logical error model that is suitable for
3194
3161
  # different programming environments, including REST APIs and RPC APIs. It is
3195
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3196
- # - Simple to use and understand for most users
3197
- # - Flexible enough to meet unexpected needs
3198
- # # Overview
3199
- # The `Status` message contains three pieces of data: error code, error
3200
- # message, and error details. The error code should be an enum value of
3201
- # google.rpc.Code, but it may accept additional error codes if needed. The
3202
- # error message should be a developer-facing English message that helps
3203
- # developers *understand* and *resolve* the error. If a localized user-facing
3204
- # error message is needed, put the localized message in the error details or
3205
- # localize it in the client. The optional error details may contain arbitrary
3206
- # information about the error. There is a predefined set of error detail types
3207
- # in the package `google.rpc` that can be used for common error conditions.
3208
- # # Language mapping
3209
- # The `Status` message is the logical representation of the error model, but it
3210
- # is not necessarily the actual wire format. When the `Status` message is
3211
- # exposed in different client libraries and different wire protocols, it can be
3212
- # mapped differently. For example, it will likely be mapped to some exceptions
3213
- # in Java, but more likely mapped to some error codes in C.
3214
- # # Other uses
3215
- # The error model and the `Status` message can be used in a variety of
3216
- # environments, either with or without APIs, to provide a
3217
- # consistent developer experience across different environments.
3218
- # Example uses of this error model include:
3219
- # - Partial errors. If a service needs to return partial errors to the client,
3220
- # it may embed the `Status` in the normal response to indicate the partial
3221
- # errors.
3222
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3223
- # have a `Status` message for error reporting.
3224
- # - Batch operations. If a client uses batch request and batch response, the
3225
- # `Status` message should be used directly inside batch response, one for
3226
- # each error sub-response.
3227
- # - Asynchronous operations. If an API call embeds asynchronous operation
3228
- # results in its response, the status of those operations should be
3229
- # represented directly using the `Status` message.
3230
- # - Logging. If some API errors are stored in logs, the message `Status` could
3231
- # be used directly after any stripping needed for security/privacy reasons.
3162
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3163
+ # three pieces of data: error code, error message, and error details.
3164
+ # You can find out more about this error model and how to work with it in the
3165
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3232
3166
  class Status
3233
3167
  include Google::Apis::Core::Hashable
3234
3168
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190511'
30
+ REVISION = '20190530'
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'
@@ -3056,43 +3056,10 @@ module Google
3056
3056
 
3057
3057
  # The `Status` type defines a logical error model that is suitable for
3058
3058
  # different programming environments, including REST APIs and RPC APIs. It is
3059
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3060
- # - Simple to use and understand for most users
3061
- # - Flexible enough to meet unexpected needs
3062
- # # Overview
3063
- # The `Status` message contains three pieces of data: error code, error
3064
- # message, and error details. The error code should be an enum value of
3065
- # google.rpc.Code, but it may accept additional error codes if needed. The
3066
- # error message should be a developer-facing English message that helps
3067
- # developers *understand* and *resolve* the error. If a localized user-facing
3068
- # error message is needed, put the localized message in the error details or
3069
- # localize it in the client. The optional error details may contain arbitrary
3070
- # information about the error. There is a predefined set of error detail types
3071
- # in the package `google.rpc` that can be used for common error conditions.
3072
- # # Language mapping
3073
- # The `Status` message is the logical representation of the error model, but it
3074
- # is not necessarily the actual wire format. When the `Status` message is
3075
- # exposed in different client libraries and different wire protocols, it can be
3076
- # mapped differently. For example, it will likely be mapped to some exceptions
3077
- # in Java, but more likely mapped to some error codes in C.
3078
- # # Other uses
3079
- # The error model and the `Status` message can be used in a variety of
3080
- # environments, either with or without APIs, to provide a
3081
- # consistent developer experience across different environments.
3082
- # Example uses of this error model include:
3083
- # - Partial errors. If a service needs to return partial errors to the client,
3084
- # it may embed the `Status` in the normal response to indicate the partial
3085
- # errors.
3086
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3087
- # have a `Status` message for error reporting.
3088
- # - Batch operations. If a client uses batch request and batch response, the
3089
- # `Status` message should be used directly inside batch response, one for
3090
- # each error sub-response.
3091
- # - Asynchronous operations. If an API call embeds asynchronous operation
3092
- # results in its response, the status of those operations should be
3093
- # represented directly using the `Status` message.
3094
- # - Logging. If some API errors are stored in logs, the message `Status` could
3095
- # be used directly after any stripping needed for security/privacy reasons.
3059
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3060
+ # three pieces of data: error code, error message, and error details.
3061
+ # You can find out more about this error model and how to work with it in the
3062
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3096
3063
  # Corresponds to the JSON property `error`
3097
3064
  # @return [Google::Apis::ServiceusageV1::Status]
3098
3065
  attr_accessor :error
@@ -3516,43 +3483,10 @@ module Google
3516
3483
 
3517
3484
  # The `Status` type defines a logical error model that is suitable for
3518
3485
  # different programming environments, including REST APIs and RPC APIs. It is
3519
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3520
- # - Simple to use and understand for most users
3521
- # - Flexible enough to meet unexpected needs
3522
- # # Overview
3523
- # The `Status` message contains three pieces of data: error code, error
3524
- # message, and error details. The error code should be an enum value of
3525
- # google.rpc.Code, but it may accept additional error codes if needed. The
3526
- # error message should be a developer-facing English message that helps
3527
- # developers *understand* and *resolve* the error. If a localized user-facing
3528
- # error message is needed, put the localized message in the error details or
3529
- # localize it in the client. The optional error details may contain arbitrary
3530
- # information about the error. There is a predefined set of error detail types
3531
- # in the package `google.rpc` that can be used for common error conditions.
3532
- # # Language mapping
3533
- # The `Status` message is the logical representation of the error model, but it
3534
- # is not necessarily the actual wire format. When the `Status` message is
3535
- # exposed in different client libraries and different wire protocols, it can be
3536
- # mapped differently. For example, it will likely be mapped to some exceptions
3537
- # in Java, but more likely mapped to some error codes in C.
3538
- # # Other uses
3539
- # The error model and the `Status` message can be used in a variety of
3540
- # environments, either with or without APIs, to provide a
3541
- # consistent developer experience across different environments.
3542
- # Example uses of this error model include:
3543
- # - Partial errors. If a service needs to return partial errors to the client,
3544
- # it may embed the `Status` in the normal response to indicate the partial
3545
- # errors.
3546
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3547
- # have a `Status` message for error reporting.
3548
- # - Batch operations. If a client uses batch request and batch response, the
3549
- # `Status` message should be used directly inside batch response, one for
3550
- # each error sub-response.
3551
- # - Asynchronous operations. If an API call embeds asynchronous operation
3552
- # results in its response, the status of those operations should be
3553
- # represented directly using the `Status` message.
3554
- # - Logging. If some API errors are stored in logs, the message `Status` could
3555
- # be used directly after any stripping needed for security/privacy reasons.
3486
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3487
+ # three pieces of data: error code, error message, and error details.
3488
+ # You can find out more about this error model and how to work with it in the
3489
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3556
3490
  class Status
3557
3491
  include Google::Apis::Core::Hashable
3558
3492
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190507'
30
+ REVISION = '20190530'
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'
@@ -3032,43 +3032,10 @@ module Google
3032
3032
 
3033
3033
  # The `Status` type defines a logical error model that is suitable for
3034
3034
  # different programming environments, including REST APIs and RPC APIs. It is
3035
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3036
- # - Simple to use and understand for most users
3037
- # - Flexible enough to meet unexpected needs
3038
- # # Overview
3039
- # The `Status` message contains three pieces of data: error code, error
3040
- # message, and error details. The error code should be an enum value of
3041
- # google.rpc.Code, but it may accept additional error codes if needed. The
3042
- # error message should be a developer-facing English message that helps
3043
- # developers *understand* and *resolve* the error. If a localized user-facing
3044
- # error message is needed, put the localized message in the error details or
3045
- # localize it in the client. The optional error details may contain arbitrary
3046
- # information about the error. There is a predefined set of error detail types
3047
- # in the package `google.rpc` that can be used for common error conditions.
3048
- # # Language mapping
3049
- # The `Status` message is the logical representation of the error model, but it
3050
- # is not necessarily the actual wire format. When the `Status` message is
3051
- # exposed in different client libraries and different wire protocols, it can be
3052
- # mapped differently. For example, it will likely be mapped to some exceptions
3053
- # in Java, but more likely mapped to some error codes in C.
3054
- # # Other uses
3055
- # The error model and the `Status` message can be used in a variety of
3056
- # environments, either with or without APIs, to provide a
3057
- # consistent developer experience across different environments.
3058
- # Example uses of this error model include:
3059
- # - Partial errors. If a service needs to return partial errors to the client,
3060
- # it may embed the `Status` in the normal response to indicate the partial
3061
- # errors.
3062
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3063
- # have a `Status` message for error reporting.
3064
- # - Batch operations. If a client uses batch request and batch response, the
3065
- # `Status` message should be used directly inside batch response, one for
3066
- # each error sub-response.
3067
- # - Asynchronous operations. If an API call embeds asynchronous operation
3068
- # results in its response, the status of those operations should be
3069
- # represented directly using the `Status` message.
3070
- # - Logging. If some API errors are stored in logs, the message `Status` could
3071
- # be used directly after any stripping needed for security/privacy reasons.
3035
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3036
+ # three pieces of data: error code, error message, and error details.
3037
+ # You can find out more about this error model and how to work with it in the
3038
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3072
3039
  # Corresponds to the JSON property `error`
3073
3040
  # @return [Google::Apis::ServiceusageV1beta1::Status]
3074
3041
  attr_accessor :error
@@ -3697,43 +3664,10 @@ module Google
3697
3664
 
3698
3665
  # The `Status` type defines a logical error model that is suitable for
3699
3666
  # different programming environments, including REST APIs and RPC APIs. It is
3700
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
3701
- # - Simple to use and understand for most users
3702
- # - Flexible enough to meet unexpected needs
3703
- # # Overview
3704
- # The `Status` message contains three pieces of data: error code, error
3705
- # message, and error details. The error code should be an enum value of
3706
- # google.rpc.Code, but it may accept additional error codes if needed. The
3707
- # error message should be a developer-facing English message that helps
3708
- # developers *understand* and *resolve* the error. If a localized user-facing
3709
- # error message is needed, put the localized message in the error details or
3710
- # localize it in the client. The optional error details may contain arbitrary
3711
- # information about the error. There is a predefined set of error detail types
3712
- # in the package `google.rpc` that can be used for common error conditions.
3713
- # # Language mapping
3714
- # The `Status` message is the logical representation of the error model, but it
3715
- # is not necessarily the actual wire format. When the `Status` message is
3716
- # exposed in different client libraries and different wire protocols, it can be
3717
- # mapped differently. For example, it will likely be mapped to some exceptions
3718
- # in Java, but more likely mapped to some error codes in C.
3719
- # # Other uses
3720
- # The error model and the `Status` message can be used in a variety of
3721
- # environments, either with or without APIs, to provide a
3722
- # consistent developer experience across different environments.
3723
- # Example uses of this error model include:
3724
- # - Partial errors. If a service needs to return partial errors to the client,
3725
- # it may embed the `Status` in the normal response to indicate the partial
3726
- # errors.
3727
- # - Workflow errors. A typical workflow has multiple steps. Each step may
3728
- # have a `Status` message for error reporting.
3729
- # - Batch operations. If a client uses batch request and batch response, the
3730
- # `Status` message should be used directly inside batch response, one for
3731
- # each error sub-response.
3732
- # - Asynchronous operations. If an API call embeds asynchronous operation
3733
- # results in its response, the status of those operations should be
3734
- # represented directly using the `Status` message.
3735
- # - Logging. If some API errors are stored in logs, the message `Status` could
3736
- # be used directly after any stripping needed for security/privacy reasons.
3667
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3668
+ # three pieces of data: error code, error message, and error details.
3669
+ # You can find out more about this error model and how to work with it in the
3670
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3737
3671
  class Status
3738
3672
  include Google::Apis::Core::Hashable
3739
3673
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
26
26
  module SpeechV1p1beta1
27
27
  VERSION = 'V1p1beta1'
28
- REVISION = '20190510'
28
+ REVISION = '20190524'
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'
@@ -691,6 +691,18 @@ module Google
691
691
  class SpeechContext
692
692
  include Google::Apis::Core::Hashable
693
693
 
694
+ # Hint Boost. Positive value will increase the probability that a specific
695
+ # phrase will be recognized over other similar sounding phrases. The higher
696
+ # the boost, the higher the chance of false positive recognition as well.
697
+ # Negative boost values would correspond to anti-biasing. Anti-biasing is not
698
+ # enabled, so negative boost will simply be ignored. Though `boost` can
699
+ # accept a wide range of positive values, most use cases are best served with
700
+ # values between 0 and 20. We recommend using a binary search approach to
701
+ # finding the optimal value for your use case.
702
+ # Corresponds to the JSON property `boost`
703
+ # @return [Float]
704
+ attr_accessor :boost
705
+
694
706
  # *Optional* A list of strings containing words and phrases "hints" so that
695
707
  # the speech recognition is more likely to recognize them. This can be used
696
708
  # to improve the accuracy for specific words and phrases, for example, if
@@ -707,6 +719,7 @@ module Google
707
719
 
708
720
  # Update properties of this object
709
721
  def update!(**args)
722
+ @boost = args[:boost] if args.key?(:boost)
710
723
  @phrases = args[:phrases] if args.key?(:phrases)
711
724
  end
712
725
  end
@@ -247,6 +247,7 @@ module Google
247
247
  class SpeechContext
248
248
  # @private
249
249
  class Representation < Google::Apis::Core::JsonRepresentation
250
+ property :boost, as: 'boost'
250
251
  collection :phrases, as: 'phrases'
251
252
  end
252
253
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://developers.google.com/streetview/publish/
28
28
  module StreetviewpublishV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190503'
30
+ REVISION = '20190529'
31
31
 
32
32
  # Publish and manage your 360 photos on Google Street View
33
33
  AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
@@ -268,43 +268,10 @@ module Google
268
268
 
269
269
  # The `Status` type defines a logical error model that is suitable for
270
270
  # different programming environments, including REST APIs and RPC APIs. It is
271
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
272
- # - Simple to use and understand for most users
273
- # - Flexible enough to meet unexpected needs
274
- # # Overview
275
- # The `Status` message contains three pieces of data: error code, error
276
- # message, and error details. The error code should be an enum value of
277
- # google.rpc.Code, but it may accept additional error codes if needed. The
278
- # error message should be a developer-facing English message that helps
279
- # developers *understand* and *resolve* the error. If a localized user-facing
280
- # error message is needed, put the localized message in the error details or
281
- # localize it in the client. The optional error details may contain arbitrary
282
- # information about the error. There is a predefined set of error detail types
283
- # in the package `google.rpc` that can be used for common error conditions.
284
- # # Language mapping
285
- # The `Status` message is the logical representation of the error model, but it
286
- # is not necessarily the actual wire format. When the `Status` message is
287
- # exposed in different client libraries and different wire protocols, it can be
288
- # mapped differently. For example, it will likely be mapped to some exceptions
289
- # in Java, but more likely mapped to some error codes in C.
290
- # # Other uses
291
- # The error model and the `Status` message can be used in a variety of
292
- # environments, either with or without APIs, to provide a
293
- # consistent developer experience across different environments.
294
- # Example uses of this error model include:
295
- # - Partial errors. If a service needs to return partial errors to the client,
296
- # it may embed the `Status` in the normal response to indicate the partial
297
- # errors.
298
- # - Workflow errors. A typical workflow has multiple steps. Each step may
299
- # have a `Status` message for error reporting.
300
- # - Batch operations. If a client uses batch request and batch response, the
301
- # `Status` message should be used directly inside batch response, one for
302
- # each error sub-response.
303
- # - Asynchronous operations. If an API call embeds asynchronous operation
304
- # results in its response, the status of those operations should be
305
- # represented directly using the `Status` message.
306
- # - Logging. If some API errors are stored in logs, the message `Status` could
307
- # be used directly after any stripping needed for security/privacy reasons.
271
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
272
+ # three pieces of data: error code, error message, and error details.
273
+ # You can find out more about this error model and how to work with it in the
274
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
308
275
  # Corresponds to the JSON property `error`
309
276
  # @return [Google::Apis::StreetviewpublishV1::Status]
310
277
  attr_accessor :error
@@ -478,43 +445,10 @@ module Google
478
445
 
479
446
  # The `Status` type defines a logical error model that is suitable for
480
447
  # different programming environments, including REST APIs and RPC APIs. It is
481
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
482
- # - Simple to use and understand for most users
483
- # - Flexible enough to meet unexpected needs
484
- # # Overview
485
- # The `Status` message contains three pieces of data: error code, error
486
- # message, and error details. The error code should be an enum value of
487
- # google.rpc.Code, but it may accept additional error codes if needed. The
488
- # error message should be a developer-facing English message that helps
489
- # developers *understand* and *resolve* the error. If a localized user-facing
490
- # error message is needed, put the localized message in the error details or
491
- # localize it in the client. The optional error details may contain arbitrary
492
- # information about the error. There is a predefined set of error detail types
493
- # in the package `google.rpc` that can be used for common error conditions.
494
- # # Language mapping
495
- # The `Status` message is the logical representation of the error model, but it
496
- # is not necessarily the actual wire format. When the `Status` message is
497
- # exposed in different client libraries and different wire protocols, it can be
498
- # mapped differently. For example, it will likely be mapped to some exceptions
499
- # in Java, but more likely mapped to some error codes in C.
500
- # # Other uses
501
- # The error model and the `Status` message can be used in a variety of
502
- # environments, either with or without APIs, to provide a
503
- # consistent developer experience across different environments.
504
- # Example uses of this error model include:
505
- # - Partial errors. If a service needs to return partial errors to the client,
506
- # it may embed the `Status` in the normal response to indicate the partial
507
- # errors.
508
- # - Workflow errors. A typical workflow has multiple steps. Each step may
509
- # have a `Status` message for error reporting.
510
- # - Batch operations. If a client uses batch request and batch response, the
511
- # `Status` message should be used directly inside batch response, one for
512
- # each error sub-response.
513
- # - Asynchronous operations. If an API call embeds asynchronous operation
514
- # results in its response, the status of those operations should be
515
- # represented directly using the `Status` message.
516
- # - Logging. If some API errors are stored in logs, the message `Status` could
517
- # be used directly after any stripping needed for security/privacy reasons.
448
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
449
+ # three pieces of data: error code, error message, and error details.
450
+ # You can find out more about this error model and how to work with it in the
451
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
518
452
  # Corresponds to the JSON property `status`
519
453
  # @return [Google::Apis::StreetviewpublishV1::Status]
520
454
  attr_accessor :status
@@ -638,43 +572,10 @@ module Google
638
572
 
639
573
  # The `Status` type defines a logical error model that is suitable for
640
574
  # different programming environments, including REST APIs and RPC APIs. It is
641
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
642
- # - Simple to use and understand for most users
643
- # - Flexible enough to meet unexpected needs
644
- # # Overview
645
- # The `Status` message contains three pieces of data: error code, error
646
- # message, and error details. The error code should be an enum value of
647
- # google.rpc.Code, but it may accept additional error codes if needed. The
648
- # error message should be a developer-facing English message that helps
649
- # developers *understand* and *resolve* the error. If a localized user-facing
650
- # error message is needed, put the localized message in the error details or
651
- # localize it in the client. The optional error details may contain arbitrary
652
- # information about the error. There is a predefined set of error detail types
653
- # in the package `google.rpc` that can be used for common error conditions.
654
- # # Language mapping
655
- # The `Status` message is the logical representation of the error model, but it
656
- # is not necessarily the actual wire format. When the `Status` message is
657
- # exposed in different client libraries and different wire protocols, it can be
658
- # mapped differently. For example, it will likely be mapped to some exceptions
659
- # in Java, but more likely mapped to some error codes in C.
660
- # # Other uses
661
- # The error model and the `Status` message can be used in a variety of
662
- # environments, either with or without APIs, to provide a
663
- # consistent developer experience across different environments.
664
- # Example uses of this error model include:
665
- # - Partial errors. If a service needs to return partial errors to the client,
666
- # it may embed the `Status` in the normal response to indicate the partial
667
- # errors.
668
- # - Workflow errors. A typical workflow has multiple steps. Each step may
669
- # have a `Status` message for error reporting.
670
- # - Batch operations. If a client uses batch request and batch response, the
671
- # `Status` message should be used directly inside batch response, one for
672
- # each error sub-response.
673
- # - Asynchronous operations. If an API call embeds asynchronous operation
674
- # results in its response, the status of those operations should be
675
- # represented directly using the `Status` message.
676
- # - Logging. If some API errors are stored in logs, the message `Status` could
677
- # be used directly after any stripping needed for security/privacy reasons.
575
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
576
+ # three pieces of data: error code, error message, and error details.
577
+ # You can find out more about this error model and how to work with it in the
578
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
678
579
  class Status
679
580
  include Google::Apis::Core::Hashable
680
581