Class: Google::Cloud::AIPlatform::V1::PostStartupScriptConfig
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::PostStartupScriptConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/notebook_software_config.rb
Overview
Post startup script config.
Defined Under Namespace
Modules: PostStartupScriptBehavior
Instance Attribute Summary collapse
-
#post_startup_script ⇒ ::String
Optional.
-
#post_startup_script_behavior ⇒ ::Google::Cloud::AIPlatform::V1::PostStartupScriptConfig::PostStartupScriptBehavior
Optional.
-
#post_startup_script_url ⇒ ::String
Optional.
Instance Attribute Details
#post_startup_script ⇒ ::String
Returns Optional. Post startup script to run after runtime is started.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'proto_docs/google/cloud/aiplatform/v1/notebook_software_config.rb', line 36 class PostStartupScriptConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a notebook runtime post startup script behavior. module PostStartupScriptBehavior # Unspecified post startup script behavior. POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0 # Run post startup script after runtime is started. RUN_ONCE = 1 # Run post startup script after runtime is stopped. RUN_EVERY_START = 2 # Download and run post startup script every time runtime is started. DOWNLOAD_AND_RUN_EVERY_START = 3 end end |
#post_startup_script_behavior ⇒ ::Google::Cloud::AIPlatform::V1::PostStartupScriptConfig::PostStartupScriptBehavior
Returns Optional. Post startup script behavior that defines download and execution behavior.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'proto_docs/google/cloud/aiplatform/v1/notebook_software_config.rb', line 36 class PostStartupScriptConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a notebook runtime post startup script behavior. module PostStartupScriptBehavior # Unspecified post startup script behavior. POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0 # Run post startup script after runtime is started. RUN_ONCE = 1 # Run post startup script after runtime is stopped. RUN_EVERY_START = 2 # Download and run post startup script every time runtime is started. DOWNLOAD_AND_RUN_EVERY_START = 3 end end |
#post_startup_script_url ⇒ ::String
Returns Optional. Post startup script url to download. Example:
gs://bucket/script.sh.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'proto_docs/google/cloud/aiplatform/v1/notebook_software_config.rb', line 36 class PostStartupScriptConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents a notebook runtime post startup script behavior. module PostStartupScriptBehavior # Unspecified post startup script behavior. POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0 # Run post startup script after runtime is started. RUN_ONCE = 1 # Run post startup script after runtime is stopped. RUN_EVERY_START = 2 # Download and run post startup script every time runtime is started. DOWNLOAD_AND_RUN_EVERY_START = 3 end end |