google-api-client 0.37.2 → 0.37.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +74 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +11 -1
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +1 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +2 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +7 -71
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +0 -31
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +111 -9
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +56 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +151 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +2 -2
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +11 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +4 -2
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -5
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +30 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2.rb +4 -4
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1.rb +4 -4
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +3 -3
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +224 -66
- data/generated/google/apis/container_v1/representations.rb +70 -0
- data/generated/google/apis/container_v1/service.rb +116 -116
- data/generated/google/apis/container_v1beta1/classes.rb +18 -4
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +18 -2
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +51 -0
- data/generated/google/apis/content_v2_1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +27 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +15 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -0
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +11 -3
- data/generated/google/apis/dialogflow_v2/service.rb +555 -16
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +11 -3
- data/generated/google/apis/dialogflow_v2beta1/service.rb +26 -42
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +417 -2
- data/generated/google/apis/dlp_v2/representations.rb +175 -0
- data/generated/google/apis/dlp_v2/service.rb +116 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -145
- data/generated/google/apis/file_v1/representations.rb +0 -34
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -145
- data/generated/google/apis/file_v1beta1/representations.rb +0 -34
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +3 -3
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/logging_v2.rb +6 -7
- data/generated/google/apis/logging_v2/service.rb +5 -6
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +966 -21
- data/generated/google/apis/ml_v1/representations.rb +477 -0
- data/generated/google/apis/ml_v1/service.rb +491 -0
- data/generated/google/apis/{toolresults_v1.rb → networkmanagement_v1beta1.rb} +13 -9
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1856 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +664 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +214 -0
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +123 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +84 -0
- data/generated/google/apis/run_v1/representations.rb +44 -0
- data/generated/google/apis/run_v1/service.rb +138 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +154 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +61 -0
- data/generated/google/apis/securitycenter_v1/service.rb +194 -6
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +171 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +171 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +183 -6
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +52 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -7
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +58 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -7
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +280 -7
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +117 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +515 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +7 -1
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +6 -3
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +13 -13
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +13 -13
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/toolresults_v1/classes.rb +0 -696
- data/generated/google/apis/toolresults_v1/representations.rb +0 -438
- data/generated/google/apis/toolresults_v1/service.rb +0 -59
|
@@ -543,6 +543,497 @@ module Google
|
|
|
543
543
|
execute_or_queue_command(command, &block)
|
|
544
544
|
end
|
|
545
545
|
|
|
546
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
|
547
|
+
# makes a best effort to cancel the operation, but success is not
|
|
548
|
+
# guaranteed. If the server doesn't support this method, it returns
|
|
549
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
|
550
|
+
# Operations.GetOperation or
|
|
551
|
+
# other methods to check whether the cancellation succeeded or whether the
|
|
552
|
+
# operation completed despite cancellation. On successful cancellation,
|
|
553
|
+
# the operation is not deleted; instead, it becomes an operation with
|
|
554
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
|
555
|
+
# corresponding to `Code.CANCELLED`.
|
|
556
|
+
# @param [String] name
|
|
557
|
+
# The name of the operation resource to be cancelled.
|
|
558
|
+
# @param [String] fields
|
|
559
|
+
# Selector specifying which fields to include in a partial response.
|
|
560
|
+
# @param [String] quota_user
|
|
561
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
562
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
563
|
+
# @param [Google::Apis::RequestOptions] options
|
|
564
|
+
# Request-specific options
|
|
565
|
+
#
|
|
566
|
+
# @yield [result, err] Result & error if block supplied
|
|
567
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
|
568
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
569
|
+
#
|
|
570
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
|
571
|
+
#
|
|
572
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
573
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
574
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
575
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
576
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
|
577
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
|
578
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
|
579
|
+
command.params['name'] = name unless name.nil?
|
|
580
|
+
command.query['fields'] = fields unless fields.nil?
|
|
581
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
582
|
+
execute_or_queue_command(command, &block)
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
|
586
|
+
# method to poll the operation result at intervals as recommended by the API
|
|
587
|
+
# service.
|
|
588
|
+
# @param [String] name
|
|
589
|
+
# The name of the operation resource.
|
|
590
|
+
# @param [String] fields
|
|
591
|
+
# Selector specifying which fields to include in a partial response.
|
|
592
|
+
# @param [String] quota_user
|
|
593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
595
|
+
# @param [Google::Apis::RequestOptions] options
|
|
596
|
+
# Request-specific options
|
|
597
|
+
#
|
|
598
|
+
# @yield [result, err] Result & error if block supplied
|
|
599
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
|
600
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
601
|
+
#
|
|
602
|
+
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
|
603
|
+
#
|
|
604
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
605
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
606
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
607
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
608
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
609
|
+
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
|
610
|
+
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
|
611
|
+
command.params['name'] = name unless name.nil?
|
|
612
|
+
command.query['fields'] = fields unless fields.nil?
|
|
613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
614
|
+
execute_or_queue_command(command, &block)
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
# Creates a study.
|
|
618
|
+
# @param [String] parent
|
|
619
|
+
# Required. The project and location that the study belongs to.
|
|
620
|
+
# Format: projects/`project`/locations/`location`
|
|
621
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1Study] google_cloud_ml_v1__study_object
|
|
622
|
+
# @param [String] study_id
|
|
623
|
+
# Required. The ID to use for the study, which will become the final component
|
|
624
|
+
# of
|
|
625
|
+
# the study's resource name.
|
|
626
|
+
# @param [String] fields
|
|
627
|
+
# Selector specifying which fields to include in a partial response.
|
|
628
|
+
# @param [String] quota_user
|
|
629
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
630
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
631
|
+
# @param [Google::Apis::RequestOptions] options
|
|
632
|
+
# Request-specific options
|
|
633
|
+
#
|
|
634
|
+
# @yield [result, err] Result & error if block supplied
|
|
635
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Study] parsed result object
|
|
636
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
637
|
+
#
|
|
638
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Study]
|
|
639
|
+
#
|
|
640
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
641
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
642
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
643
|
+
def create_project_location_study(parent, google_cloud_ml_v1__study_object = nil, study_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
644
|
+
command = make_simple_command(:post, 'v1/{+parent}/studies', options)
|
|
645
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Study::Representation
|
|
646
|
+
command.request_object = google_cloud_ml_v1__study_object
|
|
647
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Study::Representation
|
|
648
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Study
|
|
649
|
+
command.params['parent'] = parent unless parent.nil?
|
|
650
|
+
command.query['studyId'] = study_id unless study_id.nil?
|
|
651
|
+
command.query['fields'] = fields unless fields.nil?
|
|
652
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
653
|
+
execute_or_queue_command(command, &block)
|
|
654
|
+
end
|
|
655
|
+
|
|
656
|
+
# Deletes a study.
|
|
657
|
+
# @param [String] name
|
|
658
|
+
# Required. The study name.
|
|
659
|
+
# @param [String] fields
|
|
660
|
+
# Selector specifying which fields to include in a partial response.
|
|
661
|
+
# @param [String] quota_user
|
|
662
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
663
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
664
|
+
# @param [Google::Apis::RequestOptions] options
|
|
665
|
+
# Request-specific options
|
|
666
|
+
#
|
|
667
|
+
# @yield [result, err] Result & error if block supplied
|
|
668
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
|
669
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
670
|
+
#
|
|
671
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
|
672
|
+
#
|
|
673
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
674
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
675
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
676
|
+
def delete_project_location_study(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
677
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
678
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
|
679
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
|
680
|
+
command.params['name'] = name unless name.nil?
|
|
681
|
+
command.query['fields'] = fields unless fields.nil?
|
|
682
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
683
|
+
execute_or_queue_command(command, &block)
|
|
684
|
+
end
|
|
685
|
+
|
|
686
|
+
# Gets a study.
|
|
687
|
+
# @param [String] name
|
|
688
|
+
# Required. The study name.
|
|
689
|
+
# @param [String] fields
|
|
690
|
+
# Selector specifying which fields to include in a partial response.
|
|
691
|
+
# @param [String] quota_user
|
|
692
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
693
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
694
|
+
# @param [Google::Apis::RequestOptions] options
|
|
695
|
+
# Request-specific options
|
|
696
|
+
#
|
|
697
|
+
# @yield [result, err] Result & error if block supplied
|
|
698
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Study] parsed result object
|
|
699
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
700
|
+
#
|
|
701
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Study]
|
|
702
|
+
#
|
|
703
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
704
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
705
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
706
|
+
def get_project_location_study(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
707
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
708
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Study::Representation
|
|
709
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Study
|
|
710
|
+
command.params['name'] = name unless name.nil?
|
|
711
|
+
command.query['fields'] = fields unless fields.nil?
|
|
712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
713
|
+
execute_or_queue_command(command, &block)
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
# Lists all the studies in a region for an associated project.
|
|
717
|
+
# @param [String] parent
|
|
718
|
+
# Required. The project and location that the study belongs to.
|
|
719
|
+
# Format: projects/`project`/locations/`location`
|
|
720
|
+
# @param [String] fields
|
|
721
|
+
# Selector specifying which fields to include in a partial response.
|
|
722
|
+
# @param [String] quota_user
|
|
723
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
724
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
725
|
+
# @param [Google::Apis::RequestOptions] options
|
|
726
|
+
# Request-specific options
|
|
727
|
+
#
|
|
728
|
+
# @yield [result, err] Result & error if block supplied
|
|
729
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListStudiesResponse] parsed result object
|
|
730
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
731
|
+
#
|
|
732
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1ListStudiesResponse]
|
|
733
|
+
#
|
|
734
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
735
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
736
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
737
|
+
def list_project_location_studies(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
738
|
+
command = make_simple_command(:get, 'v1/{+parent}/studies', options)
|
|
739
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListStudiesResponse::Representation
|
|
740
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListStudiesResponse
|
|
741
|
+
command.params['parent'] = parent unless parent.nil?
|
|
742
|
+
command.query['fields'] = fields unless fields.nil?
|
|
743
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
744
|
+
execute_or_queue_command(command, &block)
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
# Adds a measurement of the objective metrics to a Trial. This measurement
|
|
748
|
+
# is assumed to have been taken before the Trial is complete.
|
|
749
|
+
# @param [String] name
|
|
750
|
+
# Required. The trial name.
|
|
751
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1AddTrialMeasurementRequest] google_cloud_ml_v1__add_trial_measurement_request_object
|
|
752
|
+
# @param [String] fields
|
|
753
|
+
# Selector specifying which fields to include in a partial response.
|
|
754
|
+
# @param [String] quota_user
|
|
755
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
756
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
757
|
+
# @param [Google::Apis::RequestOptions] options
|
|
758
|
+
# Request-specific options
|
|
759
|
+
#
|
|
760
|
+
# @yield [result, err] Result & error if block supplied
|
|
761
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Trial] parsed result object
|
|
762
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
763
|
+
#
|
|
764
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Trial]
|
|
765
|
+
#
|
|
766
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
767
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
768
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
769
|
+
def add_project_location_study_trial_measurement(name, google_cloud_ml_v1__add_trial_measurement_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
770
|
+
command = make_simple_command(:post, 'v1/{+name}:addMeasurement', options)
|
|
771
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1AddTrialMeasurementRequest::Representation
|
|
772
|
+
command.request_object = google_cloud_ml_v1__add_trial_measurement_request_object
|
|
773
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Trial::Representation
|
|
774
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Trial
|
|
775
|
+
command.params['name'] = name unless name.nil?
|
|
776
|
+
command.query['fields'] = fields unless fields.nil?
|
|
777
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
778
|
+
execute_or_queue_command(command, &block)
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
# Checks whether a trial should stop or not.
|
|
782
|
+
# @param [String] name
|
|
783
|
+
# Required. The trial name.
|
|
784
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest] google_cloud_ml_v1__check_trial_early_stopping_state_request_object
|
|
785
|
+
# @param [String] fields
|
|
786
|
+
# Selector specifying which fields to include in a partial response.
|
|
787
|
+
# @param [String] quota_user
|
|
788
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
789
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
790
|
+
# @param [Google::Apis::RequestOptions] options
|
|
791
|
+
# Request-specific options
|
|
792
|
+
#
|
|
793
|
+
# @yield [result, err] Result & error if block supplied
|
|
794
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
|
795
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
796
|
+
#
|
|
797
|
+
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
|
798
|
+
#
|
|
799
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
800
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
801
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
802
|
+
def check_project_location_study_trial_early_stopping_state(name, google_cloud_ml_v1__check_trial_early_stopping_state_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
803
|
+
command = make_simple_command(:post, 'v1/{+name}:checkEarlyStoppingState', options)
|
|
804
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CheckTrialEarlyStoppingStateRequest::Representation
|
|
805
|
+
command.request_object = google_cloud_ml_v1__check_trial_early_stopping_state_request_object
|
|
806
|
+
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
|
807
|
+
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
|
808
|
+
command.params['name'] = name unless name.nil?
|
|
809
|
+
command.query['fields'] = fields unless fields.nil?
|
|
810
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
811
|
+
execute_or_queue_command(command, &block)
|
|
812
|
+
end
|
|
813
|
+
|
|
814
|
+
# Marks a Trial as complete.
|
|
815
|
+
# @param [String] name
|
|
816
|
+
# Required. The trial name.
|
|
817
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1CompleteTrialRequest] google_cloud_ml_v1__complete_trial_request_object
|
|
818
|
+
# @param [String] fields
|
|
819
|
+
# Selector specifying which fields to include in a partial response.
|
|
820
|
+
# @param [String] quota_user
|
|
821
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
822
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
823
|
+
# @param [Google::Apis::RequestOptions] options
|
|
824
|
+
# Request-specific options
|
|
825
|
+
#
|
|
826
|
+
# @yield [result, err] Result & error if block supplied
|
|
827
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Trial] parsed result object
|
|
828
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
829
|
+
#
|
|
830
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Trial]
|
|
831
|
+
#
|
|
832
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
833
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
834
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
835
|
+
def complete_project_location_study_trial(name, google_cloud_ml_v1__complete_trial_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
836
|
+
command = make_simple_command(:post, 'v1/{+name}:complete', options)
|
|
837
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1CompleteTrialRequest::Representation
|
|
838
|
+
command.request_object = google_cloud_ml_v1__complete_trial_request_object
|
|
839
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Trial::Representation
|
|
840
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Trial
|
|
841
|
+
command.params['name'] = name unless name.nil?
|
|
842
|
+
command.query['fields'] = fields unless fields.nil?
|
|
843
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
844
|
+
execute_or_queue_command(command, &block)
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
# Adds a user provided trial to a Study.
|
|
848
|
+
# @param [String] parent
|
|
849
|
+
# Required. The name of the study that the trial belongs to.
|
|
850
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1Trial] google_cloud_ml_v1__trial_object
|
|
851
|
+
# @param [String] fields
|
|
852
|
+
# Selector specifying which fields to include in a partial response.
|
|
853
|
+
# @param [String] quota_user
|
|
854
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
855
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
856
|
+
# @param [Google::Apis::RequestOptions] options
|
|
857
|
+
# Request-specific options
|
|
858
|
+
#
|
|
859
|
+
# @yield [result, err] Result & error if block supplied
|
|
860
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Trial] parsed result object
|
|
861
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
862
|
+
#
|
|
863
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Trial]
|
|
864
|
+
#
|
|
865
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
866
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
867
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
868
|
+
def create_project_location_study_trial(parent, google_cloud_ml_v1__trial_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
869
|
+
command = make_simple_command(:post, 'v1/{+parent}/trials', options)
|
|
870
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1Trial::Representation
|
|
871
|
+
command.request_object = google_cloud_ml_v1__trial_object
|
|
872
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Trial::Representation
|
|
873
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Trial
|
|
874
|
+
command.params['parent'] = parent unless parent.nil?
|
|
875
|
+
command.query['fields'] = fields unless fields.nil?
|
|
876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
877
|
+
execute_or_queue_command(command, &block)
|
|
878
|
+
end
|
|
879
|
+
|
|
880
|
+
# Deletes a Trial.
|
|
881
|
+
# @param [String] name
|
|
882
|
+
# Required. The trial name.
|
|
883
|
+
# @param [String] fields
|
|
884
|
+
# Selector specifying which fields to include in a partial response.
|
|
885
|
+
# @param [String] quota_user
|
|
886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
888
|
+
# @param [Google::Apis::RequestOptions] options
|
|
889
|
+
# Request-specific options
|
|
890
|
+
#
|
|
891
|
+
# @yield [result, err] Result & error if block supplied
|
|
892
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleProtobufEmpty] parsed result object
|
|
893
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
894
|
+
#
|
|
895
|
+
# @return [Google::Apis::MlV1::GoogleProtobufEmpty]
|
|
896
|
+
#
|
|
897
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
898
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
899
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
900
|
+
def delete_project_location_study_trial(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
901
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
902
|
+
command.response_representation = Google::Apis::MlV1::GoogleProtobufEmpty::Representation
|
|
903
|
+
command.response_class = Google::Apis::MlV1::GoogleProtobufEmpty
|
|
904
|
+
command.params['name'] = name unless name.nil?
|
|
905
|
+
command.query['fields'] = fields unless fields.nil?
|
|
906
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
907
|
+
execute_or_queue_command(command, &block)
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
# Gets a Trial.
|
|
911
|
+
# @param [String] name
|
|
912
|
+
# Required. The trial name.
|
|
913
|
+
# @param [String] fields
|
|
914
|
+
# Selector specifying which fields to include in a partial response.
|
|
915
|
+
# @param [String] quota_user
|
|
916
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
917
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
918
|
+
# @param [Google::Apis::RequestOptions] options
|
|
919
|
+
# Request-specific options
|
|
920
|
+
#
|
|
921
|
+
# @yield [result, err] Result & error if block supplied
|
|
922
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Trial] parsed result object
|
|
923
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
924
|
+
#
|
|
925
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Trial]
|
|
926
|
+
#
|
|
927
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
928
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
929
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
930
|
+
def get_project_location_study_trial(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
931
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
932
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Trial::Representation
|
|
933
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Trial
|
|
934
|
+
command.params['name'] = name unless name.nil?
|
|
935
|
+
command.query['fields'] = fields unless fields.nil?
|
|
936
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
937
|
+
execute_or_queue_command(command, &block)
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# Lists the trials associated with a Study.
|
|
941
|
+
# @param [String] parent
|
|
942
|
+
# Required. The name of the study that the trial belongs to.
|
|
943
|
+
# @param [String] fields
|
|
944
|
+
# Selector specifying which fields to include in a partial response.
|
|
945
|
+
# @param [String] quota_user
|
|
946
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
947
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
948
|
+
# @param [Google::Apis::RequestOptions] options
|
|
949
|
+
# Request-specific options
|
|
950
|
+
#
|
|
951
|
+
# @yield [result, err] Result & error if block supplied
|
|
952
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1ListTrialsResponse] parsed result object
|
|
953
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
954
|
+
#
|
|
955
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1ListTrialsResponse]
|
|
956
|
+
#
|
|
957
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
958
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
959
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
960
|
+
def list_project_location_study_trials(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
961
|
+
command = make_simple_command(:get, 'v1/{+parent}/trials', options)
|
|
962
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1ListTrialsResponse::Representation
|
|
963
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1ListTrialsResponse
|
|
964
|
+
command.params['parent'] = parent unless parent.nil?
|
|
965
|
+
command.query['fields'] = fields unless fields.nil?
|
|
966
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
967
|
+
execute_or_queue_command(command, &block)
|
|
968
|
+
end
|
|
969
|
+
|
|
970
|
+
# Stops a trial.
|
|
971
|
+
# @param [String] name
|
|
972
|
+
# Required. The trial name.
|
|
973
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1StopTrialRequest] google_cloud_ml_v1__stop_trial_request_object
|
|
974
|
+
# @param [String] fields
|
|
975
|
+
# Selector specifying which fields to include in a partial response.
|
|
976
|
+
# @param [String] quota_user
|
|
977
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
978
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
979
|
+
# @param [Google::Apis::RequestOptions] options
|
|
980
|
+
# Request-specific options
|
|
981
|
+
#
|
|
982
|
+
# @yield [result, err] Result & error if block supplied
|
|
983
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleCloudMlV1Trial] parsed result object
|
|
984
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
985
|
+
#
|
|
986
|
+
# @return [Google::Apis::MlV1::GoogleCloudMlV1Trial]
|
|
987
|
+
#
|
|
988
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
989
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
990
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
991
|
+
def stop_project_location_study_trial(name, google_cloud_ml_v1__stop_trial_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
992
|
+
command = make_simple_command(:post, 'v1/{+name}:stop', options)
|
|
993
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1StopTrialRequest::Representation
|
|
994
|
+
command.request_object = google_cloud_ml_v1__stop_trial_request_object
|
|
995
|
+
command.response_representation = Google::Apis::MlV1::GoogleCloudMlV1Trial::Representation
|
|
996
|
+
command.response_class = Google::Apis::MlV1::GoogleCloudMlV1Trial
|
|
997
|
+
command.params['name'] = name unless name.nil?
|
|
998
|
+
command.query['fields'] = fields unless fields.nil?
|
|
999
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1000
|
+
execute_or_queue_command(command, &block)
|
|
1001
|
+
end
|
|
1002
|
+
|
|
1003
|
+
# Returns a long-running operation associated with the generation of trial
|
|
1004
|
+
# suggestions.
|
|
1005
|
+
# @param [String] parent
|
|
1006
|
+
# Required. The name of the study that the trial belongs to.
|
|
1007
|
+
# @param [Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsRequest] google_cloud_ml_v1__suggest_trials_request_object
|
|
1008
|
+
# @param [String] fields
|
|
1009
|
+
# Selector specifying which fields to include in a partial response.
|
|
1010
|
+
# @param [String] quota_user
|
|
1011
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1012
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1013
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1014
|
+
# Request-specific options
|
|
1015
|
+
#
|
|
1016
|
+
# @yield [result, err] Result & error if block supplied
|
|
1017
|
+
# @yieldparam result [Google::Apis::MlV1::GoogleLongrunningOperation] parsed result object
|
|
1018
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1019
|
+
#
|
|
1020
|
+
# @return [Google::Apis::MlV1::GoogleLongrunningOperation]
|
|
1021
|
+
#
|
|
1022
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1023
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1024
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1025
|
+
def suggest_project_location_study_trial(parent, google_cloud_ml_v1__suggest_trials_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1026
|
+
command = make_simple_command(:post, 'v1/{+parent}/trials:suggest', options)
|
|
1027
|
+
command.request_representation = Google::Apis::MlV1::GoogleCloudMlV1SuggestTrialsRequest::Representation
|
|
1028
|
+
command.request_object = google_cloud_ml_v1__suggest_trials_request_object
|
|
1029
|
+
command.response_representation = Google::Apis::MlV1::GoogleLongrunningOperation::Representation
|
|
1030
|
+
command.response_class = Google::Apis::MlV1::GoogleLongrunningOperation
|
|
1031
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1032
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1033
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1034
|
+
execute_or_queue_command(command, &block)
|
|
1035
|
+
end
|
|
1036
|
+
|
|
546
1037
|
# Creates a model which will later contain one or more versions.
|
|
547
1038
|
# You must add at least one version before you can request predictions from
|
|
548
1039
|
# the model. Add versions by calling
|