pulumi-gcp 8.36.0a1750484065__py3-none-any.whl → 8.37.0__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.
Files changed (117) hide show
  1. pulumi_gcp/__init__.py +59 -0
  2. pulumi_gcp/alloydb/_inputs.py +26 -0
  3. pulumi_gcp/alloydb/outputs.py +34 -1
  4. pulumi_gcp/apihub/__init__.py +2 -0
  5. pulumi_gcp/apihub/_inputs.py +1658 -0
  6. pulumi_gcp/apihub/outputs.py +1374 -0
  7. pulumi_gcp/apihub/plugin.py +1146 -0
  8. pulumi_gcp/apihub/plugin_instance.py +808 -0
  9. pulumi_gcp/bigquery/table.py +16 -12
  10. pulumi_gcp/bigqueryanalyticshub/_inputs.py +56 -6
  11. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +73 -0
  12. pulumi_gcp/bigqueryanalyticshub/listing.py +201 -48
  13. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +28 -0
  14. pulumi_gcp/bigqueryanalyticshub/outputs.py +50 -4
  15. pulumi_gcp/bigtable/table.py +82 -0
  16. pulumi_gcp/cloudidentity/group_membership.py +47 -0
  17. pulumi_gcp/cloudidentity/outputs.py +11 -0
  18. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +64 -8
  19. pulumi_gcp/cloudrunv2/_inputs.py +65 -9
  20. pulumi_gcp/cloudrunv2/job.py +44 -0
  21. pulumi_gcp/cloudrunv2/outputs.py +73 -8
  22. pulumi_gcp/cloudrunv2/service.py +0 -2
  23. pulumi_gcp/cloudrunv2/worker_pool.py +18 -20
  24. pulumi_gcp/compute/__init__.py +1 -0
  25. pulumi_gcp/compute/_inputs.py +787 -18
  26. pulumi_gcp/compute/disk.py +35 -28
  27. pulumi_gcp/compute/firewall_policy_rule.py +207 -0
  28. pulumi_gcp/compute/get_instance_group_manager.py +12 -1
  29. pulumi_gcp/compute/get_region_disk.py +12 -1
  30. pulumi_gcp/compute/instance.py +2 -2
  31. pulumi_gcp/compute/instance_group_manager.py +165 -14
  32. pulumi_gcp/compute/instance_template.py +2 -2
  33. pulumi_gcp/compute/interconnect.py +43 -11
  34. pulumi_gcp/compute/network.py +56 -0
  35. pulumi_gcp/compute/network_firewall_policy.py +68 -0
  36. pulumi_gcp/compute/network_firewall_policy_with_rules.py +61 -0
  37. pulumi_gcp/compute/node_template.py +21 -0
  38. pulumi_gcp/compute/outputs.py +620 -12
  39. pulumi_gcp/compute/region_disk.py +114 -0
  40. pulumi_gcp/compute/region_network_firewall_policy.py +90 -0
  41. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +109 -0
  42. pulumi_gcp/compute/service_attachment.py +76 -8
  43. pulumi_gcp/compute/wire_group.py +751 -0
  44. pulumi_gcp/config/__init__.pyi +2 -0
  45. pulumi_gcp/config/vars.py +4 -0
  46. pulumi_gcp/contactcenterinsights/__init__.py +9 -0
  47. pulumi_gcp/contactcenterinsights/view.py +526 -0
  48. pulumi_gcp/container/_inputs.py +207 -28
  49. pulumi_gcp/container/cluster.py +54 -0
  50. pulumi_gcp/container/get_cluster.py +12 -1
  51. pulumi_gcp/container/get_engine_versions.py +15 -1
  52. pulumi_gcp/container/node_pool.py +14 -0
  53. pulumi_gcp/container/outputs.py +295 -21
  54. pulumi_gcp/dataplex/_inputs.py +431 -6
  55. pulumi_gcp/dataplex/datascan.py +251 -0
  56. pulumi_gcp/dataplex/entry_type.py +2 -2
  57. pulumi_gcp/dataplex/glossary_category.py +8 -8
  58. pulumi_gcp/dataplex/glossary_term.py +8 -8
  59. pulumi_gcp/dataplex/outputs.py +353 -4
  60. pulumi_gcp/dataplex/task.py +16 -16
  61. pulumi_gcp/dataproc/__init__.py +1 -0
  62. pulumi_gcp/dataproc/_inputs.py +486 -0
  63. pulumi_gcp/dataproc/batch.py +10 -10
  64. pulumi_gcp/dataproc/outputs.py +407 -0
  65. pulumi_gcp/dataproc/session_template.py +1084 -0
  66. pulumi_gcp/diagflow/__init__.py +2 -0
  67. pulumi_gcp/diagflow/_inputs.py +479 -0
  68. pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
  69. pulumi_gcp/diagflow/cx_tool.py +2 -2
  70. pulumi_gcp/diagflow/encryption_spec.py +382 -0
  71. pulumi_gcp/diagflow/outputs.py +416 -0
  72. pulumi_gcp/dns/record_set.py +4 -2
  73. pulumi_gcp/firestore/database.py +0 -9
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gkehub/membership_binding.py +6 -6
  76. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  77. pulumi_gcp/gkehub/namespace.py +4 -4
  78. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  79. pulumi_gcp/iam/_inputs.py +36 -0
  80. pulumi_gcp/iam/outputs.py +38 -0
  81. pulumi_gcp/iam/workload_identity_pool_managed_identity.py +88 -2
  82. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  83. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  84. pulumi_gcp/kms/autokey_config.py +28 -0
  85. pulumi_gcp/kms/get_autokey_config.py +12 -1
  86. pulumi_gcp/lustre/get_instance.py +12 -1
  87. pulumi_gcp/lustre/instance.py +143 -86
  88. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  89. pulumi_gcp/managedkafka/connector.py +4 -4
  90. pulumi_gcp/memorystore/get_instance.py +12 -1
  91. pulumi_gcp/memorystore/instance.py +49 -0
  92. pulumi_gcp/monitoring/metric_descriptor.py +55 -57
  93. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  94. pulumi_gcp/notebooks/instance.py +8 -8
  95. pulumi_gcp/orgpolicy/policy.py +2 -2
  96. pulumi_gcp/provider.py +20 -0
  97. pulumi_gcp/pubsub/subscription.py +6 -6
  98. pulumi_gcp/pulumi-plugin.json +1 -1
  99. pulumi_gcp/redis/get_instance.py +12 -1
  100. pulumi_gcp/redis/instance.py +44 -0
  101. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  102. pulumi_gcp/secretmanager/outputs.py +7 -0
  103. pulumi_gcp/secretmanager/regional_secret.py +38 -2
  104. pulumi_gcp/spanner/_inputs.py +24 -1
  105. pulumi_gcp/spanner/outputs.py +17 -1
  106. pulumi_gcp/storage/_inputs.py +43 -3
  107. pulumi_gcp/storage/bucket_object.py +56 -0
  108. pulumi_gcp/storage/get_bucket_object.py +12 -1
  109. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  110. pulumi_gcp/storage/outputs.py +53 -3
  111. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  112. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  113. pulumi_gcp/workbench/instance.py +2 -0
  114. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/METADATA +2 -2
  115. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/RECORD +117 -109
  116. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/WHEEL +0 -0
  117. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,28 @@ __all__ = [
21
21
  'CurationEndpoint',
22
22
  'CurationEndpointApplicationIntegrationEndpointDetails',
23
23
  'CurationPluginInstanceAction',
24
+ 'PluginActionsConfig',
25
+ 'PluginConfigTemplate',
26
+ 'PluginConfigTemplateAdditionalConfigTemplate',
27
+ 'PluginConfigTemplateAdditionalConfigTemplateEnumOption',
28
+ 'PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption',
29
+ 'PluginConfigTemplateAuthConfigTemplate',
30
+ 'PluginConfigTemplateAuthConfigTemplateServiceAccount',
31
+ 'PluginDocumentation',
32
+ 'PluginHostingService',
33
+ 'PluginInstanceAction',
34
+ 'PluginInstanceActionCurationConfig',
35
+ 'PluginInstanceActionCurationConfigCustomCuration',
36
+ 'PluginInstanceActionHubInstanceAction',
37
+ 'PluginInstanceActionHubInstanceActionLastExecution',
38
+ 'PluginInstanceAuthConfig',
39
+ 'PluginInstanceAuthConfigApiKeyConfig',
40
+ 'PluginInstanceAuthConfigApiKeyConfigApiKey',
41
+ 'PluginInstanceAuthConfigGoogleServiceAccountConfig',
42
+ 'PluginInstanceAuthConfigOauth2ClientCredentialsConfig',
43
+ 'PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret',
44
+ 'PluginInstanceAuthConfigUserPasswordConfig',
45
+ 'PluginInstanceAuthConfigUserPasswordConfigPassword',
24
46
  ]
25
47
 
26
48
  @pulumi.output_type
@@ -288,3 +310,1355 @@ class CurationPluginInstanceAction(dict):
288
310
  return pulumi.get(self, "plugin_instance")
289
311
 
290
312
 
313
+ @pulumi.output_type
314
+ class PluginActionsConfig(dict):
315
+ @staticmethod
316
+ def __key_warning(key: str):
317
+ suggest = None
318
+ if key == "displayName":
319
+ suggest = "display_name"
320
+ elif key == "triggerMode":
321
+ suggest = "trigger_mode"
322
+
323
+ if suggest:
324
+ pulumi.log.warn(f"Key '{key}' not found in PluginActionsConfig. Access the value via the '{suggest}' property getter instead.")
325
+
326
+ def __getitem__(self, key: str) -> Any:
327
+ PluginActionsConfig.__key_warning(key)
328
+ return super().__getitem__(key)
329
+
330
+ def get(self, key: str, default = None) -> Any:
331
+ PluginActionsConfig.__key_warning(key)
332
+ return super().get(key, default)
333
+
334
+ def __init__(__self__, *,
335
+ description: builtins.str,
336
+ display_name: builtins.str,
337
+ id: builtins.str,
338
+ trigger_mode: builtins.str):
339
+ """
340
+ :param builtins.str description: The description of the operation performed by the action.
341
+ :param builtins.str display_name: The display name of the action.
342
+ :param builtins.str id: The id of the action.
343
+ :param builtins.str trigger_mode: The trigger mode supported by the action.
344
+ Possible values:
345
+ TRIGGER_MODE_UNSPECIFIED
346
+ API_HUB_ON_DEMAND_TRIGGER
347
+ API_HUB_SCHEDULE_TRIGGER
348
+ NON_API_HUB_MANAGED
349
+ """
350
+ pulumi.set(__self__, "description", description)
351
+ pulumi.set(__self__, "display_name", display_name)
352
+ pulumi.set(__self__, "id", id)
353
+ pulumi.set(__self__, "trigger_mode", trigger_mode)
354
+
355
+ @property
356
+ @pulumi.getter
357
+ def description(self) -> builtins.str:
358
+ """
359
+ The description of the operation performed by the action.
360
+ """
361
+ return pulumi.get(self, "description")
362
+
363
+ @property
364
+ @pulumi.getter(name="displayName")
365
+ def display_name(self) -> builtins.str:
366
+ """
367
+ The display name of the action.
368
+ """
369
+ return pulumi.get(self, "display_name")
370
+
371
+ @property
372
+ @pulumi.getter
373
+ def id(self) -> builtins.str:
374
+ """
375
+ The id of the action.
376
+ """
377
+ return pulumi.get(self, "id")
378
+
379
+ @property
380
+ @pulumi.getter(name="triggerMode")
381
+ def trigger_mode(self) -> builtins.str:
382
+ """
383
+ The trigger mode supported by the action.
384
+ Possible values:
385
+ TRIGGER_MODE_UNSPECIFIED
386
+ API_HUB_ON_DEMAND_TRIGGER
387
+ API_HUB_SCHEDULE_TRIGGER
388
+ NON_API_HUB_MANAGED
389
+ """
390
+ return pulumi.get(self, "trigger_mode")
391
+
392
+
393
+ @pulumi.output_type
394
+ class PluginConfigTemplate(dict):
395
+ @staticmethod
396
+ def __key_warning(key: str):
397
+ suggest = None
398
+ if key == "additionalConfigTemplates":
399
+ suggest = "additional_config_templates"
400
+ elif key == "authConfigTemplate":
401
+ suggest = "auth_config_template"
402
+
403
+ if suggest:
404
+ pulumi.log.warn(f"Key '{key}' not found in PluginConfigTemplate. Access the value via the '{suggest}' property getter instead.")
405
+
406
+ def __getitem__(self, key: str) -> Any:
407
+ PluginConfigTemplate.__key_warning(key)
408
+ return super().__getitem__(key)
409
+
410
+ def get(self, key: str, default = None) -> Any:
411
+ PluginConfigTemplate.__key_warning(key)
412
+ return super().get(key, default)
413
+
414
+ def __init__(__self__, *,
415
+ additional_config_templates: Optional[Sequence['outputs.PluginConfigTemplateAdditionalConfigTemplate']] = None,
416
+ auth_config_template: Optional['outputs.PluginConfigTemplateAuthConfigTemplate'] = None):
417
+ """
418
+ :param Sequence['PluginConfigTemplateAdditionalConfigTemplateArgs'] additional_config_templates: The list of additional configuration variables for the plugin's
419
+ configuration.
420
+ Structure is documented below.
421
+ :param 'PluginConfigTemplateAuthConfigTemplateArgs' auth_config_template: AuthConfigTemplate represents the authentication template for a plugin.
422
+ Structure is documented below.
423
+ """
424
+ if additional_config_templates is not None:
425
+ pulumi.set(__self__, "additional_config_templates", additional_config_templates)
426
+ if auth_config_template is not None:
427
+ pulumi.set(__self__, "auth_config_template", auth_config_template)
428
+
429
+ @property
430
+ @pulumi.getter(name="additionalConfigTemplates")
431
+ def additional_config_templates(self) -> Optional[Sequence['outputs.PluginConfigTemplateAdditionalConfigTemplate']]:
432
+ """
433
+ The list of additional configuration variables for the plugin's
434
+ configuration.
435
+ Structure is documented below.
436
+ """
437
+ return pulumi.get(self, "additional_config_templates")
438
+
439
+ @property
440
+ @pulumi.getter(name="authConfigTemplate")
441
+ def auth_config_template(self) -> Optional['outputs.PluginConfigTemplateAuthConfigTemplate']:
442
+ """
443
+ AuthConfigTemplate represents the authentication template for a plugin.
444
+ Structure is documented below.
445
+ """
446
+ return pulumi.get(self, "auth_config_template")
447
+
448
+
449
+ @pulumi.output_type
450
+ class PluginConfigTemplateAdditionalConfigTemplate(dict):
451
+ @staticmethod
452
+ def __key_warning(key: str):
453
+ suggest = None
454
+ if key == "valueType":
455
+ suggest = "value_type"
456
+ elif key == "enumOptions":
457
+ suggest = "enum_options"
458
+ elif key == "multiSelectOptions":
459
+ suggest = "multi_select_options"
460
+ elif key == "validationRegex":
461
+ suggest = "validation_regex"
462
+
463
+ if suggest:
464
+ pulumi.log.warn(f"Key '{key}' not found in PluginConfigTemplateAdditionalConfigTemplate. Access the value via the '{suggest}' property getter instead.")
465
+
466
+ def __getitem__(self, key: str) -> Any:
467
+ PluginConfigTemplateAdditionalConfigTemplate.__key_warning(key)
468
+ return super().__getitem__(key)
469
+
470
+ def get(self, key: str, default = None) -> Any:
471
+ PluginConfigTemplateAdditionalConfigTemplate.__key_warning(key)
472
+ return super().get(key, default)
473
+
474
+ def __init__(__self__, *,
475
+ id: builtins.str,
476
+ value_type: builtins.str,
477
+ description: Optional[builtins.str] = None,
478
+ enum_options: Optional[Sequence['outputs.PluginConfigTemplateAdditionalConfigTemplateEnumOption']] = None,
479
+ multi_select_options: Optional[Sequence['outputs.PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption']] = None,
480
+ required: Optional[builtins.bool] = None,
481
+ validation_regex: Optional[builtins.str] = None):
482
+ """
483
+ :param builtins.str id: ID of the config variable. Must be unique within the configuration.
484
+ :param builtins.str value_type: Type of the parameter: string, int, bool etc.
485
+ Possible values:
486
+ VALUE_TYPE_UNSPECIFIED
487
+ STRING
488
+ INT
489
+ BOOL
490
+ SECRET
491
+ ENUM
492
+ MULTI_SELECT
493
+ MULTI_STRING
494
+ MULTI_INT
495
+ :param builtins.str description: Description.
496
+ :param Sequence['PluginConfigTemplateAdditionalConfigTemplateEnumOptionArgs'] enum_options: Enum options. To be populated if `ValueType` is `ENUM`.
497
+ Structure is documented below.
498
+ :param Sequence['PluginConfigTemplateAdditionalConfigTemplateMultiSelectOptionArgs'] multi_select_options: Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
499
+ Structure is documented below.
500
+ :param builtins.bool required: Flag represents that this `ConfigVariable` must be provided for a
501
+ PluginInstance.
502
+ :param builtins.str validation_regex: Regular expression in RE2 syntax used for validating the `value` of a
503
+ `ConfigVariable`.
504
+ """
505
+ pulumi.set(__self__, "id", id)
506
+ pulumi.set(__self__, "value_type", value_type)
507
+ if description is not None:
508
+ pulumi.set(__self__, "description", description)
509
+ if enum_options is not None:
510
+ pulumi.set(__self__, "enum_options", enum_options)
511
+ if multi_select_options is not None:
512
+ pulumi.set(__self__, "multi_select_options", multi_select_options)
513
+ if required is not None:
514
+ pulumi.set(__self__, "required", required)
515
+ if validation_regex is not None:
516
+ pulumi.set(__self__, "validation_regex", validation_regex)
517
+
518
+ @property
519
+ @pulumi.getter
520
+ def id(self) -> builtins.str:
521
+ """
522
+ ID of the config variable. Must be unique within the configuration.
523
+ """
524
+ return pulumi.get(self, "id")
525
+
526
+ @property
527
+ @pulumi.getter(name="valueType")
528
+ def value_type(self) -> builtins.str:
529
+ """
530
+ Type of the parameter: string, int, bool etc.
531
+ Possible values:
532
+ VALUE_TYPE_UNSPECIFIED
533
+ STRING
534
+ INT
535
+ BOOL
536
+ SECRET
537
+ ENUM
538
+ MULTI_SELECT
539
+ MULTI_STRING
540
+ MULTI_INT
541
+ """
542
+ return pulumi.get(self, "value_type")
543
+
544
+ @property
545
+ @pulumi.getter
546
+ def description(self) -> Optional[builtins.str]:
547
+ """
548
+ Description.
549
+ """
550
+ return pulumi.get(self, "description")
551
+
552
+ @property
553
+ @pulumi.getter(name="enumOptions")
554
+ def enum_options(self) -> Optional[Sequence['outputs.PluginConfigTemplateAdditionalConfigTemplateEnumOption']]:
555
+ """
556
+ Enum options. To be populated if `ValueType` is `ENUM`.
557
+ Structure is documented below.
558
+ """
559
+ return pulumi.get(self, "enum_options")
560
+
561
+ @property
562
+ @pulumi.getter(name="multiSelectOptions")
563
+ def multi_select_options(self) -> Optional[Sequence['outputs.PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption']]:
564
+ """
565
+ Multi select options. To be populated if `ValueType` is `MULTI_SELECT`.
566
+ Structure is documented below.
567
+ """
568
+ return pulumi.get(self, "multi_select_options")
569
+
570
+ @property
571
+ @pulumi.getter
572
+ def required(self) -> Optional[builtins.bool]:
573
+ """
574
+ Flag represents that this `ConfigVariable` must be provided for a
575
+ PluginInstance.
576
+ """
577
+ return pulumi.get(self, "required")
578
+
579
+ @property
580
+ @pulumi.getter(name="validationRegex")
581
+ def validation_regex(self) -> Optional[builtins.str]:
582
+ """
583
+ Regular expression in RE2 syntax used for validating the `value` of a
584
+ `ConfigVariable`.
585
+ """
586
+ return pulumi.get(self, "validation_regex")
587
+
588
+
589
+ @pulumi.output_type
590
+ class PluginConfigTemplateAdditionalConfigTemplateEnumOption(dict):
591
+ @staticmethod
592
+ def __key_warning(key: str):
593
+ suggest = None
594
+ if key == "displayName":
595
+ suggest = "display_name"
596
+
597
+ if suggest:
598
+ pulumi.log.warn(f"Key '{key}' not found in PluginConfigTemplateAdditionalConfigTemplateEnumOption. Access the value via the '{suggest}' property getter instead.")
599
+
600
+ def __getitem__(self, key: str) -> Any:
601
+ PluginConfigTemplateAdditionalConfigTemplateEnumOption.__key_warning(key)
602
+ return super().__getitem__(key)
603
+
604
+ def get(self, key: str, default = None) -> Any:
605
+ PluginConfigTemplateAdditionalConfigTemplateEnumOption.__key_warning(key)
606
+ return super().get(key, default)
607
+
608
+ def __init__(__self__, *,
609
+ display_name: builtins.str,
610
+ id: builtins.str,
611
+ description: Optional[builtins.str] = None):
612
+ """
613
+ :param builtins.str display_name: Display name of the option.
614
+ :param builtins.str id: Id of the option.
615
+ :param builtins.str description: Description of the option.
616
+ """
617
+ pulumi.set(__self__, "display_name", display_name)
618
+ pulumi.set(__self__, "id", id)
619
+ if description is not None:
620
+ pulumi.set(__self__, "description", description)
621
+
622
+ @property
623
+ @pulumi.getter(name="displayName")
624
+ def display_name(self) -> builtins.str:
625
+ """
626
+ Display name of the option.
627
+ """
628
+ return pulumi.get(self, "display_name")
629
+
630
+ @property
631
+ @pulumi.getter
632
+ def id(self) -> builtins.str:
633
+ """
634
+ Id of the option.
635
+ """
636
+ return pulumi.get(self, "id")
637
+
638
+ @property
639
+ @pulumi.getter
640
+ def description(self) -> Optional[builtins.str]:
641
+ """
642
+ Description of the option.
643
+ """
644
+ return pulumi.get(self, "description")
645
+
646
+
647
+ @pulumi.output_type
648
+ class PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption(dict):
649
+ @staticmethod
650
+ def __key_warning(key: str):
651
+ suggest = None
652
+ if key == "displayName":
653
+ suggest = "display_name"
654
+
655
+ if suggest:
656
+ pulumi.log.warn(f"Key '{key}' not found in PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption. Access the value via the '{suggest}' property getter instead.")
657
+
658
+ def __getitem__(self, key: str) -> Any:
659
+ PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption.__key_warning(key)
660
+ return super().__getitem__(key)
661
+
662
+ def get(self, key: str, default = None) -> Any:
663
+ PluginConfigTemplateAdditionalConfigTemplateMultiSelectOption.__key_warning(key)
664
+ return super().get(key, default)
665
+
666
+ def __init__(__self__, *,
667
+ display_name: builtins.str,
668
+ id: builtins.str,
669
+ description: Optional[builtins.str] = None):
670
+ """
671
+ :param builtins.str display_name: Display name of the option.
672
+ :param builtins.str id: Id of the option.
673
+ :param builtins.str description: Description of the option.
674
+ """
675
+ pulumi.set(__self__, "display_name", display_name)
676
+ pulumi.set(__self__, "id", id)
677
+ if description is not None:
678
+ pulumi.set(__self__, "description", description)
679
+
680
+ @property
681
+ @pulumi.getter(name="displayName")
682
+ def display_name(self) -> builtins.str:
683
+ """
684
+ Display name of the option.
685
+ """
686
+ return pulumi.get(self, "display_name")
687
+
688
+ @property
689
+ @pulumi.getter
690
+ def id(self) -> builtins.str:
691
+ """
692
+ Id of the option.
693
+ """
694
+ return pulumi.get(self, "id")
695
+
696
+ @property
697
+ @pulumi.getter
698
+ def description(self) -> Optional[builtins.str]:
699
+ """
700
+ Description of the option.
701
+ """
702
+ return pulumi.get(self, "description")
703
+
704
+
705
+ @pulumi.output_type
706
+ class PluginConfigTemplateAuthConfigTemplate(dict):
707
+ @staticmethod
708
+ def __key_warning(key: str):
709
+ suggest = None
710
+ if key == "supportedAuthTypes":
711
+ suggest = "supported_auth_types"
712
+ elif key == "serviceAccount":
713
+ suggest = "service_account"
714
+
715
+ if suggest:
716
+ pulumi.log.warn(f"Key '{key}' not found in PluginConfigTemplateAuthConfigTemplate. Access the value via the '{suggest}' property getter instead.")
717
+
718
+ def __getitem__(self, key: str) -> Any:
719
+ PluginConfigTemplateAuthConfigTemplate.__key_warning(key)
720
+ return super().__getitem__(key)
721
+
722
+ def get(self, key: str, default = None) -> Any:
723
+ PluginConfigTemplateAuthConfigTemplate.__key_warning(key)
724
+ return super().get(key, default)
725
+
726
+ def __init__(__self__, *,
727
+ supported_auth_types: Sequence[builtins.str],
728
+ service_account: Optional['outputs.PluginConfigTemplateAuthConfigTemplateServiceAccount'] = None):
729
+ """
730
+ :param Sequence[builtins.str] supported_auth_types: The list of authentication types supported by the plugin.
731
+ :param 'PluginConfigTemplateAuthConfigTemplateServiceAccountArgs' service_account: Config for Google service account authentication.
732
+ Structure is documented below.
733
+ """
734
+ pulumi.set(__self__, "supported_auth_types", supported_auth_types)
735
+ if service_account is not None:
736
+ pulumi.set(__self__, "service_account", service_account)
737
+
738
+ @property
739
+ @pulumi.getter(name="supportedAuthTypes")
740
+ def supported_auth_types(self) -> Sequence[builtins.str]:
741
+ """
742
+ The list of authentication types supported by the plugin.
743
+ """
744
+ return pulumi.get(self, "supported_auth_types")
745
+
746
+ @property
747
+ @pulumi.getter(name="serviceAccount")
748
+ def service_account(self) -> Optional['outputs.PluginConfigTemplateAuthConfigTemplateServiceAccount']:
749
+ """
750
+ Config for Google service account authentication.
751
+ Structure is documented below.
752
+ """
753
+ return pulumi.get(self, "service_account")
754
+
755
+
756
+ @pulumi.output_type
757
+ class PluginConfigTemplateAuthConfigTemplateServiceAccount(dict):
758
+ @staticmethod
759
+ def __key_warning(key: str):
760
+ suggest = None
761
+ if key == "serviceAccount":
762
+ suggest = "service_account"
763
+
764
+ if suggest:
765
+ pulumi.log.warn(f"Key '{key}' not found in PluginConfigTemplateAuthConfigTemplateServiceAccount. Access the value via the '{suggest}' property getter instead.")
766
+
767
+ def __getitem__(self, key: str) -> Any:
768
+ PluginConfigTemplateAuthConfigTemplateServiceAccount.__key_warning(key)
769
+ return super().__getitem__(key)
770
+
771
+ def get(self, key: str, default = None) -> Any:
772
+ PluginConfigTemplateAuthConfigTemplateServiceAccount.__key_warning(key)
773
+ return super().get(key, default)
774
+
775
+ def __init__(__self__, *,
776
+ service_account: builtins.str):
777
+ """
778
+ :param builtins.str service_account: The service account to be used for authenticating request.
779
+ The `iam.serviceAccounts.getAccessToken` permission should be granted on
780
+ this service account to the impersonator service account.
781
+ """
782
+ pulumi.set(__self__, "service_account", service_account)
783
+
784
+ @property
785
+ @pulumi.getter(name="serviceAccount")
786
+ def service_account(self) -> builtins.str:
787
+ """
788
+ The service account to be used for authenticating request.
789
+ The `iam.serviceAccounts.getAccessToken` permission should be granted on
790
+ this service account to the impersonator service account.
791
+ """
792
+ return pulumi.get(self, "service_account")
793
+
794
+
795
+ @pulumi.output_type
796
+ class PluginDocumentation(dict):
797
+ @staticmethod
798
+ def __key_warning(key: str):
799
+ suggest = None
800
+ if key == "externalUri":
801
+ suggest = "external_uri"
802
+
803
+ if suggest:
804
+ pulumi.log.warn(f"Key '{key}' not found in PluginDocumentation. Access the value via the '{suggest}' property getter instead.")
805
+
806
+ def __getitem__(self, key: str) -> Any:
807
+ PluginDocumentation.__key_warning(key)
808
+ return super().__getitem__(key)
809
+
810
+ def get(self, key: str, default = None) -> Any:
811
+ PluginDocumentation.__key_warning(key)
812
+ return super().get(key, default)
813
+
814
+ def __init__(__self__, *,
815
+ external_uri: Optional[builtins.str] = None):
816
+ """
817
+ :param builtins.str external_uri: The uri of the externally hosted documentation.
818
+ """
819
+ if external_uri is not None:
820
+ pulumi.set(__self__, "external_uri", external_uri)
821
+
822
+ @property
823
+ @pulumi.getter(name="externalUri")
824
+ def external_uri(self) -> Optional[builtins.str]:
825
+ """
826
+ The uri of the externally hosted documentation.
827
+ """
828
+ return pulumi.get(self, "external_uri")
829
+
830
+
831
+ @pulumi.output_type
832
+ class PluginHostingService(dict):
833
+ @staticmethod
834
+ def __key_warning(key: str):
835
+ suggest = None
836
+ if key == "serviceUri":
837
+ suggest = "service_uri"
838
+
839
+ if suggest:
840
+ pulumi.log.warn(f"Key '{key}' not found in PluginHostingService. Access the value via the '{suggest}' property getter instead.")
841
+
842
+ def __getitem__(self, key: str) -> Any:
843
+ PluginHostingService.__key_warning(key)
844
+ return super().__getitem__(key)
845
+
846
+ def get(self, key: str, default = None) -> Any:
847
+ PluginHostingService.__key_warning(key)
848
+ return super().get(key, default)
849
+
850
+ def __init__(__self__, *,
851
+ service_uri: Optional[builtins.str] = None):
852
+ """
853
+ :param builtins.str service_uri: The URI of the service implemented by the plugin developer, used to
854
+ invoke the plugin's functionality. This information is only required for
855
+ user defined plugins.
856
+ """
857
+ if service_uri is not None:
858
+ pulumi.set(__self__, "service_uri", service_uri)
859
+
860
+ @property
861
+ @pulumi.getter(name="serviceUri")
862
+ def service_uri(self) -> Optional[builtins.str]:
863
+ """
864
+ The URI of the service implemented by the plugin developer, used to
865
+ invoke the plugin's functionality. This information is only required for
866
+ user defined plugins.
867
+ """
868
+ return pulumi.get(self, "service_uri")
869
+
870
+
871
+ @pulumi.output_type
872
+ class PluginInstanceAction(dict):
873
+ @staticmethod
874
+ def __key_warning(key: str):
875
+ suggest = None
876
+ if key == "actionId":
877
+ suggest = "action_id"
878
+ elif key == "curationConfig":
879
+ suggest = "curation_config"
880
+ elif key == "hubInstanceActions":
881
+ suggest = "hub_instance_actions"
882
+ elif key == "scheduleCronExpression":
883
+ suggest = "schedule_cron_expression"
884
+ elif key == "scheduleTimeZone":
885
+ suggest = "schedule_time_zone"
886
+
887
+ if suggest:
888
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAction. Access the value via the '{suggest}' property getter instead.")
889
+
890
+ def __getitem__(self, key: str) -> Any:
891
+ PluginInstanceAction.__key_warning(key)
892
+ return super().__getitem__(key)
893
+
894
+ def get(self, key: str, default = None) -> Any:
895
+ PluginInstanceAction.__key_warning(key)
896
+ return super().get(key, default)
897
+
898
+ def __init__(__self__, *,
899
+ action_id: builtins.str,
900
+ curation_config: Optional['outputs.PluginInstanceActionCurationConfig'] = None,
901
+ hub_instance_actions: Optional[Sequence['outputs.PluginInstanceActionHubInstanceAction']] = None,
902
+ schedule_cron_expression: Optional[builtins.str] = None,
903
+ schedule_time_zone: Optional[builtins.str] = None,
904
+ state: Optional[builtins.str] = None):
905
+ """
906
+ :param builtins.str action_id: This should map to one of the action id specified
907
+ in actions_config in the plugin.
908
+ :param 'PluginInstanceActionCurationConfigArgs' curation_config: The curation information for this plugin instance.
909
+ Structure is documented below.
910
+ :param Sequence['PluginInstanceActionHubInstanceActionArgs'] hub_instance_actions: (Output)
911
+ The execution status for the plugin instance.
912
+ Structure is documented below.
913
+ :param builtins.str schedule_cron_expression: The schedule for this plugin instance action. This can only be set if the
914
+ plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
915
+ :param builtins.str schedule_time_zone: The time zone for the schedule cron expression. If not provided, UTC will
916
+ be used.
917
+
918
+
919
+ <a name="nested_actions_actions_hub_instance_action"></a>The `hub_instance_action` block contains:
920
+ :param builtins.str state: (Output)
921
+ The current state of the plugin action in the plugin instance.
922
+ Possible values:
923
+ STATE_UNSPECIFIED
924
+ ENABLED
925
+ DISABLED
926
+ ENABLING
927
+ DISABLING
928
+ ERROR
929
+ """
930
+ pulumi.set(__self__, "action_id", action_id)
931
+ if curation_config is not None:
932
+ pulumi.set(__self__, "curation_config", curation_config)
933
+ if hub_instance_actions is not None:
934
+ pulumi.set(__self__, "hub_instance_actions", hub_instance_actions)
935
+ if schedule_cron_expression is not None:
936
+ pulumi.set(__self__, "schedule_cron_expression", schedule_cron_expression)
937
+ if schedule_time_zone is not None:
938
+ pulumi.set(__self__, "schedule_time_zone", schedule_time_zone)
939
+ if state is not None:
940
+ pulumi.set(__self__, "state", state)
941
+
942
+ @property
943
+ @pulumi.getter(name="actionId")
944
+ def action_id(self) -> builtins.str:
945
+ """
946
+ This should map to one of the action id specified
947
+ in actions_config in the plugin.
948
+ """
949
+ return pulumi.get(self, "action_id")
950
+
951
+ @property
952
+ @pulumi.getter(name="curationConfig")
953
+ def curation_config(self) -> Optional['outputs.PluginInstanceActionCurationConfig']:
954
+ """
955
+ The curation information for this plugin instance.
956
+ Structure is documented below.
957
+ """
958
+ return pulumi.get(self, "curation_config")
959
+
960
+ @property
961
+ @pulumi.getter(name="hubInstanceActions")
962
+ def hub_instance_actions(self) -> Optional[Sequence['outputs.PluginInstanceActionHubInstanceAction']]:
963
+ """
964
+ (Output)
965
+ The execution status for the plugin instance.
966
+ Structure is documented below.
967
+ """
968
+ return pulumi.get(self, "hub_instance_actions")
969
+
970
+ @property
971
+ @pulumi.getter(name="scheduleCronExpression")
972
+ def schedule_cron_expression(self) -> Optional[builtins.str]:
973
+ """
974
+ The schedule for this plugin instance action. This can only be set if the
975
+ plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
976
+ """
977
+ return pulumi.get(self, "schedule_cron_expression")
978
+
979
+ @property
980
+ @pulumi.getter(name="scheduleTimeZone")
981
+ def schedule_time_zone(self) -> Optional[builtins.str]:
982
+ """
983
+ The time zone for the schedule cron expression. If not provided, UTC will
984
+ be used.
985
+
986
+
987
+ <a name="nested_actions_actions_hub_instance_action"></a>The `hub_instance_action` block contains:
988
+ """
989
+ return pulumi.get(self, "schedule_time_zone")
990
+
991
+ @property
992
+ @pulumi.getter
993
+ def state(self) -> Optional[builtins.str]:
994
+ """
995
+ (Output)
996
+ The current state of the plugin action in the plugin instance.
997
+ Possible values:
998
+ STATE_UNSPECIFIED
999
+ ENABLED
1000
+ DISABLED
1001
+ ENABLING
1002
+ DISABLING
1003
+ ERROR
1004
+ """
1005
+ return pulumi.get(self, "state")
1006
+
1007
+
1008
+ @pulumi.output_type
1009
+ class PluginInstanceActionCurationConfig(dict):
1010
+ @staticmethod
1011
+ def __key_warning(key: str):
1012
+ suggest = None
1013
+ if key == "curationType":
1014
+ suggest = "curation_type"
1015
+ elif key == "customCuration":
1016
+ suggest = "custom_curation"
1017
+
1018
+ if suggest:
1019
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceActionCurationConfig. Access the value via the '{suggest}' property getter instead.")
1020
+
1021
+ def __getitem__(self, key: str) -> Any:
1022
+ PluginInstanceActionCurationConfig.__key_warning(key)
1023
+ return super().__getitem__(key)
1024
+
1025
+ def get(self, key: str, default = None) -> Any:
1026
+ PluginInstanceActionCurationConfig.__key_warning(key)
1027
+ return super().get(key, default)
1028
+
1029
+ def __init__(__self__, *,
1030
+ curation_type: Optional[builtins.str] = None,
1031
+ custom_curation: Optional['outputs.PluginInstanceActionCurationConfigCustomCuration'] = None):
1032
+ """
1033
+ :param builtins.str curation_type: Possible values:
1034
+ CURATION_TYPE_UNSPECIFIED
1035
+ DEFAULT_CURATION_FOR_API_METADATA
1036
+ CUSTOM_CURATION_FOR_API_METADATA
1037
+ :param 'PluginInstanceActionCurationConfigCustomCurationArgs' custom_curation: Custom curation information for this plugin instance.
1038
+ Structure is documented below.
1039
+ """
1040
+ if curation_type is not None:
1041
+ pulumi.set(__self__, "curation_type", curation_type)
1042
+ if custom_curation is not None:
1043
+ pulumi.set(__self__, "custom_curation", custom_curation)
1044
+
1045
+ @property
1046
+ @pulumi.getter(name="curationType")
1047
+ def curation_type(self) -> Optional[builtins.str]:
1048
+ """
1049
+ Possible values:
1050
+ CURATION_TYPE_UNSPECIFIED
1051
+ DEFAULT_CURATION_FOR_API_METADATA
1052
+ CUSTOM_CURATION_FOR_API_METADATA
1053
+ """
1054
+ return pulumi.get(self, "curation_type")
1055
+
1056
+ @property
1057
+ @pulumi.getter(name="customCuration")
1058
+ def custom_curation(self) -> Optional['outputs.PluginInstanceActionCurationConfigCustomCuration']:
1059
+ """
1060
+ Custom curation information for this plugin instance.
1061
+ Structure is documented below.
1062
+ """
1063
+ return pulumi.get(self, "custom_curation")
1064
+
1065
+
1066
+ @pulumi.output_type
1067
+ class PluginInstanceActionCurationConfigCustomCuration(dict):
1068
+ def __init__(__self__, *,
1069
+ curation: builtins.str):
1070
+ """
1071
+ :param builtins.str curation: The unique name of the curation resource. This will be the name of the
1072
+ curation resource in the format:
1073
+ `projects/{project}/locations/{location}/curations/{curation}`
1074
+
1075
+ - - -
1076
+ """
1077
+ pulumi.set(__self__, "curation", curation)
1078
+
1079
+ @property
1080
+ @pulumi.getter
1081
+ def curation(self) -> builtins.str:
1082
+ """
1083
+ The unique name of the curation resource. This will be the name of the
1084
+ curation resource in the format:
1085
+ `projects/{project}/locations/{location}/curations/{curation}`
1086
+
1087
+ - - -
1088
+ """
1089
+ return pulumi.get(self, "curation")
1090
+
1091
+
1092
+ @pulumi.output_type
1093
+ class PluginInstanceActionHubInstanceAction(dict):
1094
+ @staticmethod
1095
+ def __key_warning(key: str):
1096
+ suggest = None
1097
+ if key == "currentExecutionState":
1098
+ suggest = "current_execution_state"
1099
+ elif key == "lastExecutions":
1100
+ suggest = "last_executions"
1101
+
1102
+ if suggest:
1103
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceActionHubInstanceAction. Access the value via the '{suggest}' property getter instead.")
1104
+
1105
+ def __getitem__(self, key: str) -> Any:
1106
+ PluginInstanceActionHubInstanceAction.__key_warning(key)
1107
+ return super().__getitem__(key)
1108
+
1109
+ def get(self, key: str, default = None) -> Any:
1110
+ PluginInstanceActionHubInstanceAction.__key_warning(key)
1111
+ return super().get(key, default)
1112
+
1113
+ def __init__(__self__, *,
1114
+ current_execution_state: Optional[builtins.str] = None,
1115
+ last_executions: Optional[Sequence['outputs.PluginInstanceActionHubInstanceActionLastExecution']] = None):
1116
+ """
1117
+ :param builtins.str current_execution_state: The current state of the execution.
1118
+ Possible values:
1119
+ CURRENT_EXECUTION_STATE_UNSPECIFIED
1120
+ RUNNING
1121
+ NOT_RUNNING
1122
+ :param Sequence['PluginInstanceActionHubInstanceActionLastExecutionArgs'] last_executions: The result of the last execution of the plugin instance.
1123
+ """
1124
+ if current_execution_state is not None:
1125
+ pulumi.set(__self__, "current_execution_state", current_execution_state)
1126
+ if last_executions is not None:
1127
+ pulumi.set(__self__, "last_executions", last_executions)
1128
+
1129
+ @property
1130
+ @pulumi.getter(name="currentExecutionState")
1131
+ def current_execution_state(self) -> Optional[builtins.str]:
1132
+ """
1133
+ The current state of the execution.
1134
+ Possible values:
1135
+ CURRENT_EXECUTION_STATE_UNSPECIFIED
1136
+ RUNNING
1137
+ NOT_RUNNING
1138
+ """
1139
+ return pulumi.get(self, "current_execution_state")
1140
+
1141
+ @property
1142
+ @pulumi.getter(name="lastExecutions")
1143
+ def last_executions(self) -> Optional[Sequence['outputs.PluginInstanceActionHubInstanceActionLastExecution']]:
1144
+ """
1145
+ The result of the last execution of the plugin instance.
1146
+ """
1147
+ return pulumi.get(self, "last_executions")
1148
+
1149
+
1150
+ @pulumi.output_type
1151
+ class PluginInstanceActionHubInstanceActionLastExecution(dict):
1152
+ @staticmethod
1153
+ def __key_warning(key: str):
1154
+ suggest = None
1155
+ if key == "endTime":
1156
+ suggest = "end_time"
1157
+ elif key == "errorMessage":
1158
+ suggest = "error_message"
1159
+ elif key == "startTime":
1160
+ suggest = "start_time"
1161
+
1162
+ if suggest:
1163
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceActionHubInstanceActionLastExecution. Access the value via the '{suggest}' property getter instead.")
1164
+
1165
+ def __getitem__(self, key: str) -> Any:
1166
+ PluginInstanceActionHubInstanceActionLastExecution.__key_warning(key)
1167
+ return super().__getitem__(key)
1168
+
1169
+ def get(self, key: str, default = None) -> Any:
1170
+ PluginInstanceActionHubInstanceActionLastExecution.__key_warning(key)
1171
+ return super().get(key, default)
1172
+
1173
+ def __init__(__self__, *,
1174
+ end_time: Optional[builtins.str] = None,
1175
+ error_message: Optional[builtins.str] = None,
1176
+ result: Optional[builtins.str] = None,
1177
+ start_time: Optional[builtins.str] = None):
1178
+ """
1179
+ :param builtins.str end_time: The last execution end time of the plugin instance.
1180
+ :param builtins.str error_message: Error message describing the failure, if any, during Create, Delete or
1181
+ ApplyConfig operation corresponding to the plugin instance.This field will
1182
+ only be populated if the plugin instance is in the ERROR or FAILED state.
1183
+ :param builtins.str result: The result of the last execution of the plugin instance.
1184
+ Possible values:
1185
+ RESULT_UNSPECIFIED
1186
+ SUCCEEDED
1187
+ FAILED
1188
+ :param builtins.str start_time: The last execution start time of the plugin instance.
1189
+ """
1190
+ if end_time is not None:
1191
+ pulumi.set(__self__, "end_time", end_time)
1192
+ if error_message is not None:
1193
+ pulumi.set(__self__, "error_message", error_message)
1194
+ if result is not None:
1195
+ pulumi.set(__self__, "result", result)
1196
+ if start_time is not None:
1197
+ pulumi.set(__self__, "start_time", start_time)
1198
+
1199
+ @property
1200
+ @pulumi.getter(name="endTime")
1201
+ def end_time(self) -> Optional[builtins.str]:
1202
+ """
1203
+ The last execution end time of the plugin instance.
1204
+ """
1205
+ return pulumi.get(self, "end_time")
1206
+
1207
+ @property
1208
+ @pulumi.getter(name="errorMessage")
1209
+ def error_message(self) -> Optional[builtins.str]:
1210
+ """
1211
+ Error message describing the failure, if any, during Create, Delete or
1212
+ ApplyConfig operation corresponding to the plugin instance.This field will
1213
+ only be populated if the plugin instance is in the ERROR or FAILED state.
1214
+ """
1215
+ return pulumi.get(self, "error_message")
1216
+
1217
+ @property
1218
+ @pulumi.getter
1219
+ def result(self) -> Optional[builtins.str]:
1220
+ """
1221
+ The result of the last execution of the plugin instance.
1222
+ Possible values:
1223
+ RESULT_UNSPECIFIED
1224
+ SUCCEEDED
1225
+ FAILED
1226
+ """
1227
+ return pulumi.get(self, "result")
1228
+
1229
+ @property
1230
+ @pulumi.getter(name="startTime")
1231
+ def start_time(self) -> Optional[builtins.str]:
1232
+ """
1233
+ The last execution start time of the plugin instance.
1234
+ """
1235
+ return pulumi.get(self, "start_time")
1236
+
1237
+
1238
+ @pulumi.output_type
1239
+ class PluginInstanceAuthConfig(dict):
1240
+ @staticmethod
1241
+ def __key_warning(key: str):
1242
+ suggest = None
1243
+ if key == "authType":
1244
+ suggest = "auth_type"
1245
+ elif key == "apiKeyConfig":
1246
+ suggest = "api_key_config"
1247
+ elif key == "googleServiceAccountConfig":
1248
+ suggest = "google_service_account_config"
1249
+ elif key == "oauth2ClientCredentialsConfig":
1250
+ suggest = "oauth2_client_credentials_config"
1251
+ elif key == "userPasswordConfig":
1252
+ suggest = "user_password_config"
1253
+
1254
+ if suggest:
1255
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfig. Access the value via the '{suggest}' property getter instead.")
1256
+
1257
+ def __getitem__(self, key: str) -> Any:
1258
+ PluginInstanceAuthConfig.__key_warning(key)
1259
+ return super().__getitem__(key)
1260
+
1261
+ def get(self, key: str, default = None) -> Any:
1262
+ PluginInstanceAuthConfig.__key_warning(key)
1263
+ return super().get(key, default)
1264
+
1265
+ def __init__(__self__, *,
1266
+ auth_type: builtins.str,
1267
+ api_key_config: Optional['outputs.PluginInstanceAuthConfigApiKeyConfig'] = None,
1268
+ google_service_account_config: Optional['outputs.PluginInstanceAuthConfigGoogleServiceAccountConfig'] = None,
1269
+ oauth2_client_credentials_config: Optional['outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfig'] = None,
1270
+ user_password_config: Optional['outputs.PluginInstanceAuthConfigUserPasswordConfig'] = None):
1271
+ """
1272
+ :param builtins.str auth_type: Possible values:
1273
+ AUTH_TYPE_UNSPECIFIED
1274
+ NO_AUTH
1275
+ GOOGLE_SERVICE_ACCOUNT
1276
+ USER_PASSWORD
1277
+ API_KEY
1278
+ OAUTH2_CLIENT_CREDENTIALS
1279
+ :param 'PluginInstanceAuthConfigApiKeyConfigArgs' api_key_config: Config for authentication with API key.
1280
+ Structure is documented below.
1281
+ :param 'PluginInstanceAuthConfigGoogleServiceAccountConfigArgs' google_service_account_config: Config for Google service account authentication.
1282
+ Structure is documented below.
1283
+ :param 'PluginInstanceAuthConfigOauth2ClientCredentialsConfigArgs' oauth2_client_credentials_config: Parameters to support Oauth 2.0 client credentials grant authentication.
1284
+ See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
1285
+ Structure is documented below.
1286
+ :param 'PluginInstanceAuthConfigUserPasswordConfigArgs' user_password_config: Parameters to support Username and Password Authentication.
1287
+ Structure is documented below.
1288
+ """
1289
+ pulumi.set(__self__, "auth_type", auth_type)
1290
+ if api_key_config is not None:
1291
+ pulumi.set(__self__, "api_key_config", api_key_config)
1292
+ if google_service_account_config is not None:
1293
+ pulumi.set(__self__, "google_service_account_config", google_service_account_config)
1294
+ if oauth2_client_credentials_config is not None:
1295
+ pulumi.set(__self__, "oauth2_client_credentials_config", oauth2_client_credentials_config)
1296
+ if user_password_config is not None:
1297
+ pulumi.set(__self__, "user_password_config", user_password_config)
1298
+
1299
+ @property
1300
+ @pulumi.getter(name="authType")
1301
+ def auth_type(self) -> builtins.str:
1302
+ """
1303
+ Possible values:
1304
+ AUTH_TYPE_UNSPECIFIED
1305
+ NO_AUTH
1306
+ GOOGLE_SERVICE_ACCOUNT
1307
+ USER_PASSWORD
1308
+ API_KEY
1309
+ OAUTH2_CLIENT_CREDENTIALS
1310
+ """
1311
+ return pulumi.get(self, "auth_type")
1312
+
1313
+ @property
1314
+ @pulumi.getter(name="apiKeyConfig")
1315
+ def api_key_config(self) -> Optional['outputs.PluginInstanceAuthConfigApiKeyConfig']:
1316
+ """
1317
+ Config for authentication with API key.
1318
+ Structure is documented below.
1319
+ """
1320
+ return pulumi.get(self, "api_key_config")
1321
+
1322
+ @property
1323
+ @pulumi.getter(name="googleServiceAccountConfig")
1324
+ def google_service_account_config(self) -> Optional['outputs.PluginInstanceAuthConfigGoogleServiceAccountConfig']:
1325
+ """
1326
+ Config for Google service account authentication.
1327
+ Structure is documented below.
1328
+ """
1329
+ return pulumi.get(self, "google_service_account_config")
1330
+
1331
+ @property
1332
+ @pulumi.getter(name="oauth2ClientCredentialsConfig")
1333
+ def oauth2_client_credentials_config(self) -> Optional['outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfig']:
1334
+ """
1335
+ Parameters to support Oauth 2.0 client credentials grant authentication.
1336
+ See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
1337
+ Structure is documented below.
1338
+ """
1339
+ return pulumi.get(self, "oauth2_client_credentials_config")
1340
+
1341
+ @property
1342
+ @pulumi.getter(name="userPasswordConfig")
1343
+ def user_password_config(self) -> Optional['outputs.PluginInstanceAuthConfigUserPasswordConfig']:
1344
+ """
1345
+ Parameters to support Username and Password Authentication.
1346
+ Structure is documented below.
1347
+ """
1348
+ return pulumi.get(self, "user_password_config")
1349
+
1350
+
1351
+ @pulumi.output_type
1352
+ class PluginInstanceAuthConfigApiKeyConfig(dict):
1353
+ @staticmethod
1354
+ def __key_warning(key: str):
1355
+ suggest = None
1356
+ if key == "apiKey":
1357
+ suggest = "api_key"
1358
+ elif key == "httpElementLocation":
1359
+ suggest = "http_element_location"
1360
+
1361
+ if suggest:
1362
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigApiKeyConfig. Access the value via the '{suggest}' property getter instead.")
1363
+
1364
+ def __getitem__(self, key: str) -> Any:
1365
+ PluginInstanceAuthConfigApiKeyConfig.__key_warning(key)
1366
+ return super().__getitem__(key)
1367
+
1368
+ def get(self, key: str, default = None) -> Any:
1369
+ PluginInstanceAuthConfigApiKeyConfig.__key_warning(key)
1370
+ return super().get(key, default)
1371
+
1372
+ def __init__(__self__, *,
1373
+ api_key: 'outputs.PluginInstanceAuthConfigApiKeyConfigApiKey',
1374
+ http_element_location: builtins.str,
1375
+ name: builtins.str):
1376
+ """
1377
+ :param 'PluginInstanceAuthConfigApiKeyConfigApiKeyArgs' api_key: Secret provides a reference to entries in Secret Manager.
1378
+ Structure is documented below.
1379
+ :param builtins.str http_element_location: The location of the API key.
1380
+ The default value is QUERY.
1381
+ Possible values:
1382
+ HTTP_ELEMENT_LOCATION_UNSPECIFIED
1383
+ QUERY
1384
+ HEADER
1385
+ PATH
1386
+ BODY
1387
+ COOKIE
1388
+ :param builtins.str name: The parameter name of the API key.
1389
+ E.g. If the API request is "https://example.com/act?api_key=",
1390
+ "api_key" would be the parameter name.
1391
+ """
1392
+ pulumi.set(__self__, "api_key", api_key)
1393
+ pulumi.set(__self__, "http_element_location", http_element_location)
1394
+ pulumi.set(__self__, "name", name)
1395
+
1396
+ @property
1397
+ @pulumi.getter(name="apiKey")
1398
+ def api_key(self) -> 'outputs.PluginInstanceAuthConfigApiKeyConfigApiKey':
1399
+ """
1400
+ Secret provides a reference to entries in Secret Manager.
1401
+ Structure is documented below.
1402
+ """
1403
+ return pulumi.get(self, "api_key")
1404
+
1405
+ @property
1406
+ @pulumi.getter(name="httpElementLocation")
1407
+ def http_element_location(self) -> builtins.str:
1408
+ """
1409
+ The location of the API key.
1410
+ The default value is QUERY.
1411
+ Possible values:
1412
+ HTTP_ELEMENT_LOCATION_UNSPECIFIED
1413
+ QUERY
1414
+ HEADER
1415
+ PATH
1416
+ BODY
1417
+ COOKIE
1418
+ """
1419
+ return pulumi.get(self, "http_element_location")
1420
+
1421
+ @property
1422
+ @pulumi.getter
1423
+ def name(self) -> builtins.str:
1424
+ """
1425
+ The parameter name of the API key.
1426
+ E.g. If the API request is "https://example.com/act?api_key=",
1427
+ "api_key" would be the parameter name.
1428
+ """
1429
+ return pulumi.get(self, "name")
1430
+
1431
+
1432
+ @pulumi.output_type
1433
+ class PluginInstanceAuthConfigApiKeyConfigApiKey(dict):
1434
+ @staticmethod
1435
+ def __key_warning(key: str):
1436
+ suggest = None
1437
+ if key == "secretVersion":
1438
+ suggest = "secret_version"
1439
+
1440
+ if suggest:
1441
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigApiKeyConfigApiKey. Access the value via the '{suggest}' property getter instead.")
1442
+
1443
+ def __getitem__(self, key: str) -> Any:
1444
+ PluginInstanceAuthConfigApiKeyConfigApiKey.__key_warning(key)
1445
+ return super().__getitem__(key)
1446
+
1447
+ def get(self, key: str, default = None) -> Any:
1448
+ PluginInstanceAuthConfigApiKeyConfigApiKey.__key_warning(key)
1449
+ return super().get(key, default)
1450
+
1451
+ def __init__(__self__, *,
1452
+ secret_version: builtins.str):
1453
+ """
1454
+ :param builtins.str secret_version: The resource name of the secret version in the format,
1455
+ format as: `projects/*/secrets/*/versions/*`.
1456
+
1457
+ <a name="nested_auth_config_oauth2_client_credentials_config"></a>The `oauth2_client_credentials_config` block supports:
1458
+ """
1459
+ pulumi.set(__self__, "secret_version", secret_version)
1460
+
1461
+ @property
1462
+ @pulumi.getter(name="secretVersion")
1463
+ def secret_version(self) -> builtins.str:
1464
+ """
1465
+ The resource name of the secret version in the format,
1466
+ format as: `projects/*/secrets/*/versions/*`.
1467
+
1468
+ <a name="nested_auth_config_oauth2_client_credentials_config"></a>The `oauth2_client_credentials_config` block supports:
1469
+ """
1470
+ return pulumi.get(self, "secret_version")
1471
+
1472
+
1473
+ @pulumi.output_type
1474
+ class PluginInstanceAuthConfigGoogleServiceAccountConfig(dict):
1475
+ @staticmethod
1476
+ def __key_warning(key: str):
1477
+ suggest = None
1478
+ if key == "serviceAccount":
1479
+ suggest = "service_account"
1480
+
1481
+ if suggest:
1482
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigGoogleServiceAccountConfig. Access the value via the '{suggest}' property getter instead.")
1483
+
1484
+ def __getitem__(self, key: str) -> Any:
1485
+ PluginInstanceAuthConfigGoogleServiceAccountConfig.__key_warning(key)
1486
+ return super().__getitem__(key)
1487
+
1488
+ def get(self, key: str, default = None) -> Any:
1489
+ PluginInstanceAuthConfigGoogleServiceAccountConfig.__key_warning(key)
1490
+ return super().get(key, default)
1491
+
1492
+ def __init__(__self__, *,
1493
+ service_account: builtins.str):
1494
+ """
1495
+ :param builtins.str service_account: The service account to be used for authenticating request.
1496
+ The `iam.serviceAccounts.getAccessToken` permission should be granted on
1497
+ this service account to the impersonator service account.
1498
+ """
1499
+ pulumi.set(__self__, "service_account", service_account)
1500
+
1501
+ @property
1502
+ @pulumi.getter(name="serviceAccount")
1503
+ def service_account(self) -> builtins.str:
1504
+ """
1505
+ The service account to be used for authenticating request.
1506
+ The `iam.serviceAccounts.getAccessToken` permission should be granted on
1507
+ this service account to the impersonator service account.
1508
+ """
1509
+ return pulumi.get(self, "service_account")
1510
+
1511
+
1512
+ @pulumi.output_type
1513
+ class PluginInstanceAuthConfigOauth2ClientCredentialsConfig(dict):
1514
+ @staticmethod
1515
+ def __key_warning(key: str):
1516
+ suggest = None
1517
+ if key == "clientId":
1518
+ suggest = "client_id"
1519
+ elif key == "clientSecret":
1520
+ suggest = "client_secret"
1521
+
1522
+ if suggest:
1523
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigOauth2ClientCredentialsConfig. Access the value via the '{suggest}' property getter instead.")
1524
+
1525
+ def __getitem__(self, key: str) -> Any:
1526
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfig.__key_warning(key)
1527
+ return super().__getitem__(key)
1528
+
1529
+ def get(self, key: str, default = None) -> Any:
1530
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfig.__key_warning(key)
1531
+ return super().get(key, default)
1532
+
1533
+ def __init__(__self__, *,
1534
+ client_id: builtins.str,
1535
+ client_secret: 'outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret'):
1536
+ """
1537
+ :param builtins.str client_id: The client identifier.
1538
+ :param 'PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecretArgs' client_secret: Secret provides a reference to entries in Secret Manager.
1539
+ """
1540
+ pulumi.set(__self__, "client_id", client_id)
1541
+ pulumi.set(__self__, "client_secret", client_secret)
1542
+
1543
+ @property
1544
+ @pulumi.getter(name="clientId")
1545
+ def client_id(self) -> builtins.str:
1546
+ """
1547
+ The client identifier.
1548
+ """
1549
+ return pulumi.get(self, "client_id")
1550
+
1551
+ @property
1552
+ @pulumi.getter(name="clientSecret")
1553
+ def client_secret(self) -> 'outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret':
1554
+ """
1555
+ Secret provides a reference to entries in Secret Manager.
1556
+ """
1557
+ return pulumi.get(self, "client_secret")
1558
+
1559
+
1560
+ @pulumi.output_type
1561
+ class PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret(dict):
1562
+ @staticmethod
1563
+ def __key_warning(key: str):
1564
+ suggest = None
1565
+ if key == "secretVersion":
1566
+ suggest = "secret_version"
1567
+
1568
+ if suggest:
1569
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret. Access the value via the '{suggest}' property getter instead.")
1570
+
1571
+ def __getitem__(self, key: str) -> Any:
1572
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret.__key_warning(key)
1573
+ return super().__getitem__(key)
1574
+
1575
+ def get(self, key: str, default = None) -> Any:
1576
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret.__key_warning(key)
1577
+ return super().get(key, default)
1578
+
1579
+ def __init__(__self__, *,
1580
+ secret_version: builtins.str):
1581
+ """
1582
+ :param builtins.str secret_version: The resource name of the secret version in the format,
1583
+ format as: `projects/*/secrets/*/versions/*`.
1584
+ """
1585
+ pulumi.set(__self__, "secret_version", secret_version)
1586
+
1587
+ @property
1588
+ @pulumi.getter(name="secretVersion")
1589
+ def secret_version(self) -> builtins.str:
1590
+ """
1591
+ The resource name of the secret version in the format,
1592
+ format as: `projects/*/secrets/*/versions/*`.
1593
+ """
1594
+ return pulumi.get(self, "secret_version")
1595
+
1596
+
1597
+ @pulumi.output_type
1598
+ class PluginInstanceAuthConfigUserPasswordConfig(dict):
1599
+ def __init__(__self__, *,
1600
+ password: 'outputs.PluginInstanceAuthConfigUserPasswordConfigPassword',
1601
+ username: builtins.str):
1602
+ """
1603
+ :param 'PluginInstanceAuthConfigUserPasswordConfigPasswordArgs' password: Secret provides a reference to entries in Secret Manager.
1604
+ Structure is documented below.
1605
+ :param builtins.str username: Username.
1606
+ """
1607
+ pulumi.set(__self__, "password", password)
1608
+ pulumi.set(__self__, "username", username)
1609
+
1610
+ @property
1611
+ @pulumi.getter
1612
+ def password(self) -> 'outputs.PluginInstanceAuthConfigUserPasswordConfigPassword':
1613
+ """
1614
+ Secret provides a reference to entries in Secret Manager.
1615
+ Structure is documented below.
1616
+ """
1617
+ return pulumi.get(self, "password")
1618
+
1619
+ @property
1620
+ @pulumi.getter
1621
+ def username(self) -> builtins.str:
1622
+ """
1623
+ Username.
1624
+ """
1625
+ return pulumi.get(self, "username")
1626
+
1627
+
1628
+ @pulumi.output_type
1629
+ class PluginInstanceAuthConfigUserPasswordConfigPassword(dict):
1630
+ @staticmethod
1631
+ def __key_warning(key: str):
1632
+ suggest = None
1633
+ if key == "secretVersion":
1634
+ suggest = "secret_version"
1635
+
1636
+ if suggest:
1637
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigUserPasswordConfigPassword. Access the value via the '{suggest}' property getter instead.")
1638
+
1639
+ def __getitem__(self, key: str) -> Any:
1640
+ PluginInstanceAuthConfigUserPasswordConfigPassword.__key_warning(key)
1641
+ return super().__getitem__(key)
1642
+
1643
+ def get(self, key: str, default = None) -> Any:
1644
+ PluginInstanceAuthConfigUserPasswordConfigPassword.__key_warning(key)
1645
+ return super().get(key, default)
1646
+
1647
+ def __init__(__self__, *,
1648
+ secret_version: builtins.str):
1649
+ """
1650
+ :param builtins.str secret_version: The resource name of the secret version in the format,
1651
+ format as: `projects/*/secrets/*/versions/*`.
1652
+ """
1653
+ pulumi.set(__self__, "secret_version", secret_version)
1654
+
1655
+ @property
1656
+ @pulumi.getter(name="secretVersion")
1657
+ def secret_version(self) -> builtins.str:
1658
+ """
1659
+ The resource name of the secret version in the format,
1660
+ format as: `projects/*/secrets/*/versions/*`.
1661
+ """
1662
+ return pulumi.get(self, "secret_version")
1663
+
1664
+