pulumi-gcp 8.35.0a1750225231__py3-none-any.whl → 8.36.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 (76) hide show
  1. pulumi_gcp/__init__.py +43 -0
  2. pulumi_gcp/alloydb/_inputs.py +26 -0
  3. pulumi_gcp/alloydb/outputs.py +34 -1
  4. pulumi_gcp/apihub/__init__.py +1 -0
  5. pulumi_gcp/apihub/_inputs.py +983 -0
  6. pulumi_gcp/apihub/outputs.py +807 -0
  7. pulumi_gcp/apihub/plugin_instance.py +808 -0
  8. pulumi_gcp/bigquery/app_profile.py +16 -8
  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/__init__.py +1 -0
  16. pulumi_gcp/bigtable/_inputs.py +128 -0
  17. pulumi_gcp/bigtable/app_profile.py +1065 -0
  18. pulumi_gcp/bigtable/outputs.py +111 -0
  19. pulumi_gcp/bigtable/table.py +82 -0
  20. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +64 -8
  21. pulumi_gcp/compute/_inputs.py +24 -12
  22. pulumi_gcp/compute/instance.py +2 -2
  23. pulumi_gcp/compute/instance_template.py +2 -2
  24. pulumi_gcp/compute/interconnect.py +43 -11
  25. pulumi_gcp/compute/node_template.py +21 -0
  26. pulumi_gcp/compute/outputs.py +16 -8
  27. pulumi_gcp/compute/service_attachment.py +76 -8
  28. pulumi_gcp/config/__init__.pyi +2 -0
  29. pulumi_gcp/config/vars.py +4 -0
  30. pulumi_gcp/contactcenterinsights/__init__.py +9 -0
  31. pulumi_gcp/contactcenterinsights/view.py +526 -0
  32. pulumi_gcp/container/_inputs.py +72 -12
  33. pulumi_gcp/container/get_engine_versions.py +15 -1
  34. pulumi_gcp/container/outputs.py +73 -9
  35. pulumi_gcp/dataplex/_inputs.py +431 -6
  36. pulumi_gcp/dataplex/datascan.py +251 -0
  37. pulumi_gcp/dataplex/entry_type.py +2 -2
  38. pulumi_gcp/dataplex/glossary_category.py +8 -8
  39. pulumi_gcp/dataplex/glossary_term.py +8 -8
  40. pulumi_gcp/dataplex/outputs.py +353 -4
  41. pulumi_gcp/dataplex/task.py +16 -16
  42. pulumi_gcp/dataproc/__init__.py +1 -0
  43. pulumi_gcp/dataproc/_inputs.py +486 -0
  44. pulumi_gcp/dataproc/batch.py +10 -10
  45. pulumi_gcp/dataproc/outputs.py +407 -0
  46. pulumi_gcp/dataproc/session_template.py +1084 -0
  47. pulumi_gcp/diagflow/__init__.py +1 -0
  48. pulumi_gcp/diagflow/_inputs.py +48 -0
  49. pulumi_gcp/diagflow/cx_tool.py +2 -2
  50. pulumi_gcp/diagflow/encryption_spec.py +382 -0
  51. pulumi_gcp/diagflow/outputs.py +46 -0
  52. pulumi_gcp/firestore/field.py +6 -6
  53. pulumi_gcp/gkehub/membership_binding.py +6 -6
  54. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  55. pulumi_gcp/gkehub/namespace.py +4 -4
  56. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  57. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  58. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  59. pulumi_gcp/lustre/get_instance.py +12 -1
  60. pulumi_gcp/lustre/instance.py +143 -86
  61. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  62. pulumi_gcp/managedkafka/connector.py +4 -4
  63. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  64. pulumi_gcp/orgpolicy/policy.py +2 -2
  65. pulumi_gcp/provider.py +20 -0
  66. pulumi_gcp/pubsub/subscription.py +6 -6
  67. pulumi_gcp/pulumi-plugin.json +1 -1
  68. pulumi_gcp/storage/bucket_object.py +56 -0
  69. pulumi_gcp/storage/get_bucket_object.py +12 -1
  70. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  71. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  72. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  73. {pulumi_gcp-8.35.0a1750225231.dist-info → pulumi_gcp-8.36.0.dist-info}/METADATA +2 -2
  74. {pulumi_gcp-8.35.0a1750225231.dist-info → pulumi_gcp-8.36.0.dist-info}/RECORD +76 -70
  75. {pulumi_gcp-8.35.0a1750225231.dist-info → pulumi_gcp-8.36.0.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-8.35.0a1750225231.dist-info → pulumi_gcp-8.36.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,19 @@ __all__ = [
21
21
  'CurationEndpoint',
22
22
  'CurationEndpointApplicationIntegrationEndpointDetails',
23
23
  'CurationPluginInstanceAction',
24
+ 'PluginInstanceAction',
25
+ 'PluginInstanceActionCurationConfig',
26
+ 'PluginInstanceActionCurationConfigCustomCuration',
27
+ 'PluginInstanceActionHubInstanceAction',
28
+ 'PluginInstanceActionHubInstanceActionLastExecution',
29
+ 'PluginInstanceAuthConfig',
30
+ 'PluginInstanceAuthConfigApiKeyConfig',
31
+ 'PluginInstanceAuthConfigApiKeyConfigApiKey',
32
+ 'PluginInstanceAuthConfigGoogleServiceAccountConfig',
33
+ 'PluginInstanceAuthConfigOauth2ClientCredentialsConfig',
34
+ 'PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret',
35
+ 'PluginInstanceAuthConfigUserPasswordConfig',
36
+ 'PluginInstanceAuthConfigUserPasswordConfigPassword',
24
37
  ]
25
38
 
26
39
  @pulumi.output_type
@@ -288,3 +301,797 @@ class CurationPluginInstanceAction(dict):
288
301
  return pulumi.get(self, "plugin_instance")
289
302
 
290
303
 
304
+ @pulumi.output_type
305
+ class PluginInstanceAction(dict):
306
+ @staticmethod
307
+ def __key_warning(key: str):
308
+ suggest = None
309
+ if key == "actionId":
310
+ suggest = "action_id"
311
+ elif key == "curationConfig":
312
+ suggest = "curation_config"
313
+ elif key == "hubInstanceActions":
314
+ suggest = "hub_instance_actions"
315
+ elif key == "scheduleCronExpression":
316
+ suggest = "schedule_cron_expression"
317
+ elif key == "scheduleTimeZone":
318
+ suggest = "schedule_time_zone"
319
+
320
+ if suggest:
321
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAction. Access the value via the '{suggest}' property getter instead.")
322
+
323
+ def __getitem__(self, key: str) -> Any:
324
+ PluginInstanceAction.__key_warning(key)
325
+ return super().__getitem__(key)
326
+
327
+ def get(self, key: str, default = None) -> Any:
328
+ PluginInstanceAction.__key_warning(key)
329
+ return super().get(key, default)
330
+
331
+ def __init__(__self__, *,
332
+ action_id: builtins.str,
333
+ curation_config: Optional['outputs.PluginInstanceActionCurationConfig'] = None,
334
+ hub_instance_actions: Optional[Sequence['outputs.PluginInstanceActionHubInstanceAction']] = None,
335
+ schedule_cron_expression: Optional[builtins.str] = None,
336
+ schedule_time_zone: Optional[builtins.str] = None,
337
+ state: Optional[builtins.str] = None):
338
+ """
339
+ :param builtins.str action_id: This should map to one of the action id specified
340
+ in actions_config in the plugin.
341
+ :param 'PluginInstanceActionCurationConfigArgs' curation_config: The curation information for this plugin instance.
342
+ Structure is documented below.
343
+ :param Sequence['PluginInstanceActionHubInstanceActionArgs'] hub_instance_actions: (Output)
344
+ The execution status for the plugin instance.
345
+ Structure is documented below.
346
+ :param builtins.str schedule_cron_expression: The schedule for this plugin instance action. This can only be set if the
347
+ plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
348
+ :param builtins.str schedule_time_zone: The time zone for the schedule cron expression. If not provided, UTC will
349
+ be used.
350
+
351
+
352
+ <a name="nested_actions_actions_hub_instance_action"></a>The `hub_instance_action` block contains:
353
+ :param builtins.str state: (Output)
354
+ The current state of the plugin action in the plugin instance.
355
+ Possible values:
356
+ STATE_UNSPECIFIED
357
+ ENABLED
358
+ DISABLED
359
+ ENABLING
360
+ DISABLING
361
+ ERROR
362
+ """
363
+ pulumi.set(__self__, "action_id", action_id)
364
+ if curation_config is not None:
365
+ pulumi.set(__self__, "curation_config", curation_config)
366
+ if hub_instance_actions is not None:
367
+ pulumi.set(__self__, "hub_instance_actions", hub_instance_actions)
368
+ if schedule_cron_expression is not None:
369
+ pulumi.set(__self__, "schedule_cron_expression", schedule_cron_expression)
370
+ if schedule_time_zone is not None:
371
+ pulumi.set(__self__, "schedule_time_zone", schedule_time_zone)
372
+ if state is not None:
373
+ pulumi.set(__self__, "state", state)
374
+
375
+ @property
376
+ @pulumi.getter(name="actionId")
377
+ def action_id(self) -> builtins.str:
378
+ """
379
+ This should map to one of the action id specified
380
+ in actions_config in the plugin.
381
+ """
382
+ return pulumi.get(self, "action_id")
383
+
384
+ @property
385
+ @pulumi.getter(name="curationConfig")
386
+ def curation_config(self) -> Optional['outputs.PluginInstanceActionCurationConfig']:
387
+ """
388
+ The curation information for this plugin instance.
389
+ Structure is documented below.
390
+ """
391
+ return pulumi.get(self, "curation_config")
392
+
393
+ @property
394
+ @pulumi.getter(name="hubInstanceActions")
395
+ def hub_instance_actions(self) -> Optional[Sequence['outputs.PluginInstanceActionHubInstanceAction']]:
396
+ """
397
+ (Output)
398
+ The execution status for the plugin instance.
399
+ Structure is documented below.
400
+ """
401
+ return pulumi.get(self, "hub_instance_actions")
402
+
403
+ @property
404
+ @pulumi.getter(name="scheduleCronExpression")
405
+ def schedule_cron_expression(self) -> Optional[builtins.str]:
406
+ """
407
+ The schedule for this plugin instance action. This can only be set if the
408
+ plugin supports API_HUB_SCHEDULE_TRIGGER mode for this action.
409
+ """
410
+ return pulumi.get(self, "schedule_cron_expression")
411
+
412
+ @property
413
+ @pulumi.getter(name="scheduleTimeZone")
414
+ def schedule_time_zone(self) -> Optional[builtins.str]:
415
+ """
416
+ The time zone for the schedule cron expression. If not provided, UTC will
417
+ be used.
418
+
419
+
420
+ <a name="nested_actions_actions_hub_instance_action"></a>The `hub_instance_action` block contains:
421
+ """
422
+ return pulumi.get(self, "schedule_time_zone")
423
+
424
+ @property
425
+ @pulumi.getter
426
+ def state(self) -> Optional[builtins.str]:
427
+ """
428
+ (Output)
429
+ The current state of the plugin action in the plugin instance.
430
+ Possible values:
431
+ STATE_UNSPECIFIED
432
+ ENABLED
433
+ DISABLED
434
+ ENABLING
435
+ DISABLING
436
+ ERROR
437
+ """
438
+ return pulumi.get(self, "state")
439
+
440
+
441
+ @pulumi.output_type
442
+ class PluginInstanceActionCurationConfig(dict):
443
+ @staticmethod
444
+ def __key_warning(key: str):
445
+ suggest = None
446
+ if key == "curationType":
447
+ suggest = "curation_type"
448
+ elif key == "customCuration":
449
+ suggest = "custom_curation"
450
+
451
+ if suggest:
452
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceActionCurationConfig. Access the value via the '{suggest}' property getter instead.")
453
+
454
+ def __getitem__(self, key: str) -> Any:
455
+ PluginInstanceActionCurationConfig.__key_warning(key)
456
+ return super().__getitem__(key)
457
+
458
+ def get(self, key: str, default = None) -> Any:
459
+ PluginInstanceActionCurationConfig.__key_warning(key)
460
+ return super().get(key, default)
461
+
462
+ def __init__(__self__, *,
463
+ curation_type: Optional[builtins.str] = None,
464
+ custom_curation: Optional['outputs.PluginInstanceActionCurationConfigCustomCuration'] = None):
465
+ """
466
+ :param builtins.str curation_type: Possible values:
467
+ CURATION_TYPE_UNSPECIFIED
468
+ DEFAULT_CURATION_FOR_API_METADATA
469
+ CUSTOM_CURATION_FOR_API_METADATA
470
+ :param 'PluginInstanceActionCurationConfigCustomCurationArgs' custom_curation: Custom curation information for this plugin instance.
471
+ Structure is documented below.
472
+ """
473
+ if curation_type is not None:
474
+ pulumi.set(__self__, "curation_type", curation_type)
475
+ if custom_curation is not None:
476
+ pulumi.set(__self__, "custom_curation", custom_curation)
477
+
478
+ @property
479
+ @pulumi.getter(name="curationType")
480
+ def curation_type(self) -> Optional[builtins.str]:
481
+ """
482
+ Possible values:
483
+ CURATION_TYPE_UNSPECIFIED
484
+ DEFAULT_CURATION_FOR_API_METADATA
485
+ CUSTOM_CURATION_FOR_API_METADATA
486
+ """
487
+ return pulumi.get(self, "curation_type")
488
+
489
+ @property
490
+ @pulumi.getter(name="customCuration")
491
+ def custom_curation(self) -> Optional['outputs.PluginInstanceActionCurationConfigCustomCuration']:
492
+ """
493
+ Custom curation information for this plugin instance.
494
+ Structure is documented below.
495
+ """
496
+ return pulumi.get(self, "custom_curation")
497
+
498
+
499
+ @pulumi.output_type
500
+ class PluginInstanceActionCurationConfigCustomCuration(dict):
501
+ def __init__(__self__, *,
502
+ curation: builtins.str):
503
+ """
504
+ :param builtins.str curation: The unique name of the curation resource. This will be the name of the
505
+ curation resource in the format:
506
+ `projects/{project}/locations/{location}/curations/{curation}`
507
+
508
+ - - -
509
+ """
510
+ pulumi.set(__self__, "curation", curation)
511
+
512
+ @property
513
+ @pulumi.getter
514
+ def curation(self) -> builtins.str:
515
+ """
516
+ The unique name of the curation resource. This will be the name of the
517
+ curation resource in the format:
518
+ `projects/{project}/locations/{location}/curations/{curation}`
519
+
520
+ - - -
521
+ """
522
+ return pulumi.get(self, "curation")
523
+
524
+
525
+ @pulumi.output_type
526
+ class PluginInstanceActionHubInstanceAction(dict):
527
+ @staticmethod
528
+ def __key_warning(key: str):
529
+ suggest = None
530
+ if key == "currentExecutionState":
531
+ suggest = "current_execution_state"
532
+ elif key == "lastExecutions":
533
+ suggest = "last_executions"
534
+
535
+ if suggest:
536
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceActionHubInstanceAction. Access the value via the '{suggest}' property getter instead.")
537
+
538
+ def __getitem__(self, key: str) -> Any:
539
+ PluginInstanceActionHubInstanceAction.__key_warning(key)
540
+ return super().__getitem__(key)
541
+
542
+ def get(self, key: str, default = None) -> Any:
543
+ PluginInstanceActionHubInstanceAction.__key_warning(key)
544
+ return super().get(key, default)
545
+
546
+ def __init__(__self__, *,
547
+ current_execution_state: Optional[builtins.str] = None,
548
+ last_executions: Optional[Sequence['outputs.PluginInstanceActionHubInstanceActionLastExecution']] = None):
549
+ """
550
+ :param builtins.str current_execution_state: The current state of the execution.
551
+ Possible values:
552
+ CURRENT_EXECUTION_STATE_UNSPECIFIED
553
+ RUNNING
554
+ NOT_RUNNING
555
+ :param Sequence['PluginInstanceActionHubInstanceActionLastExecutionArgs'] last_executions: The result of the last execution of the plugin instance.
556
+ """
557
+ if current_execution_state is not None:
558
+ pulumi.set(__self__, "current_execution_state", current_execution_state)
559
+ if last_executions is not None:
560
+ pulumi.set(__self__, "last_executions", last_executions)
561
+
562
+ @property
563
+ @pulumi.getter(name="currentExecutionState")
564
+ def current_execution_state(self) -> Optional[builtins.str]:
565
+ """
566
+ The current state of the execution.
567
+ Possible values:
568
+ CURRENT_EXECUTION_STATE_UNSPECIFIED
569
+ RUNNING
570
+ NOT_RUNNING
571
+ """
572
+ return pulumi.get(self, "current_execution_state")
573
+
574
+ @property
575
+ @pulumi.getter(name="lastExecutions")
576
+ def last_executions(self) -> Optional[Sequence['outputs.PluginInstanceActionHubInstanceActionLastExecution']]:
577
+ """
578
+ The result of the last execution of the plugin instance.
579
+ """
580
+ return pulumi.get(self, "last_executions")
581
+
582
+
583
+ @pulumi.output_type
584
+ class PluginInstanceActionHubInstanceActionLastExecution(dict):
585
+ @staticmethod
586
+ def __key_warning(key: str):
587
+ suggest = None
588
+ if key == "endTime":
589
+ suggest = "end_time"
590
+ elif key == "errorMessage":
591
+ suggest = "error_message"
592
+ elif key == "startTime":
593
+ suggest = "start_time"
594
+
595
+ if suggest:
596
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceActionHubInstanceActionLastExecution. Access the value via the '{suggest}' property getter instead.")
597
+
598
+ def __getitem__(self, key: str) -> Any:
599
+ PluginInstanceActionHubInstanceActionLastExecution.__key_warning(key)
600
+ return super().__getitem__(key)
601
+
602
+ def get(self, key: str, default = None) -> Any:
603
+ PluginInstanceActionHubInstanceActionLastExecution.__key_warning(key)
604
+ return super().get(key, default)
605
+
606
+ def __init__(__self__, *,
607
+ end_time: Optional[builtins.str] = None,
608
+ error_message: Optional[builtins.str] = None,
609
+ result: Optional[builtins.str] = None,
610
+ start_time: Optional[builtins.str] = None):
611
+ """
612
+ :param builtins.str end_time: The last execution end time of the plugin instance.
613
+ :param builtins.str error_message: Error message describing the failure, if any, during Create, Delete or
614
+ ApplyConfig operation corresponding to the plugin instance.This field will
615
+ only be populated if the plugin instance is in the ERROR or FAILED state.
616
+ :param builtins.str result: The result of the last execution of the plugin instance.
617
+ Possible values:
618
+ RESULT_UNSPECIFIED
619
+ SUCCEEDED
620
+ FAILED
621
+ :param builtins.str start_time: The last execution start time of the plugin instance.
622
+ """
623
+ if end_time is not None:
624
+ pulumi.set(__self__, "end_time", end_time)
625
+ if error_message is not None:
626
+ pulumi.set(__self__, "error_message", error_message)
627
+ if result is not None:
628
+ pulumi.set(__self__, "result", result)
629
+ if start_time is not None:
630
+ pulumi.set(__self__, "start_time", start_time)
631
+
632
+ @property
633
+ @pulumi.getter(name="endTime")
634
+ def end_time(self) -> Optional[builtins.str]:
635
+ """
636
+ The last execution end time of the plugin instance.
637
+ """
638
+ return pulumi.get(self, "end_time")
639
+
640
+ @property
641
+ @pulumi.getter(name="errorMessage")
642
+ def error_message(self) -> Optional[builtins.str]:
643
+ """
644
+ Error message describing the failure, if any, during Create, Delete or
645
+ ApplyConfig operation corresponding to the plugin instance.This field will
646
+ only be populated if the plugin instance is in the ERROR or FAILED state.
647
+ """
648
+ return pulumi.get(self, "error_message")
649
+
650
+ @property
651
+ @pulumi.getter
652
+ def result(self) -> Optional[builtins.str]:
653
+ """
654
+ The result of the last execution of the plugin instance.
655
+ Possible values:
656
+ RESULT_UNSPECIFIED
657
+ SUCCEEDED
658
+ FAILED
659
+ """
660
+ return pulumi.get(self, "result")
661
+
662
+ @property
663
+ @pulumi.getter(name="startTime")
664
+ def start_time(self) -> Optional[builtins.str]:
665
+ """
666
+ The last execution start time of the plugin instance.
667
+ """
668
+ return pulumi.get(self, "start_time")
669
+
670
+
671
+ @pulumi.output_type
672
+ class PluginInstanceAuthConfig(dict):
673
+ @staticmethod
674
+ def __key_warning(key: str):
675
+ suggest = None
676
+ if key == "authType":
677
+ suggest = "auth_type"
678
+ elif key == "apiKeyConfig":
679
+ suggest = "api_key_config"
680
+ elif key == "googleServiceAccountConfig":
681
+ suggest = "google_service_account_config"
682
+ elif key == "oauth2ClientCredentialsConfig":
683
+ suggest = "oauth2_client_credentials_config"
684
+ elif key == "userPasswordConfig":
685
+ suggest = "user_password_config"
686
+
687
+ if suggest:
688
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfig. Access the value via the '{suggest}' property getter instead.")
689
+
690
+ def __getitem__(self, key: str) -> Any:
691
+ PluginInstanceAuthConfig.__key_warning(key)
692
+ return super().__getitem__(key)
693
+
694
+ def get(self, key: str, default = None) -> Any:
695
+ PluginInstanceAuthConfig.__key_warning(key)
696
+ return super().get(key, default)
697
+
698
+ def __init__(__self__, *,
699
+ auth_type: builtins.str,
700
+ api_key_config: Optional['outputs.PluginInstanceAuthConfigApiKeyConfig'] = None,
701
+ google_service_account_config: Optional['outputs.PluginInstanceAuthConfigGoogleServiceAccountConfig'] = None,
702
+ oauth2_client_credentials_config: Optional['outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfig'] = None,
703
+ user_password_config: Optional['outputs.PluginInstanceAuthConfigUserPasswordConfig'] = None):
704
+ """
705
+ :param builtins.str auth_type: Possible values:
706
+ AUTH_TYPE_UNSPECIFIED
707
+ NO_AUTH
708
+ GOOGLE_SERVICE_ACCOUNT
709
+ USER_PASSWORD
710
+ API_KEY
711
+ OAUTH2_CLIENT_CREDENTIALS
712
+ :param 'PluginInstanceAuthConfigApiKeyConfigArgs' api_key_config: Config for authentication with API key.
713
+ Structure is documented below.
714
+ :param 'PluginInstanceAuthConfigGoogleServiceAccountConfigArgs' google_service_account_config: Config for Google service account authentication.
715
+ Structure is documented below.
716
+ :param 'PluginInstanceAuthConfigOauth2ClientCredentialsConfigArgs' oauth2_client_credentials_config: Parameters to support Oauth 2.0 client credentials grant authentication.
717
+ See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
718
+ Structure is documented below.
719
+ :param 'PluginInstanceAuthConfigUserPasswordConfigArgs' user_password_config: Parameters to support Username and Password Authentication.
720
+ Structure is documented below.
721
+ """
722
+ pulumi.set(__self__, "auth_type", auth_type)
723
+ if api_key_config is not None:
724
+ pulumi.set(__self__, "api_key_config", api_key_config)
725
+ if google_service_account_config is not None:
726
+ pulumi.set(__self__, "google_service_account_config", google_service_account_config)
727
+ if oauth2_client_credentials_config is not None:
728
+ pulumi.set(__self__, "oauth2_client_credentials_config", oauth2_client_credentials_config)
729
+ if user_password_config is not None:
730
+ pulumi.set(__self__, "user_password_config", user_password_config)
731
+
732
+ @property
733
+ @pulumi.getter(name="authType")
734
+ def auth_type(self) -> builtins.str:
735
+ """
736
+ Possible values:
737
+ AUTH_TYPE_UNSPECIFIED
738
+ NO_AUTH
739
+ GOOGLE_SERVICE_ACCOUNT
740
+ USER_PASSWORD
741
+ API_KEY
742
+ OAUTH2_CLIENT_CREDENTIALS
743
+ """
744
+ return pulumi.get(self, "auth_type")
745
+
746
+ @property
747
+ @pulumi.getter(name="apiKeyConfig")
748
+ def api_key_config(self) -> Optional['outputs.PluginInstanceAuthConfigApiKeyConfig']:
749
+ """
750
+ Config for authentication with API key.
751
+ Structure is documented below.
752
+ """
753
+ return pulumi.get(self, "api_key_config")
754
+
755
+ @property
756
+ @pulumi.getter(name="googleServiceAccountConfig")
757
+ def google_service_account_config(self) -> Optional['outputs.PluginInstanceAuthConfigGoogleServiceAccountConfig']:
758
+ """
759
+ Config for Google service account authentication.
760
+ Structure is documented below.
761
+ """
762
+ return pulumi.get(self, "google_service_account_config")
763
+
764
+ @property
765
+ @pulumi.getter(name="oauth2ClientCredentialsConfig")
766
+ def oauth2_client_credentials_config(self) -> Optional['outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfig']:
767
+ """
768
+ Parameters to support Oauth 2.0 client credentials grant authentication.
769
+ See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.
770
+ Structure is documented below.
771
+ """
772
+ return pulumi.get(self, "oauth2_client_credentials_config")
773
+
774
+ @property
775
+ @pulumi.getter(name="userPasswordConfig")
776
+ def user_password_config(self) -> Optional['outputs.PluginInstanceAuthConfigUserPasswordConfig']:
777
+ """
778
+ Parameters to support Username and Password Authentication.
779
+ Structure is documented below.
780
+ """
781
+ return pulumi.get(self, "user_password_config")
782
+
783
+
784
+ @pulumi.output_type
785
+ class PluginInstanceAuthConfigApiKeyConfig(dict):
786
+ @staticmethod
787
+ def __key_warning(key: str):
788
+ suggest = None
789
+ if key == "apiKey":
790
+ suggest = "api_key"
791
+ elif key == "httpElementLocation":
792
+ suggest = "http_element_location"
793
+
794
+ if suggest:
795
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigApiKeyConfig. Access the value via the '{suggest}' property getter instead.")
796
+
797
+ def __getitem__(self, key: str) -> Any:
798
+ PluginInstanceAuthConfigApiKeyConfig.__key_warning(key)
799
+ return super().__getitem__(key)
800
+
801
+ def get(self, key: str, default = None) -> Any:
802
+ PluginInstanceAuthConfigApiKeyConfig.__key_warning(key)
803
+ return super().get(key, default)
804
+
805
+ def __init__(__self__, *,
806
+ api_key: 'outputs.PluginInstanceAuthConfigApiKeyConfigApiKey',
807
+ http_element_location: builtins.str,
808
+ name: builtins.str):
809
+ """
810
+ :param 'PluginInstanceAuthConfigApiKeyConfigApiKeyArgs' api_key: Secret provides a reference to entries in Secret Manager.
811
+ Structure is documented below.
812
+ :param builtins.str http_element_location: The location of the API key.
813
+ The default value is QUERY.
814
+ Possible values:
815
+ HTTP_ELEMENT_LOCATION_UNSPECIFIED
816
+ QUERY
817
+ HEADER
818
+ PATH
819
+ BODY
820
+ COOKIE
821
+ :param builtins.str name: The parameter name of the API key.
822
+ E.g. If the API request is "https://example.com/act?api_key=",
823
+ "api_key" would be the parameter name.
824
+ """
825
+ pulumi.set(__self__, "api_key", api_key)
826
+ pulumi.set(__self__, "http_element_location", http_element_location)
827
+ pulumi.set(__self__, "name", name)
828
+
829
+ @property
830
+ @pulumi.getter(name="apiKey")
831
+ def api_key(self) -> 'outputs.PluginInstanceAuthConfigApiKeyConfigApiKey':
832
+ """
833
+ Secret provides a reference to entries in Secret Manager.
834
+ Structure is documented below.
835
+ """
836
+ return pulumi.get(self, "api_key")
837
+
838
+ @property
839
+ @pulumi.getter(name="httpElementLocation")
840
+ def http_element_location(self) -> builtins.str:
841
+ """
842
+ The location of the API key.
843
+ The default value is QUERY.
844
+ Possible values:
845
+ HTTP_ELEMENT_LOCATION_UNSPECIFIED
846
+ QUERY
847
+ HEADER
848
+ PATH
849
+ BODY
850
+ COOKIE
851
+ """
852
+ return pulumi.get(self, "http_element_location")
853
+
854
+ @property
855
+ @pulumi.getter
856
+ def name(self) -> builtins.str:
857
+ """
858
+ The parameter name of the API key.
859
+ E.g. If the API request is "https://example.com/act?api_key=",
860
+ "api_key" would be the parameter name.
861
+ """
862
+ return pulumi.get(self, "name")
863
+
864
+
865
+ @pulumi.output_type
866
+ class PluginInstanceAuthConfigApiKeyConfigApiKey(dict):
867
+ @staticmethod
868
+ def __key_warning(key: str):
869
+ suggest = None
870
+ if key == "secretVersion":
871
+ suggest = "secret_version"
872
+
873
+ if suggest:
874
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigApiKeyConfigApiKey. Access the value via the '{suggest}' property getter instead.")
875
+
876
+ def __getitem__(self, key: str) -> Any:
877
+ PluginInstanceAuthConfigApiKeyConfigApiKey.__key_warning(key)
878
+ return super().__getitem__(key)
879
+
880
+ def get(self, key: str, default = None) -> Any:
881
+ PluginInstanceAuthConfigApiKeyConfigApiKey.__key_warning(key)
882
+ return super().get(key, default)
883
+
884
+ def __init__(__self__, *,
885
+ secret_version: builtins.str):
886
+ """
887
+ :param builtins.str secret_version: The resource name of the secret version in the format,
888
+ format as: `projects/*/secrets/*/versions/*`.
889
+
890
+ <a name="nested_auth_config_oauth2_client_credentials_config"></a>The `oauth2_client_credentials_config` block supports:
891
+ """
892
+ pulumi.set(__self__, "secret_version", secret_version)
893
+
894
+ @property
895
+ @pulumi.getter(name="secretVersion")
896
+ def secret_version(self) -> builtins.str:
897
+ """
898
+ The resource name of the secret version in the format,
899
+ format as: `projects/*/secrets/*/versions/*`.
900
+
901
+ <a name="nested_auth_config_oauth2_client_credentials_config"></a>The `oauth2_client_credentials_config` block supports:
902
+ """
903
+ return pulumi.get(self, "secret_version")
904
+
905
+
906
+ @pulumi.output_type
907
+ class PluginInstanceAuthConfigGoogleServiceAccountConfig(dict):
908
+ @staticmethod
909
+ def __key_warning(key: str):
910
+ suggest = None
911
+ if key == "serviceAccount":
912
+ suggest = "service_account"
913
+
914
+ if suggest:
915
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigGoogleServiceAccountConfig. Access the value via the '{suggest}' property getter instead.")
916
+
917
+ def __getitem__(self, key: str) -> Any:
918
+ PluginInstanceAuthConfigGoogleServiceAccountConfig.__key_warning(key)
919
+ return super().__getitem__(key)
920
+
921
+ def get(self, key: str, default = None) -> Any:
922
+ PluginInstanceAuthConfigGoogleServiceAccountConfig.__key_warning(key)
923
+ return super().get(key, default)
924
+
925
+ def __init__(__self__, *,
926
+ service_account: builtins.str):
927
+ """
928
+ :param builtins.str service_account: The service account to be used for authenticating request.
929
+ The `iam.serviceAccounts.getAccessToken` permission should be granted on
930
+ this service account to the impersonator service account.
931
+ """
932
+ pulumi.set(__self__, "service_account", service_account)
933
+
934
+ @property
935
+ @pulumi.getter(name="serviceAccount")
936
+ def service_account(self) -> builtins.str:
937
+ """
938
+ The service account to be used for authenticating request.
939
+ The `iam.serviceAccounts.getAccessToken` permission should be granted on
940
+ this service account to the impersonator service account.
941
+ """
942
+ return pulumi.get(self, "service_account")
943
+
944
+
945
+ @pulumi.output_type
946
+ class PluginInstanceAuthConfigOauth2ClientCredentialsConfig(dict):
947
+ @staticmethod
948
+ def __key_warning(key: str):
949
+ suggest = None
950
+ if key == "clientId":
951
+ suggest = "client_id"
952
+ elif key == "clientSecret":
953
+ suggest = "client_secret"
954
+
955
+ if suggest:
956
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigOauth2ClientCredentialsConfig. Access the value via the '{suggest}' property getter instead.")
957
+
958
+ def __getitem__(self, key: str) -> Any:
959
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfig.__key_warning(key)
960
+ return super().__getitem__(key)
961
+
962
+ def get(self, key: str, default = None) -> Any:
963
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfig.__key_warning(key)
964
+ return super().get(key, default)
965
+
966
+ def __init__(__self__, *,
967
+ client_id: builtins.str,
968
+ client_secret: 'outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret'):
969
+ """
970
+ :param builtins.str client_id: The client identifier.
971
+ :param 'PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecretArgs' client_secret: Secret provides a reference to entries in Secret Manager.
972
+ """
973
+ pulumi.set(__self__, "client_id", client_id)
974
+ pulumi.set(__self__, "client_secret", client_secret)
975
+
976
+ @property
977
+ @pulumi.getter(name="clientId")
978
+ def client_id(self) -> builtins.str:
979
+ """
980
+ The client identifier.
981
+ """
982
+ return pulumi.get(self, "client_id")
983
+
984
+ @property
985
+ @pulumi.getter(name="clientSecret")
986
+ def client_secret(self) -> 'outputs.PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret':
987
+ """
988
+ Secret provides a reference to entries in Secret Manager.
989
+ """
990
+ return pulumi.get(self, "client_secret")
991
+
992
+
993
+ @pulumi.output_type
994
+ class PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret(dict):
995
+ @staticmethod
996
+ def __key_warning(key: str):
997
+ suggest = None
998
+ if key == "secretVersion":
999
+ suggest = "secret_version"
1000
+
1001
+ if suggest:
1002
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret. Access the value via the '{suggest}' property getter instead.")
1003
+
1004
+ def __getitem__(self, key: str) -> Any:
1005
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret.__key_warning(key)
1006
+ return super().__getitem__(key)
1007
+
1008
+ def get(self, key: str, default = None) -> Any:
1009
+ PluginInstanceAuthConfigOauth2ClientCredentialsConfigClientSecret.__key_warning(key)
1010
+ return super().get(key, default)
1011
+
1012
+ def __init__(__self__, *,
1013
+ secret_version: builtins.str):
1014
+ """
1015
+ :param builtins.str secret_version: The resource name of the secret version in the format,
1016
+ format as: `projects/*/secrets/*/versions/*`.
1017
+ """
1018
+ pulumi.set(__self__, "secret_version", secret_version)
1019
+
1020
+ @property
1021
+ @pulumi.getter(name="secretVersion")
1022
+ def secret_version(self) -> builtins.str:
1023
+ """
1024
+ The resource name of the secret version in the format,
1025
+ format as: `projects/*/secrets/*/versions/*`.
1026
+ """
1027
+ return pulumi.get(self, "secret_version")
1028
+
1029
+
1030
+ @pulumi.output_type
1031
+ class PluginInstanceAuthConfigUserPasswordConfig(dict):
1032
+ def __init__(__self__, *,
1033
+ password: 'outputs.PluginInstanceAuthConfigUserPasswordConfigPassword',
1034
+ username: builtins.str):
1035
+ """
1036
+ :param 'PluginInstanceAuthConfigUserPasswordConfigPasswordArgs' password: Secret provides a reference to entries in Secret Manager.
1037
+ Structure is documented below.
1038
+ :param builtins.str username: Username.
1039
+ """
1040
+ pulumi.set(__self__, "password", password)
1041
+ pulumi.set(__self__, "username", username)
1042
+
1043
+ @property
1044
+ @pulumi.getter
1045
+ def password(self) -> 'outputs.PluginInstanceAuthConfigUserPasswordConfigPassword':
1046
+ """
1047
+ Secret provides a reference to entries in Secret Manager.
1048
+ Structure is documented below.
1049
+ """
1050
+ return pulumi.get(self, "password")
1051
+
1052
+ @property
1053
+ @pulumi.getter
1054
+ def username(self) -> builtins.str:
1055
+ """
1056
+ Username.
1057
+ """
1058
+ return pulumi.get(self, "username")
1059
+
1060
+
1061
+ @pulumi.output_type
1062
+ class PluginInstanceAuthConfigUserPasswordConfigPassword(dict):
1063
+ @staticmethod
1064
+ def __key_warning(key: str):
1065
+ suggest = None
1066
+ if key == "secretVersion":
1067
+ suggest = "secret_version"
1068
+
1069
+ if suggest:
1070
+ pulumi.log.warn(f"Key '{key}' not found in PluginInstanceAuthConfigUserPasswordConfigPassword. Access the value via the '{suggest}' property getter instead.")
1071
+
1072
+ def __getitem__(self, key: str) -> Any:
1073
+ PluginInstanceAuthConfigUserPasswordConfigPassword.__key_warning(key)
1074
+ return super().__getitem__(key)
1075
+
1076
+ def get(self, key: str, default = None) -> Any:
1077
+ PluginInstanceAuthConfigUserPasswordConfigPassword.__key_warning(key)
1078
+ return super().get(key, default)
1079
+
1080
+ def __init__(__self__, *,
1081
+ secret_version: builtins.str):
1082
+ """
1083
+ :param builtins.str secret_version: The resource name of the secret version in the format,
1084
+ format as: `projects/*/secrets/*/versions/*`.
1085
+ """
1086
+ pulumi.set(__self__, "secret_version", secret_version)
1087
+
1088
+ @property
1089
+ @pulumi.getter(name="secretVersion")
1090
+ def secret_version(self) -> builtins.str:
1091
+ """
1092
+ The resource name of the secret version in the format,
1093
+ format as: `projects/*/secrets/*/versions/*`.
1094
+ """
1095
+ return pulumi.get(self, "secret_version")
1096
+
1097
+