google-cloud-ai_platform-v1 1.20.0 → 1.21.0
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/AUTHENTICATION.md +4 -4
- data/README.md +4 -4
- data/lib/google/cloud/ai_platform/v1/bindings_override.rb +3 -30
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb +500 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/paths.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest/client.rb +476 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest/service_stub.rb +143 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service/rest.rb +53 -0
- data/lib/google/cloud/ai_platform/v1/data_foundry_service.rb +55 -0
- data/lib/google/cloud/ai_platform/v1/rest.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/data_foundry_service_pb.rb +55 -0
- data/lib/google/cloud/aiplatform/v1/data_foundry_service_services_pb.rb +45 -0
- data/proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb +127 -0
- metadata +13 -3
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/ai_platform/v1/version"
|
24
|
+
require "google/cloud/ai_platform/v1/bindings_override"
|
25
|
+
|
26
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/credentials"
|
27
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/paths"
|
28
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module AIPlatform
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# Service for generating and preparing datasets for Gen AI evaluation.
|
36
|
+
#
|
37
|
+
# To load this service and instantiate a REST client:
|
38
|
+
#
|
39
|
+
# require "google/cloud/ai_platform/v1/data_foundry_service/rest"
|
40
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Rest::Client.new
|
41
|
+
#
|
42
|
+
module DataFoundryService
|
43
|
+
# Client for the REST transport
|
44
|
+
module Rest
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
53
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/rest/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/ai_platform/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/credentials"
|
26
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/paths"
|
27
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/client"
|
28
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/rest"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module AIPlatform
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# Service for generating and preparing datasets for Gen AI evaluation.
|
36
|
+
#
|
37
|
+
# @example Load this service and instantiate a gRPC client
|
38
|
+
#
|
39
|
+
# require "google/cloud/ai_platform/v1/data_foundry_service"
|
40
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Client.new
|
41
|
+
#
|
42
|
+
# @example Load this service and instantiate a REST client
|
43
|
+
#
|
44
|
+
# require "google/cloud/ai_platform/v1/data_foundry_service/rest"
|
45
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Rest::Client.new
|
46
|
+
#
|
47
|
+
module DataFoundryService
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
helper_path = ::File.join __dir__, "data_foundry_service", "helpers.rb"
|
55
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/helpers" if ::File.file? helper_path
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
+
require "google/cloud/ai_platform/v1/data_foundry_service/rest"
|
19
20
|
require "google/cloud/ai_platform/v1/dataset_service/rest"
|
20
21
|
require "google/cloud/ai_platform/v1/deployment_resource_pool_service/rest"
|
21
22
|
require "google/cloud/ai_platform/v1/endpoint_service/rest"
|
@@ -60,7 +61,7 @@ module Google
|
|
60
61
|
# @example
|
61
62
|
#
|
62
63
|
# require "google/cloud/ai_platform/v1/rest"
|
63
|
-
# client = ::Google::Cloud::AIPlatform::V1::
|
64
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Rest::Client.new
|
64
65
|
#
|
65
66
|
module V1
|
66
67
|
end
|
@@ -16,6 +16,7 @@
|
|
16
16
|
|
17
17
|
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
18
|
|
19
|
+
require "google/cloud/ai_platform/v1/data_foundry_service"
|
19
20
|
require "google/cloud/ai_platform/v1/dataset_service"
|
20
21
|
require "google/cloud/ai_platform/v1/deployment_resource_pool_service"
|
21
22
|
require "google/cloud/ai_platform/v1/endpoint_service"
|
@@ -59,12 +60,12 @@ module Google
|
|
59
60
|
# @example Load this package, including all its services, and instantiate a gRPC client
|
60
61
|
#
|
61
62
|
# require "google/cloud/ai_platform/v1"
|
62
|
-
# client = ::Google::Cloud::AIPlatform::V1::
|
63
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Client.new
|
63
64
|
#
|
64
65
|
# @example Load this package, including all its services, and instantiate a REST client
|
65
66
|
#
|
66
67
|
# require "google/cloud/ai_platform/v1"
|
67
|
-
# client = ::Google::Cloud::AIPlatform::V1::
|
68
|
+
# client = ::Google::Cloud::AIPlatform::V1::DataFoundryService::Rest::Client.new
|
68
69
|
#
|
69
70
|
module V1
|
70
71
|
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/aiplatform/v1/data_foundry_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/aiplatform/v1/content_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n5google/cloud/aiplatform/v1/data_foundry_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/aiplatform/v1/content.proto\"\xdf\x02\n\x1cGenerateSyntheticDataRequest\x12O\n\x10task_description\x18\x03 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.TaskDescriptionStrategyH\x00\x12;\n\x08location\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x12\n\x05\x63ount\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\x12L\n\x12output_field_specs\x18\x04 \x03(\x0b\x32+.google.cloud.aiplatform.v1.OutputFieldSpecB\x03\xe0\x41\x02\x12\x43\n\x08\x65xamples\x18\x05 \x03(\x0b\x32,.google.cloud.aiplatform.v1.SyntheticExampleB\x03\xe0\x41\x01\x42\n\n\x08strategy\"d\n\x0eSyntheticField\x12\x17\n\nfield_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x39\n\x07\x63ontent\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContentB\x03\xe0\x41\x02\"S\n\x10SyntheticExample\x12?\n\x06\x66ields\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.SyntheticFieldB\x03\xe0\x41\x02\"\xe7\x01\n\x0fOutputFieldSpec\x12\x17\n\nfield_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08guidance\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12N\n\nfield_type\x18\x03 \x01(\x0e\x32\x35.google.cloud.aiplatform.v1.OutputFieldSpec.FieldTypeB\x03\xe0\x41\x01\"T\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43ONTENT\x10\x01\x12\x08\n\x04TEXT\x10\x02\x12\t\n\x05IMAGE\x10\x03\x12\t\n\x05\x41UDIO\x10\x04\"8\n\x17TaskDescriptionStrategy\x12\x1d\n\x10task_description\x18\x01 \x01(\tB\x03\xe0\x41\x02\"i\n\x1dGenerateSyntheticDataResponse\x12H\n\x12synthetic_examples\x18\x01 \x03(\x0b\x32,.google.cloud.aiplatform.v1.SyntheticExample2\xba\x02\n\x12\x44\x61taFoundryService\x12\xd4\x01\n\x15GenerateSyntheticData\x12\x38.google.cloud.aiplatform.v1.GenerateSyntheticDataRequest\x1a\x39.google.cloud.aiplatform.v1.GenerateSyntheticDataResponse\"F\x82\xd3\xe4\x93\x02@\";/v1/{location=projects/*/locations/*}:generateSyntheticData:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x17\x44\x61taFoundryServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.cloud.aiplatform.v1.Content", "google/cloud/aiplatform/v1/content.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module AIPlatform
|
44
|
+
module V1
|
45
|
+
GenerateSyntheticDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerateSyntheticDataRequest").msgclass
|
46
|
+
SyntheticField = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SyntheticField").msgclass
|
47
|
+
SyntheticExample = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SyntheticExample").msgclass
|
48
|
+
OutputFieldSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.OutputFieldSpec").msgclass
|
49
|
+
OutputFieldSpec::FieldType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.OutputFieldSpec.FieldType").enummodule
|
50
|
+
TaskDescriptionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.TaskDescriptionStrategy").msgclass
|
51
|
+
GenerateSyntheticDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GenerateSyntheticDataResponse").msgclass
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/aiplatform/v1/data_foundry_service.proto for package 'Google.Cloud.AIPlatform.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2025 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/aiplatform/v1/data_foundry_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module AIPlatform
|
25
|
+
module V1
|
26
|
+
module DataFoundryService
|
27
|
+
# Service for generating and preparing datasets for Gen AI evaluation.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include ::GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.aiplatform.v1.DataFoundryService'
|
35
|
+
|
36
|
+
# Generates synthetic data based on the provided configuration.
|
37
|
+
rpc :GenerateSyntheticData, ::Google::Cloud::AIPlatform::V1::GenerateSyntheticDataRequest, ::Google::Cloud::AIPlatform::V1::GenerateSyntheticDataResponse
|
38
|
+
end
|
39
|
+
|
40
|
+
Stub = Service.rpc_stub_class
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,127 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2025 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
# Request message for DataFoundryService.GenerateSyntheticData.
|
25
|
+
# @!attribute [rw] task_description
|
26
|
+
# @return [::Google::Cloud::AIPlatform::V1::TaskDescriptionStrategy]
|
27
|
+
# Generate data from a high-level task description.
|
28
|
+
# @!attribute [rw] location
|
29
|
+
# @return [::String]
|
30
|
+
# Required. The resource name of the Location to run the job.
|
31
|
+
# Format: `projects/{project}/locations/{location}`
|
32
|
+
# @!attribute [rw] count
|
33
|
+
# @return [::Integer]
|
34
|
+
# Required. The number of synthetic examples to generate.
|
35
|
+
# For this stateless API, the count is limited to a small number.
|
36
|
+
# @!attribute [rw] output_field_specs
|
37
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::OutputFieldSpec>]
|
38
|
+
# Required. The schema of the desired output, defined by a list of fields.
|
39
|
+
# @!attribute [rw] examples
|
40
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>]
|
41
|
+
# Optional. A list of few-shot examples to guide the model's output style
|
42
|
+
# and format.
|
43
|
+
class GenerateSyntheticDataRequest
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
end
|
47
|
+
|
48
|
+
# Represents a single named field within a SyntheticExample.
|
49
|
+
# @!attribute [rw] field_name
|
50
|
+
# @return [::String]
|
51
|
+
# Optional. The name of the field.
|
52
|
+
# @!attribute [rw] content
|
53
|
+
# @return [::Google::Cloud::AIPlatform::V1::Content]
|
54
|
+
# Required. The content of the field.
|
55
|
+
class SyntheticField
|
56
|
+
include ::Google::Protobuf::MessageExts
|
57
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
|
+
end
|
59
|
+
|
60
|
+
# Represents a single synthetic example, composed of multiple fields.
|
61
|
+
# Used for providing few-shot examples in the request and for returning
|
62
|
+
# generated examples in the response.
|
63
|
+
# @!attribute [rw] fields
|
64
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::SyntheticField>]
|
65
|
+
# Required. A list of fields that constitute an example.
|
66
|
+
class SyntheticExample
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
end
|
70
|
+
|
71
|
+
# Defines a specification for a single output field.
|
72
|
+
# @!attribute [rw] field_name
|
73
|
+
# @return [::String]
|
74
|
+
# Required. The name of the output field.
|
75
|
+
# @!attribute [rw] guidance
|
76
|
+
# @return [::String]
|
77
|
+
# Optional. Optional, but recommended. Additional guidance specific to this
|
78
|
+
# field to provide targeted instructions for the LLM to generate the content
|
79
|
+
# of a single output field. While the LLM can sometimes infer content from
|
80
|
+
# the field name, providing explicit guidance is preferred.
|
81
|
+
# @!attribute [rw] field_type
|
82
|
+
# @return [::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType]
|
83
|
+
# Optional. The data type of the field. Defaults to CONTENT if not set.
|
84
|
+
class OutputFieldSpec
|
85
|
+
include ::Google::Protobuf::MessageExts
|
86
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
87
|
+
|
88
|
+
# The data type of the field.
|
89
|
+
module FieldType
|
90
|
+
# Field type is unspecified.
|
91
|
+
FIELD_TYPE_UNSPECIFIED = 0
|
92
|
+
|
93
|
+
# Arbitrary content field type.
|
94
|
+
CONTENT = 1
|
95
|
+
|
96
|
+
# Text field type.
|
97
|
+
TEXT = 2
|
98
|
+
|
99
|
+
# Image field type.
|
100
|
+
IMAGE = 3
|
101
|
+
|
102
|
+
# Audio field type.
|
103
|
+
AUDIO = 4
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# Defines a generation strategy based on a high-level task description.
|
108
|
+
# @!attribute [rw] task_description
|
109
|
+
# @return [::String]
|
110
|
+
# Required. A high-level description of the synthetic data to be generated.
|
111
|
+
class TaskDescriptionStrategy
|
112
|
+
include ::Google::Protobuf::MessageExts
|
113
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
114
|
+
end
|
115
|
+
|
116
|
+
# The response containing the generated data.
|
117
|
+
# @!attribute [rw] synthetic_examples
|
118
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::SyntheticExample>]
|
119
|
+
# A list of generated synthetic examples.
|
120
|
+
class GenerateSyntheticDataResponse
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -15,14 +15,14 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: '1.
|
18
|
+
version: '1.1'
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '1.
|
25
|
+
version: '1.1'
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: google-cloud-errors
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,6 +82,13 @@ files:
|
|
82
82
|
- lib/google-cloud-ai_platform-v1.rb
|
83
83
|
- lib/google/cloud/ai_platform/v1.rb
|
84
84
|
- lib/google/cloud/ai_platform/v1/bindings_override.rb
|
85
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service.rb
|
86
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb
|
87
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service/credentials.rb
|
88
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service/paths.rb
|
89
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service/rest.rb
|
90
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service/rest/client.rb
|
91
|
+
- lib/google/cloud/ai_platform/v1/data_foundry_service/rest/service_stub.rb
|
85
92
|
- lib/google/cloud/ai_platform/v1/dataset_service.rb
|
86
93
|
- lib/google/cloud/ai_platform/v1/dataset_service/client.rb
|
87
94
|
- lib/google/cloud/ai_platform/v1/dataset_service/credentials.rb
|
@@ -365,6 +372,8 @@ files:
|
|
365
372
|
- lib/google/cloud/aiplatform/v1/content_pb.rb
|
366
373
|
- lib/google/cloud/aiplatform/v1/context_pb.rb
|
367
374
|
- lib/google/cloud/aiplatform/v1/custom_job_pb.rb
|
375
|
+
- lib/google/cloud/aiplatform/v1/data_foundry_service_pb.rb
|
376
|
+
- lib/google/cloud/aiplatform/v1/data_foundry_service_services_pb.rb
|
368
377
|
- lib/google/cloud/aiplatform/v1/data_item_pb.rb
|
369
378
|
- lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb
|
370
379
|
- lib/google/cloud/aiplatform/v1/dataset_pb.rb
|
@@ -523,6 +532,7 @@ files:
|
|
523
532
|
- proto_docs/google/cloud/aiplatform/v1/content.rb
|
524
533
|
- proto_docs/google/cloud/aiplatform/v1/context.rb
|
525
534
|
- proto_docs/google/cloud/aiplatform/v1/custom_job.rb
|
535
|
+
- proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb
|
526
536
|
- proto_docs/google/cloud/aiplatform/v1/data_item.rb
|
527
537
|
- proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb
|
528
538
|
- proto_docs/google/cloud/aiplatform/v1/dataset.rb
|