google-cloud-automl-v1 1.1.0 → 1.2.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/README.md +1 -1
- data/lib/google/cloud/automl/v1/automl/client.rb +13 -2
- data/lib/google/cloud/automl/v1/automl/operations.rb +9 -2
- data/lib/google/cloud/automl/v1/automl/rest/client.rb +12 -1
- data/lib/google/cloud/automl/v1/automl/rest/operations.rb +8 -1
- data/lib/google/cloud/automl/v1/prediction_service/client.rb +9 -2
- data/lib/google/cloud/automl/v1/prediction_service/operations.rb +9 -2
- data/lib/google/cloud/automl/v1/prediction_service/rest/client.rb +8 -1
- data/lib/google/cloud/automl/v1/prediction_service/rest/operations.rb +8 -1
- data/lib/google/cloud/automl/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/automl/v1/annotation_payload.rb +10 -0
- data/proto_docs/google/cloud/automl/v1/data_items.rb +6 -0
- data/proto_docs/google/cloud/automl/v1/dataset.rb +12 -0
- data/proto_docs/google/cloud/automl/v1/model.rb +12 -0
- data/proto_docs/google/cloud/automl/v1/model_evaluation.rb +10 -0
- data/proto_docs/google/cloud/automl/v1/operations.rb +18 -0
- data/proto_docs/google/cloud/automl/v1/service.rb +4 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57f0ac8a93ecaf0b8b8983f854b8e2ed4313771fc8176e5ce01193b05ad72a8
|
4
|
+
data.tar.gz: 9e44aca15600a10e94d975e5cd79c14ae2643cfa3a86f828510587f24c9d3ef8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca3b5a20895fbd9b513f4fb416de8b3ddd9e447b5d6ddcabf22b2955cb955916901a62e2d295878c27f9a9c5d457a6fcd197ff33621236d47c1151766e1a2cb
|
7
|
+
data.tar.gz: f7b567cc39b8e6b0b84a55ccc6ac511b10fcb3238b3b934714e29deb68495575effb51bef815e285710ed55f626afdab6d8af0327943c779a4e5aa22195a7a5b
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1543,8 +1543,12 @@ module Google
|
|
1543
1543
|
#
|
1544
1544
|
# @param image_object_detection_model_deployment_metadata [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata, ::Hash]
|
1545
1545
|
# Model deployment metadata specific to Image Object Detection.
|
1546
|
+
#
|
1547
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1546
1548
|
# @param image_classification_model_deployment_metadata [::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata, ::Hash]
|
1547
1549
|
# Model deployment metadata specific to Image Classification.
|
1550
|
+
#
|
1551
|
+
# Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1548
1552
|
# @param name [::String]
|
1549
1553
|
# Required. Resource name of the model to deploy.
|
1550
1554
|
#
|
@@ -2064,6 +2068,13 @@ module Google
|
|
2064
2068
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
2065
2069
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
2066
2070
|
# * (`nil`) indicating no credentials
|
2071
|
+
#
|
2072
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
2073
|
+
# external source for authentication to Google Cloud, you must validate it before
|
2074
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
2075
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
2076
|
+
# For more information, refer to [Validate credential configurations from external
|
2077
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
2067
2078
|
# @return [::Object]
|
2068
2079
|
# @!attribute [rw] scope
|
2069
2080
|
# The OAuth scopes
|
@@ -2118,8 +2129,8 @@ module Google
|
|
2118
2129
|
|
2119
2130
|
config_attr :endpoint, nil, ::String, nil
|
2120
2131
|
config_attr :credentials, nil do |value|
|
2121
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2122
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2132
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
2133
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
2123
2134
|
allowed.any? { |klass| klass === value }
|
2124
2135
|
end
|
2125
2136
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -648,6 +648,13 @@ module Google
|
|
648
648
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
649
649
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
650
650
|
# * (`nil`) indicating no credentials
|
651
|
+
#
|
652
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
653
|
+
# external source for authentication to Google Cloud, you must validate it before
|
654
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
655
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
656
|
+
# For more information, refer to [Validate credential configurations from external
|
657
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
651
658
|
# @return [::Object]
|
652
659
|
# @!attribute [rw] scope
|
653
660
|
# The OAuth scopes
|
@@ -702,8 +709,8 @@ module Google
|
|
702
709
|
|
703
710
|
config_attr :endpoint, nil, ::String, nil
|
704
711
|
config_attr :credentials, nil do |value|
|
705
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
706
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
712
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
713
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
707
714
|
allowed.any? { |klass| klass === value }
|
708
715
|
end
|
709
716
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -1445,8 +1445,12 @@ module Google
|
|
1445
1445
|
#
|
1446
1446
|
# @param image_object_detection_model_deployment_metadata [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata, ::Hash]
|
1447
1447
|
# Model deployment metadata specific to Image Object Detection.
|
1448
|
+
#
|
1449
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1448
1450
|
# @param image_classification_model_deployment_metadata [::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata, ::Hash]
|
1449
1451
|
# Model deployment metadata specific to Image Classification.
|
1452
|
+
#
|
1453
|
+
# Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1450
1454
|
# @param name [::String]
|
1451
1455
|
# Required. Resource name of the model to deploy.
|
1452
1456
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
@@ -1929,6 +1933,13 @@ module Google
|
|
1929
1933
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1930
1934
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1931
1935
|
# * (`nil`) indicating no credentials
|
1936
|
+
#
|
1937
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1938
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1939
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1940
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1941
|
+
# For more information, refer to [Validate credential configurations from external
|
1942
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1932
1943
|
# @return [::Object]
|
1933
1944
|
# @!attribute [rw] scope
|
1934
1945
|
# The OAuth scopes
|
@@ -1976,7 +1987,7 @@ module Google
|
|
1976
1987
|
|
1977
1988
|
config_attr :endpoint, nil, ::String, nil
|
1978
1989
|
config_attr :credentials, nil do |value|
|
1979
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1990
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1980
1991
|
allowed.any? { |klass| klass === value }
|
1981
1992
|
end
|
1982
1993
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -601,6 +601,13 @@ module Google
|
|
601
601
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
602
602
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
603
603
|
# * (`nil`) indicating no credentials
|
604
|
+
#
|
605
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
606
|
+
# external source for authentication to Google Cloud, you must validate it before
|
607
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
608
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
609
|
+
# For more information, refer to [Validate credential configurations from external
|
610
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
604
611
|
# @return [::Object]
|
605
612
|
# @!attribute [rw] scope
|
606
613
|
# The OAuth scopes
|
@@ -648,7 +655,7 @@ module Google
|
|
648
655
|
|
649
656
|
config_attr :endpoint, nil, ::String, nil
|
650
657
|
config_attr :credentials, nil do |value|
|
651
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
658
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
652
659
|
allowed.any? { |klass| klass === value }
|
653
660
|
end
|
654
661
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -599,6 +599,13 @@ module Google
|
|
599
599
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
600
600
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
601
601
|
# * (`nil`) indicating no credentials
|
602
|
+
#
|
603
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
604
|
+
# external source for authentication to Google Cloud, you must validate it before
|
605
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
606
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
607
|
+
# For more information, refer to [Validate credential configurations from external
|
608
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
602
609
|
# @return [::Object]
|
603
610
|
# @!attribute [rw] scope
|
604
611
|
# The OAuth scopes
|
@@ -653,8 +660,8 @@ module Google
|
|
653
660
|
|
654
661
|
config_attr :endpoint, nil, ::String, nil
|
655
662
|
config_attr :credentials, nil do |value|
|
656
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
657
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
663
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
664
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
658
665
|
allowed.any? { |klass| klass === value }
|
659
666
|
end
|
660
667
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -648,6 +648,13 @@ module Google
|
|
648
648
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
649
649
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
650
650
|
# * (`nil`) indicating no credentials
|
651
|
+
#
|
652
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
653
|
+
# external source for authentication to Google Cloud, you must validate it before
|
654
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
655
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
656
|
+
# For more information, refer to [Validate credential configurations from external
|
657
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
651
658
|
# @return [::Object]
|
652
659
|
# @!attribute [rw] scope
|
653
660
|
# The OAuth scopes
|
@@ -702,8 +709,8 @@ module Google
|
|
702
709
|
|
703
710
|
config_attr :endpoint, nil, ::String, nil
|
704
711
|
config_attr :credentials, nil do |value|
|
705
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
706
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
712
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
713
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
707
714
|
allowed.any? { |klass| klass === value }
|
708
715
|
end
|
709
716
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -576,6 +576,13 @@ module Google
|
|
576
576
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
577
577
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
578
578
|
# * (`nil`) indicating no credentials
|
579
|
+
#
|
580
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
581
|
+
# external source for authentication to Google Cloud, you must validate it before
|
582
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
583
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
584
|
+
# For more information, refer to [Validate credential configurations from external
|
585
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
579
586
|
# @return [::Object]
|
580
587
|
# @!attribute [rw] scope
|
581
588
|
# The OAuth scopes
|
@@ -623,7 +630,7 @@ module Google
|
|
623
630
|
|
624
631
|
config_attr :endpoint, nil, ::String, nil
|
625
632
|
config_attr :credentials, nil do |value|
|
626
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
633
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
627
634
|
allowed.any? { |klass| klass === value }
|
628
635
|
end
|
629
636
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -601,6 +601,13 @@ module Google
|
|
601
601
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
602
602
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
603
603
|
# * (`nil`) indicating no credentials
|
604
|
+
#
|
605
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
606
|
+
# external source for authentication to Google Cloud, you must validate it before
|
607
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
608
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
609
|
+
# For more information, refer to [Validate credential configurations from external
|
610
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
604
611
|
# @return [::Object]
|
605
612
|
# @!attribute [rw] scope
|
606
613
|
# The OAuth scopes
|
@@ -648,7 +655,7 @@ module Google
|
|
648
655
|
|
649
656
|
config_attr :endpoint, nil, ::String, nil
|
650
657
|
config_attr :credentials, nil do |value|
|
651
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
658
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
652
659
|
allowed.any? { |klass| klass === value }
|
653
660
|
end
|
654
661
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,18 +25,28 @@ module Google
|
|
25
25
|
# @!attribute [rw] translation
|
26
26
|
# @return [::Google::Cloud::AutoML::V1::TranslationAnnotation]
|
27
27
|
# Annotation details for translation.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `translation`, `classification`, `image_object_detection`, `text_extraction`, `text_sentiment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] classification
|
29
31
|
# @return [::Google::Cloud::AutoML::V1::ClassificationAnnotation]
|
30
32
|
# Annotation details for content or image classification.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `classification`, `translation`, `image_object_detection`, `text_extraction`, `text_sentiment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] image_object_detection
|
32
36
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation]
|
33
37
|
# Annotation details for image object detection.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `image_object_detection`, `translation`, `classification`, `text_extraction`, `text_sentiment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] text_extraction
|
35
41
|
# @return [::Google::Cloud::AutoML::V1::TextExtractionAnnotation]
|
36
42
|
# Annotation details for text extraction.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `text_extraction`, `translation`, `classification`, `image_object_detection`, `text_sentiment`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
45
|
# @!attribute [rw] text_sentiment
|
38
46
|
# @return [::Google::Cloud::AutoML::V1::TextSentimentAnnotation]
|
39
47
|
# Annotation details for text sentiment.
|
48
|
+
#
|
49
|
+
# Note: The following fields are mutually exclusive: `text_sentiment`, `translation`, `classification`, `image_object_detection`, `text_extraction`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
50
|
# @!attribute [rw] annotation_spec_id
|
41
51
|
# @return [::String]
|
42
52
|
# Output only . The resource ID of the annotation spec that
|
@@ -180,12 +180,18 @@ module Google
|
|
180
180
|
# @!attribute [rw] image
|
181
181
|
# @return [::Google::Cloud::AutoML::V1::Image]
|
182
182
|
# Example image.
|
183
|
+
#
|
184
|
+
# Note: The following fields are mutually exclusive: `image`, `text_snippet`, `document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
183
185
|
# @!attribute [rw] text_snippet
|
184
186
|
# @return [::Google::Cloud::AutoML::V1::TextSnippet]
|
185
187
|
# Example text.
|
188
|
+
#
|
189
|
+
# Note: The following fields are mutually exclusive: `text_snippet`, `image`, `document`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
186
190
|
# @!attribute [rw] document
|
187
191
|
# @return [::Google::Cloud::AutoML::V1::Document]
|
188
192
|
# Example document.
|
193
|
+
#
|
194
|
+
# Note: The following fields are mutually exclusive: `document`, `image`, `text_snippet`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
189
195
|
class ExamplePayload
|
190
196
|
include ::Google::Protobuf::MessageExts
|
191
197
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,21 +26,33 @@ module Google
|
|
26
26
|
# @!attribute [rw] translation_dataset_metadata
|
27
27
|
# @return [::Google::Cloud::AutoML::V1::TranslationDatasetMetadata]
|
28
28
|
# Metadata for a dataset used for translation.
|
29
|
+
#
|
30
|
+
# Note: The following fields are mutually exclusive: `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
29
31
|
# @!attribute [rw] image_classification_dataset_metadata
|
30
32
|
# @return [::Google::Cloud::AutoML::V1::ImageClassificationDatasetMetadata]
|
31
33
|
# Metadata for a dataset used for image classification.
|
34
|
+
#
|
35
|
+
# Note: The following fields are mutually exclusive: `image_classification_dataset_metadata`, `translation_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
32
36
|
# @!attribute [rw] text_classification_dataset_metadata
|
33
37
|
# @return [::Google::Cloud::AutoML::V1::TextClassificationDatasetMetadata]
|
34
38
|
# Metadata for a dataset used for text classification.
|
39
|
+
#
|
40
|
+
# Note: The following fields are mutually exclusive: `text_classification_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
35
41
|
# @!attribute [rw] image_object_detection_dataset_metadata
|
36
42
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionDatasetMetadata]
|
37
43
|
# Metadata for a dataset used for image object detection.
|
44
|
+
#
|
45
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `text_extraction_dataset_metadata`, `text_sentiment_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
38
46
|
# @!attribute [rw] text_extraction_dataset_metadata
|
39
47
|
# @return [::Google::Cloud::AutoML::V1::TextExtractionDatasetMetadata]
|
40
48
|
# Metadata for a dataset used for text extraction.
|
49
|
+
#
|
50
|
+
# Note: The following fields are mutually exclusive: `text_extraction_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `text_sentiment_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
41
51
|
# @!attribute [rw] text_sentiment_dataset_metadata
|
42
52
|
# @return [::Google::Cloud::AutoML::V1::TextSentimentDatasetMetadata]
|
43
53
|
# Metadata for a dataset used for text sentiment.
|
54
|
+
#
|
55
|
+
# Note: The following fields are mutually exclusive: `text_sentiment_dataset_metadata`, `translation_dataset_metadata`, `image_classification_dataset_metadata`, `text_classification_dataset_metadata`, `image_object_detection_dataset_metadata`, `text_extraction_dataset_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
44
56
|
# @!attribute [rw] name
|
45
57
|
# @return [::String]
|
46
58
|
# Output only. The resource name of the dataset.
|
@@ -25,21 +25,33 @@ module Google
|
|
25
25
|
# @!attribute [rw] translation_model_metadata
|
26
26
|
# @return [::Google::Cloud::AutoML::V1::TranslationModelMetadata]
|
27
27
|
# Metadata for translation models.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] image_classification_model_metadata
|
29
31
|
# @return [::Google::Cloud::AutoML::V1::ImageClassificationModelMetadata]
|
30
32
|
# Metadata for image classification models.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `image_classification_model_metadata`, `translation_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] text_classification_model_metadata
|
32
36
|
# @return [::Google::Cloud::AutoML::V1::TextClassificationModelMetadata]
|
33
37
|
# Metadata for text classification models.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `text_classification_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] image_object_detection_model_metadata
|
35
41
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelMetadata]
|
36
42
|
# Metadata for image object detection models.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `text_extraction_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
45
|
# @!attribute [rw] text_extraction_model_metadata
|
38
46
|
# @return [::Google::Cloud::AutoML::V1::TextExtractionModelMetadata]
|
39
47
|
# Metadata for text extraction models.
|
48
|
+
#
|
49
|
+
# Note: The following fields are mutually exclusive: `text_extraction_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_sentiment_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
50
|
# @!attribute [rw] text_sentiment_model_metadata
|
41
51
|
# @return [::Google::Cloud::AutoML::V1::TextSentimentModelMetadata]
|
42
52
|
# Metadata for text sentiment models.
|
53
|
+
#
|
54
|
+
# Note: The following fields are mutually exclusive: `text_sentiment_model_metadata`, `translation_model_metadata`, `image_classification_model_metadata`, `text_classification_model_metadata`, `image_object_detection_model_metadata`, `text_extraction_model_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
55
|
# @!attribute [rw] name
|
44
56
|
# @return [::String]
|
45
57
|
# Output only. Resource name of the model.
|
@@ -28,18 +28,28 @@ module Google
|
|
28
28
|
# classification.
|
29
29
|
# Tables problem is considered a classification when the target column
|
30
30
|
# is CATEGORY DataType.
|
31
|
+
#
|
32
|
+
# Note: The following fields are mutually exclusive: `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
33
|
# @!attribute [rw] translation_evaluation_metrics
|
32
34
|
# @return [::Google::Cloud::AutoML::V1::TranslationEvaluationMetrics]
|
33
35
|
# Model evaluation metrics for translation.
|
36
|
+
#
|
37
|
+
# Note: The following fields are mutually exclusive: `translation_evaluation_metrics`, `classification_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
38
|
# @!attribute [rw] image_object_detection_evaluation_metrics
|
35
39
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionEvaluationMetrics]
|
36
40
|
# Model evaluation metrics for image object detection.
|
41
|
+
#
|
42
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `text_sentiment_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
43
|
# @!attribute [rw] text_sentiment_evaluation_metrics
|
38
44
|
# @return [::Google::Cloud::AutoML::V1::TextSentimentEvaluationMetrics]
|
39
45
|
# Evaluation metrics for text sentiment models.
|
46
|
+
#
|
47
|
+
# Note: The following fields are mutually exclusive: `text_sentiment_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_extraction_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
48
|
# @!attribute [rw] text_extraction_evaluation_metrics
|
41
49
|
# @return [::Google::Cloud::AutoML::V1::TextExtractionEvaluationMetrics]
|
42
50
|
# Evaluation metrics for text extraction models.
|
51
|
+
#
|
52
|
+
# Note: The following fields are mutually exclusive: `text_extraction_evaluation_metrics`, `classification_evaluation_metrics`, `translation_evaluation_metrics`, `image_object_detection_evaluation_metrics`, `text_sentiment_evaluation_metrics`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
53
|
# @!attribute [rw] name
|
44
54
|
# @return [::String]
|
45
55
|
# Output only. Resource name of the model evaluation.
|
@@ -25,30 +25,48 @@ module Google
|
|
25
25
|
# @!attribute [rw] delete_details
|
26
26
|
# @return [::Google::Cloud::AutoML::V1::DeleteOperationMetadata]
|
27
27
|
# Details of a Delete operation.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] deploy_model_details
|
29
31
|
# @return [::Google::Cloud::AutoML::V1::DeployModelOperationMetadata]
|
30
32
|
# Details of a DeployModel operation.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `deploy_model_details`, `delete_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] undeploy_model_details
|
32
36
|
# @return [::Google::Cloud::AutoML::V1::UndeployModelOperationMetadata]
|
33
37
|
# Details of an UndeployModel operation.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `undeploy_model_details`, `delete_details`, `deploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] create_model_details
|
35
41
|
# @return [::Google::Cloud::AutoML::V1::CreateModelOperationMetadata]
|
36
42
|
# Details of CreateModel operation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `create_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
37
45
|
# @!attribute [rw] create_dataset_details
|
38
46
|
# @return [::Google::Cloud::AutoML::V1::CreateDatasetOperationMetadata]
|
39
47
|
# Details of CreateDataset operation.
|
48
|
+
#
|
49
|
+
# Note: The following fields are mutually exclusive: `create_dataset_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `import_data_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
40
50
|
# @!attribute [rw] import_data_details
|
41
51
|
# @return [::Google::Cloud::AutoML::V1::ImportDataOperationMetadata]
|
42
52
|
# Details of ImportData operation.
|
53
|
+
#
|
54
|
+
# Note: The following fields are mutually exclusive: `import_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `batch_predict_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
55
|
# @!attribute [rw] batch_predict_details
|
44
56
|
# @return [::Google::Cloud::AutoML::V1::BatchPredictOperationMetadata]
|
45
57
|
# Details of BatchPredict operation.
|
58
|
+
#
|
59
|
+
# Note: The following fields are mutually exclusive: `batch_predict_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `export_data_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
46
60
|
# @!attribute [rw] export_data_details
|
47
61
|
# @return [::Google::Cloud::AutoML::V1::ExportDataOperationMetadata]
|
48
62
|
# Details of ExportData operation.
|
63
|
+
#
|
64
|
+
# Note: The following fields are mutually exclusive: `export_data_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_model_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
49
65
|
# @!attribute [rw] export_model_details
|
50
66
|
# @return [::Google::Cloud::AutoML::V1::ExportModelOperationMetadata]
|
51
67
|
# Details of ExportModel operation.
|
68
|
+
#
|
69
|
+
# Note: The following fields are mutually exclusive: `export_model_details`, `delete_details`, `deploy_model_details`, `undeploy_model_details`, `create_model_details`, `create_dataset_details`, `import_data_details`, `batch_predict_details`, `export_data_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
52
70
|
# @!attribute [rw] progress_percent
|
53
71
|
# @return [::Integer]
|
54
72
|
# Output only. Progress of operation. Range: [0, 100].
|
@@ -227,9 +227,13 @@ module Google
|
|
227
227
|
# @!attribute [rw] image_object_detection_model_deployment_metadata
|
228
228
|
# @return [::Google::Cloud::AutoML::V1::ImageObjectDetectionModelDeploymentMetadata]
|
229
229
|
# Model deployment metadata specific to Image Object Detection.
|
230
|
+
#
|
231
|
+
# Note: The following fields are mutually exclusive: `image_object_detection_model_deployment_metadata`, `image_classification_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
230
232
|
# @!attribute [rw] image_classification_model_deployment_metadata
|
231
233
|
# @return [::Google::Cloud::AutoML::V1::ImageClassificationModelDeploymentMetadata]
|
232
234
|
# Model deployment metadata specific to Image Classification.
|
235
|
+
#
|
236
|
+
# Note: The following fields are mutually exclusive: `image_classification_model_deployment_metadata`, `image_object_detection_model_deployment_metadata`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
233
237
|
# @!attribute [rw] name
|
234
238
|
# @return [::String]
|
235
239
|
# Required. Resource name of the model to deploy.
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-automl-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -139,7 +138,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
139
138
|
licenses:
|
140
139
|
- Apache-2.0
|
141
140
|
metadata: {}
|
142
|
-
post_install_message:
|
143
141
|
rdoc_options: []
|
144
142
|
require_paths:
|
145
143
|
- lib
|
@@ -147,15 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
145
|
requirements:
|
148
146
|
- - ">="
|
149
147
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
148
|
+
version: '3.0'
|
151
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
150
|
requirements:
|
153
151
|
- - ">="
|
154
152
|
- !ruby/object:Gem::Version
|
155
153
|
version: '0'
|
156
154
|
requirements: []
|
157
|
-
rubygems_version: 3.
|
158
|
-
signing_key:
|
155
|
+
rubygems_version: 3.6.8
|
159
156
|
specification_version: 4
|
160
157
|
summary: Train high-quality custom machine learning models with minimum effort and
|
161
158
|
machine learning expertise.
|