pulumi-gcp 8.19.0a1739290509__py3-none-any.whl → 8.19.1__py3-none-any.whl
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.
- pulumi_gcp/__init__.py +80 -0
- pulumi_gcp/_utilities.py +8 -4
- pulumi_gcp/accesscontextmanager/_inputs.py +288 -78
- pulumi_gcp/accesscontextmanager/outputs.py +186 -54
- pulumi_gcp/appengine/_inputs.py +3 -0
- pulumi_gcp/appengine/outputs.py +2 -0
- pulumi_gcp/beyondcorp/__init__.py +5 -0
- pulumi_gcp/beyondcorp/_inputs.py +189 -0
- pulumi_gcp/beyondcorp/application.py +604 -0
- pulumi_gcp/beyondcorp/application_iam_binding.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_member.py +1049 -0
- pulumi_gcp/beyondcorp/application_iam_policy.py +868 -0
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +174 -0
- pulumi_gcp/beyondcorp/outputs.py +111 -0
- pulumi_gcp/bigqueryanalyticshub/__init__.py +1 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +318 -0
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +808 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +263 -0
- pulumi_gcp/certificateauthority/_inputs.py +54 -0
- pulumi_gcp/certificateauthority/authority.py +149 -3
- pulumi_gcp/certificateauthority/get_authority.py +15 -4
- pulumi_gcp/certificateauthority/outputs.py +81 -0
- pulumi_gcp/cloudrunv2/_inputs.py +112 -0
- pulumi_gcp/cloudrunv2/outputs.py +144 -1
- pulumi_gcp/cloudrunv2/service.py +2 -0
- pulumi_gcp/colab/__init__.py +2 -0
- pulumi_gcp/colab/_inputs.py +655 -0
- pulumi_gcp/colab/notebook_execution.py +1259 -0
- pulumi_gcp/colab/outputs.py +512 -0
- pulumi_gcp/colab/runtime.py +266 -2
- pulumi_gcp/colab/runtime_template.py +79 -3
- pulumi_gcp/colab/schedule.py +1318 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +204 -0
- pulumi_gcp/compute/firewall_policy.py +54 -43
- pulumi_gcp/compute/forwarding_rule.py +103 -0
- pulumi_gcp/compute/get_forwarding_rule.py +12 -1
- pulumi_gcp/compute/interconnect_attachment.py +12 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +1011 -0
- pulumi_gcp/compute/outputs.py +187 -0
- pulumi_gcp/compute/public_advertised_prefix.py +35 -7
- pulumi_gcp/compute/public_delegated_prefix.py +171 -7
- pulumi_gcp/compute/region_resize_request.py +21 -22
- pulumi_gcp/compute/resize_request.py +22 -23
- pulumi_gcp/compute/subnetwork.py +14 -7
- pulumi_gcp/container/_inputs.py +54 -1
- pulumi_gcp/container/outputs.py +79 -1
- pulumi_gcp/datastream/connection_profile.py +120 -46
- pulumi_gcp/discoveryengine/chat_engine.py +7 -7
- pulumi_gcp/filestore/_inputs.py +222 -0
- pulumi_gcp/filestore/get_instance.py +23 -1
- pulumi_gcp/filestore/instance.py +86 -0
- pulumi_gcp/filestore/outputs.py +282 -0
- pulumi_gcp/gemini/__init__.py +2 -0
- pulumi_gcp/gemini/logging_setting.py +671 -0
- pulumi_gcp/gemini/release_channel_setting.py +639 -0
- pulumi_gcp/memorystore/_inputs.py +296 -0
- pulumi_gcp/memorystore/instance.py +32 -28
- pulumi_gcp/memorystore/outputs.py +224 -0
- pulumi_gcp/monitoring/_inputs.py +12 -9
- pulumi_gcp/monitoring/outputs.py +8 -6
- pulumi_gcp/networkservices/_inputs.py +89 -0
- pulumi_gcp/networkservices/outputs.py +75 -0
- pulumi_gcp/parametermanager/__init__.py +2 -0
- pulumi_gcp/parametermanager/get_parameter_version_render.py +199 -0
- pulumi_gcp/parametermanager/get_regional_parameter_version_render.py +220 -0
- pulumi_gcp/privilegedaccessmanager/entitlement.py +14 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/securesourcemanager/branch_rule.py +4 -0
- pulumi_gcp/securesourcemanager/repository.py +4 -0
- pulumi_gcp/storage/bucket_object.py +8 -0
- pulumi_gcp/workbench/instance.py +70 -2
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1.dist-info}/RECORD +76 -63
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.19.0a1739290509.dist-info → pulumi_gcp-8.19.1.dist-info}/top_level.txt +0 -0
pulumi_gcp/colab/outputs.py
CHANGED
@@ -13,8 +13,12 @@ if sys.version_info >= (3, 11):
|
|
13
13
|
else:
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
15
|
from .. import _utilities
|
16
|
+
from . import outputs
|
16
17
|
|
17
18
|
__all__ = [
|
19
|
+
'NotebookExecutionDataformRepositorySource',
|
20
|
+
'NotebookExecutionDirectNotebookSource',
|
21
|
+
'NotebookExecutionGcsNotebookSource',
|
18
22
|
'RuntimeNotebookRuntimeTemplateRef',
|
19
23
|
'RuntimeTemplateDataPersistentDiskSpec',
|
20
24
|
'RuntimeTemplateEncryptionSpec',
|
@@ -25,8 +29,112 @@ __all__ = [
|
|
25
29
|
'RuntimeTemplateMachineSpec',
|
26
30
|
'RuntimeTemplateNetworkSpec',
|
27
31
|
'RuntimeTemplateShieldedVmConfig',
|
32
|
+
'RuntimeTemplateSoftwareConfig',
|
33
|
+
'RuntimeTemplateSoftwareConfigEnv',
|
34
|
+
'RuntimeTemplateSoftwareConfigPostStartupScriptConfig',
|
35
|
+
'ScheduleCreateNotebookExecutionJobRequest',
|
36
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob',
|
37
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource',
|
38
|
+
'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSource',
|
28
39
|
]
|
29
40
|
|
41
|
+
@pulumi.output_type
|
42
|
+
class NotebookExecutionDataformRepositorySource(dict):
|
43
|
+
@staticmethod
|
44
|
+
def __key_warning(key: str):
|
45
|
+
suggest = None
|
46
|
+
if key == "dataformRepositoryResourceName":
|
47
|
+
suggest = "dataform_repository_resource_name"
|
48
|
+
elif key == "commitSha":
|
49
|
+
suggest = "commit_sha"
|
50
|
+
|
51
|
+
if suggest:
|
52
|
+
pulumi.log.warn(f"Key '{key}' not found in NotebookExecutionDataformRepositorySource. Access the value via the '{suggest}' property getter instead.")
|
53
|
+
|
54
|
+
def __getitem__(self, key: str) -> Any:
|
55
|
+
NotebookExecutionDataformRepositorySource.__key_warning(key)
|
56
|
+
return super().__getitem__(key)
|
57
|
+
|
58
|
+
def get(self, key: str, default = None) -> Any:
|
59
|
+
NotebookExecutionDataformRepositorySource.__key_warning(key)
|
60
|
+
return super().get(key, default)
|
61
|
+
|
62
|
+
def __init__(__self__, *,
|
63
|
+
dataform_repository_resource_name: str,
|
64
|
+
commit_sha: Optional[str] = None):
|
65
|
+
"""
|
66
|
+
:param str dataform_repository_resource_name: The resource name of the Dataform Repository.
|
67
|
+
:param str commit_sha: The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
68
|
+
"""
|
69
|
+
pulumi.set(__self__, "dataform_repository_resource_name", dataform_repository_resource_name)
|
70
|
+
if commit_sha is not None:
|
71
|
+
pulumi.set(__self__, "commit_sha", commit_sha)
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter(name="dataformRepositoryResourceName")
|
75
|
+
def dataform_repository_resource_name(self) -> str:
|
76
|
+
"""
|
77
|
+
The resource name of the Dataform Repository.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "dataform_repository_resource_name")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="commitSha")
|
83
|
+
def commit_sha(self) -> Optional[str]:
|
84
|
+
"""
|
85
|
+
The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "commit_sha")
|
88
|
+
|
89
|
+
|
90
|
+
@pulumi.output_type
|
91
|
+
class NotebookExecutionDirectNotebookSource(dict):
|
92
|
+
def __init__(__self__, *,
|
93
|
+
content: str):
|
94
|
+
"""
|
95
|
+
:param str content: The base64-encoded contents of the input notebook file.
|
96
|
+
"""
|
97
|
+
pulumi.set(__self__, "content", content)
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def content(self) -> str:
|
102
|
+
"""
|
103
|
+
The base64-encoded contents of the input notebook file.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "content")
|
106
|
+
|
107
|
+
|
108
|
+
@pulumi.output_type
|
109
|
+
class NotebookExecutionGcsNotebookSource(dict):
|
110
|
+
def __init__(__self__, *,
|
111
|
+
uri: str,
|
112
|
+
generation: Optional[str] = None):
|
113
|
+
"""
|
114
|
+
:param str uri: The Cloud Storage uri pointing to the ipynb file.
|
115
|
+
:param str generation: The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
116
|
+
"""
|
117
|
+
pulumi.set(__self__, "uri", uri)
|
118
|
+
if generation is not None:
|
119
|
+
pulumi.set(__self__, "generation", generation)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def uri(self) -> str:
|
124
|
+
"""
|
125
|
+
The Cloud Storage uri pointing to the ipynb file.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "uri")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def generation(self) -> Optional[str]:
|
132
|
+
"""
|
133
|
+
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "generation")
|
136
|
+
|
137
|
+
|
30
138
|
@pulumi.output_type
|
31
139
|
class RuntimeNotebookRuntimeTemplateRef(dict):
|
32
140
|
@staticmethod
|
@@ -434,3 +542,407 @@ class RuntimeTemplateShieldedVmConfig(dict):
|
|
434
542
|
return pulumi.get(self, "enable_secure_boot")
|
435
543
|
|
436
544
|
|
545
|
+
@pulumi.output_type
|
546
|
+
class RuntimeTemplateSoftwareConfig(dict):
|
547
|
+
@staticmethod
|
548
|
+
def __key_warning(key: str):
|
549
|
+
suggest = None
|
550
|
+
if key == "postStartupScriptConfig":
|
551
|
+
suggest = "post_startup_script_config"
|
552
|
+
|
553
|
+
if suggest:
|
554
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateSoftwareConfig. Access the value via the '{suggest}' property getter instead.")
|
555
|
+
|
556
|
+
def __getitem__(self, key: str) -> Any:
|
557
|
+
RuntimeTemplateSoftwareConfig.__key_warning(key)
|
558
|
+
return super().__getitem__(key)
|
559
|
+
|
560
|
+
def get(self, key: str, default = None) -> Any:
|
561
|
+
RuntimeTemplateSoftwareConfig.__key_warning(key)
|
562
|
+
return super().get(key, default)
|
563
|
+
|
564
|
+
def __init__(__self__, *,
|
565
|
+
envs: Optional[Sequence['outputs.RuntimeTemplateSoftwareConfigEnv']] = None,
|
566
|
+
post_startup_script_config: Optional['outputs.RuntimeTemplateSoftwareConfigPostStartupScriptConfig'] = None):
|
567
|
+
"""
|
568
|
+
:param Sequence['RuntimeTemplateSoftwareConfigEnvArgs'] envs: Environment variables to be passed to the container.
|
569
|
+
Structure is documented below.
|
570
|
+
:param 'RuntimeTemplateSoftwareConfigPostStartupScriptConfigArgs' post_startup_script_config: Post startup script config.
|
571
|
+
Structure is documented below.
|
572
|
+
"""
|
573
|
+
if envs is not None:
|
574
|
+
pulumi.set(__self__, "envs", envs)
|
575
|
+
if post_startup_script_config is not None:
|
576
|
+
pulumi.set(__self__, "post_startup_script_config", post_startup_script_config)
|
577
|
+
|
578
|
+
@property
|
579
|
+
@pulumi.getter
|
580
|
+
def envs(self) -> Optional[Sequence['outputs.RuntimeTemplateSoftwareConfigEnv']]:
|
581
|
+
"""
|
582
|
+
Environment variables to be passed to the container.
|
583
|
+
Structure is documented below.
|
584
|
+
"""
|
585
|
+
return pulumi.get(self, "envs")
|
586
|
+
|
587
|
+
@property
|
588
|
+
@pulumi.getter(name="postStartupScriptConfig")
|
589
|
+
def post_startup_script_config(self) -> Optional['outputs.RuntimeTemplateSoftwareConfigPostStartupScriptConfig']:
|
590
|
+
"""
|
591
|
+
Post startup script config.
|
592
|
+
Structure is documented below.
|
593
|
+
"""
|
594
|
+
return pulumi.get(self, "post_startup_script_config")
|
595
|
+
|
596
|
+
|
597
|
+
@pulumi.output_type
|
598
|
+
class RuntimeTemplateSoftwareConfigEnv(dict):
|
599
|
+
def __init__(__self__, *,
|
600
|
+
name: Optional[str] = None,
|
601
|
+
value: Optional[str] = None):
|
602
|
+
"""
|
603
|
+
:param str name: Name of the environment variable. Must be a valid C identifier.
|
604
|
+
:param str value: Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
|
605
|
+
"""
|
606
|
+
if name is not None:
|
607
|
+
pulumi.set(__self__, "name", name)
|
608
|
+
if value is not None:
|
609
|
+
pulumi.set(__self__, "value", value)
|
610
|
+
|
611
|
+
@property
|
612
|
+
@pulumi.getter
|
613
|
+
def name(self) -> Optional[str]:
|
614
|
+
"""
|
615
|
+
Name of the environment variable. Must be a valid C identifier.
|
616
|
+
"""
|
617
|
+
return pulumi.get(self, "name")
|
618
|
+
|
619
|
+
@property
|
620
|
+
@pulumi.getter
|
621
|
+
def value(self) -> Optional[str]:
|
622
|
+
"""
|
623
|
+
Variables that reference a $(VAR_NAME) are expanded using the previous defined environment variables in the container and any service environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not.
|
624
|
+
"""
|
625
|
+
return pulumi.get(self, "value")
|
626
|
+
|
627
|
+
|
628
|
+
@pulumi.output_type
|
629
|
+
class RuntimeTemplateSoftwareConfigPostStartupScriptConfig(dict):
|
630
|
+
@staticmethod
|
631
|
+
def __key_warning(key: str):
|
632
|
+
suggest = None
|
633
|
+
if key == "postStartupScript":
|
634
|
+
suggest = "post_startup_script"
|
635
|
+
elif key == "postStartupScriptBehavior":
|
636
|
+
suggest = "post_startup_script_behavior"
|
637
|
+
elif key == "postStartupScriptUrl":
|
638
|
+
suggest = "post_startup_script_url"
|
639
|
+
|
640
|
+
if suggest:
|
641
|
+
pulumi.log.warn(f"Key '{key}' not found in RuntimeTemplateSoftwareConfigPostStartupScriptConfig. Access the value via the '{suggest}' property getter instead.")
|
642
|
+
|
643
|
+
def __getitem__(self, key: str) -> Any:
|
644
|
+
RuntimeTemplateSoftwareConfigPostStartupScriptConfig.__key_warning(key)
|
645
|
+
return super().__getitem__(key)
|
646
|
+
|
647
|
+
def get(self, key: str, default = None) -> Any:
|
648
|
+
RuntimeTemplateSoftwareConfigPostStartupScriptConfig.__key_warning(key)
|
649
|
+
return super().get(key, default)
|
650
|
+
|
651
|
+
def __init__(__self__, *,
|
652
|
+
post_startup_script: Optional[str] = None,
|
653
|
+
post_startup_script_behavior: Optional[str] = None,
|
654
|
+
post_startup_script_url: Optional[str] = None):
|
655
|
+
"""
|
656
|
+
:param str post_startup_script: Post startup script to run after runtime is started.
|
657
|
+
:param str post_startup_script_behavior: Post startup script behavior that defines download and execution behavior.
|
658
|
+
Possible values are: `RUN_ONCE`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
|
659
|
+
:param str post_startup_script_url: Post startup script url to download. Example: https://bucket/script.sh.
|
660
|
+
"""
|
661
|
+
if post_startup_script is not None:
|
662
|
+
pulumi.set(__self__, "post_startup_script", post_startup_script)
|
663
|
+
if post_startup_script_behavior is not None:
|
664
|
+
pulumi.set(__self__, "post_startup_script_behavior", post_startup_script_behavior)
|
665
|
+
if post_startup_script_url is not None:
|
666
|
+
pulumi.set(__self__, "post_startup_script_url", post_startup_script_url)
|
667
|
+
|
668
|
+
@property
|
669
|
+
@pulumi.getter(name="postStartupScript")
|
670
|
+
def post_startup_script(self) -> Optional[str]:
|
671
|
+
"""
|
672
|
+
Post startup script to run after runtime is started.
|
673
|
+
"""
|
674
|
+
return pulumi.get(self, "post_startup_script")
|
675
|
+
|
676
|
+
@property
|
677
|
+
@pulumi.getter(name="postStartupScriptBehavior")
|
678
|
+
def post_startup_script_behavior(self) -> Optional[str]:
|
679
|
+
"""
|
680
|
+
Post startup script behavior that defines download and execution behavior.
|
681
|
+
Possible values are: `RUN_ONCE`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
|
682
|
+
"""
|
683
|
+
return pulumi.get(self, "post_startup_script_behavior")
|
684
|
+
|
685
|
+
@property
|
686
|
+
@pulumi.getter(name="postStartupScriptUrl")
|
687
|
+
def post_startup_script_url(self) -> Optional[str]:
|
688
|
+
"""
|
689
|
+
Post startup script url to download. Example: https://bucket/script.sh.
|
690
|
+
"""
|
691
|
+
return pulumi.get(self, "post_startup_script_url")
|
692
|
+
|
693
|
+
|
694
|
+
@pulumi.output_type
|
695
|
+
class ScheduleCreateNotebookExecutionJobRequest(dict):
|
696
|
+
@staticmethod
|
697
|
+
def __key_warning(key: str):
|
698
|
+
suggest = None
|
699
|
+
if key == "notebookExecutionJob":
|
700
|
+
suggest = "notebook_execution_job"
|
701
|
+
|
702
|
+
if suggest:
|
703
|
+
pulumi.log.warn(f"Key '{key}' not found in ScheduleCreateNotebookExecutionJobRequest. Access the value via the '{suggest}' property getter instead.")
|
704
|
+
|
705
|
+
def __getitem__(self, key: str) -> Any:
|
706
|
+
ScheduleCreateNotebookExecutionJobRequest.__key_warning(key)
|
707
|
+
return super().__getitem__(key)
|
708
|
+
|
709
|
+
def get(self, key: str, default = None) -> Any:
|
710
|
+
ScheduleCreateNotebookExecutionJobRequest.__key_warning(key)
|
711
|
+
return super().get(key, default)
|
712
|
+
|
713
|
+
def __init__(__self__, *,
|
714
|
+
notebook_execution_job: 'outputs.ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob'):
|
715
|
+
"""
|
716
|
+
:param 'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobArgs' notebook_execution_job: The NotebookExecutionJob to create.
|
717
|
+
Structure is documented below.
|
718
|
+
"""
|
719
|
+
pulumi.set(__self__, "notebook_execution_job", notebook_execution_job)
|
720
|
+
|
721
|
+
@property
|
722
|
+
@pulumi.getter(name="notebookExecutionJob")
|
723
|
+
def notebook_execution_job(self) -> 'outputs.ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob':
|
724
|
+
"""
|
725
|
+
The NotebookExecutionJob to create.
|
726
|
+
Structure is documented below.
|
727
|
+
"""
|
728
|
+
return pulumi.get(self, "notebook_execution_job")
|
729
|
+
|
730
|
+
|
731
|
+
@pulumi.output_type
|
732
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob(dict):
|
733
|
+
@staticmethod
|
734
|
+
def __key_warning(key: str):
|
735
|
+
suggest = None
|
736
|
+
if key == "displayName":
|
737
|
+
suggest = "display_name"
|
738
|
+
elif key == "gcsOutputUri":
|
739
|
+
suggest = "gcs_output_uri"
|
740
|
+
elif key == "notebookRuntimeTemplateResourceName":
|
741
|
+
suggest = "notebook_runtime_template_resource_name"
|
742
|
+
elif key == "dataformRepositorySource":
|
743
|
+
suggest = "dataform_repository_source"
|
744
|
+
elif key == "executionTimeout":
|
745
|
+
suggest = "execution_timeout"
|
746
|
+
elif key == "executionUser":
|
747
|
+
suggest = "execution_user"
|
748
|
+
elif key == "gcsNotebookSource":
|
749
|
+
suggest = "gcs_notebook_source"
|
750
|
+
elif key == "serviceAccount":
|
751
|
+
suggest = "service_account"
|
752
|
+
|
753
|
+
if suggest:
|
754
|
+
pulumi.log.warn(f"Key '{key}' not found in ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob. Access the value via the '{suggest}' property getter instead.")
|
755
|
+
|
756
|
+
def __getitem__(self, key: str) -> Any:
|
757
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob.__key_warning(key)
|
758
|
+
return super().__getitem__(key)
|
759
|
+
|
760
|
+
def get(self, key: str, default = None) -> Any:
|
761
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJob.__key_warning(key)
|
762
|
+
return super().get(key, default)
|
763
|
+
|
764
|
+
def __init__(__self__, *,
|
765
|
+
display_name: str,
|
766
|
+
gcs_output_uri: str,
|
767
|
+
notebook_runtime_template_resource_name: str,
|
768
|
+
dataform_repository_source: Optional['outputs.ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource'] = None,
|
769
|
+
execution_timeout: Optional[str] = None,
|
770
|
+
execution_user: Optional[str] = None,
|
771
|
+
gcs_notebook_source: Optional['outputs.ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSource'] = None,
|
772
|
+
service_account: Optional[str] = None):
|
773
|
+
"""
|
774
|
+
:param str display_name: Required. The display name of the Notebook Execution.
|
775
|
+
:param str gcs_output_uri: The Cloud Storage location to upload the result to. Format:`gs://bucket-name`
|
776
|
+
:param str notebook_runtime_template_resource_name: The NotebookRuntimeTemplate to source compute configuration from.
|
777
|
+
:param 'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySourceArgs' dataform_repository_source: The Dataform Repository containing the input notebook.
|
778
|
+
Structure is documented below.
|
779
|
+
:param str execution_timeout: Max running time of the execution job in seconds (default 86400s / 24 hrs). A duration in seconds with up to nine fractional digits, ending with "s". Example: "3.5s".
|
780
|
+
:param str execution_user: The user email to run the execution as.
|
781
|
+
:param 'ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSourceArgs' gcs_notebook_source: The Cloud Storage uri for the input notebook.
|
782
|
+
Structure is documented below.
|
783
|
+
:param str service_account: The service account to run the execution as.
|
784
|
+
"""
|
785
|
+
pulumi.set(__self__, "display_name", display_name)
|
786
|
+
pulumi.set(__self__, "gcs_output_uri", gcs_output_uri)
|
787
|
+
pulumi.set(__self__, "notebook_runtime_template_resource_name", notebook_runtime_template_resource_name)
|
788
|
+
if dataform_repository_source is not None:
|
789
|
+
pulumi.set(__self__, "dataform_repository_source", dataform_repository_source)
|
790
|
+
if execution_timeout is not None:
|
791
|
+
pulumi.set(__self__, "execution_timeout", execution_timeout)
|
792
|
+
if execution_user is not None:
|
793
|
+
pulumi.set(__self__, "execution_user", execution_user)
|
794
|
+
if gcs_notebook_source is not None:
|
795
|
+
pulumi.set(__self__, "gcs_notebook_source", gcs_notebook_source)
|
796
|
+
if service_account is not None:
|
797
|
+
pulumi.set(__self__, "service_account", service_account)
|
798
|
+
|
799
|
+
@property
|
800
|
+
@pulumi.getter(name="displayName")
|
801
|
+
def display_name(self) -> str:
|
802
|
+
"""
|
803
|
+
Required. The display name of the Notebook Execution.
|
804
|
+
"""
|
805
|
+
return pulumi.get(self, "display_name")
|
806
|
+
|
807
|
+
@property
|
808
|
+
@pulumi.getter(name="gcsOutputUri")
|
809
|
+
def gcs_output_uri(self) -> str:
|
810
|
+
"""
|
811
|
+
The Cloud Storage location to upload the result to. Format:`gs://bucket-name`
|
812
|
+
"""
|
813
|
+
return pulumi.get(self, "gcs_output_uri")
|
814
|
+
|
815
|
+
@property
|
816
|
+
@pulumi.getter(name="notebookRuntimeTemplateResourceName")
|
817
|
+
def notebook_runtime_template_resource_name(self) -> str:
|
818
|
+
"""
|
819
|
+
The NotebookRuntimeTemplate to source compute configuration from.
|
820
|
+
"""
|
821
|
+
return pulumi.get(self, "notebook_runtime_template_resource_name")
|
822
|
+
|
823
|
+
@property
|
824
|
+
@pulumi.getter(name="dataformRepositorySource")
|
825
|
+
def dataform_repository_source(self) -> Optional['outputs.ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource']:
|
826
|
+
"""
|
827
|
+
The Dataform Repository containing the input notebook.
|
828
|
+
Structure is documented below.
|
829
|
+
"""
|
830
|
+
return pulumi.get(self, "dataform_repository_source")
|
831
|
+
|
832
|
+
@property
|
833
|
+
@pulumi.getter(name="executionTimeout")
|
834
|
+
def execution_timeout(self) -> Optional[str]:
|
835
|
+
"""
|
836
|
+
Max running time of the execution job in seconds (default 86400s / 24 hrs). A duration in seconds with up to nine fractional digits, ending with "s". Example: "3.5s".
|
837
|
+
"""
|
838
|
+
return pulumi.get(self, "execution_timeout")
|
839
|
+
|
840
|
+
@property
|
841
|
+
@pulumi.getter(name="executionUser")
|
842
|
+
def execution_user(self) -> Optional[str]:
|
843
|
+
"""
|
844
|
+
The user email to run the execution as.
|
845
|
+
"""
|
846
|
+
return pulumi.get(self, "execution_user")
|
847
|
+
|
848
|
+
@property
|
849
|
+
@pulumi.getter(name="gcsNotebookSource")
|
850
|
+
def gcs_notebook_source(self) -> Optional['outputs.ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSource']:
|
851
|
+
"""
|
852
|
+
The Cloud Storage uri for the input notebook.
|
853
|
+
Structure is documented below.
|
854
|
+
"""
|
855
|
+
return pulumi.get(self, "gcs_notebook_source")
|
856
|
+
|
857
|
+
@property
|
858
|
+
@pulumi.getter(name="serviceAccount")
|
859
|
+
def service_account(self) -> Optional[str]:
|
860
|
+
"""
|
861
|
+
The service account to run the execution as.
|
862
|
+
"""
|
863
|
+
return pulumi.get(self, "service_account")
|
864
|
+
|
865
|
+
|
866
|
+
@pulumi.output_type
|
867
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource(dict):
|
868
|
+
@staticmethod
|
869
|
+
def __key_warning(key: str):
|
870
|
+
suggest = None
|
871
|
+
if key == "dataformRepositoryResourceName":
|
872
|
+
suggest = "dataform_repository_resource_name"
|
873
|
+
elif key == "commitSha":
|
874
|
+
suggest = "commit_sha"
|
875
|
+
|
876
|
+
if suggest:
|
877
|
+
pulumi.log.warn(f"Key '{key}' not found in ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource. Access the value via the '{suggest}' property getter instead.")
|
878
|
+
|
879
|
+
def __getitem__(self, key: str) -> Any:
|
880
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource.__key_warning(key)
|
881
|
+
return super().__getitem__(key)
|
882
|
+
|
883
|
+
def get(self, key: str, default = None) -> Any:
|
884
|
+
ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobDataformRepositorySource.__key_warning(key)
|
885
|
+
return super().get(key, default)
|
886
|
+
|
887
|
+
def __init__(__self__, *,
|
888
|
+
dataform_repository_resource_name: str,
|
889
|
+
commit_sha: Optional[str] = None):
|
890
|
+
"""
|
891
|
+
:param str dataform_repository_resource_name: The resource name of the Dataform Repository.
|
892
|
+
:param str commit_sha: The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
893
|
+
"""
|
894
|
+
pulumi.set(__self__, "dataform_repository_resource_name", dataform_repository_resource_name)
|
895
|
+
if commit_sha is not None:
|
896
|
+
pulumi.set(__self__, "commit_sha", commit_sha)
|
897
|
+
|
898
|
+
@property
|
899
|
+
@pulumi.getter(name="dataformRepositoryResourceName")
|
900
|
+
def dataform_repository_resource_name(self) -> str:
|
901
|
+
"""
|
902
|
+
The resource name of the Dataform Repository.
|
903
|
+
"""
|
904
|
+
return pulumi.get(self, "dataform_repository_resource_name")
|
905
|
+
|
906
|
+
@property
|
907
|
+
@pulumi.getter(name="commitSha")
|
908
|
+
def commit_sha(self) -> Optional[str]:
|
909
|
+
"""
|
910
|
+
The commit SHA to read repository with. If unset, the file will be read at HEAD.
|
911
|
+
"""
|
912
|
+
return pulumi.get(self, "commit_sha")
|
913
|
+
|
914
|
+
|
915
|
+
@pulumi.output_type
|
916
|
+
class ScheduleCreateNotebookExecutionJobRequestNotebookExecutionJobGcsNotebookSource(dict):
|
917
|
+
def __init__(__self__, *,
|
918
|
+
uri: str,
|
919
|
+
generation: Optional[str] = None):
|
920
|
+
"""
|
921
|
+
:param str uri: The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb
|
922
|
+
:param str generation: The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
923
|
+
|
924
|
+
- - -
|
925
|
+
"""
|
926
|
+
pulumi.set(__self__, "uri", uri)
|
927
|
+
if generation is not None:
|
928
|
+
pulumi.set(__self__, "generation", generation)
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter
|
932
|
+
def uri(self) -> str:
|
933
|
+
"""
|
934
|
+
The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "uri")
|
937
|
+
|
938
|
+
@property
|
939
|
+
@pulumi.getter
|
940
|
+
def generation(self) -> Optional[str]:
|
941
|
+
"""
|
942
|
+
The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.
|
943
|
+
|
944
|
+
- - -
|
945
|
+
"""
|
946
|
+
return pulumi.get(self, "generation")
|
947
|
+
|
948
|
+
|