google-cloud-ai_platform-v1 1.50.0 → 1.52.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.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +8 -10
  4. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/client.rb +1972 -0
  5. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/credentials.rb +47 -0
  6. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/operations.rb +851 -0
  7. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/paths.rb +132 -0
  8. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/client.rb +1840 -0
  9. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/operations.rb +4481 -0
  10. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/service_stub.rb +939 -0
  11. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest.rb +54 -0
  12. data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service.rb +56 -0
  13. data/lib/google/cloud/ai_platform/v1/bindings_override.rb +1 -1
  14. data/lib/google/cloud/ai_platform/v1/rest.rb +2 -1
  15. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  16. data/lib/google/cloud/ai_platform/v1.rb +3 -2
  17. data/lib/google/cloud/aiplatform/v1/agent_anomaly_detection_service_pb.rb +73 -0
  18. data/lib/google/cloud/aiplatform/v1/agent_anomaly_detection_service_services_pb.rb +86 -0
  19. data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +2 -1
  20. data/proto_docs/google/cloud/aiplatform/v1/agent_anomaly_detection_service.rb +1009 -0
  21. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +87 -10
  22. metadata +13 -1
@@ -0,0 +1,132 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 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
+ module AgentAnomalyDetectionService
25
+ # Path helper methods for the AgentAnomalyDetectionService API.
26
+ module Paths
27
+ ##
28
+ # Create a fully-qualified AgentAnomalyDetectionScope resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/agentAnomalyDetectionScopes/{agent_anomaly_detection_scope}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param agent_anomaly_detection_scope [String]
37
+ #
38
+ # @return [::String]
39
+ def agent_anomaly_detection_scope_path project:, location:, agent_anomaly_detection_scope:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/agentAnomalyDetectionScopes/#{agent_anomaly_detection_scope}"
44
+ end
45
+
46
+ ##
47
+ # Create a fully-qualified AnalyzedInvocation resource string.
48
+ #
49
+ # The resource will be in the following format:
50
+ #
51
+ # `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}/analyzedSessions/{analyzed_session}/analyzedInvocations/{analyzed_invocation}`
52
+ #
53
+ # @param project [String]
54
+ # @param location [String]
55
+ # @param monitored_agent [String]
56
+ # @param analyzed_session [String]
57
+ # @param analyzed_invocation [String]
58
+ #
59
+ # @return [::String]
60
+ def analyzed_invocation_path project:, location:, monitored_agent:, analyzed_session:, analyzed_invocation:
61
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
62
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
63
+ raise ::ArgumentError, "monitored_agent cannot contain /" if monitored_agent.to_s.include? "/"
64
+ raise ::ArgumentError, "analyzed_session cannot contain /" if analyzed_session.to_s.include? "/"
65
+
66
+ "projects/#{project}/locations/#{location}/monitoredAgents/#{monitored_agent}/analyzedSessions/#{analyzed_session}/analyzedInvocations/#{analyzed_invocation}"
67
+ end
68
+
69
+ ##
70
+ # Create a fully-qualified AnalyzedSession resource string.
71
+ #
72
+ # The resource will be in the following format:
73
+ #
74
+ # `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}/analyzedSessions/{analyzed_session}`
75
+ #
76
+ # @param project [String]
77
+ # @param location [String]
78
+ # @param monitored_agent [String]
79
+ # @param analyzed_session [String]
80
+ #
81
+ # @return [::String]
82
+ def analyzed_session_path project:, location:, monitored_agent:, analyzed_session:
83
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
84
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
85
+ raise ::ArgumentError, "monitored_agent cannot contain /" if monitored_agent.to_s.include? "/"
86
+
87
+ "projects/#{project}/locations/#{location}/monitoredAgents/#{monitored_agent}/analyzedSessions/#{analyzed_session}"
88
+ end
89
+
90
+ ##
91
+ # Create a fully-qualified Location resource string.
92
+ #
93
+ # The resource will be in the following format:
94
+ #
95
+ # `projects/{project}/locations/{location}`
96
+ #
97
+ # @param project [String]
98
+ # @param location [String]
99
+ #
100
+ # @return [::String]
101
+ def location_path project:, location:
102
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
103
+
104
+ "projects/#{project}/locations/#{location}"
105
+ end
106
+
107
+ ##
108
+ # Create a fully-qualified MonitoredAgent resource string.
109
+ #
110
+ # The resource will be in the following format:
111
+ #
112
+ # `projects/{project}/locations/{location}/monitoredAgents/{monitored_agent}`
113
+ #
114
+ # @param project [String]
115
+ # @param location [String]
116
+ # @param monitored_agent [String]
117
+ #
118
+ # @return [::String]
119
+ def monitored_agent_path project:, location:, monitored_agent:
120
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
121
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
122
+
123
+ "projects/#{project}/locations/#{location}/monitoredAgents/#{monitored_agent}"
124
+ end
125
+
126
+ extend self
127
+ end
128
+ end
129
+ end
130
+ end
131
+ end
132
+ end