@pulumi/gcp 6.40.0 → 6.41.0

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 (128) hide show
  1. package/appengine/standardAppVersion.d.ts +28 -0
  2. package/appengine/standardAppVersion.js +18 -0
  3. package/appengine/standardAppVersion.js.map +1 -1
  4. package/bigquery/reservation.d.ts +29 -1
  5. package/bigquery/reservation.js +6 -1
  6. package/bigquery/reservation.js.map +1 -1
  7. package/bigqueryanalyticshub/index.d.ts +12 -0
  8. package/bigqueryanalyticshub/index.js +21 -1
  9. package/bigqueryanalyticshub/index.js.map +1 -1
  10. package/bigqueryanalyticshub/listing.d.ts +280 -0
  11. package/bigqueryanalyticshub/listing.js +146 -0
  12. package/bigqueryanalyticshub/listing.js.map +1 -0
  13. package/bigqueryanalyticshub/listingIamBinding.d.ts +149 -0
  14. package/bigqueryanalyticshub/listingIamBinding.js +100 -0
  15. package/bigqueryanalyticshub/listingIamBinding.js.map +1 -0
  16. package/bigqueryanalyticshub/listingIamMember.d.ts +149 -0
  17. package/bigqueryanalyticshub/listingIamMember.js +100 -0
  18. package/bigqueryanalyticshub/listingIamMember.js.map +1 -0
  19. package/bigqueryanalyticshub/listingIamPolicy.d.ts +138 -0
  20. package/bigqueryanalyticshub/listingIamPolicy.js +93 -0
  21. package/bigqueryanalyticshub/listingIamPolicy.js.map +1 -0
  22. package/bigquerydatapolicy/dataPolicy.d.ts +178 -0
  23. package/bigquerydatapolicy/dataPolicy.js +122 -0
  24. package/bigquerydatapolicy/dataPolicy.js.map +1 -0
  25. package/bigquerydatapolicy/dataPolicyIamBinding.d.ts +128 -0
  26. package/bigquerydatapolicy/dataPolicyIamBinding.js +95 -0
  27. package/bigquerydatapolicy/dataPolicyIamBinding.js.map +1 -0
  28. package/bigquerydatapolicy/dataPolicyIamMember.d.ts +128 -0
  29. package/bigquerydatapolicy/dataPolicyIamMember.js +95 -0
  30. package/bigquerydatapolicy/dataPolicyIamMember.js.map +1 -0
  31. package/bigquerydatapolicy/dataPolicyIamPolicy.d.ts +117 -0
  32. package/bigquerydatapolicy/dataPolicyIamPolicy.js +88 -0
  33. package/bigquerydatapolicy/dataPolicyIamPolicy.js.map +1 -0
  34. package/bigquerydatapolicy/index.d.ts +12 -0
  35. package/bigquerydatapolicy/index.js +37 -0
  36. package/bigquerydatapolicy/index.js.map +1 -0
  37. package/cloudfunctionsv2/getFunction.d.ts +79 -0
  38. package/cloudfunctionsv2/getFunction.js +41 -0
  39. package/cloudfunctionsv2/getFunction.js.map +1 -0
  40. package/cloudfunctionsv2/index.d.ts +3 -0
  41. package/cloudfunctionsv2/index.js +4 -1
  42. package/cloudfunctionsv2/index.js.map +1 -1
  43. package/cloudids/endpoint.d.ts +197 -0
  44. package/cloudids/endpoint.js +127 -0
  45. package/cloudids/endpoint.js.map +1 -0
  46. package/cloudids/index.d.ts +3 -0
  47. package/cloudids/index.js +22 -0
  48. package/cloudids/index.js.map +1 -0
  49. package/cloudrun/service.d.ts +37 -0
  50. package/cloudrun/service.js +37 -0
  51. package/cloudrun/service.js.map +1 -1
  52. package/compute/backendBucket.d.ts +15 -0
  53. package/compute/backendBucket.js +2 -0
  54. package/compute/backendBucket.js.map +1 -1
  55. package/compute/backendService.d.ts +15 -0
  56. package/compute/backendService.js +2 -0
  57. package/compute/backendService.js.map +1 -1
  58. package/compute/getBackendBucket.d.ts +1 -0
  59. package/compute/getBackendBucket.js.map +1 -1
  60. package/compute/getBackendService.d.ts +1 -0
  61. package/compute/getBackendService.js.map +1 -1
  62. package/compute/getSnapshot.d.ts +106 -0
  63. package/compute/getSnapshot.js +50 -0
  64. package/compute/getSnapshot.js.map +1 -0
  65. package/compute/index.d.ts +6 -0
  66. package/compute/index.js +11 -3
  67. package/compute/index.js.map +1 -1
  68. package/compute/instance.d.ts +9 -3
  69. package/compute/instance.js +3 -0
  70. package/compute/instance.js.map +1 -1
  71. package/compute/regionTargetTcpProxy.d.ts +203 -0
  72. package/compute/regionTargetTcpProxy.js +93 -0
  73. package/compute/regionTargetTcpProxy.js.map +1 -0
  74. package/config/vars.d.ts +2 -0
  75. package/config/vars.js +12 -0
  76. package/config/vars.js.map +1 -1
  77. package/dataflow/flexTemplateJob.d.ts +0 -6
  78. package/dataflow/flexTemplateJob.js.map +1 -1
  79. package/datafusion/instance.d.ts +39 -0
  80. package/datafusion/instance.js +26 -0
  81. package/datafusion/instance.js.map +1 -1
  82. package/dataproc/metastoreFederation.d.ts +40 -2
  83. package/dataproc/metastoreFederation.js +38 -0
  84. package/dataproc/metastoreFederation.js.map +1 -1
  85. package/datastream/connectionProfile.d.ts +25 -0
  86. package/datastream/connectionProfile.js +15 -0
  87. package/datastream/connectionProfile.js.map +1 -1
  88. package/dns/managedZone.d.ts +32 -0
  89. package/dns/managedZone.js +19 -0
  90. package/dns/managedZone.js.map +1 -1
  91. package/index.d.ts +3 -1
  92. package/index.js +6 -2
  93. package/index.js.map +1 -1
  94. package/orgpolicy/customConstraint.d.ts +204 -0
  95. package/orgpolicy/customConstraint.js +141 -0
  96. package/orgpolicy/customConstraint.js.map +1 -0
  97. package/orgpolicy/index.d.ts +3 -0
  98. package/orgpolicy/index.js +6 -1
  99. package/orgpolicy/index.js.map +1 -1
  100. package/package.json +2 -2
  101. package/package.json.dev +2 -2
  102. package/provider.d.ts +4 -0
  103. package/provider.js +2 -0
  104. package/provider.js.map +1 -1
  105. package/secretmanager/secretVersion.d.ts +1 -1
  106. package/secretmanager/secretVersion.js +1 -1
  107. package/sql/user.d.ts +5 -3
  108. package/sql/user.js +3 -1
  109. package/sql/user.js.map +1 -1
  110. package/storage/bucket.d.ts +15 -3
  111. package/storage/bucket.js +2 -0
  112. package/storage/bucket.js.map +1 -1
  113. package/storage/getBucket.d.ts +1 -0
  114. package/storage/getBucket.js.map +1 -1
  115. package/types/input.d.ts +228 -14
  116. package/types/output.d.ts +361 -16
  117. package/vertex/aiFeatureStoreEntityTypeFeature.d.ts +182 -0
  118. package/vertex/aiFeatureStoreEntityTypeFeature.js +121 -0
  119. package/vertex/aiFeatureStoreEntityTypeFeature.js.map +1 -0
  120. package/vertex/index.d.ts +3 -0
  121. package/vertex/index.js +6 -1
  122. package/vertex/index.js.map +1 -1
  123. package/vpcaccess/getConnector.d.ts +89 -0
  124. package/vpcaccess/getConnector.js +49 -0
  125. package/vpcaccess/getConnector.js.map +1 -0
  126. package/vpcaccess/index.d.ts +3 -0
  127. package/vpcaccess/index.js +4 -1
  128. package/vpcaccess/index.js.map +1 -1
@@ -0,0 +1,128 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Import
6
+ *
7
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} * {{project}}/{{location}}/{{data_policy_id}} * {{location}}/{{data_policy_id}} * {{data_policy_id}} Any variables not passed in the import command will be taken from the provider configuration. BigQuery Data Policy datapolicy IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
8
+ *
9
+ * ```sh
10
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer user:jane@example.com"
11
+ * ```
12
+ *
13
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
14
+ *
15
+ * ```sh
16
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer"
17
+ * ```
18
+ *
19
+ * IAM policy imports use the identifier of the resource in question, e.g.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding editor projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}}
23
+ * ```
24
+ *
25
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
26
+ *
27
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
28
+ */
29
+ export declare class DataPolicyIamBinding extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing DataPolicyIamBinding resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataPolicyIamBindingState, opts?: pulumi.CustomResourceOptions): DataPolicyIamBinding;
40
+ /**
41
+ * Returns true if the given object is an instance of DataPolicyIamBinding. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is DataPolicyIamBinding;
45
+ readonly condition: pulumi.Output<outputs.bigquerydatapolicy.DataPolicyIamBindingCondition | undefined>;
46
+ readonly dataPolicyId: pulumi.Output<string>;
47
+ /**
48
+ * (Computed) The etag of the IAM policy.
49
+ */
50
+ readonly etag: pulumi.Output<string>;
51
+ /**
52
+ * The name of the location of the data policy.
53
+ * Used to find the parent resource to bind the IAM policy to
54
+ */
55
+ readonly location: pulumi.Output<string>;
56
+ readonly members: pulumi.Output<string[]>;
57
+ /**
58
+ * The ID of the project in which the resource belongs.
59
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
60
+ */
61
+ readonly project: pulumi.Output<string>;
62
+ /**
63
+ * The role that should be applied. Only one
64
+ * `gcp.bigquerydatapolicy.DataPolicyIamBinding` can be used per role. Note that custom roles must be of the format
65
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
66
+ */
67
+ readonly role: pulumi.Output<string>;
68
+ /**
69
+ * Create a DataPolicyIamBinding resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: DataPolicyIamBindingArgs, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering DataPolicyIamBinding resources.
79
+ */
80
+ export interface DataPolicyIamBindingState {
81
+ condition?: pulumi.Input<inputs.bigquerydatapolicy.DataPolicyIamBindingCondition>;
82
+ dataPolicyId?: pulumi.Input<string>;
83
+ /**
84
+ * (Computed) The etag of the IAM policy.
85
+ */
86
+ etag?: pulumi.Input<string>;
87
+ /**
88
+ * The name of the location of the data policy.
89
+ * Used to find the parent resource to bind the IAM policy to
90
+ */
91
+ location?: pulumi.Input<string>;
92
+ members?: pulumi.Input<pulumi.Input<string>[]>;
93
+ /**
94
+ * The ID of the project in which the resource belongs.
95
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
96
+ */
97
+ project?: pulumi.Input<string>;
98
+ /**
99
+ * The role that should be applied. Only one
100
+ * `gcp.bigquerydatapolicy.DataPolicyIamBinding` can be used per role. Note that custom roles must be of the format
101
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
102
+ */
103
+ role?: pulumi.Input<string>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a DataPolicyIamBinding resource.
107
+ */
108
+ export interface DataPolicyIamBindingArgs {
109
+ condition?: pulumi.Input<inputs.bigquerydatapolicy.DataPolicyIamBindingCondition>;
110
+ dataPolicyId: pulumi.Input<string>;
111
+ /**
112
+ * The name of the location of the data policy.
113
+ * Used to find the parent resource to bind the IAM policy to
114
+ */
115
+ location?: pulumi.Input<string>;
116
+ members: pulumi.Input<pulumi.Input<string>[]>;
117
+ /**
118
+ * The ID of the project in which the resource belongs.
119
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
120
+ */
121
+ project?: pulumi.Input<string>;
122
+ /**
123
+ * The role that should be applied. Only one
124
+ * `gcp.bigquerydatapolicy.DataPolicyIamBinding` can be used per role. Note that custom roles must be of the format
125
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
126
+ */
127
+ role: pulumi.Input<string>;
128
+ }
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DataPolicyIamBinding = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} * {{project}}/{{location}}/{{data_policy_id}} * {{location}}/{{data_policy_id}} * {{data_policy_id}} Any variables not passed in the import command will be taken from the provider configuration. BigQuery Data Policy datapolicy IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer user:jane@example.com"
15
+ * ```
16
+ *
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer"
21
+ * ```
22
+ *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding editor projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}}
27
+ * ```
28
+ *
29
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
30
+ *
31
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
32
+ */
33
+ class DataPolicyIamBinding extends pulumi.CustomResource {
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["condition"] = state ? state.condition : undefined;
40
+ resourceInputs["dataPolicyId"] = state ? state.dataPolicyId : undefined;
41
+ resourceInputs["etag"] = state ? state.etag : undefined;
42
+ resourceInputs["location"] = state ? state.location : undefined;
43
+ resourceInputs["members"] = state ? state.members : undefined;
44
+ resourceInputs["project"] = state ? state.project : undefined;
45
+ resourceInputs["role"] = state ? state.role : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.dataPolicyId === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'dataPolicyId'");
51
+ }
52
+ if ((!args || args.members === undefined) && !opts.urn) {
53
+ throw new Error("Missing required property 'members'");
54
+ }
55
+ if ((!args || args.role === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'role'");
57
+ }
58
+ resourceInputs["condition"] = args ? args.condition : undefined;
59
+ resourceInputs["dataPolicyId"] = args ? args.dataPolicyId : undefined;
60
+ resourceInputs["location"] = args ? args.location : undefined;
61
+ resourceInputs["members"] = args ? args.members : undefined;
62
+ resourceInputs["project"] = args ? args.project : undefined;
63
+ resourceInputs["role"] = args ? args.role : undefined;
64
+ resourceInputs["etag"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(DataPolicyIamBinding.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ /**
70
+ * Get an existing DataPolicyIamBinding resource's state with the given name, ID, and optional extra
71
+ * properties used to qualify the lookup.
72
+ *
73
+ * @param name The _unique_ name of the resulting resource.
74
+ * @param id The _unique_ provider ID of the resource to lookup.
75
+ * @param state Any extra arguments used during the lookup.
76
+ * @param opts Optional settings to control the behavior of the CustomResource.
77
+ */
78
+ static get(name, id, state, opts) {
79
+ return new DataPolicyIamBinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
80
+ }
81
+ /**
82
+ * Returns true if the given object is an instance of DataPolicyIamBinding. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj) {
86
+ if (obj === undefined || obj === null) {
87
+ return false;
88
+ }
89
+ return obj['__pulumiType'] === DataPolicyIamBinding.__pulumiType;
90
+ }
91
+ }
92
+ exports.DataPolicyIamBinding = DataPolicyIamBinding;
93
+ /** @internal */
94
+ DataPolicyIamBinding.__pulumiType = 'gcp:bigquerydatapolicy/dataPolicyIamBinding:DataPolicyIamBinding';
95
+ //# sourceMappingURL=dataPolicyIamBinding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataPolicyIamBinding.js","sourceRoot":"","sources":["../../bigquerydatapolicy/dataPolicyIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IA4D3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,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,gBAAgB;AACO,iCAAY,GAAG,kEAAkE,CAAC"}
@@ -0,0 +1,128 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * ## Import
6
+ *
7
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} * {{project}}/{{location}}/{{data_policy_id}} * {{location}}/{{data_policy_id}} * {{data_policy_id}} Any variables not passed in the import command will be taken from the provider configuration. BigQuery Data Policy datapolicy IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
8
+ *
9
+ * ```sh
10
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer user:jane@example.com"
11
+ * ```
12
+ *
13
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
14
+ *
15
+ * ```sh
16
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer"
17
+ * ```
18
+ *
19
+ * IAM policy imports use the identifier of the resource in question, e.g.
20
+ *
21
+ * ```sh
22
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember editor projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}}
23
+ * ```
24
+ *
25
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
26
+ *
27
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
28
+ */
29
+ export declare class DataPolicyIamMember extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing DataPolicyIamMember resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataPolicyIamMemberState, opts?: pulumi.CustomResourceOptions): DataPolicyIamMember;
40
+ /**
41
+ * Returns true if the given object is an instance of DataPolicyIamMember. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is DataPolicyIamMember;
45
+ readonly condition: pulumi.Output<outputs.bigquerydatapolicy.DataPolicyIamMemberCondition | undefined>;
46
+ readonly dataPolicyId: pulumi.Output<string>;
47
+ /**
48
+ * (Computed) The etag of the IAM policy.
49
+ */
50
+ readonly etag: pulumi.Output<string>;
51
+ /**
52
+ * The name of the location of the data policy.
53
+ * Used to find the parent resource to bind the IAM policy to
54
+ */
55
+ readonly location: pulumi.Output<string>;
56
+ readonly member: pulumi.Output<string>;
57
+ /**
58
+ * The ID of the project in which the resource belongs.
59
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
60
+ */
61
+ readonly project: pulumi.Output<string>;
62
+ /**
63
+ * The role that should be applied. Only one
64
+ * `gcp.bigquerydatapolicy.DataPolicyIamBinding` can be used per role. Note that custom roles must be of the format
65
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
66
+ */
67
+ readonly role: pulumi.Output<string>;
68
+ /**
69
+ * Create a DataPolicyIamMember resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: DataPolicyIamMemberArgs, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering DataPolicyIamMember resources.
79
+ */
80
+ export interface DataPolicyIamMemberState {
81
+ condition?: pulumi.Input<inputs.bigquerydatapolicy.DataPolicyIamMemberCondition>;
82
+ dataPolicyId?: pulumi.Input<string>;
83
+ /**
84
+ * (Computed) The etag of the IAM policy.
85
+ */
86
+ etag?: pulumi.Input<string>;
87
+ /**
88
+ * The name of the location of the data policy.
89
+ * Used to find the parent resource to bind the IAM policy to
90
+ */
91
+ location?: pulumi.Input<string>;
92
+ member?: pulumi.Input<string>;
93
+ /**
94
+ * The ID of the project in which the resource belongs.
95
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
96
+ */
97
+ project?: pulumi.Input<string>;
98
+ /**
99
+ * The role that should be applied. Only one
100
+ * `gcp.bigquerydatapolicy.DataPolicyIamBinding` can be used per role. Note that custom roles must be of the format
101
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
102
+ */
103
+ role?: pulumi.Input<string>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a DataPolicyIamMember resource.
107
+ */
108
+ export interface DataPolicyIamMemberArgs {
109
+ condition?: pulumi.Input<inputs.bigquerydatapolicy.DataPolicyIamMemberCondition>;
110
+ dataPolicyId: pulumi.Input<string>;
111
+ /**
112
+ * The name of the location of the data policy.
113
+ * Used to find the parent resource to bind the IAM policy to
114
+ */
115
+ location?: pulumi.Input<string>;
116
+ member: pulumi.Input<string>;
117
+ /**
118
+ * The ID of the project in which the resource belongs.
119
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
120
+ */
121
+ project?: pulumi.Input<string>;
122
+ /**
123
+ * The role that should be applied. Only one
124
+ * `gcp.bigquerydatapolicy.DataPolicyIamBinding` can be used per role. Note that custom roles must be of the format
125
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
126
+ */
127
+ role: pulumi.Input<string>;
128
+ }
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.DataPolicyIamMember = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} * {{project}}/{{location}}/{{data_policy_id}} * {{location}}/{{data_policy_id}} * {{data_policy_id}} Any variables not passed in the import command will be taken from the provider configuration. BigQuery Data Policy datapolicy IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer user:jane@example.com"
15
+ * ```
16
+ *
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer"
21
+ * ```
22
+ *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
25
+ * ```sh
26
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember editor projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}}
27
+ * ```
28
+ *
29
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
30
+ *
31
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
32
+ */
33
+ class DataPolicyIamMember extends pulumi.CustomResource {
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["condition"] = state ? state.condition : undefined;
40
+ resourceInputs["dataPolicyId"] = state ? state.dataPolicyId : undefined;
41
+ resourceInputs["etag"] = state ? state.etag : undefined;
42
+ resourceInputs["location"] = state ? state.location : undefined;
43
+ resourceInputs["member"] = state ? state.member : undefined;
44
+ resourceInputs["project"] = state ? state.project : undefined;
45
+ resourceInputs["role"] = state ? state.role : undefined;
46
+ }
47
+ else {
48
+ const args = argsOrState;
49
+ if ((!args || args.dataPolicyId === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'dataPolicyId'");
51
+ }
52
+ if ((!args || args.member === undefined) && !opts.urn) {
53
+ throw new Error("Missing required property 'member'");
54
+ }
55
+ if ((!args || args.role === undefined) && !opts.urn) {
56
+ throw new Error("Missing required property 'role'");
57
+ }
58
+ resourceInputs["condition"] = args ? args.condition : undefined;
59
+ resourceInputs["dataPolicyId"] = args ? args.dataPolicyId : undefined;
60
+ resourceInputs["location"] = args ? args.location : undefined;
61
+ resourceInputs["member"] = args ? args.member : undefined;
62
+ resourceInputs["project"] = args ? args.project : undefined;
63
+ resourceInputs["role"] = args ? args.role : undefined;
64
+ resourceInputs["etag"] = undefined /*out*/;
65
+ }
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
67
+ super(DataPolicyIamMember.__pulumiType, name, resourceInputs, opts);
68
+ }
69
+ /**
70
+ * Get an existing DataPolicyIamMember resource's state with the given name, ID, and optional extra
71
+ * properties used to qualify the lookup.
72
+ *
73
+ * @param name The _unique_ name of the resulting resource.
74
+ * @param id The _unique_ provider ID of the resource to lookup.
75
+ * @param state Any extra arguments used during the lookup.
76
+ * @param opts Optional settings to control the behavior of the CustomResource.
77
+ */
78
+ static get(name, id, state, opts) {
79
+ return new DataPolicyIamMember(name, state, Object.assign(Object.assign({}, opts), { id: id }));
80
+ }
81
+ /**
82
+ * Returns true if the given object is an instance of DataPolicyIamMember. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj) {
86
+ if (obj === undefined || obj === null) {
87
+ return false;
88
+ }
89
+ return obj['__pulumiType'] === DataPolicyIamMember.__pulumiType;
90
+ }
91
+ }
92
+ exports.DataPolicyIamMember = DataPolicyIamMember;
93
+ /** @internal */
94
+ DataPolicyIamMember.__pulumiType = 'gcp:bigquerydatapolicy/dataPolicyIamMember:DataPolicyIamMember';
95
+ //# sourceMappingURL=dataPolicyIamMember.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dataPolicyIamMember.js","sourceRoot":"","sources":["../../bigquerydatapolicy/dataPolicyIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA4D1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;IA5FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;;AA1BL,kDA8FC;AAhFG,gBAAgB;AACO,gCAAY,GAAG,gEAAgE,CAAC"}
@@ -0,0 +1,117 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Import
4
+ *
5
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} * {{project}}/{{location}}/{{data_policy_id}} * {{location}}/{{data_policy_id}} * {{data_policy_id}} Any variables not passed in the import command will be taken from the provider configuration. BigQuery Data Policy datapolicy IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
6
+ *
7
+ * ```sh
8
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamPolicy:DataPolicyIamPolicy editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer user:jane@example.com"
9
+ * ```
10
+ *
11
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
12
+ *
13
+ * ```sh
14
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamPolicy:DataPolicyIamPolicy editor "projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}} roles/viewer"
15
+ * ```
16
+ *
17
+ * IAM policy imports use the identifier of the resource in question, e.g.
18
+ *
19
+ * ```sh
20
+ * $ pulumi import gcp:bigquerydatapolicy/dataPolicyIamPolicy:DataPolicyIamPolicy editor projects/{{project}}/locations/{{location}}/dataPolicies/{{data_policy_id}}
21
+ * ```
22
+ *
23
+ * -> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
24
+ *
25
+ * full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
26
+ */
27
+ export declare class DataPolicyIamPolicy extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing DataPolicyIamPolicy resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataPolicyIamPolicyState, opts?: pulumi.CustomResourceOptions): DataPolicyIamPolicy;
38
+ /**
39
+ * Returns true if the given object is an instance of DataPolicyIamPolicy. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is DataPolicyIamPolicy;
43
+ readonly dataPolicyId: pulumi.Output<string>;
44
+ /**
45
+ * (Computed) The etag of the IAM policy.
46
+ */
47
+ readonly etag: pulumi.Output<string>;
48
+ /**
49
+ * The name of the location of the data policy.
50
+ * Used to find the parent resource to bind the IAM policy to
51
+ */
52
+ readonly location: pulumi.Output<string>;
53
+ /**
54
+ * The policy data generated by
55
+ * a `gcp.organizations.getIAMPolicy` data source.
56
+ */
57
+ readonly policyData: pulumi.Output<string>;
58
+ /**
59
+ * The ID of the project in which the resource belongs.
60
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
61
+ */
62
+ readonly project: pulumi.Output<string>;
63
+ /**
64
+ * Create a DataPolicyIamPolicy resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: DataPolicyIamPolicyArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering DataPolicyIamPolicy resources.
74
+ */
75
+ export interface DataPolicyIamPolicyState {
76
+ dataPolicyId?: pulumi.Input<string>;
77
+ /**
78
+ * (Computed) The etag of the IAM policy.
79
+ */
80
+ etag?: pulumi.Input<string>;
81
+ /**
82
+ * The name of the location of the data policy.
83
+ * Used to find the parent resource to bind the IAM policy to
84
+ */
85
+ location?: pulumi.Input<string>;
86
+ /**
87
+ * The policy data generated by
88
+ * a `gcp.organizations.getIAMPolicy` data source.
89
+ */
90
+ policyData?: pulumi.Input<string>;
91
+ /**
92
+ * The ID of the project in which the resource belongs.
93
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
94
+ */
95
+ project?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a DataPolicyIamPolicy resource.
99
+ */
100
+ export interface DataPolicyIamPolicyArgs {
101
+ dataPolicyId: pulumi.Input<string>;
102
+ /**
103
+ * The name of the location of the data policy.
104
+ * Used to find the parent resource to bind the IAM policy to
105
+ */
106
+ location?: pulumi.Input<string>;
107
+ /**
108
+ * The policy data generated by
109
+ * a `gcp.organizations.getIAMPolicy` data source.
110
+ */
111
+ policyData: pulumi.Input<string>;
112
+ /**
113
+ * The ID of the project in which the resource belongs.
114
+ * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
115
+ */
116
+ project?: pulumi.Input<string>;
117
+ }