From 2ed5f899d73efbfd3fb75317c74391d013da850d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 22 Dec 2024 10:18:44 +0000 Subject: [PATCH] feat: Automated regeneration of aiplatform v1beta1 client --- api_names_out.yaml | 36 +++ .../CHANGELOG.md | 4 + .../google/apis/aiplatform_v1beta1/classes.rb | 243 ++++++++++++++++-- .../apis/aiplatform_v1beta1/gem_version.rb | 4 +- .../aiplatform_v1beta1/representations.rb | 89 ++++++- .../google/apis/aiplatform_v1beta1/service.rb | 129 +++++++++- 6 files changed, 483 insertions(+), 22 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 5c461fd2591..4c2a7b07198 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -13590,6 +13590,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfig/oidcConfig": oidc_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig": google_cloud_aiplatform_v1beta1_auth_config_api_key_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig/apiKeySecret": api_key_secret +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig/apiKeyString": api_key_string "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig/httpElementLocation": http_element_location "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig/name": name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig": google_cloud_aiplatform_v1beta1_auth_config_google_service_account_config @@ -15130,6 +15131,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/logitBias/logit_bia": logit_bia "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/logprobs": logprobs "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/maxOutputTokens": max_output_tokens +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/mediaResolution": media_resolution "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/presencePenalty": presence_penalty "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/responseLogprobs": response_logprobs "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerationConfig/responseMimeType": response_mime_type @@ -15828,6 +15830,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/healthProbe": health_probe "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/healthRoute": health_route "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/imageUri": image_uri +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/livenessProbe": liveness_probe "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/ports": ports "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/ports/port": port "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ModelContainerSpec/predictRoute": predict_route @@ -16460,6 +16463,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Part/functionResponse": function_response "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Part/inlineData": inline_data "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Part/text": text +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Part/thought": thought "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Part/videoMetadata": video_metadata "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PartnerModelTuningSpec": google_cloud_aiplatform_v1beta1_partner_model_tuning_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PartnerModelTuningSpec/hyperParameters": hyper_parameters @@ -16661,11 +16665,30 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig/serviceAttachment": service_attachment "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe": google_cloud_aiplatform_v1beta1_probe "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe/exec": exec +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe/grpc": grpc +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe/httpGet": http_get "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe/periodSeconds": period_seconds +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe/tcpSocket": tcp_socket "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Probe/timeoutSeconds": timeout_seconds "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeExecAction": google_cloud_aiplatform_v1beta1_probe_exec_action "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeExecAction/command": command "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeExecAction/command/command": command +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeGrpcAction": google_cloud_aiplatform_v1beta1_probe_grpc_action +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeGrpcAction/port": port +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeGrpcAction/service": service +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction": google_cloud_aiplatform_v1beta1_probe_http_get_action +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction/host": host +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction/httpHeaders": http_headers +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction/httpHeaders/http_header": http_header +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction/path": path +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction/port": port +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpGetAction/scheme": scheme +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpHeader": google_cloud_aiplatform_v1beta1_probe_http_header +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpHeader/name": name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeHttpHeader/value": value +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeTcpSocketAction": google_cloud_aiplatform_v1beta1_probe_tcp_socket_action +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeTcpSocketAction/host": host +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ProbeTcpSocketAction/port": port "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PscAutomatedEndpoints": google_cloud_aiplatform_v1beta1_psc_automated_endpoints "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PscAutomatedEndpoints/matchAddress": match_address "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PscAutomatedEndpoints/network": network @@ -16935,12 +16958,17 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfig": google_cloud_aiplatform_v1beta1_rag_file_parsing_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfig/advancedParser": advanced_parser "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfig/layoutParser": layout_parser +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfig/llmParser": llm_parser "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfig/useAdvancedPdfParsing": use_advanced_pdf_parsing "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser": google_cloud_aiplatform_v1beta1_rag_file_parsing_config_advanced_parser "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigAdvancedParser/useAdvancedPdfParsing": use_advanced_pdf_parsing "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser": google_cloud_aiplatform_v1beta1_rag_file_parsing_config_layout_parser "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser/maxParsingRequestsPerMin": max_parsing_requests_per_min "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser/processorName": processor_name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser": google_cloud_aiplatform_v1beta1_rag_file_parsing_config_llm_parser +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser/customParsingPrompt": custom_parsing_prompt +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser/maxParsingRequestsPerMin": max_parsing_requests_per_min +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser/modelName": model_name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileTransformationConfig": google_cloud_aiplatform_v1beta1_rag_file_transformation_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagFileTransformationConfig/ragFileChunkingConfig": rag_file_chunking_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RagQuery": google_cloud_aiplatform_v1beta1_rag_query @@ -19864,6 +19892,9 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.features.patch/updateMask": update_mask "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.get": get_project_location_feature_group "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.get/name": name +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.getIamPolicy": get_project_location_feature_group_iam_policy +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.getIamPolicy/options.requestedPolicyVersion": options_requested_policy_version +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.getIamPolicy/resource": resource "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.list": list_project_location_feature_groups "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.list/filter": filter "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.list/orderBy": order_by @@ -19885,6 +19916,11 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.patch": patch_project_location_feature_group "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.patch/name": name "/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.patch/updateMask": update_mask +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.setIamPolicy": set_project_location_feature_group_iam_policy +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.setIamPolicy/resource": resource +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.testIamPermissions": test_project_location_feature_group_iam_permissions +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.testIamPermissions/permissions": permissions +"/aiplatform:v1beta1/aiplatform.projects.locations.featureGroups.testIamPermissions/resource": resource "/aiplatform:v1beta1/aiplatform.projects.locations.featureOnlineStores.create": create_project_location_feature_online_store "/aiplatform:v1beta1/aiplatform.projects.locations.featureOnlineStores.create/featureOnlineStoreId": feature_online_store_id "/aiplatform:v1beta1/aiplatform.projects.locations.featureOnlineStores.create/parent": parent diff --git a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md index c98b1873d6c..40845841980 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.36.0 (2024-12-22) + +* Regenerated from discovery document revision 20241214 + ### v0.35.0 (2024-12-08) * Regenerated from discovery document revision 20241203 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 49e90429575..e6d1a6e736e 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 @@ -1310,15 +1310,22 @@ def update!(**args) class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig include Google::Apis::Core::Hashable - # Required. The name of the SecretManager secret version resource storing the + # Optional. The name of the SecretManager secret version resource storing the # API key. Format: `projects/`project`/secrets/`secrete`/versions/`version`` - - # If specified, the `secretmanager.versions.access` permission should be granted - # to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/ - # general/access-control#service-agents) on the specified resource. + # If both `api_key_secret` and `api_key_string` are specified, this field takes + # precedence over `api_key_string`. - If specified, the `secretmanager.versions. + # access` permission should be granted to Vertex AI Extension Service Agent ( + # https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + # on the specified resource. # Corresponds to the JSON property `apiKeySecret` # @return [String] attr_accessor :api_key_secret + # Optional. The API key to be used in the request directly. + # Corresponds to the JSON property `apiKeyString` + # @return [String] + attr_accessor :api_key_string + # Required. The location of the API key. # Corresponds to the JSON property `httpElementLocation` # @return [String] @@ -1337,6 +1344,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @api_key_secret = args[:api_key_secret] if args.key?(:api_key_secret) + @api_key_string = args[:api_key_string] if args.key?(:api_key_string) @http_element_location = args[:http_element_location] if args.key?(:http_element_location) @name = args[:name] if args.key?(:name) end @@ -2738,7 +2746,7 @@ def update!(**args) end end - # Content blob. It's preferred to send as text directly rather than raw bytes. + # Content blob. class GoogleCloudAiplatformV1beta1Blob include Google::Apis::Core::Hashable @@ -5504,7 +5512,8 @@ class GoogleCloudAiplatformV1beta1Dataset # @return [String] attr_accessor :model_reference - # Output only. Identifier. The resource name of the Dataset. + # Output only. Identifier. The resource name of the Dataset. Format: `projects/` + # project`/locations/`location`/datasets/`dataset`` # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -7047,9 +7056,9 @@ class GoogleCloudAiplatformV1beta1DistillationSpec # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationHyperParameters] attr_accessor :hyper_parameters - # Required. Deprecated. A path in a Cloud Storage bucket, which will be treated - # as the root output directory of the distillation pipeline. It is used by the - # system to generate the paths of output artifacts. + # Deprecated. A path in a Cloud Storage bucket, which will be treated as the + # root output directory of the distillation pipeline. It is used by the system + # to generate the paths of output artifacts. # Corresponds to the JSON property `pipelineRootDirectory` # @return [String] attr_accessor :pipeline_root_directory @@ -7060,7 +7069,7 @@ class GoogleCloudAiplatformV1beta1DistillationSpec # @return [String] attr_accessor :student_model - # Required. Cloud Storage path to file containing training dataset for tuning. + # Deprecated. Cloud Storage path to file containing training dataset for tuning. # The dataset must be formatted as a JSONL file. # Corresponds to the JSON property `trainingDatasetUri` # @return [String] @@ -13189,6 +13198,11 @@ class GoogleCloudAiplatformV1beta1GenerationConfig # @return [Fixnum] attr_accessor :max_output_tokens + # Optional. If specified, the media resolution specified will be used. + # Corresponds to the JSON property `mediaResolution` + # @return [String] + attr_accessor :media_resolution + # Optional. Positive penalties. # Corresponds to the JSON property `presencePenalty` # @return [Float] @@ -13246,11 +13260,6 @@ class GoogleCloudAiplatformV1beta1GenerationConfig # @return [Float] attr_accessor :temperature - # Optional. If specified, the token resolution specified will be used. - # Corresponds to the JSON property `tokenResolution` - # @return [String] - attr_accessor :token_resolution - # Optional. If specified, top-k sampling will be used. # Corresponds to the JSON property `topK` # @return [Float] @@ -13272,6 +13281,7 @@ def update!(**args) @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty) @logprobs = args[:logprobs] if args.key?(:logprobs) @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens) + @media_resolution = args[:media_resolution] if args.key?(:media_resolution) @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty) @response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs) @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type) @@ -13282,7 +13292,6 @@ def update!(**args) @speech_config = args[:speech_config] if args.key?(:speech_config) @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences) @temperature = args[:temperature] if args.key?(:temperature) - @token_resolution = args[:token_resolution] if args.key?(:token_resolution) @top_k = args[:top_k] if args.key?(:top_k) @top_p = args[:top_p] if args.key?(:top_p) end @@ -18110,6 +18119,12 @@ class GoogleCloudAiplatformV1beta1ModelContainerSpec # @return [String] attr_accessor :image_uri + # Probe describes a health check to be performed against a container to + # determine whether it is alive or ready to receive traffic. + # Corresponds to the JSON property `livenessProbe` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe] + attr_accessor :liveness_probe + # Immutable. List of ports to expose from the container. Vertex AI sends any # prediction requests that it receives to the first port on this list. Vertex AI # also sends [liveness and health checks](https://cloud.google.com/vertex-ai/ @@ -18172,6 +18187,7 @@ def update!(**args) @health_probe = args[:health_probe] if args.key?(:health_probe) @health_route = args[:health_route] if args.key?(:health_route) @image_uri = args[:image_uri] if args.key?(:image_uri) + @liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe) @ports = args[:ports] if args.key?(:ports) @predict_route = args[:predict_route] if args.key?(:predict_route) @shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb) @@ -22691,7 +22707,7 @@ class GoogleCloudAiplatformV1beta1Part # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponse] attr_accessor :function_response - # Content blob. It's preferred to send as text directly rather than raw bytes. + # Content blob. # Corresponds to the JSON property `inlineData` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob] attr_accessor :inline_data @@ -22701,6 +22717,12 @@ class GoogleCloudAiplatformV1beta1Part # @return [String] attr_accessor :text + # Optional. Indicates if the part is thought from the model. + # Corresponds to the JSON property `thought` + # @return [Boolean] + attr_accessor :thought + alias_method :thought?, :thought + # Metadata describes the input video content. # Corresponds to the JSON property `videoMetadata` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata] @@ -22719,6 +22741,7 @@ def update!(**args) @function_response = args[:function_response] if args.key?(:function_response) @inline_data = args[:inline_data] if args.key?(:inline_data) @text = args[:text] if args.key?(:text) + @thought = args[:thought] if args.key?(:thought) @video_metadata = args[:video_metadata] if args.key?(:video_metadata) end end @@ -24221,6 +24244,16 @@ class GoogleCloudAiplatformV1beta1Probe # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction] attr_accessor :exec + # GrpcAction checks the health of a container using a gRPC service. + # Corresponds to the JSON property `grpc` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeGrpcAction] + attr_accessor :grpc + + # HttpGetAction describes an action based on HTTP Get requests. + # Corresponds to the JSON property `httpGet` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpGetAction] + attr_accessor :http_get + # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum # value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe # argument 'periodSeconds'. @@ -24228,6 +24261,12 @@ class GoogleCloudAiplatformV1beta1Probe # @return [Fixnum] attr_accessor :period_seconds + # TcpSocketAction probes the health of a container by opening a TCP socket + # connection. + # Corresponds to the JSON property `tcpSocket` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeTcpSocketAction] + attr_accessor :tcp_socket + # Number of seconds after which the probe times out. Defaults to 1 second. # Minimum value is 1. Must be greater or equal to period_seconds. Maps to # Kubernetes probe argument 'timeoutSeconds'. @@ -24242,7 +24281,10 @@ def initialize(**args) # Update properties of this object def update!(**args) @exec = args[:exec] if args.key?(:exec) + @grpc = args[:grpc] if args.key?(:grpc) + @http_get = args[:http_get] if args.key?(:http_get) @period_seconds = args[:period_seconds] if args.key?(:period_seconds) + @tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket) @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds) end end @@ -24271,6 +24313,133 @@ def update!(**args) end end + # GrpcAction checks the health of a container using a gRPC service. + class GoogleCloudAiplatformV1beta1ProbeGrpcAction + include Google::Apis::Core::Hashable + + # Port number of the gRPC service. Number must be in the range 1 to 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Service is the name of the service to place in the gRPC HealthCheckRequest ( + # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this + # is not specified, the default behavior is defined by gRPC. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @port = args[:port] if args.key?(:port) + @service = args[:service] if args.key?(:service) + end + end + + # HttpGetAction describes an action based on HTTP Get requests. + class GoogleCloudAiplatformV1beta1ProbeHttpGetAction + include Google::Apis::Core::Hashable + + # Host name to connect to, defaults to the model serving container's IP. You + # probably want to set "Host" in httpHeaders instead. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # Custom headers to set in the request. HTTP allows repeated headers. + # Corresponds to the JSON property `httpHeaders` + # @return [Array] + attr_accessor :http_headers + + # Path to access on the HTTP server. + # Corresponds to the JSON property `path` + # @return [String] + attr_accessor :path + + # Number of the port to access on the container. Number must be in the range 1 + # to 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values + # are "HTTP" or "HTTPS". + # Corresponds to the JSON property `scheme` + # @return [String] + attr_accessor :scheme + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host = args[:host] if args.key?(:host) + @http_headers = args[:http_headers] if args.key?(:http_headers) + @path = args[:path] if args.key?(:path) + @port = args[:port] if args.key?(:port) + @scheme = args[:scheme] if args.key?(:scheme) + end + end + + # HttpHeader describes a custom header to be used in HTTP probes + class GoogleCloudAiplatformV1beta1ProbeHttpHeader + include Google::Apis::Core::Hashable + + # The header field name. This will be canonicalized upon output, so case-variant + # names will be understood as the same header. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The header field value + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # TcpSocketAction probes the health of a container by opening a TCP socket + # connection. + class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction + include Google::Apis::Core::Hashable + + # Optional: Host name to connect to, defaults to the model serving container's + # IP. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # Number of the port to access on the container. Number must be in the range 1 + # to 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host = args[:host] if args.key?(:host) + @port = args[:port] if args.key?(:port) + end + end + # PscAutomatedEndpoints defines the output of the forwarding rule automatically # created by each PscAutomationConfig. class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints @@ -26215,6 +26384,11 @@ class GoogleCloudAiplatformV1beta1RagFileParsingConfig # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser] attr_accessor :layout_parser + # Specifies the advanced parsing for RagFiles. + # Corresponds to the JSON property `llmParser` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser] + attr_accessor :llm_parser + # Whether to use advanced PDF parsing. # Corresponds to the JSON property `useAdvancedPdfParsing` # @return [Boolean] @@ -26229,6 +26403,7 @@ def initialize(**args) def update!(**args) @advanced_parser = args[:advanced_parser] if args.key?(:advanced_parser) @layout_parser = args[:layout_parser] if args.key?(:layout_parser) + @llm_parser = args[:llm_parser] if args.key?(:llm_parser) @use_advanced_pdf_parsing = args[:use_advanced_pdf_parsing] if args.key?(:use_advanced_pdf_parsing) end end @@ -26286,6 +26461,40 @@ def update!(**args) end end + # Specifies the advanced parsing for RagFiles. + class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser + include Google::Apis::Core::Hashable + + # The prompt to use for parsing. If not specified, a default prompt will be used. + # Corresponds to the JSON property `customParsingPrompt` + # @return [String] + attr_accessor :custom_parsing_prompt + + # The maximum number of requests the job is allowed to make to the LLM model per + # minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas + # and your document size to set an appropriate value here. If unspecified, a + # default value of 5000 QPM would be used. + # Corresponds to the JSON property `maxParsingRequestsPerMin` + # @return [Fixnum] + attr_accessor :max_parsing_requests_per_min + + # The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002` + # Corresponds to the JSON property `modelName` + # @return [String] + attr_accessor :model_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_parsing_prompt = args[:custom_parsing_prompt] if args.key?(:custom_parsing_prompt) + @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min) + @model_name = args[:model_name] if args.key?(:model_name) + end + end + # Specifies the transformation config for RagFiles. class GoogleCloudAiplatformV1beta1RagFileTransformationConfig include Google::Apis::Core::Hashable 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 797cb7472ea..1036f6796d8 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.35.0" + GEM_VERSION = "0.36.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.15.1" # Revision of the discovery document this client was generated from - REVISION = "20241203" + REVISION = "20241214" 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 8c9ad983275..f1c0e6534db 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 @@ -3940,6 +3940,30 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ProbeGrpcAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1ProbeHttpGetAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1ProbeHttpHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4300,6 +4324,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1RagFileTransformationConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7666,6 +7696,7 @@ class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :api_key_secret, as: 'apiKeySecret' + property :api_key_string, as: 'apiKeyString' property :http_element_location, as: 'httpElementLocation' property :name, as: 'name' end @@ -11024,6 +11055,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :frequency_penalty, as: 'frequencyPenalty' property :logprobs, as: 'logprobs' property :max_output_tokens, as: 'maxOutputTokens' + property :media_resolution, as: 'mediaResolution' property :presence_penalty, as: 'presencePenalty' property :response_logprobs, as: 'responseLogprobs' property :response_mime_type, as: 'responseMimeType' @@ -11037,7 +11069,6 @@ class Representation < Google::Apis::Core::JsonRepresentation collection :stop_sequences, as: 'stopSequences' property :temperature, as: 'temperature' - property :token_resolution, as: 'tokenResolution' property :top_k, as: 'topK' property :top_p, as: 'topP' end @@ -12452,6 +12483,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :health_route, as: 'healthRoute' property :image_uri, as: 'imageUri' + property :liveness_probe, as: 'livenessProbe', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe::Representation + collection :ports, as: 'ports', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Port, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Port::Representation property :predict_route, as: 'predictRoute' @@ -13747,6 +13780,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob::Representation property :text, as: 'text' + property :thought, as: 'thought' property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata::Representation end @@ -14153,7 +14187,13 @@ class GoogleCloudAiplatformV1beta1Probe class Representation < Google::Apis::Core::JsonRepresentation property :exec, as: 'exec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction::Representation + property :grpc, as: 'grpc', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeGrpcAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeGrpcAction::Representation + + property :http_get, as: 'httpGet', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpGetAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpGetAction::Representation + property :period_seconds, as: 'periodSeconds' + property :tcp_socket, as: 'tcpSocket', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeTcpSocketAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeTcpSocketAction::Representation + property :timeout_seconds, as: 'timeoutSeconds' end end @@ -14165,6 +14205,42 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ProbeGrpcAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :port, as: 'port' + property :service, as: 'service' + end + end + + class GoogleCloudAiplatformV1beta1ProbeHttpGetAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' + collection :http_headers, as: 'httpHeaders', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader::Representation + + property :path, as: 'path' + property :port, as: 'port' + property :scheme, as: 'scheme' + end + end + + class GoogleCloudAiplatformV1beta1ProbeHttpHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :value, as: 'value' + end + end + + class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' + property :port, as: 'port' + end + end + class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14759,6 +14835,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser::Representation + property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser::Representation + property :use_advanced_pdf_parsing, as: 'useAdvancedPdfParsing' end end @@ -14778,6 +14856,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_parsing_prompt, as: 'customParsingPrompt' + property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin' + property :model_name, as: 'modelName' + end + end + class GoogleCloudAiplatformV1beta1RagFileTransformationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation 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 f7f125c455d..f3e243f5015 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 @@ -206,7 +206,8 @@ def list_datasets(filter: nil, order_by: nil, page_size: nil, page_token: nil, p # Updates a Dataset. # @param [String] name - # Output only. Identifier. The resource name of the Dataset. + # Output only. Identifier. The resource name of the Dataset. Format: `projects/` + # project`/locations/`location`/datasets/`dataset`` # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object # @param [String] update_mask # Required. The update mask applies to the resource. For the `FieldMask` @@ -2652,7 +2653,8 @@ def list_project_location_datasets(parent, filter: nil, order_by: nil, page_size # Updates a Dataset. # @param [String] name - # Output only. Identifier. The resource name of the Dataset. + # Output only. Identifier. The resource name of the Dataset. Format: `projects/` + # project`/locations/`location`/datasets/`dataset`` # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object # @param [String] update_mask # Required. The update mask applies to the resource. For the `FieldMask` @@ -6889,6 +6891,51 @@ def get_project_location_feature_group(name, fields: nil, quota_user: nil, optio execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. Returns an empty policy if the + # resource exists and does not have a policy set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. See [Resource + # names](https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Fixnum] options_requested_policy_version + # Optional. The maximum policy version that will be used to format the policy. + # Valid values are 0, 1, and 3. Requests specifying an invalid value will be + # rejected. Requests for policies with any conditional role bindings must + # specify version 3. Policies with no conditional role bindings may specify any + # valid value or leave the field unset. The policy in the response might use the + # policy version that you specified, or it might use a lower policy version. For + # example, if you specify version 3, but the policy has no conditional role + # bindings, the response uses version 1. To learn which resources support + # conditions in their IAM policies, see the [IAM documentation](https://cloud. + # google.com/iam/help/conditions/resource-policies). + # @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::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] + # + # @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 get_project_location_feature_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists FeatureGroups in a given project and location. # @param [String] parent # Required. The resource name of the Location to list FeatureGroups. Format: ` @@ -6989,6 +7036,84 @@ def patch_project_location_feature_group(name, google_cloud_aiplatform_v1beta1_f execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and ` + # PERMISSION_DENIED` errors. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. See [Resource + # names](https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object + # @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::GoogleIamV1Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] + # + # @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 set_project_location_feature_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation + command.request_object = google_iam_v1_set_iam_policy_request_object + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. If the + # resource does not exist, this will return an empty set of permissions, not a ` + # NOT_FOUND` error. Note: This operation is designed to be used for building + # permission-aware UIs and command-line tools, not for authorization checking. + # This operation may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. See [ + # Resource names](https://cloud.google.com/apis/design/resource_names) for the + # appropriate value for this field. + # @param [Array, String] permissions + # The set of permissions to check for the `resource`. Permissions with wildcards + # (such as `*` or `storage.*`) are not allowed. For more information see [IAM + # Overview](https://cloud.google.com/iam/docs/overview#permissions). + # @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::GoogleIamV1TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] + # + # @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 test_project_location_feature_group_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['permissions'] = permissions unless permissions.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 a new FeatureMonitor in a given project, location and FeatureGroup. # @param [String] parent # Required. The resource name of FeatureGroup to create FeatureMonitor. Format: `