@@ -27,43 +27,29 @@ option java_package = "com.google.cloud.aiplatform.v1beta1";
2727option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1" ;
2828option ruby_package = "Google::Cloud::AIPlatform::V1beta1" ;
2929
30- // Post startup script config.
3130message PostStartupScriptConfig {
32- // Represents a notebook runtime post startup script behavior.
3331 enum PostStartupScriptBehavior {
34- // Unspecified post startup script behavior.
3532 POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED = 0 ;
3633
37- // Run post startup script after runtime is started.
3834 RUN_ONCE = 1 ;
3935
40- // Run post startup script after runtime is stopped.
4136 RUN_EVERY_START = 2 ;
4237
43- // Download and run post startup script every time runtime is started.
4438 DOWNLOAD_AND_RUN_EVERY_START = 3 ;
4539 }
4640
47- // Optional. Post startup script to run after runtime is started.
4841 string post_startup_script = 1 [(google.api.field_behavior ) = OPTIONAL ];
4942
50- // Optional. Post startup script url to download. Example:
51- // https://bucket/script.sh
5243 string post_startup_script_url = 2 [(google.api.field_behavior ) = OPTIONAL ];
5344
54- // Optional. Post startup script behavior that defines download and execution
55- // behavior.
5645 PostStartupScriptBehavior post_startup_script_behavior = 3
5746 [(google.api.field_behavior ) = OPTIONAL ];
5847}
5948
60- // Notebook Software Config.
6149message NotebookSoftwareConfig {
6250 // Optional. Environment variables to be passed to the container.
6351 // Maximum limit is 100.
6452 repeated EnvVar env = 1 [(google.api.field_behavior ) = OPTIONAL ];
65-
66- // Optional. Post startup script config.
6753 PostStartupScriptConfig post_startup_script_config = 2
6854 [(google.api.field_behavior ) = OPTIONAL ];
6955}
0 commit comments