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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +8 -74
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +8 -74
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +16 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +8 -74
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +11 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +9 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +255 -155
- data/generated/google/apis/compute_alpha/representations.rb +4 -3
- data/generated/google/apis/compute_alpha/service.rb +11 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +2818 -235
- data/generated/google/apis/compute_beta/representations.rb +957 -0
- data/generated/google/apis/compute_beta/service.rb +2371 -475
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +239 -92
- data/generated/google/apis/compute_v1/representations.rb +19 -0
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +24 -0
- data/generated/google/apis/container_v1beta1/representations.rb +3 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -4
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +44 -0
- data/generated/google/apis/dlp_v2/representations.rb +29 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +7 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +2 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +125 -0
- data/generated/google/apis/redis_v1/representations.rb +83 -0
- data/generated/google/apis/redis_v1/service.rb +78 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +125 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +83 -0
- data/generated/google/apis/redis_v1beta1/service.rb +78 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -76
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +10 -76
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -74
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -74
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +12 -111
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -74
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +36 -20
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +36 -20
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/test-lab/
|
|
26
26
|
module ToolresultsV1beta3
|
|
27
27
|
VERSION = 'V1beta3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190529'
|
|
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'
|
|
@@ -945,43 +945,10 @@ module Google
|
|
|
945
945
|
|
|
946
946
|
# The `Status` type defines a logical error model that is suitable for different
|
|
947
947
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
948
|
-
# gRPC](https://github.com/grpc).
|
|
949
|
-
#
|
|
950
|
-
#
|
|
951
|
-
#
|
|
952
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
|
953
|
-
# and error details. The error code should be an enum value of [google.rpc.Code][
|
|
954
|
-
# ], but it may accept additional error codes if needed. The error message
|
|
955
|
-
# should be a developer-facing English message that helps developers *understand*
|
|
956
|
-
# and *resolve* the error. If a localized user-facing error message is needed,
|
|
957
|
-
# put the localized message in the error details or localize it in the client.
|
|
958
|
-
# The optional error details may contain arbitrary information about the error.
|
|
959
|
-
# There is a predefined set of error detail types in the package `google.rpc`
|
|
960
|
-
# that can be used for common error conditions.
|
|
961
|
-
# # Language mapping
|
|
962
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
963
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
964
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
965
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
966
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
967
|
-
# # Other uses
|
|
968
|
-
# The error model and the `Status` message can be used in a variety of
|
|
969
|
-
# environments, either with or without APIs, to provide a consistent developer
|
|
970
|
-
# experience across different environments.
|
|
971
|
-
# Example uses of this error model include:
|
|
972
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
973
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
974
|
-
# errors.
|
|
975
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may have a
|
|
976
|
-
# `Status` message for error reporting.
|
|
977
|
-
# - Batch operations. If a client uses batch request and batch response, the `
|
|
978
|
-
# Status` message should be used directly inside batch response, one for each
|
|
979
|
-
# error sub-response.
|
|
980
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
981
|
-
# results in its response, the status of those operations should be represented
|
|
982
|
-
# directly using the `Status` message.
|
|
983
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
984
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
948
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
949
|
+
# data: error code, error message, and error details.
|
|
950
|
+
# You can find out more about this error model and how to work with it in the [
|
|
951
|
+
# API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
985
952
|
# Corresponds to the JSON property `error`
|
|
986
953
|
# @return [Google::Apis::ToolresultsV1beta3::Status]
|
|
987
954
|
attr_accessor :error
|
|
@@ -1867,43 +1834,10 @@ module Google
|
|
|
1867
1834
|
|
|
1868
1835
|
# The `Status` type defines a logical error model that is suitable for different
|
|
1869
1836
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1870
|
-
# gRPC](https://github.com/grpc).
|
|
1871
|
-
#
|
|
1872
|
-
#
|
|
1873
|
-
#
|
|
1874
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
|
1875
|
-
# and error details. The error code should be an enum value of [google.rpc.Code][
|
|
1876
|
-
# ], but it may accept additional error codes if needed. The error message
|
|
1877
|
-
# should be a developer-facing English message that helps developers *understand*
|
|
1878
|
-
# and *resolve* the error. If a localized user-facing error message is needed,
|
|
1879
|
-
# put the localized message in the error details or localize it in the client.
|
|
1880
|
-
# The optional error details may contain arbitrary information about the error.
|
|
1881
|
-
# There is a predefined set of error detail types in the package `google.rpc`
|
|
1882
|
-
# that can be used for common error conditions.
|
|
1883
|
-
# # Language mapping
|
|
1884
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1885
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1886
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1887
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1888
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1889
|
-
# # Other uses
|
|
1890
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1891
|
-
# environments, either with or without APIs, to provide a consistent developer
|
|
1892
|
-
# experience across different environments.
|
|
1893
|
-
# Example uses of this error model include:
|
|
1894
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1895
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1896
|
-
# errors.
|
|
1897
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may have a
|
|
1898
|
-
# `Status` message for error reporting.
|
|
1899
|
-
# - Batch operations. If a client uses batch request and batch response, the `
|
|
1900
|
-
# Status` message should be used directly inside batch response, one for each
|
|
1901
|
-
# error sub-response.
|
|
1902
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1903
|
-
# results in its response, the status of those operations should be represented
|
|
1904
|
-
# directly using the `Status` message.
|
|
1905
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1906
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1837
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1838
|
+
# data: error code, error message, and error details.
|
|
1839
|
+
# You can find out more about this error model and how to work with it in the [
|
|
1840
|
+
# API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1907
1841
|
class Status
|
|
1908
1842
|
include Google::Apis::Core::Hashable
|
|
1909
1843
|
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190527'
|
|
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'
|
|
@@ -2190,8 +2190,8 @@ module Google
|
|
|
2190
2190
|
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1GcsSource]
|
|
2191
2191
|
attr_accessor :gcs_source
|
|
2192
2192
|
|
|
2193
|
-
# The type of the file. Currently only "application/pdf"
|
|
2194
|
-
# are supported. Wildcards are not supported.
|
|
2193
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
2194
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
2195
2195
|
# Corresponds to the JSON property `mimeType`
|
|
2196
2196
|
# @return [String]
|
|
2197
2197
|
attr_accessor :mime_type
|
|
@@ -2507,7 +2507,9 @@ module Google
|
|
|
2507
2507
|
attr_accessor :name
|
|
2508
2508
|
|
|
2509
2509
|
# The category for the product identified by the reference image. This should
|
|
2510
|
-
# be either "homegoods", "apparel", or "toys".
|
|
2510
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
2511
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
2512
|
+
# not be used for new products.
|
|
2511
2513
|
# This field is immutable.
|
|
2512
2514
|
# Corresponds to the JSON property `productCategory`
|
|
2513
2515
|
# @return [String]
|
|
@@ -3965,8 +3967,8 @@ module Google
|
|
|
3965
3967
|
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1GcsSource]
|
|
3966
3968
|
attr_accessor :gcs_source
|
|
3967
3969
|
|
|
3968
|
-
# The type of the file. Currently only "application/pdf"
|
|
3969
|
-
# are supported. Wildcards are not supported.
|
|
3970
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
3971
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
3970
3972
|
# Corresponds to the JSON property `mimeType`
|
|
3971
3973
|
# @return [String]
|
|
3972
3974
|
attr_accessor :mime_type
|
|
@@ -4282,7 +4284,9 @@ module Google
|
|
|
4282
4284
|
attr_accessor :name
|
|
4283
4285
|
|
|
4284
4286
|
# The category for the product identified by the reference image. This should
|
|
4285
|
-
# be either "homegoods", "apparel", or "toys".
|
|
4287
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
4288
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
4289
|
+
# not be used for new products.
|
|
4286
4290
|
# This field is immutable.
|
|
4287
4291
|
# Corresponds to the JSON property `productCategory`
|
|
4288
4292
|
# @return [String]
|
|
@@ -5806,8 +5810,8 @@ module Google
|
|
|
5806
5810
|
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1GcsSource]
|
|
5807
5811
|
attr_accessor :gcs_source
|
|
5808
5812
|
|
|
5809
|
-
# The type of the file. Currently only "application/pdf"
|
|
5810
|
-
# are supported. Wildcards are not supported.
|
|
5813
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
5814
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
5811
5815
|
# Corresponds to the JSON property `mimeType`
|
|
5812
5816
|
# @return [String]
|
|
5813
5817
|
attr_accessor :mime_type
|
|
@@ -6123,7 +6127,9 @@ module Google
|
|
|
6123
6127
|
attr_accessor :name
|
|
6124
6128
|
|
|
6125
6129
|
# The category for the product identified by the reference image. This should
|
|
6126
|
-
# be either "homegoods", "apparel", or "toys".
|
|
6130
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
6131
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
6132
|
+
# not be used for new products.
|
|
6127
6133
|
# This field is immutable.
|
|
6128
6134
|
# Corresponds to the JSON property `productCategory`
|
|
6129
6135
|
# @return [String]
|
|
@@ -7730,8 +7736,8 @@ module Google
|
|
|
7730
7736
|
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1GcsSource]
|
|
7731
7737
|
attr_accessor :gcs_source
|
|
7732
7738
|
|
|
7733
|
-
# The type of the file. Currently only "application/pdf"
|
|
7734
|
-
# are supported. Wildcards are not supported.
|
|
7739
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
7740
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
7735
7741
|
# Corresponds to the JSON property `mimeType`
|
|
7736
7742
|
# @return [String]
|
|
7737
7743
|
attr_accessor :mime_type
|
|
@@ -8047,7 +8053,9 @@ module Google
|
|
|
8047
8053
|
attr_accessor :name
|
|
8048
8054
|
|
|
8049
8055
|
# The category for the product identified by the reference image. This should
|
|
8050
|
-
# be either "homegoods", "apparel", or "toys".
|
|
8056
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
8057
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
8058
|
+
# not be used for new products.
|
|
8051
8059
|
# This field is immutable.
|
|
8052
8060
|
# Corresponds to the JSON property `productCategory`
|
|
8053
8061
|
# @return [String]
|
|
@@ -9674,8 +9682,8 @@ module Google
|
|
|
9674
9682
|
# @return [Google::Apis::VisionV1::GoogleCloudVisionV1p5beta1GcsSource]
|
|
9675
9683
|
attr_accessor :gcs_source
|
|
9676
9684
|
|
|
9677
|
-
# The type of the file. Currently only "application/pdf"
|
|
9678
|
-
# are supported. Wildcards are not supported.
|
|
9685
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
9686
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
9679
9687
|
# Corresponds to the JSON property `mimeType`
|
|
9680
9688
|
# @return [String]
|
|
9681
9689
|
attr_accessor :mime_type
|
|
@@ -10059,7 +10067,9 @@ module Google
|
|
|
10059
10067
|
attr_accessor :name
|
|
10060
10068
|
|
|
10061
10069
|
# The category for the product identified by the reference image. This should
|
|
10062
|
-
# be either "homegoods", "apparel", or "toys".
|
|
10070
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
10071
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
10072
|
+
# not be used for new products.
|
|
10063
10073
|
# This field is immutable.
|
|
10064
10074
|
# Corresponds to the JSON property `productCategory`
|
|
10065
10075
|
# @return [String]
|
|
@@ -11170,8 +11180,8 @@ module Google
|
|
|
11170
11180
|
# @return [Google::Apis::VisionV1::GcsSource]
|
|
11171
11181
|
attr_accessor :gcs_source
|
|
11172
11182
|
|
|
11173
|
-
# The type of the file. Currently only "application/pdf"
|
|
11174
|
-
# are supported. Wildcards are not supported.
|
|
11183
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
11184
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
11175
11185
|
# Corresponds to the JSON property `mimeType`
|
|
11176
11186
|
# @return [String]
|
|
11177
11187
|
attr_accessor :mime_type
|
|
@@ -11834,7 +11844,9 @@ module Google
|
|
|
11834
11844
|
attr_accessor :name
|
|
11835
11845
|
|
|
11836
11846
|
# The category for the product identified by the reference image. This should
|
|
11837
|
-
# be either "homegoods", "apparel", or "toys".
|
|
11847
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
11848
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
11849
|
+
# not be used for new products.
|
|
11838
11850
|
# This field is immutable.
|
|
11839
11851
|
# Corresponds to the JSON property `productCategory`
|
|
11840
11852
|
# @return [String]
|
|
@@ -11886,8 +11898,12 @@ module Google
|
|
|
11886
11898
|
attr_accessor :filter
|
|
11887
11899
|
|
|
11888
11900
|
# The list of product categories to search in. Currently, we only consider
|
|
11889
|
-
# the first category, and either "homegoods", "apparel", or "toys"
|
|
11890
|
-
# specified.
|
|
11901
|
+
# the first category, and either "homegoods-v2", "apparel-v2", or "toys-v2"
|
|
11902
|
+
# should be specified. The legacy categories "homegoods", "apparel", and
|
|
11903
|
+
# "toys" are still supported but will be deprecated. For new products, please
|
|
11904
|
+
# use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search
|
|
11905
|
+
# accuracy. It is recommended to migrate existing products to these
|
|
11906
|
+
# categories as well.
|
|
11891
11907
|
# Corresponds to the JSON property `productCategories`
|
|
11892
11908
|
# @return [Array<String>]
|
|
11893
11909
|
attr_accessor :product_categories
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1p1beta1
|
|
29
29
|
VERSION = 'V1p1beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190527'
|
|
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'
|
|
@@ -2277,8 +2277,8 @@ module Google
|
|
|
2277
2277
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1GcsSource]
|
|
2278
2278
|
attr_accessor :gcs_source
|
|
2279
2279
|
|
|
2280
|
-
# The type of the file. Currently only "application/pdf"
|
|
2281
|
-
# are supported. Wildcards are not supported.
|
|
2280
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
2281
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
2282
2282
|
# Corresponds to the JSON property `mimeType`
|
|
2283
2283
|
# @return [String]
|
|
2284
2284
|
attr_accessor :mime_type
|
|
@@ -2627,7 +2627,9 @@ module Google
|
|
|
2627
2627
|
attr_accessor :name
|
|
2628
2628
|
|
|
2629
2629
|
# The category for the product identified by the reference image. This should
|
|
2630
|
-
# be either "homegoods", "apparel", or "toys".
|
|
2630
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
2631
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
2632
|
+
# not be used for new products.
|
|
2631
2633
|
# This field is immutable.
|
|
2632
2634
|
# Corresponds to the JSON property `productCategory`
|
|
2633
2635
|
# @return [String]
|
|
@@ -2706,8 +2708,12 @@ module Google
|
|
|
2706
2708
|
attr_accessor :filter
|
|
2707
2709
|
|
|
2708
2710
|
# The list of product categories to search in. Currently, we only consider
|
|
2709
|
-
# the first category, and either "homegoods", "apparel", or "toys"
|
|
2710
|
-
# specified.
|
|
2711
|
+
# the first category, and either "homegoods-v2", "apparel-v2", or "toys-v2"
|
|
2712
|
+
# should be specified. The legacy categories "homegoods", "apparel", and
|
|
2713
|
+
# "toys" are still supported but will be deprecated. For new products, please
|
|
2714
|
+
# use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search
|
|
2715
|
+
# accuracy. It is recommended to migrate existing products to these
|
|
2716
|
+
# categories as well.
|
|
2711
2717
|
# Corresponds to the JSON property `productCategories`
|
|
2712
2718
|
# @return [Array<String>]
|
|
2713
2719
|
attr_accessor :product_categories
|
|
@@ -4152,8 +4158,8 @@ module Google
|
|
|
4152
4158
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1GcsSource]
|
|
4153
4159
|
attr_accessor :gcs_source
|
|
4154
4160
|
|
|
4155
|
-
# The type of the file. Currently only "application/pdf"
|
|
4156
|
-
# are supported. Wildcards are not supported.
|
|
4161
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
4162
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
4157
4163
|
# Corresponds to the JSON property `mimeType`
|
|
4158
4164
|
# @return [String]
|
|
4159
4165
|
attr_accessor :mime_type
|
|
@@ -4469,7 +4475,9 @@ module Google
|
|
|
4469
4475
|
attr_accessor :name
|
|
4470
4476
|
|
|
4471
4477
|
# The category for the product identified by the reference image. This should
|
|
4472
|
-
# be either "homegoods", "apparel", or "toys".
|
|
4478
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
4479
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
4480
|
+
# not be used for new products.
|
|
4473
4481
|
# This field is immutable.
|
|
4474
4482
|
# Corresponds to the JSON property `productCategory`
|
|
4475
4483
|
# @return [String]
|
|
@@ -5993,8 +6001,8 @@ module Google
|
|
|
5993
6001
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1GcsSource]
|
|
5994
6002
|
attr_accessor :gcs_source
|
|
5995
6003
|
|
|
5996
|
-
# The type of the file. Currently only "application/pdf"
|
|
5997
|
-
# are supported. Wildcards are not supported.
|
|
6004
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
6005
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
5998
6006
|
# Corresponds to the JSON property `mimeType`
|
|
5999
6007
|
# @return [String]
|
|
6000
6008
|
attr_accessor :mime_type
|
|
@@ -6310,7 +6318,9 @@ module Google
|
|
|
6310
6318
|
attr_accessor :name
|
|
6311
6319
|
|
|
6312
6320
|
# The category for the product identified by the reference image. This should
|
|
6313
|
-
# be either "homegoods", "apparel", or "toys".
|
|
6321
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
6322
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
6323
|
+
# not be used for new products.
|
|
6314
6324
|
# This field is immutable.
|
|
6315
6325
|
# Corresponds to the JSON property `productCategory`
|
|
6316
6326
|
# @return [String]
|
|
@@ -7917,8 +7927,8 @@ module Google
|
|
|
7917
7927
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1GcsSource]
|
|
7918
7928
|
attr_accessor :gcs_source
|
|
7919
7929
|
|
|
7920
|
-
# The type of the file. Currently only "application/pdf"
|
|
7921
|
-
# are supported. Wildcards are not supported.
|
|
7930
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
7931
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
7922
7932
|
# Corresponds to the JSON property `mimeType`
|
|
7923
7933
|
# @return [String]
|
|
7924
7934
|
attr_accessor :mime_type
|
|
@@ -8234,7 +8244,9 @@ module Google
|
|
|
8234
8244
|
attr_accessor :name
|
|
8235
8245
|
|
|
8236
8246
|
# The category for the product identified by the reference image. This should
|
|
8237
|
-
# be either "homegoods", "apparel", or "toys".
|
|
8247
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
8248
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
8249
|
+
# not be used for new products.
|
|
8238
8250
|
# This field is immutable.
|
|
8239
8251
|
# Corresponds to the JSON property `productCategory`
|
|
8240
8252
|
# @return [String]
|
|
@@ -9861,8 +9873,8 @@ module Google
|
|
|
9861
9873
|
# @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1GcsSource]
|
|
9862
9874
|
attr_accessor :gcs_source
|
|
9863
9875
|
|
|
9864
|
-
# The type of the file. Currently only "application/pdf"
|
|
9865
|
-
# are supported. Wildcards are not supported.
|
|
9876
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
9877
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
9866
9878
|
# Corresponds to the JSON property `mimeType`
|
|
9867
9879
|
# @return [String]
|
|
9868
9880
|
attr_accessor :mime_type
|
|
@@ -10246,7 +10258,9 @@ module Google
|
|
|
10246
10258
|
attr_accessor :name
|
|
10247
10259
|
|
|
10248
10260
|
# The category for the product identified by the reference image. This should
|
|
10249
|
-
# be either "homegoods", "apparel", or "toys".
|
|
10261
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
10262
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
10263
|
+
# not be used for new products.
|
|
10250
10264
|
# This field is immutable.
|
|
10251
10265
|
# Corresponds to the JSON property `productCategory`
|
|
10252
10266
|
# @return [String]
|
|
@@ -11132,8 +11146,8 @@ module Google
|
|
|
11132
11146
|
# @return [Google::Apis::VisionV1p1beta1::GcsSource]
|
|
11133
11147
|
attr_accessor :gcs_source
|
|
11134
11148
|
|
|
11135
|
-
# The type of the file. Currently only "application/pdf"
|
|
11136
|
-
# are supported. Wildcards are not supported.
|
|
11149
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
11150
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
11137
11151
|
# Corresponds to the JSON property `mimeType`
|
|
11138
11152
|
# @return [String]
|
|
11139
11153
|
attr_accessor :mime_type
|
|
@@ -11629,7 +11643,9 @@ module Google
|
|
|
11629
11643
|
attr_accessor :name
|
|
11630
11644
|
|
|
11631
11645
|
# The category for the product identified by the reference image. This should
|
|
11632
|
-
# be either "homegoods", "apparel", or "toys".
|
|
11646
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
11647
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
11648
|
+
# not be used for new products.
|
|
11633
11649
|
# This field is immutable.
|
|
11634
11650
|
# Corresponds to the JSON property `productCategory`
|
|
11635
11651
|
# @return [String]
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/vision/
|
|
28
28
|
module VisionV1p2beta1
|
|
29
29
|
VERSION = 'V1p2beta1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20190527'
|
|
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'
|
|
@@ -1859,8 +1859,8 @@ module Google
|
|
|
1859
1859
|
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p1beta1GcsSource]
|
|
1860
1860
|
attr_accessor :gcs_source
|
|
1861
1861
|
|
|
1862
|
-
# The type of the file. Currently only "application/pdf"
|
|
1863
|
-
# are supported. Wildcards are not supported.
|
|
1862
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
1863
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
1864
1864
|
# Corresponds to the JSON property `mimeType`
|
|
1865
1865
|
# @return [String]
|
|
1866
1866
|
attr_accessor :mime_type
|
|
@@ -2176,7 +2176,9 @@ module Google
|
|
|
2176
2176
|
attr_accessor :name
|
|
2177
2177
|
|
|
2178
2178
|
# The category for the product identified by the reference image. This should
|
|
2179
|
-
# be either "homegoods", "apparel", or "toys".
|
|
2179
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
2180
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
2181
|
+
# not be used for new products.
|
|
2180
2182
|
# This field is immutable.
|
|
2181
2183
|
# Corresponds to the JSON property `productCategory`
|
|
2182
2184
|
# @return [String]
|
|
@@ -4052,8 +4054,8 @@ module Google
|
|
|
4052
4054
|
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1GcsSource]
|
|
4053
4055
|
attr_accessor :gcs_source
|
|
4054
4056
|
|
|
4055
|
-
# The type of the file. Currently only "application/pdf"
|
|
4056
|
-
# are supported. Wildcards are not supported.
|
|
4057
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
4058
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
4057
4059
|
# Corresponds to the JSON property `mimeType`
|
|
4058
4060
|
# @return [String]
|
|
4059
4061
|
attr_accessor :mime_type
|
|
@@ -4402,7 +4404,9 @@ module Google
|
|
|
4402
4404
|
attr_accessor :name
|
|
4403
4405
|
|
|
4404
4406
|
# The category for the product identified by the reference image. This should
|
|
4405
|
-
# be either "homegoods", "apparel", or "toys".
|
|
4407
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
4408
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
4409
|
+
# not be used for new products.
|
|
4406
4410
|
# This field is immutable.
|
|
4407
4411
|
# Corresponds to the JSON property `productCategory`
|
|
4408
4412
|
# @return [String]
|
|
@@ -4481,8 +4485,12 @@ module Google
|
|
|
4481
4485
|
attr_accessor :filter
|
|
4482
4486
|
|
|
4483
4487
|
# The list of product categories to search in. Currently, we only consider
|
|
4484
|
-
# the first category, and either "homegoods", "apparel", or "toys"
|
|
4485
|
-
# specified.
|
|
4488
|
+
# the first category, and either "homegoods-v2", "apparel-v2", or "toys-v2"
|
|
4489
|
+
# should be specified. The legacy categories "homegoods", "apparel", and
|
|
4490
|
+
# "toys" are still supported but will be deprecated. For new products, please
|
|
4491
|
+
# use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search
|
|
4492
|
+
# accuracy. It is recommended to migrate existing products to these
|
|
4493
|
+
# categories as well.
|
|
4486
4494
|
# Corresponds to the JSON property `productCategories`
|
|
4487
4495
|
# @return [Array<String>]
|
|
4488
4496
|
attr_accessor :product_categories
|
|
@@ -5993,8 +6001,8 @@ module Google
|
|
|
5993
6001
|
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p3beta1GcsSource]
|
|
5994
6002
|
attr_accessor :gcs_source
|
|
5995
6003
|
|
|
5996
|
-
# The type of the file. Currently only "application/pdf"
|
|
5997
|
-
# are supported. Wildcards are not supported.
|
|
6004
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
6005
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
5998
6006
|
# Corresponds to the JSON property `mimeType`
|
|
5999
6007
|
# @return [String]
|
|
6000
6008
|
attr_accessor :mime_type
|
|
@@ -6310,7 +6318,9 @@ module Google
|
|
|
6310
6318
|
attr_accessor :name
|
|
6311
6319
|
|
|
6312
6320
|
# The category for the product identified by the reference image. This should
|
|
6313
|
-
# be either "homegoods", "apparel", or "toys".
|
|
6321
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
6322
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
6323
|
+
# not be used for new products.
|
|
6314
6324
|
# This field is immutable.
|
|
6315
6325
|
# Corresponds to the JSON property `productCategory`
|
|
6316
6326
|
# @return [String]
|
|
@@ -7917,8 +7927,8 @@ module Google
|
|
|
7917
7927
|
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1GcsSource]
|
|
7918
7928
|
attr_accessor :gcs_source
|
|
7919
7929
|
|
|
7920
|
-
# The type of the file. Currently only "application/pdf"
|
|
7921
|
-
# are supported. Wildcards are not supported.
|
|
7930
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
7931
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
7922
7932
|
# Corresponds to the JSON property `mimeType`
|
|
7923
7933
|
# @return [String]
|
|
7924
7934
|
attr_accessor :mime_type
|
|
@@ -8234,7 +8244,9 @@ module Google
|
|
|
8234
8244
|
attr_accessor :name
|
|
8235
8245
|
|
|
8236
8246
|
# The category for the product identified by the reference image. This should
|
|
8237
|
-
# be either "homegoods", "apparel", or "toys".
|
|
8247
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
8248
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
8249
|
+
# not be used for new products.
|
|
8238
8250
|
# This field is immutable.
|
|
8239
8251
|
# Corresponds to the JSON property `productCategory`
|
|
8240
8252
|
# @return [String]
|
|
@@ -9861,8 +9873,8 @@ module Google
|
|
|
9861
9873
|
# @return [Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p5beta1GcsSource]
|
|
9862
9874
|
attr_accessor :gcs_source
|
|
9863
9875
|
|
|
9864
|
-
# The type of the file. Currently only "application/pdf"
|
|
9865
|
-
# are supported. Wildcards are not supported.
|
|
9876
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
9877
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
9866
9878
|
# Corresponds to the JSON property `mimeType`
|
|
9867
9879
|
# @return [String]
|
|
9868
9880
|
attr_accessor :mime_type
|
|
@@ -10246,7 +10258,9 @@ module Google
|
|
|
10246
10258
|
attr_accessor :name
|
|
10247
10259
|
|
|
10248
10260
|
# The category for the product identified by the reference image. This should
|
|
10249
|
-
# be either "homegoods", "apparel", or "toys".
|
|
10261
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
10262
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
10263
|
+
# not be used for new products.
|
|
10250
10264
|
# This field is immutable.
|
|
10251
10265
|
# Corresponds to the JSON property `productCategory`
|
|
10252
10266
|
# @return [String]
|
|
@@ -11132,8 +11146,8 @@ module Google
|
|
|
11132
11146
|
# @return [Google::Apis::VisionV1p2beta1::GcsSource]
|
|
11133
11147
|
attr_accessor :gcs_source
|
|
11134
11148
|
|
|
11135
|
-
# The type of the file. Currently only "application/pdf"
|
|
11136
|
-
# are supported. Wildcards are not supported.
|
|
11149
|
+
# The type of the file. Currently only "application/pdf", "image/tiff" and
|
|
11150
|
+
# "image/gif" are supported. Wildcards are not supported.
|
|
11137
11151
|
# Corresponds to the JSON property `mimeType`
|
|
11138
11152
|
# @return [String]
|
|
11139
11153
|
attr_accessor :mime_type
|
|
@@ -11629,7 +11643,9 @@ module Google
|
|
|
11629
11643
|
attr_accessor :name
|
|
11630
11644
|
|
|
11631
11645
|
# The category for the product identified by the reference image. This should
|
|
11632
|
-
# be either "homegoods", "apparel", or "toys".
|
|
11646
|
+
# be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
|
|
11647
|
+
# "homegoods", "apparel", and "toys" are still supported, but these should
|
|
11648
|
+
# not be used for new products.
|
|
11633
11649
|
# This field is immutable.
|
|
11634
11650
|
# Corresponds to the JSON property `productCategory`
|
|
11635
11651
|
# @return [String]
|