From 585e89f02c3c1027f66e7cde1ebf6cf71c33ab48 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 5 Jul 2026 11:24:05 +0000 Subject: [PATCH] feat: Automated regeneration of aiplatform v1beta1 client --- api_names_out.yaml | 3 + .../CHANGELOG.md | 4 + .../google/apis/aiplatform_v1beta1/classes.rb | 226 ++---------------- .../apis/aiplatform_v1beta1/gem_version.rb | 4 +- .../aiplatform_v1beta1/representations.rb | 88 +------ .../google/apis/aiplatform_v1beta1/service.rb | 108 --------- 6 files changed, 36 insertions(+), 397 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index dd27b458b0a..78e1b5e0603 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -17327,6 +17327,7 @@ "/aiplatform:v1beta1/GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig/pipeline_mode": pipeline_mode "/aiplatform:v1beta1/GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig/topology": topology "/aiplatform:v1beta1/GenaiVertexV1beta1ComputerUse": genai_vertex_v1beta1_computer_use +"/aiplatform:v1beta1/GenaiVertexV1beta1ComputerUse/enablePromptInjectionDetection": enable_prompt_injection_detection "/aiplatform:v1beta1/GenaiVertexV1beta1ComputerUse/environment": environment "/aiplatform:v1beta1/GenaiVertexV1beta1ComputerUse/excludedPredefinedFunctions": excluded_predefined_functions "/aiplatform:v1beta1/GenaiVertexV1beta1ComputerUse/excludedPredefinedFunctions/excluded_predefined_function": excluded_predefined_function @@ -18175,6 +18176,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope/name": name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope/observabilityBuckets": observability_buckets "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope/observabilityBuckets/observability_bucket": observability_bucket +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope/state": state "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentConfig": google_cloud_aiplatform_v1beta1_agent_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentConfig/agentId": agent_id "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AgentConfig/agentType": agent_type @@ -25905,6 +25907,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/apiKey": api_key "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/customConfigs": custom_configs "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/customConfigs/custom_config": custom_config +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/enableDataRetention": enable_data_retention "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput": google_cloud_aiplatform_v1beta1_tool_parameter_kv_match_input "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput/instances": instances "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput/instances/instance": instance diff --git a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md index e035128f200..33c2340df3b 100644 --- a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md +++ b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-aiplatform_v1beta1 +### v0.83.0 (2026-07-05) + +* Regenerated from discovery document revision 20260623 + ### v0.82.0 (2026-06-21) * Regenerated from discovery document revision 20260617 diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb index 8da779fc179..a6ee1ebedaa 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb @@ -869,11 +869,6 @@ class GenaiVertexV1beta1AgentInteraction # @return [String] attr_accessor :agent - # Configuration for the CodeMender agent. - # Corresponds to the JSON property `code_mender_config` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfig] - attr_accessor :code_mender_config - # Configuration for the Deep Research agent. # Corresponds to the JSON property `deepResearchConfig` # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig] @@ -891,7 +886,6 @@ def initialize(**args) # Update properties of this object def update!(**args) @agent = args[:agent] if args.key?(:agent) - @code_mender_config = args[:code_mender_config] if args.key?(:code_mender_config) @deep_research_config = args[:deep_research_config] if args.key?(:deep_research_config) @dynamic_config = args[:dynamic_config] if args.key?(:dynamic_config) end @@ -1271,186 +1265,16 @@ def update!(**args) end end - # Configuration for the CodeMender agent. - class GenaiVertexV1beta1CodeMenderAgentConfig - include Google::Apis::Core::Hashable - - # Request parameters specific to FIND sessions, used for discovering - # vulnerabilities in a codebase. - # Corresponds to the JSON property `find_request` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFindRequest] - attr_accessor :find_request - - # Request parameters specific to FIX sessions, used for generating and - # validating security patches. - # Corresponds to the JSON property `fix_request` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFixRequest] - attr_accessor :fix_request - - # The name of the model to use for the CodeMender agent. One CodeMender session - # will only use one model. - # Corresponds to the JSON property `model` - # @return [String] - attr_accessor :model - - # The configuration of CodeMender sessions. - # Corresponds to the JSON property `session_config` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig] - attr_accessor :session_config - - # Parameter for grouping multiple interactions that belong to the same - # CodeMender session. - # Corresponds to the JSON property `session_id` - # @return [String] - attr_accessor :session_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @find_request = args[:find_request] if args.key?(:find_request) - @fix_request = args[:fix_request] if args.key?(:fix_request) - @model = args[:model] if args.key?(:model) - @session_config = args[:session_config] if args.key?(:session_config) - @session_id = args[:session_id] if args.key?(:session_id) - end - end - - # Content of a single file in the codebase. - class GenaiVertexV1beta1CodeMenderAgentConfigFileContent - include Google::Apis::Core::Hashable - - # The UTF-8 encoded text content of the file. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - # The relative path of the file from the project root. - # Corresponds to the JSON property `path` - # @return [String] - attr_accessor :path - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @path = args[:path] if args.key?(:path) - end - end - - # Request parameters specific to FIND sessions, used for discovering - # vulnerabilities in a codebase. - class GenaiVertexV1beta1CodeMenderAgentConfigFindRequest - include Google::Apis::Core::Hashable - - # Additional context or custom instructions provided by the user to guide the - # vulnerability analysis. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The identifier of a specific finding to verify. This is primarily used in - # VERIFY mode to focus the agent's execution-based validation on a single - # vulnerability. - # Corresponds to the JSON property `finding_id` - # @return [String] - attr_accessor :finding_id - - # A list of source files to provide as context for the scan. - # Corresponds to the JSON property `source_files` - # @return [Array] - attr_accessor :source_files - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @finding_id = args[:finding_id] if args.key?(:finding_id) - @source_files = args[:source_files] if args.key?(:source_files) - end - end - - # Request parameters specific to FIX sessions, used for generating and - # validating security patches. - class GenaiVertexV1beta1CodeMenderAgentConfigFixRequest - include Google::Apis::Core::Hashable - - # Additional context or custom instructions provided by the user to guide the - # patch generation process. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The identifier of the specific security finding to be remediated. This ID maps - # to a previously discovered vulnerability. - # Corresponds to the JSON property `finding_id` - # @return [String] - attr_accessor :finding_id - - # A list of source files providing context for the remediation. These files are - # typically the ones containing the identified vulnerability. - # Corresponds to the JSON property `source_files` - # @return [Array] - attr_accessor :source_files - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @finding_id = args[:finding_id] if args.key?(:finding_id) - @source_files = args[:source_files] if args.key?(:source_files) - end - end - - # The configuration of CodeMender sessions. - class GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig - include Google::Apis::Core::Hashable - - # The maximum number of interaction rounds the agent is allowed to perform - # before reaching a timeout. - # Corresponds to the JSON property `max_rounds` - # @return [Fixnum] - attr_accessor :max_rounds - - # The pipeline mode of a CodeMender session. It can only be used for a find - # session. - # Corresponds to the JSON property `pipeline_mode` - # @return [String] - attr_accessor :pipeline_mode - - # The cognitive architecture or "thinking" topology used by the agent (e.g. " - # default", "deep"). - # Corresponds to the JSON property `topology` - # @return [String] - attr_accessor :topology - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_rounds = args[:max_rounds] if args.key?(:max_rounds) - @pipeline_mode = args[:pipeline_mode] if args.key?(:pipeline_mode) - @topology = args[:topology] if args.key?(:topology) - end - end - # A tool that can be used by the model to interact with the computer. class GenaiVertexV1beta1ComputerUse include Google::Apis::Core::Hashable + # Whether enable the prompt injection detection check on computer-use request. + # Corresponds to the JSON property `enablePromptInjectionDetection` + # @return [Boolean] + attr_accessor :enable_prompt_injection_detection + alias_method :enable_prompt_injection_detection?, :enable_prompt_injection_detection + # The environment being operated. # Corresponds to the JSON property `environment` # @return [String] @@ -1467,6 +1291,7 @@ def initialize(**args) # Update properties of this object def update!(**args) + @enable_prompt_injection_detection = args[:enable_prompt_injection_detection] if args.key?(:enable_prompt_injection_detection) @environment = args[:environment] if args.key?(:environment) @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions) end @@ -6665,15 +6490,6 @@ def update!(**args) class GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope include Google::Apis::Core::Hashable - # Optional. When true, agents created in Agent Engine that share log and - # observability buckets with this scope are automatically enrolled as - # MonitoredAgents. When false, agents must be enrolled explicitly via - # MonitoredAgent operations. - # Corresponds to the JSON property `autoEnroll` - # @return [Boolean] - attr_accessor :auto_enroll - alias_method :auto_enroll?, :auto_enroll - # Optional. User provided display name of the AgentAnomalyDetectionScope. # Corresponds to the JSON property `displayName` # @return [String] @@ -6699,17 +6515,23 @@ class GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope # @return [Array] attr_accessor :observability_buckets + # Output only. The lifecycle state of the scope. See `State` for the semantics + # of each value. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @auto_enroll = args[:auto_enroll] if args.key?(:auto_enroll) @display_name = args[:display_name] if args.key?(:display_name) @log_buckets = args[:log_buckets] if args.key?(:log_buckets) @name = args[:name] if args.key?(:name) @observability_buckets = args[:observability_buckets] if args.key?(:observability_buckets) + @state = args[:state] if args.key?(:state) end end @@ -58191,15 +58013,6 @@ class GoogleCloudAiplatformV1beta1SemanticGovernancePolicyEngine # @return [String] attr_accessor :state - # Optional. The project where network, subnetwork and dns resources are located. - # If not provided, it is assumed to be the same project of - # SemanticGovernancePolicyEngine. This field is for Shared VPC scenarios, where - # network resources may be in a target project and SGP engine in a service - # project. - # Corresponds to the JSON property `targetProject` - # @return [String] - attr_accessor :target_project - # Output only. Timestamp when this SemanticGovernancePolicyEngine was last # updated. # Corresponds to the JSON property `updateTime` @@ -58219,7 +58032,6 @@ def update!(**args) @psc_forwarding_rule = args[:psc_forwarding_rule] if args.key?(:psc_forwarding_rule) @psc_service_attachment = args[:psc_service_attachment] if args.key?(:psc_service_attachment) @state = args[:state] if args.key?(:state) - @target_project = args[:target_project] if args.key?(:target_project) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -63125,6 +62937,15 @@ class GoogleCloudAiplatformV1beta1ToolParallelAiSearch # @return [Hash] attr_accessor :custom_configs + # Optional. Instructs Vertex Grounding to use Parallel's Zero Data Retention + # Marketplace product. If this value is "false" or omitted, the Parallel Web + # Search for Grounding standard subscription will be used. If this value is " + # true", the Parallel Web Search for Grounding - ZDR subscription will be used. + # Corresponds to the JSON property `enableDataRetention` + # @return [Boolean] + attr_accessor :enable_data_retention + alias_method :enable_data_retention?, :enable_data_retention + def initialize(**args) update!(**args) end @@ -63133,6 +62954,7 @@ def initialize(**args) def update!(**args) @api_key = args[:api_key] if args.key?(:api_key) @custom_configs = args[:custom_configs] if args.key?(:custom_configs) + @enable_data_retention = args[:enable_data_retention] if args.key?(:enable_data_retention) end end diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb index 3762b64f265..0a88ba18cfb 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AiplatformV1beta1 # Version of the google-apis-aiplatform_v1beta1 gem - GEM_VERSION = "0.82.0" + GEM_VERSION = "0.83.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260617" + REVISION = "20260623" end end end diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb index 95af2d3b45f..9cbc58c2ea9 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb @@ -238,36 +238,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1CodeMenderAgentConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1CodeMenderAgentConfigFileContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1CodeMenderAgentConfigFindRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1CodeMenderAgentConfigFixRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1ComputerUse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -11701,8 +11671,6 @@ class GenaiVertexV1beta1AgentInteraction # @private class Representation < Google::Apis::Core::JsonRepresentation property :agent, as: 'agent' - property :code_mender_config, as: 'code_mender_config', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfig, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfig::Representation - property :deep_research_config, as: 'deepResearchConfig', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig::Representation property :dynamic_config, as: 'dynamicConfig', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DynamicAgentConfig, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DynamicAgentConfig::Representation @@ -11828,60 +11796,10 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1CodeMenderAgentConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :find_request, as: 'find_request', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFindRequest, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFindRequest::Representation - - property :fix_request, as: 'fix_request', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFixRequest, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFixRequest::Representation - - property :model, as: 'model' - property :session_config, as: 'session_config', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig::Representation - - property :session_id, as: 'session_id' - end - end - - class GenaiVertexV1beta1CodeMenderAgentConfigFileContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content' - property :path, as: 'path' - end - end - - class GenaiVertexV1beta1CodeMenderAgentConfigFindRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :finding_id, as: 'finding_id' - collection :source_files, as: 'source_files', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFileContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFileContent::Representation - - end - end - - class GenaiVertexV1beta1CodeMenderAgentConfigFixRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :finding_id, as: 'finding_id' - collection :source_files, as: 'source_files', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFileContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigFileContent::Representation - - end - end - - class GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_rounds, as: 'max_rounds' - property :pipeline_mode, as: 'pipeline_mode' - property :topology, as: 'topology' - end - end - class GenaiVertexV1beta1ComputerUse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :enable_prompt_injection_detection, as: 'enablePromptInjectionDetection' property :environment, as: 'environment' collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions' end @@ -13596,11 +13514,11 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope # @private class Representation < Google::Apis::Core::JsonRepresentation - property :auto_enroll, as: 'autoEnroll' property :display_name, as: 'displayName' collection :log_buckets, as: 'logBuckets' property :name, as: 'name' collection :observability_buckets, as: 'observabilityBuckets' + property :state, as: 'state' end end @@ -28250,7 +28168,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :psc_forwarding_rule, as: 'pscForwardingRule' property :psc_service_attachment, as: 'pscServiceAttachment' property :state, as: 'state' - property :target_project, as: 'targetProject' property :update_time, as: 'updateTime' end end @@ -29652,6 +29569,7 @@ class GoogleCloudAiplatformV1beta1ToolParallelAiSearch class Representation < Google::Apis::Core::JsonRepresentation property :api_key, as: 'apiKey' hash :custom_configs, as: 'customConfigs' + property :enable_data_retention, as: 'enableDataRetention' end end diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb index 84339bfa02c..231cf8f8457 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb @@ -10622,45 +10622,6 @@ def list_project_location_agent_anomaly_detection_scopes(parent, page_size: nil, execute_or_queue_command(command, &block) end - # Updates an existing AgentAnomalyDetectionScope. - # @param [String] name - # Identifier. The resource name of the AgentAnomalyDetectionScope. Format: ` - # projects/`project`/locations/`location`/agentAnomalyDetectionScopes/` - # agent_anomaly_detection_scope`` - # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope] google_cloud_aiplatform_v1beta1_agent_anomaly_detection_scope_object - # @param [String] update_mask - # Optional. The list of fields to update. Supported paths: `display_name`, ` - # auto_enroll`, `log_buckets`, `observability_buckets`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_project_location_agent_anomaly_detection_scope(name, google_cloud_aiplatform_v1beta1_agent_anomaly_detection_scope_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1beta1/{+name}', options) - command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentAnomalyDetectionScope::Representation - command.request_object = google_cloud_aiplatform_v1beta1_agent_anomaly_detection_scope_object - command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation - command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation - command.params['name'] = name unless name.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates an agent. # @param [String] parent # Required. The resource name of the location to create the agent in. Format: ` @@ -29603,75 +29564,6 @@ def wait_project_location_model_operation(name, timeout: nil, fields: nil, quota execute_or_queue_command(command, &block) end - # Creates a new MonitoredAgent in a specific Location. - # @param [String] parent - # Required. The resource name of the Location to create the MonitoredAgent in. - # Format: `projects/`project`/locations/`location`` - # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent] google_cloud_aiplatform_v1beta1_monitored_agent_object - # @param [String] monitored_agent_id - # Required. The ID to use for the MonitoredAgent, which will become the final - # component of the MonitoredAgent's resource name. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_location_monitored_agent(parent, google_cloud_aiplatform_v1beta1_monitored_agent_object = nil, monitored_agent_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+parent}/monitoredAgents', options) - command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent::Representation - command.request_object = google_cloud_aiplatform_v1beta1_monitored_agent_object - command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent::Representation - command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent - command.params['parent'] = parent unless parent.nil? - command.query['monitoredAgentId'] = monitored_agent_id unless monitored_agent_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a specific MonitoredAgent. - # @param [String] name - # Required. The name of the MonitoredAgent resource to be deleted. Format: ` - # projects/`project`/locations/`location`/monitoredAgents/`monitored_agent`` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # Available to use for quota purposes for server-side applications. Can be any - # arbitrary string assigned to a user, but should not exceed 40 characters. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_location_monitored_agent(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta1/{+name}', options) - command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation - command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Disables a specific MonitoredAgent. # @param [String] name # Required. The name of the MonitoredAgent resource to be disabled. Format: `