google-apis-aiplatform_v1 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: a339acc9e2792d9aa7013da1b553c8c1ca02f20de7757eef4d32ab8ff77bfa7f
         | 
| 4 | 
            +
              data.tar.gz: 18fc1b6da92d7fcf3a7c6260d0f6f87bfa28161835ba26099d8fba4cccbbf5d3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: e81f4475ecb2435a3ba04299ed691d59c1d60761f58a532d8b4242e2ec165f3207859f676c470ab0644092508224cd991196c4097b80df27189ee2d1935cba7d
         | 
| 7 | 
            +
              data.tar.gz: ae9e5be153a1084f0cfa16b7d87f64b1452a2d4ba05a43a54d8aa798e9cac12e194121aacea0d9a7069efbbc99e6e4bb567c0530d1aefa4664d79fab1eb364ee
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -2774,9 +2774,8 @@ module Google | |
| 2774 2774 | 
             
                    attr_accessor :network
         | 
| 2775 2775 |  | 
| 2776 2776 | 
             
                    # The ID of the location to store protected artifacts. e.g. us-central1.
         | 
| 2777 | 
            -
                    # Populate only when the location is different than CustomJob location.  | 
| 2778 | 
            -
                    #  | 
| 2779 | 
            -
                    # locations: https://cloud.google.com/vertex-ai/docs/general/locations
         | 
| 2777 | 
            +
                    # Populate only when the location is different than CustomJob location. List of
         | 
| 2778 | 
            +
                    # supported locations: https://cloud.google.com/vertex-ai/docs/general/locations
         | 
| 2780 2779 | 
             
                    # Corresponds to the JSON property `protectedArtifactLocationId`
         | 
| 2781 2780 | 
             
                    # @return [String]
         | 
| 2782 2781 | 
             
                    attr_accessor :protected_artifact_location_id
         | 
| @@ -21363,7 +21362,7 @@ module Google | |
| 21363 21362 | 
             
                    end
         | 
| 21364 21363 | 
             
                  end
         | 
| 21365 21364 |  | 
| 21366 | 
            -
                  # A message representing a Study.
         | 
| 21365 | 
            +
                  # A message representing a Study. Next id: 12
         | 
| 21367 21366 | 
             
                  class GoogleCloudAiplatformV1Study
         | 
| 21368 21367 | 
             
                    include Google::Apis::Core::Hashable
         | 
| 21369 21368 |  | 
| @@ -21476,6 +21475,12 @@ module Google | |
| 21476 21475 | 
             
                    # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecParameterSpec>]
         | 
| 21477 21476 | 
             
                    attr_accessor :parameters
         | 
| 21478 21477 |  | 
| 21478 | 
            +
                    # The configuration (stopping conditions) for automated stopping of a Study.
         | 
| 21479 | 
            +
                    # Conditions include trial budgets, time budgets, and convergence detection.
         | 
| 21480 | 
            +
                    # Corresponds to the JSON property `studyStoppingConfig`
         | 
| 21481 | 
            +
                    # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecStudyStoppingConfig]
         | 
| 21482 | 
            +
                    attr_accessor :study_stopping_config
         | 
| 21483 | 
            +
                  
         | 
| 21479 21484 | 
             
                    def initialize(**args)
         | 
| 21480 21485 | 
             
                       update!(**args)
         | 
| 21481 21486 | 
             
                    end
         | 
| @@ -21490,6 +21495,7 @@ module Google | |
| 21490 21495 | 
             
                      @metrics = args[:metrics] if args.key?(:metrics)
         | 
| 21491 21496 | 
             
                      @observation_noise = args[:observation_noise] if args.key?(:observation_noise)
         | 
| 21492 21497 | 
             
                      @parameters = args[:parameters] if args.key?(:parameters)
         | 
| 21498 | 
            +
                      @study_stopping_config = args[:study_stopping_config] if args.key?(:study_stopping_config)
         | 
| 21493 21499 | 
             
                    end
         | 
| 21494 21500 | 
             
                  end
         | 
| 21495 21501 |  | 
| @@ -21973,6 +21979,93 @@ module Google | |
| 21973 21979 | 
             
                    end
         | 
| 21974 21980 | 
             
                  end
         | 
| 21975 21981 |  | 
| 21982 | 
            +
                  # The configuration (stopping conditions) for automated stopping of a Study.
         | 
| 21983 | 
            +
                  # Conditions include trial budgets, time budgets, and convergence detection.
         | 
| 21984 | 
            +
                  class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig
         | 
| 21985 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 21986 | 
            +
                  
         | 
| 21987 | 
            +
                    # If the objective value has not improved for this much time, stop the study.
         | 
| 21988 | 
            +
                    # WARNING: Effective only for single-objective studies.
         | 
| 21989 | 
            +
                    # Corresponds to the JSON property `maxDurationNoProgress`
         | 
| 21990 | 
            +
                    # @return [String]
         | 
| 21991 | 
            +
                    attr_accessor :max_duration_no_progress
         | 
| 21992 | 
            +
                  
         | 
| 21993 | 
            +
                    # If there are more than this many trials, stop the study.
         | 
| 21994 | 
            +
                    # Corresponds to the JSON property `maxNumTrials`
         | 
| 21995 | 
            +
                    # @return [Fixnum]
         | 
| 21996 | 
            +
                    attr_accessor :max_num_trials
         | 
| 21997 | 
            +
                  
         | 
| 21998 | 
            +
                    # If the objective value has not improved for this many consecutive trials, stop
         | 
| 21999 | 
            +
                    # the study. WARNING: Effective only for single-objective studies.
         | 
| 22000 | 
            +
                    # Corresponds to the JSON property `maxNumTrialsNoProgress`
         | 
| 22001 | 
            +
                    # @return [Fixnum]
         | 
| 22002 | 
            +
                    attr_accessor :max_num_trials_no_progress
         | 
| 22003 | 
            +
                  
         | 
| 22004 | 
            +
                    # Time-based Constraint for Study
         | 
| 22005 | 
            +
                    # Corresponds to the JSON property `maximumRuntimeConstraint`
         | 
| 22006 | 
            +
                    # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint]
         | 
| 22007 | 
            +
                    attr_accessor :maximum_runtime_constraint
         | 
| 22008 | 
            +
                  
         | 
| 22009 | 
            +
                    # If there are fewer than this many COMPLETED trials, do not stop the study.
         | 
| 22010 | 
            +
                    # Corresponds to the JSON property `minNumTrials`
         | 
| 22011 | 
            +
                    # @return [Fixnum]
         | 
| 22012 | 
            +
                    attr_accessor :min_num_trials
         | 
| 22013 | 
            +
                  
         | 
| 22014 | 
            +
                    # Time-based Constraint for Study
         | 
| 22015 | 
            +
                    # Corresponds to the JSON property `minimumRuntimeConstraint`
         | 
| 22016 | 
            +
                    # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint]
         | 
| 22017 | 
            +
                    attr_accessor :minimum_runtime_constraint
         | 
| 22018 | 
            +
                  
         | 
| 22019 | 
            +
                    # If true, a Study enters STOPPING_ASAP whenever it would normally enters
         | 
| 22020 | 
            +
                    # STOPPING state. The bottom line is: set to true if you want to interrupt on-
         | 
| 22021 | 
            +
                    # going evaluations of Trials as soon as the study stopping condition is met. (
         | 
| 22022 | 
            +
                    # Please see Study.State documentation for the source of truth).
         | 
| 22023 | 
            +
                    # Corresponds to the JSON property `shouldStopAsap`
         | 
| 22024 | 
            +
                    # @return [Boolean]
         | 
| 22025 | 
            +
                    attr_accessor :should_stop_asap
         | 
| 22026 | 
            +
                    alias_method :should_stop_asap?, :should_stop_asap
         | 
| 22027 | 
            +
                  
         | 
| 22028 | 
            +
                    def initialize(**args)
         | 
| 22029 | 
            +
                       update!(**args)
         | 
| 22030 | 
            +
                    end
         | 
| 22031 | 
            +
                  
         | 
| 22032 | 
            +
                    # Update properties of this object
         | 
| 22033 | 
            +
                    def update!(**args)
         | 
| 22034 | 
            +
                      @max_duration_no_progress = args[:max_duration_no_progress] if args.key?(:max_duration_no_progress)
         | 
| 22035 | 
            +
                      @max_num_trials = args[:max_num_trials] if args.key?(:max_num_trials)
         | 
| 22036 | 
            +
                      @max_num_trials_no_progress = args[:max_num_trials_no_progress] if args.key?(:max_num_trials_no_progress)
         | 
| 22037 | 
            +
                      @maximum_runtime_constraint = args[:maximum_runtime_constraint] if args.key?(:maximum_runtime_constraint)
         | 
| 22038 | 
            +
                      @min_num_trials = args[:min_num_trials] if args.key?(:min_num_trials)
         | 
| 22039 | 
            +
                      @minimum_runtime_constraint = args[:minimum_runtime_constraint] if args.key?(:minimum_runtime_constraint)
         | 
| 22040 | 
            +
                      @should_stop_asap = args[:should_stop_asap] if args.key?(:should_stop_asap)
         | 
| 22041 | 
            +
                    end
         | 
| 22042 | 
            +
                  end
         | 
| 22043 | 
            +
                  
         | 
| 22044 | 
            +
                  # Time-based Constraint for Study
         | 
| 22045 | 
            +
                  class GoogleCloudAiplatformV1StudyTimeConstraint
         | 
| 22046 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 22047 | 
            +
                  
         | 
| 22048 | 
            +
                    # Compares the wallclock time to this time. Must use UTC timezone.
         | 
| 22049 | 
            +
                    # Corresponds to the JSON property `endTime`
         | 
| 22050 | 
            +
                    # @return [String]
         | 
| 22051 | 
            +
                    attr_accessor :end_time
         | 
| 22052 | 
            +
                  
         | 
| 22053 | 
            +
                    # Counts the wallclock time passed since the creation of this Study.
         | 
| 22054 | 
            +
                    # Corresponds to the JSON property `maxDuration`
         | 
| 22055 | 
            +
                    # @return [String]
         | 
| 22056 | 
            +
                    attr_accessor :max_duration
         | 
| 22057 | 
            +
                  
         | 
| 22058 | 
            +
                    def initialize(**args)
         | 
| 22059 | 
            +
                       update!(**args)
         | 
| 22060 | 
            +
                    end
         | 
| 22061 | 
            +
                  
         | 
| 22062 | 
            +
                    # Update properties of this object
         | 
| 22063 | 
            +
                    def update!(**args)
         | 
| 22064 | 
            +
                      @end_time = args[:end_time] if args.key?(:end_time)
         | 
| 22065 | 
            +
                      @max_duration = args[:max_duration] if args.key?(:max_duration)
         | 
| 22066 | 
            +
                    end
         | 
| 22067 | 
            +
                  end
         | 
| 22068 | 
            +
                  
         | 
| 21976 22069 | 
             
                  # Details of operations that perform Trials suggestion.
         | 
| 21977 22070 | 
             
                  class GoogleCloudAiplatformV1SuggestTrialsMetadata
         | 
| 21978 22071 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module AiplatformV1
         | 
| 18 18 | 
             
                  # Version of the google-apis-aiplatform_v1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.5.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.12.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20231023"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -3604,6 +3604,18 @@ module Google | |
| 3604 3604 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 3605 3605 | 
             
                  end
         | 
| 3606 3606 |  | 
| 3607 | 
            +
                  class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig
         | 
| 3608 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 3609 | 
            +
                  
         | 
| 3610 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 3611 | 
            +
                  end
         | 
| 3612 | 
            +
                  
         | 
| 3613 | 
            +
                  class GoogleCloudAiplatformV1StudyTimeConstraint
         | 
| 3614 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 3615 | 
            +
                  
         | 
| 3616 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 3617 | 
            +
                  end
         | 
| 3618 | 
            +
                  
         | 
| 3607 3619 | 
             
                  class GoogleCloudAiplatformV1SuggestTrialsMetadata
         | 
| 3608 3620 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 3609 3621 |  | 
| @@ -9866,6 +9878,8 @@ module Google | |
| 9866 9878 | 
             
                      property :observation_noise, as: 'observationNoise'
         | 
| 9867 9879 | 
             
                      collection :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecParameterSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecParameterSpec::Representation
         | 
| 9868 9880 |  | 
| 9881 | 
            +
                      property :study_stopping_config, as: 'studyStoppingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecStudyStoppingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudySpecStudyStoppingConfig::Representation
         | 
| 9882 | 
            +
                  
         | 
| 9869 9883 | 
             
                    end
         | 
| 9870 9884 | 
             
                  end
         | 
| 9871 9885 |  | 
| @@ -10000,6 +10014,29 @@ module Google | |
| 10000 10014 | 
             
                    end
         | 
| 10001 10015 | 
             
                  end
         | 
| 10002 10016 |  | 
| 10017 | 
            +
                  class GoogleCloudAiplatformV1StudySpecStudyStoppingConfig
         | 
| 10018 | 
            +
                    # @private
         | 
| 10019 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 10020 | 
            +
                      property :max_duration_no_progress, as: 'maxDurationNoProgress'
         | 
| 10021 | 
            +
                      property :max_num_trials, as: 'maxNumTrials'
         | 
| 10022 | 
            +
                      property :max_num_trials_no_progress, as: 'maxNumTrialsNoProgress'
         | 
| 10023 | 
            +
                      property :maximum_runtime_constraint, as: 'maximumRuntimeConstraint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint::Representation
         | 
| 10024 | 
            +
                  
         | 
| 10025 | 
            +
                      property :min_num_trials, as: 'minNumTrials'
         | 
| 10026 | 
            +
                      property :minimum_runtime_constraint, as: 'minimumRuntimeConstraint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StudyTimeConstraint::Representation
         | 
| 10027 | 
            +
                  
         | 
| 10028 | 
            +
                      property :should_stop_asap, as: 'shouldStopAsap'
         | 
| 10029 | 
            +
                    end
         | 
| 10030 | 
            +
                  end
         | 
| 10031 | 
            +
                  
         | 
| 10032 | 
            +
                  class GoogleCloudAiplatformV1StudyTimeConstraint
         | 
| 10033 | 
            +
                    # @private
         | 
| 10034 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 10035 | 
            +
                      property :end_time, as: 'endTime'
         | 
| 10036 | 
            +
                      property :max_duration, as: 'maxDuration'
         | 
| 10037 | 
            +
                    end
         | 
| 10038 | 
            +
                  end
         | 
| 10039 | 
            +
                  
         | 
| 10003 10040 | 
             
                  class GoogleCloudAiplatformV1SuggestTrialsMetadata
         | 
| 10004 10041 | 
             
                    # @private
         | 
| 10005 10042 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-aiplatform_v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.5.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2023-10- | 
| 11 | 
            +
            date: 2023-10-29 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: google-apis-core
         | 
| @@ -58,7 +58,7 @@ licenses: | |
| 58 58 | 
             
            metadata:
         | 
| 59 59 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 60 60 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
         | 
| 61 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0. | 
| 61 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.5.0
         | 
| 62 62 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
         | 
| 63 63 | 
             
            post_install_message: 
         | 
| 64 64 | 
             
            rdoc_options: []
         |