@pulumi/gcp 6.44.0 → 6.45.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 (164) hide show
  1. package/alloydb/instance.d.ts +3 -0
  2. package/alloydb/instance.js +3 -0
  3. package/alloydb/instance.js.map +1 -1
  4. package/bigtable/gcpolicy.d.ts +58 -32
  5. package/bigtable/gcpolicy.js +45 -32
  6. package/bigtable/gcpolicy.js.map +1 -1
  7. package/bigtable/instance.d.ts +6 -3
  8. package/bigtable/instance.js.map +1 -1
  9. package/certificateauthority/authority.d.ts +3 -2
  10. package/certificateauthority/authority.js +3 -2
  11. package/certificateauthority/authority.js.map +1 -1
  12. package/certificateauthority/certificate.d.ts +12 -5
  13. package/certificateauthority/certificate.js +12 -5
  14. package/certificateauthority/certificate.js.map +1 -1
  15. package/cloudrunv2/index.d.ts +6 -0
  16. package/cloudrunv2/index.js +27 -0
  17. package/cloudrunv2/index.js.map +1 -0
  18. package/cloudrunv2/job.d.ts +501 -0
  19. package/cloudrunv2/job.js +321 -0
  20. package/cloudrunv2/job.js.map +1 -0
  21. package/cloudrunv2/service.d.ts +574 -0
  22. package/cloudrunv2/service.js +334 -0
  23. package/cloudrunv2/service.js.map +1 -0
  24. package/compute/backendService.d.ts +19 -0
  25. package/compute/backendService.js +19 -0
  26. package/compute/backendService.js.map +1 -1
  27. package/compute/forwardingRule.d.ts +21 -30
  28. package/compute/forwardingRule.js.map +1 -1
  29. package/compute/instanceGroupManager.d.ts +27 -0
  30. package/compute/instanceGroupManager.js +2 -0
  31. package/compute/instanceGroupManager.js.map +1 -1
  32. package/compute/regionInstanceGroupManager.d.ts +27 -0
  33. package/compute/regionInstanceGroupManager.js +2 -0
  34. package/compute/regionInstanceGroupManager.js.map +1 -1
  35. package/compute/routerInterface.d.ts +52 -31
  36. package/compute/routerInterface.js +4 -0
  37. package/compute/routerInterface.js.map +1 -1
  38. package/compute/securityPolicy.d.ts +83 -0
  39. package/compute/securityPolicy.js +73 -0
  40. package/compute/securityPolicy.js.map +1 -1
  41. package/config/vars.d.ts +3 -0
  42. package/config/vars.js +18 -0
  43. package/config/vars.js.map +1 -1
  44. package/container/cluster.d.ts +7 -4
  45. package/container/cluster.js.map +1 -1
  46. package/container/nodePool.d.ts +9 -6
  47. package/container/nodePool.js.map +1 -1
  48. package/datafusion/instance.d.ts +97 -5
  49. package/datafusion/instance.js +52 -5
  50. package/datafusion/instance.js.map +1 -1
  51. package/dataproc/metastoreService.d.ts +49 -0
  52. package/dataproc/metastoreService.js +34 -0
  53. package/dataproc/metastoreService.js.map +1 -1
  54. package/datastream/privateConnection.d.ts +16 -0
  55. package/datastream/privateConnection.js +4 -0
  56. package/datastream/privateConnection.js.map +1 -1
  57. package/eventarc/googleChannelConfig.d.ts +142 -0
  58. package/eventarc/googleChannelConfig.js +110 -0
  59. package/eventarc/googleChannelConfig.js.map +1 -0
  60. package/eventarc/index.d.ts +3 -0
  61. package/eventarc/index.js +6 -1
  62. package/eventarc/index.js.map +1 -1
  63. package/firebase/getAndroidApp.d.ts +36 -0
  64. package/firebase/getAndroidApp.js +22 -0
  65. package/firebase/getAndroidApp.js.map +1 -0
  66. package/firebase/index.d.ts +6 -0
  67. package/firebase/index.js +9 -1
  68. package/firebase/index.js.map +1 -1
  69. package/firebase/storageBucket.d.ts +109 -0
  70. package/firebase/storageBucket.js +91 -0
  71. package/firebase/storageBucket.js.map +1 -0
  72. package/gkebackup/backupPlan.d.ts +403 -0
  73. package/gkebackup/backupPlan.js +259 -0
  74. package/gkebackup/backupPlan.js.map +1 -0
  75. package/gkebackup/index.d.ts +3 -0
  76. package/gkebackup/index.js +22 -0
  77. package/gkebackup/index.js.map +1 -0
  78. package/gkehub/featureMembership.d.ts +1 -0
  79. package/gkehub/featureMembership.js +1 -0
  80. package/gkehub/featureMembership.js.map +1 -1
  81. package/iam/index.d.ts +3 -0
  82. package/iam/index.js +6 -1
  83. package/iam/index.js.map +1 -1
  84. package/iam/workforcePoolProvider.d.ts +510 -0
  85. package/iam/workforcePoolProvider.js +213 -0
  86. package/iam/workforcePoolProvider.js.map +1 -0
  87. package/index.d.ts +3 -1
  88. package/index.js +6 -2
  89. package/index.js.map +1 -1
  90. package/logging/billingAccountBucketConfig.d.ts +20 -0
  91. package/logging/billingAccountBucketConfig.js +2 -0
  92. package/logging/billingAccountBucketConfig.js.map +1 -1
  93. package/logging/folderBucketConfig.d.ts +20 -0
  94. package/logging/folderBucketConfig.js +2 -0
  95. package/logging/folderBucketConfig.js.map +1 -1
  96. package/logging/getProjectCmekSettings.d.ts +97 -0
  97. package/logging/getProjectCmekSettings.js +43 -0
  98. package/logging/getProjectCmekSettings.js.map +1 -0
  99. package/logging/index.d.ts +3 -0
  100. package/logging/index.js +4 -1
  101. package/logging/index.js.map +1 -1
  102. package/logging/organizationBucketConfig.d.ts +20 -0
  103. package/logging/organizationBucketConfig.js +2 -0
  104. package/logging/organizationBucketConfig.js.map +1 -1
  105. package/logging/projectBucketConfig.d.ts +48 -2
  106. package/logging/projectBucketConfig.js +34 -0
  107. package/logging/projectBucketConfig.js.map +1 -1
  108. package/networkservices/edgeCacheOrigin.d.ts +55 -1
  109. package/networkservices/edgeCacheOrigin.js +26 -1
  110. package/networkservices/edgeCacheOrigin.js.map +1 -1
  111. package/package.json +2 -2
  112. package/package.json.dev +2 -2
  113. package/provider.d.ts +6 -0
  114. package/provider.js +3 -0
  115. package/provider.js.map +1 -1
  116. package/securitycenter/index.d.ts +9 -0
  117. package/securitycenter/index.js +16 -1
  118. package/securitycenter/index.js.map +1 -1
  119. package/securitycenter/instanceIamBinding.d.ts +239 -0
  120. package/securitycenter/instanceIamBinding.js +218 -0
  121. package/securitycenter/instanceIamBinding.js.map +1 -0
  122. package/securitycenter/instanceIamMember.d.ts +239 -0
  123. package/securitycenter/instanceIamMember.js +218 -0
  124. package/securitycenter/instanceIamMember.js.map +1 -0
  125. package/securitycenter/instanceIamPolicy.d.ts +231 -0
  126. package/securitycenter/instanceIamPolicy.js +211 -0
  127. package/securitycenter/instanceIamPolicy.js.map +1 -0
  128. package/sql/database.d.ts +41 -0
  129. package/sql/database.js +22 -0
  130. package/sql/database.js.map +1 -1
  131. package/storage/bucket.d.ts +29 -7
  132. package/storage/bucket.js +18 -6
  133. package/storage/bucket.js.map +1 -1
  134. package/storage/getBucket.d.ts +1 -0
  135. package/storage/getBucket.js.map +1 -1
  136. package/types/input.d.ts +1544 -98
  137. package/types/output.d.ts +1559 -94
  138. package/vertex/aiFeatureStoreEntityTypeIamBinding.d.ts +119 -0
  139. package/vertex/aiFeatureStoreEntityTypeIamBinding.js +96 -0
  140. package/vertex/aiFeatureStoreEntityTypeIamBinding.js.map +1 -0
  141. package/vertex/aiFeatureStoreEntityTypeIamMember.d.ts +119 -0
  142. package/vertex/aiFeatureStoreEntityTypeIamMember.js +96 -0
  143. package/vertex/aiFeatureStoreEntityTypeIamMember.js.map +1 -0
  144. package/vertex/aiFeatureStoreEntityTypeIamPolicy.d.ts +108 -0
  145. package/vertex/aiFeatureStoreEntityTypeIamPolicy.js +89 -0
  146. package/vertex/aiFeatureStoreEntityTypeIamPolicy.js.map +1 -0
  147. package/vertex/aiFeatureStoreIamBinding.d.ts +53 -43
  148. package/vertex/aiFeatureStoreIamBinding.js +11 -37
  149. package/vertex/aiFeatureStoreIamBinding.js.map +1 -1
  150. package/vertex/aiFeatureStoreIamMember.d.ts +53 -43
  151. package/vertex/aiFeatureStoreIamMember.js +11 -37
  152. package/vertex/aiFeatureStoreIamMember.js.map +1 -1
  153. package/vertex/aiFeatureStoreIamPolicy.d.ts +50 -43
  154. package/vertex/aiFeatureStoreIamPolicy.js +11 -37
  155. package/vertex/aiFeatureStoreIamPolicy.js.map +1 -1
  156. package/vertex/aiIndex.d.ts +314 -0
  157. package/vertex/aiIndex.js +188 -0
  158. package/vertex/aiIndex.js.map +1 -0
  159. package/vertex/aiTensorboard.d.ts +242 -0
  160. package/vertex/aiTensorboard.js +146 -0
  161. package/vertex/aiTensorboard.js.map +1 -0
  162. package/vertex/index.d.ts +15 -0
  163. package/vertex/index.js +26 -1
  164. package/vertex/index.js.map +1 -1
@@ -2,55 +2,29 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * A collection of DataItems and Annotations on them.
6
- *
7
- * To get more information about Featurestore, see:
8
- *
9
- * * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
10
- * * How-to Guides
11
- * * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
12
- *
13
- * ## Example Usage
14
- * ### Vertex Ai Featurestore
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as gcp from "@pulumi/gcp";
19
- *
20
- * const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
21
- * encryptionSpec: {
22
- * kmsKeyName: "kms-name",
23
- * },
24
- * forceDestroy: true,
25
- * labels: {
26
- * foo: "bar",
27
- * },
28
- * onlineServingConfig: {
29
- * fixedNodeCount: 2,
30
- * },
31
- * region: "us-central1",
32
- * });
33
- * ```
34
- *
35
5
  * ## Import
36
6
  *
37
- * Featurestore can be imported using any of these accepted formats
7
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
38
8
  *
39
9
  * ```sh
40
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
10
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
41
11
  * ```
42
12
  *
43
- * ```sh
44
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{project}}/{{region}}/{{name}}
45
- * ```
13
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
46
14
  *
47
15
  * ```sh
48
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{region}}/{{name}}
16
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
49
17
  * ```
50
18
  *
19
+ * IAM policy imports use the identifier of the resource in question, e.g.
20
+ *
51
21
  * ```sh
52
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{name}}
22
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
53
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`.
54
28
  */
55
29
  export declare class AiFeatureStoreIamBinding extends pulumi.CustomResource {
56
30
  /**
@@ -69,18 +43,31 @@ export declare class AiFeatureStoreIamBinding extends pulumi.CustomResource {
69
43
  */
70
44
  static isInstance(obj: any): obj is AiFeatureStoreIamBinding;
71
45
  readonly condition: pulumi.Output<outputs.vertex.AiFeatureStoreIamBindingCondition | undefined>;
46
+ /**
47
+ * (Computed) The etag of the IAM policy.
48
+ */
72
49
  readonly etag: pulumi.Output<string>;
50
+ /**
51
+ * Used to find the parent resource to bind the IAM policy to
52
+ */
73
53
  readonly featurestore: pulumi.Output<string>;
74
54
  readonly members: pulumi.Output<string[]>;
75
55
  /**
76
56
  * The ID of the project in which the resource belongs.
77
- * If it is not provided, the provider project is used.
57
+ * 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.
78
58
  */
79
59
  readonly project: pulumi.Output<string>;
80
60
  /**
81
- * The region of the dataset. eg us-central1
61
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
62
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
63
+ * region is specified, it is taken from the provider configuration.
82
64
  */
83
65
  readonly region: pulumi.Output<string>;
66
+ /**
67
+ * The role that should be applied. Only one
68
+ * `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
69
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
70
+ */
84
71
  readonly role: pulumi.Output<string>;
85
72
  /**
86
73
  * Create a AiFeatureStoreIamBinding resource with the given unique name, arguments, and options.
@@ -96,18 +83,31 @@ export declare class AiFeatureStoreIamBinding extends pulumi.CustomResource {
96
83
  */
97
84
  export interface AiFeatureStoreIamBindingState {
98
85
  condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamBindingCondition>;
86
+ /**
87
+ * (Computed) The etag of the IAM policy.
88
+ */
99
89
  etag?: pulumi.Input<string>;
90
+ /**
91
+ * Used to find the parent resource to bind the IAM policy to
92
+ */
100
93
  featurestore?: pulumi.Input<string>;
101
94
  members?: pulumi.Input<pulumi.Input<string>[]>;
102
95
  /**
103
96
  * The ID of the project in which the resource belongs.
104
- * If it is not provided, the provider project is used.
97
+ * 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.
105
98
  */
106
99
  project?: pulumi.Input<string>;
107
100
  /**
108
- * The region of the dataset. eg us-central1
101
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
102
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
103
+ * region is specified, it is taken from the provider configuration.
109
104
  */
110
105
  region?: pulumi.Input<string>;
106
+ /**
107
+ * The role that should be applied. Only one
108
+ * `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
109
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
110
+ */
111
111
  role?: pulumi.Input<string>;
112
112
  }
113
113
  /**
@@ -115,16 +115,26 @@ export interface AiFeatureStoreIamBindingState {
115
115
  */
116
116
  export interface AiFeatureStoreIamBindingArgs {
117
117
  condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamBindingCondition>;
118
+ /**
119
+ * Used to find the parent resource to bind the IAM policy to
120
+ */
118
121
  featurestore: pulumi.Input<string>;
119
122
  members: pulumi.Input<pulumi.Input<string>[]>;
120
123
  /**
121
124
  * The ID of the project in which the resource belongs.
122
- * If it is not provided, the provider project is used.
125
+ * 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.
123
126
  */
124
127
  project?: pulumi.Input<string>;
125
128
  /**
126
- * The region of the dataset. eg us-central1
129
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
130
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
131
+ * region is specified, it is taken from the provider configuration.
127
132
  */
128
133
  region?: pulumi.Input<string>;
134
+ /**
135
+ * The role that should be applied. Only one
136
+ * `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
137
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
138
+ */
129
139
  role: pulumi.Input<string>;
130
140
  }
@@ -6,55 +6,29 @@ exports.AiFeatureStoreIamBinding = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * A collection of DataItems and Annotations on them.
10
- *
11
- * To get more information about Featurestore, see:
12
- *
13
- * * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
14
- * * How-to Guides
15
- * * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
16
- *
17
- * ## Example Usage
18
- * ### Vertex Ai Featurestore
19
- *
20
- * ```typescript
21
- * import * as pulumi from "@pulumi/pulumi";
22
- * import * as gcp from "@pulumi/gcp";
23
- *
24
- * const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
25
- * encryptionSpec: {
26
- * kmsKeyName: "kms-name",
27
- * },
28
- * forceDestroy: true,
29
- * labels: {
30
- * foo: "bar",
31
- * },
32
- * onlineServingConfig: {
33
- * fixedNodeCount: 2,
34
- * },
35
- * region: "us-central1",
36
- * });
37
- * ```
38
- *
39
9
  * ## Import
40
10
  *
41
- * Featurestore can be imported using any of these accepted formats
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
42
12
  *
43
13
  * ```sh
44
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
14
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
45
15
  * ```
46
16
  *
47
- * ```sh
48
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{project}}/{{region}}/{{name}}
49
- * ```
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
50
18
  *
51
19
  * ```sh
52
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{region}}/{{name}}
20
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
53
21
  * ```
54
22
  *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
55
25
  * ```sh
56
- * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding default {{name}}
26
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamBinding:AiFeatureStoreIamBinding editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
57
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`.
58
32
  */
59
33
  class AiFeatureStoreIamBinding extends pulumi.CustomResource {
60
34
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"aiFeatureStoreIamBinding.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreIamBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAyBD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAA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AC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,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,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AAjGL,4DAkGC;AApFG,gBAAgB;AACO,qCAAY,GAAG,8DAA8D,CAAC"}
@@ -2,55 +2,29 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  import * as outputs from "../types/output";
4
4
  /**
5
- * A collection of DataItems and Annotations on them.
6
- *
7
- * To get more information about Featurestore, see:
8
- *
9
- * * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
10
- * * How-to Guides
11
- * * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
12
- *
13
- * ## Example Usage
14
- * ### Vertex Ai Featurestore
15
- *
16
- * ```typescript
17
- * import * as pulumi from "@pulumi/pulumi";
18
- * import * as gcp from "@pulumi/gcp";
19
- *
20
- * const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
21
- * encryptionSpec: {
22
- * kmsKeyName: "kms-name",
23
- * },
24
- * forceDestroy: true,
25
- * labels: {
26
- * foo: "bar",
27
- * },
28
- * onlineServingConfig: {
29
- * fixedNodeCount: 2,
30
- * },
31
- * region: "us-central1",
32
- * });
33
- * ```
34
- *
35
5
  * ## Import
36
6
  *
37
- * Featurestore can be imported using any of these accepted formats
7
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
38
8
  *
39
9
  * ```sh
40
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
10
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
41
11
  * ```
42
12
  *
43
- * ```sh
44
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{project}}/{{region}}/{{name}}
45
- * ```
13
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
46
14
  *
47
15
  * ```sh
48
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{region}}/{{name}}
16
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
49
17
  * ```
50
18
  *
19
+ * IAM policy imports use the identifier of the resource in question, e.g.
20
+ *
51
21
  * ```sh
52
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{name}}
22
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
53
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`.
54
28
  */
55
29
  export declare class AiFeatureStoreIamMember extends pulumi.CustomResource {
56
30
  /**
@@ -69,18 +43,31 @@ export declare class AiFeatureStoreIamMember extends pulumi.CustomResource {
69
43
  */
70
44
  static isInstance(obj: any): obj is AiFeatureStoreIamMember;
71
45
  readonly condition: pulumi.Output<outputs.vertex.AiFeatureStoreIamMemberCondition | undefined>;
46
+ /**
47
+ * (Computed) The etag of the IAM policy.
48
+ */
72
49
  readonly etag: pulumi.Output<string>;
50
+ /**
51
+ * Used to find the parent resource to bind the IAM policy to
52
+ */
73
53
  readonly featurestore: pulumi.Output<string>;
74
54
  readonly member: pulumi.Output<string>;
75
55
  /**
76
56
  * The ID of the project in which the resource belongs.
77
- * If it is not provided, the provider project is used.
57
+ * 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.
78
58
  */
79
59
  readonly project: pulumi.Output<string>;
80
60
  /**
81
- * The region of the dataset. eg us-central1
61
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
62
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
63
+ * region is specified, it is taken from the provider configuration.
82
64
  */
83
65
  readonly region: pulumi.Output<string>;
66
+ /**
67
+ * The role that should be applied. Only one
68
+ * `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
69
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
70
+ */
84
71
  readonly role: pulumi.Output<string>;
85
72
  /**
86
73
  * Create a AiFeatureStoreIamMember resource with the given unique name, arguments, and options.
@@ -96,18 +83,31 @@ export declare class AiFeatureStoreIamMember extends pulumi.CustomResource {
96
83
  */
97
84
  export interface AiFeatureStoreIamMemberState {
98
85
  condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamMemberCondition>;
86
+ /**
87
+ * (Computed) The etag of the IAM policy.
88
+ */
99
89
  etag?: pulumi.Input<string>;
90
+ /**
91
+ * Used to find the parent resource to bind the IAM policy to
92
+ */
100
93
  featurestore?: pulumi.Input<string>;
101
94
  member?: pulumi.Input<string>;
102
95
  /**
103
96
  * The ID of the project in which the resource belongs.
104
- * If it is not provided, the provider project is used.
97
+ * 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.
105
98
  */
106
99
  project?: pulumi.Input<string>;
107
100
  /**
108
- * The region of the dataset. eg us-central1
101
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
102
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
103
+ * region is specified, it is taken from the provider configuration.
109
104
  */
110
105
  region?: pulumi.Input<string>;
106
+ /**
107
+ * The role that should be applied. Only one
108
+ * `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
109
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
110
+ */
111
111
  role?: pulumi.Input<string>;
112
112
  }
113
113
  /**
@@ -115,16 +115,26 @@ export interface AiFeatureStoreIamMemberState {
115
115
  */
116
116
  export interface AiFeatureStoreIamMemberArgs {
117
117
  condition?: pulumi.Input<inputs.vertex.AiFeatureStoreIamMemberCondition>;
118
+ /**
119
+ * Used to find the parent resource to bind the IAM policy to
120
+ */
118
121
  featurestore: pulumi.Input<string>;
119
122
  member: pulumi.Input<string>;
120
123
  /**
121
124
  * The ID of the project in which the resource belongs.
122
- * If it is not provided, the provider project is used.
125
+ * 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.
123
126
  */
124
127
  project?: pulumi.Input<string>;
125
128
  /**
126
- * The region of the dataset. eg us-central1
129
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
130
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
131
+ * region is specified, it is taken from the provider configuration.
127
132
  */
128
133
  region?: pulumi.Input<string>;
134
+ /**
135
+ * The role that should be applied. Only one
136
+ * `gcp.vertex.AiFeatureStoreIamBinding` can be used per role. Note that custom roles must be of the format
137
+ * `[projects|organizations]/{parent-name}/roles/{role-name}`.
138
+ */
129
139
  role: pulumi.Input<string>;
130
140
  }
@@ -6,55 +6,29 @@ exports.AiFeatureStoreIamMember = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * A collection of DataItems and Annotations on them.
10
- *
11
- * To get more information about Featurestore, see:
12
- *
13
- * * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
14
- * * How-to Guides
15
- * * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
16
- *
17
- * ## Example Usage
18
- * ### Vertex Ai Featurestore
19
- *
20
- * ```typescript
21
- * import * as pulumi from "@pulumi/pulumi";
22
- * import * as gcp from "@pulumi/gcp";
23
- *
24
- * const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
25
- * encryptionSpec: {
26
- * kmsKeyName: "kms-name",
27
- * },
28
- * forceDestroy: true,
29
- * labels: {
30
- * foo: "bar",
31
- * },
32
- * onlineServingConfig: {
33
- * fixedNodeCount: 2,
34
- * },
35
- * region: "us-central1",
36
- * });
37
- * ```
38
- *
39
9
  * ## Import
40
10
  *
41
- * Featurestore can be imported using any of these accepted formats
11
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
42
12
  *
43
13
  * ```sh
44
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
14
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
45
15
  * ```
46
16
  *
47
- * ```sh
48
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{project}}/{{region}}/{{name}}
49
- * ```
17
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
50
18
  *
51
19
  * ```sh
52
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{region}}/{{name}}
20
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
53
21
  * ```
54
22
  *
23
+ * IAM policy imports use the identifier of the resource in question, e.g.
24
+ *
55
25
  * ```sh
56
- * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember default {{name}}
26
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamMember:AiFeatureStoreIamMember editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
57
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`.
58
32
  */
59
33
  class AiFeatureStoreIamMember extends pulumi.CustomResource {
60
34
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"aiFeatureStoreIamMember.js","sourceRoot":"","sources":["../../vertex/aiFeatureStoreIamMember.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAA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WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,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,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAjGL,0DAkGC;AApFG,gBAAgB;AACO,oCAAY,GAAG,4DAA4D,CAAC"}
@@ -1,54 +1,28 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * A collection of DataItems and Annotations on them.
4
- *
5
- * To get more information about Featurestore, see:
6
- *
7
- * * [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.featurestores)
8
- * * How-to Guides
9
- * * [Official Documentation](https://cloud.google.com/vertex-ai/docs)
10
- *
11
- * ## Example Usage
12
- * ### Vertex Ai Featurestore
13
- *
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as gcp from "@pulumi/gcp";
17
- *
18
- * const featurestore = new gcp.vertex.AiFeatureStore("featurestore", {
19
- * encryptionSpec: {
20
- * kmsKeyName: "kms-name",
21
- * },
22
- * forceDestroy: true,
23
- * labels: {
24
- * foo: "bar",
25
- * },
26
- * onlineServingConfig: {
27
- * fixedNodeCount: 2,
28
- * },
29
- * region: "us-central1",
30
- * });
31
- * ```
32
- *
33
3
  * ## Import
34
4
  *
35
- * Featurestore can be imported using any of these accepted formats
5
+ * For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/{{region}}/featurestores/{{name}} * {{project}}/{{region}}/{{name}} * {{region}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Vertex AI featurestore 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.
36
6
  *
37
7
  * ```sh
38
- * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy default projects/{{project}}/locations/{{region}}/featurestores/{{name}}
8
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer user:jane@example.com"
39
9
  * ```
40
10
  *
41
- * ```sh
42
- * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy default {{project}}/{{region}}/{{name}}
43
- * ```
11
+ * IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
44
12
  *
45
13
  * ```sh
46
- * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy default {{region}}/{{name}}
14
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy editor "projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}} roles/viewer"
47
15
  * ```
48
16
  *
17
+ * IAM policy imports use the identifier of the resource in question, e.g.
18
+ *
49
19
  * ```sh
50
- * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy default {{name}}
20
+ * $ pulumi import gcp:vertex/aiFeatureStoreIamPolicy:AiFeatureStoreIamPolicy editor projects/{{project}}/locations/{{region}}/featurestores/{{featurestore}}
51
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`.
52
26
  */
53
27
  export declare class AiFeatureStoreIamPolicy extends pulumi.CustomResource {
54
28
  /**
@@ -66,16 +40,28 @@ export declare class AiFeatureStoreIamPolicy extends pulumi.CustomResource {
66
40
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
41
  */
68
42
  static isInstance(obj: any): obj is AiFeatureStoreIamPolicy;
43
+ /**
44
+ * (Computed) The etag of the IAM policy.
45
+ */
69
46
  readonly etag: pulumi.Output<string>;
47
+ /**
48
+ * Used to find the parent resource to bind the IAM policy to
49
+ */
70
50
  readonly featurestore: pulumi.Output<string>;
51
+ /**
52
+ * The policy data generated by
53
+ * a `gcp.organizations.getIAMPolicy` data source.
54
+ */
71
55
  readonly policyData: pulumi.Output<string>;
72
56
  /**
73
57
  * The ID of the project in which the resource belongs.
74
- * If it is not provided, the provider project is used.
58
+ * 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.
75
59
  */
76
60
  readonly project: pulumi.Output<string>;
77
61
  /**
78
- * The region of the dataset. eg us-central1
62
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
63
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
64
+ * region is specified, it is taken from the provider configuration.
79
65
  */
80
66
  readonly region: pulumi.Output<string>;
81
67
  /**
@@ -91,16 +77,28 @@ export declare class AiFeatureStoreIamPolicy extends pulumi.CustomResource {
91
77
  * Input properties used for looking up and filtering AiFeatureStoreIamPolicy resources.
92
78
  */
93
79
  export interface AiFeatureStoreIamPolicyState {
80
+ /**
81
+ * (Computed) The etag of the IAM policy.
82
+ */
94
83
  etag?: pulumi.Input<string>;
84
+ /**
85
+ * Used to find the parent resource to bind the IAM policy to
86
+ */
95
87
  featurestore?: pulumi.Input<string>;
88
+ /**
89
+ * The policy data generated by
90
+ * a `gcp.organizations.getIAMPolicy` data source.
91
+ */
96
92
  policyData?: pulumi.Input<string>;
97
93
  /**
98
94
  * The ID of the project in which the resource belongs.
99
- * If it is not provided, the provider project is used.
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.
100
96
  */
101
97
  project?: pulumi.Input<string>;
102
98
  /**
103
- * The region of the dataset. eg us-central1
99
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
100
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
101
+ * region is specified, it is taken from the provider configuration.
104
102
  */
105
103
  region?: pulumi.Input<string>;
106
104
  }
@@ -108,15 +106,24 @@ export interface AiFeatureStoreIamPolicyState {
108
106
  * The set of arguments for constructing a AiFeatureStoreIamPolicy resource.
109
107
  */
110
108
  export interface AiFeatureStoreIamPolicyArgs {
109
+ /**
110
+ * Used to find the parent resource to bind the IAM policy to
111
+ */
111
112
  featurestore: pulumi.Input<string>;
113
+ /**
114
+ * The policy data generated by
115
+ * a `gcp.organizations.getIAMPolicy` data source.
116
+ */
112
117
  policyData: pulumi.Input<string>;
113
118
  /**
114
119
  * The ID of the project in which the resource belongs.
115
- * If it is not provided, the provider project is used.
120
+ * 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.
116
121
  */
117
122
  project?: pulumi.Input<string>;
118
123
  /**
119
- * The region of the dataset. eg us-central1
124
+ * The region of the dataset. eg us-central1 Used to find the parent resource to bind the IAM policy to. If not specified,
125
+ * the value will be parsed from the identifier of the parent resource. If no region is provided in the parent identifier and no
126
+ * region is specified, it is taken from the provider configuration.
120
127
  */
121
128
  region?: pulumi.Input<string>;
122
129
  }