google-apis-analyticshub_v1 0.39.0 → 0.40.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74331fc15fdcd3f643399c1dd4de9c4dbeb2694ae21fc0c05a99913a73d444b5
|
|
4
|
+
data.tar.gz: 28c16fc1f32f8ce1f35e54703b04d8e4bd65a2d258226e237e1c4945f17eec12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e3f8919ae90356ce837922e67f1e99fb4948c00e4efb85748295b4f2528689fd7cd88d5cfb7a7819ea745ef58848898b160f721949f0656718c6fc2dbae5ca3
|
|
7
|
+
data.tar.gz: ae2475666b7300d2b12f21af8b01364480acd9296d634746bb54bc03cb89bf7b51a35a8e384f6752ee888189f80a0cf39c399530e7dd6578377a943001d518ae
|
data/CHANGELOG.md
CHANGED
|
@@ -22,6 +22,45 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AnalyticshubV1
|
|
24
24
|
|
|
25
|
+
# Configuration for making inference requests against Vertex AI models.
|
|
26
|
+
class AiInference
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Required. An endpoint to a Vertex AI model of the form `projects/`project`/
|
|
30
|
+
# locations/`location`/endpoints/`endpoint`` or `projects/`project`/locations/`
|
|
31
|
+
# location`/publishers/`publisher`/models/`model``. Vertex AI API requests will
|
|
32
|
+
# be sent to this endpoint.
|
|
33
|
+
# Corresponds to the JSON property `endpoint`
|
|
34
|
+
# @return [String]
|
|
35
|
+
attr_accessor :endpoint
|
|
36
|
+
|
|
37
|
+
# Optional. The service account to use to make prediction requests against
|
|
38
|
+
# endpoints. The resource creator or updater that specifies this field must have
|
|
39
|
+
# `iam.serviceAccounts.actAs` permission on the service account. If not
|
|
40
|
+
# specified, the Pub/Sub [service agent](`$universe.dns_names.
|
|
41
|
+
# final_documentation_domain`/iam/docs/service-agents), service-`project_number`@
|
|
42
|
+
# gcp-sa-pubsub.iam.gserviceaccount.com, is used.
|
|
43
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
|
44
|
+
# @return [String]
|
|
45
|
+
attr_accessor :service_account_email
|
|
46
|
+
|
|
47
|
+
# Configuration for making inferences using arbitrary JSON payloads.
|
|
48
|
+
# Corresponds to the JSON property `unstructuredInference`
|
|
49
|
+
# @return [Google::Apis::AnalyticshubV1::UnstructuredInference]
|
|
50
|
+
attr_accessor :unstructured_inference
|
|
51
|
+
|
|
52
|
+
def initialize(**args)
|
|
53
|
+
update!(**args)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Update properties of this object
|
|
57
|
+
def update!(**args)
|
|
58
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
|
59
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
|
60
|
+
@unstructured_inference = args[:unstructured_inference] if args.key?(:unstructured_inference)
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
25
64
|
# Message for approving a QueryTemplate.
|
|
26
65
|
class ApproveQueryTemplateRequest
|
|
27
66
|
include Google::Apis::Core::Hashable
|
|
@@ -1558,6 +1597,11 @@ module Google
|
|
|
1558
1597
|
class MessageTransform
|
|
1559
1598
|
include Google::Apis::Core::Hashable
|
|
1560
1599
|
|
|
1600
|
+
# Configuration for making inference requests against Vertex AI models.
|
|
1601
|
+
# Corresponds to the JSON property `aiInference`
|
|
1602
|
+
# @return [Google::Apis::AnalyticshubV1::AiInference]
|
|
1603
|
+
attr_accessor :ai_inference
|
|
1604
|
+
|
|
1561
1605
|
# Optional. If true, the transform is disabled and will not be applied to
|
|
1562
1606
|
# messages. Defaults to `false`.
|
|
1563
1607
|
# Corresponds to the JSON property `disabled`
|
|
@@ -1584,6 +1628,7 @@ module Google
|
|
|
1584
1628
|
|
|
1585
1629
|
# Update properties of this object
|
|
1586
1630
|
def update!(**args)
|
|
1631
|
+
@ai_inference = args[:ai_inference] if args.key?(:ai_inference)
|
|
1587
1632
|
@disabled = args[:disabled] if args.key?(:disabled)
|
|
1588
1633
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
1589
1634
|
@javascript_udf = args[:javascript_udf] if args.key?(:javascript_udf)
|
|
@@ -2767,6 +2812,27 @@ module Google
|
|
|
2767
2812
|
def update!(**args)
|
|
2768
2813
|
end
|
|
2769
2814
|
end
|
|
2815
|
+
|
|
2816
|
+
# Configuration for making inferences using arbitrary JSON payloads.
|
|
2817
|
+
class UnstructuredInference
|
|
2818
|
+
include Google::Apis::Core::Hashable
|
|
2819
|
+
|
|
2820
|
+
# Optional. A parameters object to be included in each inference request. The
|
|
2821
|
+
# parameters object is combined with the data field of the Pub/Sub message to
|
|
2822
|
+
# form the inference request.
|
|
2823
|
+
# Corresponds to the JSON property `parameters`
|
|
2824
|
+
# @return [Hash<String,Object>]
|
|
2825
|
+
attr_accessor :parameters
|
|
2826
|
+
|
|
2827
|
+
def initialize(**args)
|
|
2828
|
+
update!(**args)
|
|
2829
|
+
end
|
|
2830
|
+
|
|
2831
|
+
# Update properties of this object
|
|
2832
|
+
def update!(**args)
|
|
2833
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
2834
|
+
end
|
|
2835
|
+
end
|
|
2770
2836
|
end
|
|
2771
2837
|
end
|
|
2772
2838
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AnalyticshubV1
|
|
18
18
|
# Version of the google-apis-analyticshub_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.40.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260111"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,12 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AnalyticshubV1
|
|
24
24
|
|
|
25
|
+
class AiInference
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
25
31
|
class ApproveQueryTemplateRequest
|
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
33
|
|
|
@@ -436,6 +442,22 @@ module Google
|
|
|
436
442
|
include Google::Apis::Core::JsonObjectSupport
|
|
437
443
|
end
|
|
438
444
|
|
|
445
|
+
class UnstructuredInference
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class AiInference
|
|
452
|
+
# @private
|
|
453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
454
|
+
property :endpoint, as: 'endpoint'
|
|
455
|
+
property :service_account_email, as: 'serviceAccountEmail'
|
|
456
|
+
property :unstructured_inference, as: 'unstructuredInference', class: Google::Apis::AnalyticshubV1::UnstructuredInference, decorator: Google::Apis::AnalyticshubV1::UnstructuredInference::Representation
|
|
457
|
+
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
439
461
|
class ApproveQueryTemplateRequest
|
|
440
462
|
# @private
|
|
441
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -803,6 +825,8 @@ module Google
|
|
|
803
825
|
class MessageTransform
|
|
804
826
|
# @private
|
|
805
827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
828
|
+
property :ai_inference, as: 'aiInference', class: Google::Apis::AnalyticshubV1::AiInference, decorator: Google::Apis::AnalyticshubV1::AiInference::Representation
|
|
829
|
+
|
|
806
830
|
property :disabled, as: 'disabled'
|
|
807
831
|
property :enabled, as: 'enabled'
|
|
808
832
|
property :javascript_udf, as: 'javascriptUdf', class: Google::Apis::AnalyticshubV1::JavaScriptUdf, decorator: Google::Apis::AnalyticshubV1::JavaScriptUdf::Representation
|
|
@@ -1116,6 +1140,13 @@ module Google
|
|
|
1116
1140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1117
1141
|
end
|
|
1118
1142
|
end
|
|
1143
|
+
|
|
1144
|
+
class UnstructuredInference
|
|
1145
|
+
# @private
|
|
1146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1147
|
+
hash :parameters, as: 'parameters'
|
|
1148
|
+
end
|
|
1149
|
+
end
|
|
1119
1150
|
end
|
|
1120
1151
|
end
|
|
1121
1152
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-analyticshub_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.40.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticshub_v1/v0.40.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticshub_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|