@pulumi/gcp 9.18.0 → 9.19.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.
- package/biglake/getIcebergTableIamPolicy.d.ts +28 -0
- package/biglake/getIcebergTableIamPolicy.js +28 -0
- package/biglake/getIcebergTableIamPolicy.js.map +1 -1
- package/biglake/icebergTable.d.ts +7 -7
- package/biglake/icebergTable.js +7 -7
- package/biglake/icebergTableIamBinding.d.ts +124 -0
- package/biglake/icebergTableIamBinding.js +124 -0
- package/biglake/icebergTableIamBinding.js.map +1 -1
- package/biglake/icebergTableIamMember.d.ts +124 -0
- package/biglake/icebergTableIamMember.js +124 -0
- package/biglake/icebergTableIamMember.js.map +1 -1
- package/biglake/icebergTableIamPolicy.d.ts +124 -0
- package/biglake/icebergTableIamPolicy.js +124 -0
- package/biglake/icebergTableIamPolicy.js.map +1 -1
- package/bigquery/connection.d.ts +1 -1
- package/bigquery/connection.js +1 -1
- package/bigquery/routine.d.ts +1 -1
- package/bigquery/routine.js +1 -1
- package/billing/projectInfo.d.ts +2 -2
- package/billing/projectInfo.js +2 -2
- package/chronicle/dashboardChart.d.ts +348 -0
- package/chronicle/dashboardChart.js +272 -0
- package/chronicle/dashboardChart.js.map +1 -0
- package/chronicle/dataTable.d.ts +0 -5
- package/chronicle/dataTable.js +0 -5
- package/chronicle/dataTable.js.map +1 -1
- package/chronicle/feed.d.ts +372 -0
- package/chronicle/feed.js +230 -0
- package/chronicle/feed.js.map +1 -0
- package/chronicle/index.d.ts +6 -0
- package/chronicle/index.js +11 -1
- package/chronicle/index.js.map +1 -1
- package/cloudrunv2/service.d.ts +31 -1
- package/cloudrunv2/service.js +31 -1
- package/cloudrunv2/service.js.map +1 -1
- package/compute/organizationSecurityPolicyAssociation.d.ts +24 -0
- package/compute/organizationSecurityPolicyAssociation.js +4 -0
- package/compute/organizationSecurityPolicyAssociation.js.map +1 -1
- package/compute/organizationSecurityPolicyRule.d.ts +2 -2
- package/compute/organizationSecurityPolicyRule.js +2 -2
- package/compute/rolloutPlan.d.ts +1 -1
- package/compute/rolloutPlan.js +1 -1
- package/compute/router.d.ts +1 -1
- package/compute/router.js +1 -1
- package/compute/targetInstance.d.ts +2 -2
- package/compute/targetInstance.js +2 -2
- package/compute/urlmap.d.ts +190 -0
- package/compute/urlmap.js +190 -0
- package/compute/urlmap.js.map +1 -1
- package/container/cluster.d.ts +27 -0
- package/container/cluster.js +2 -0
- package/container/cluster.js.map +1 -1
- package/container/getCluster.d.ts +1 -0
- package/container/getCluster.js.map +1 -1
- package/databasemigrationservice/connectionProfile.d.ts +3 -3
- package/databasemigrationservice/connectionProfile.js +3 -3
- package/dataform/folder.d.ts +1 -1
- package/dataform/folder.js +1 -1
- package/dataform/teamFolder.d.ts +1 -1
- package/dataform/teamFolder.js +1 -1
- package/dataplex/dataAsset.d.ts +5 -5
- package/dataplex/dataAsset.js +5 -5
- package/dataplex/dataProduct.d.ts +3 -3
- package/dataplex/dataProduct.js +3 -3
- package/dataplex/dataProductDataAsset.d.ts +5 -5
- package/dataplex/dataProductDataAsset.js +5 -5
- package/dataplex/datascan.d.ts +9 -9
- package/dataplex/datascan.js +9 -9
- package/dataplex/entryLink.d.ts +26 -12
- package/dataplex/entryLink.js +13 -12
- package/dataplex/entryLink.js.map +1 -1
- package/dataplex/entryType.d.ts +1 -1
- package/dataplex/entryType.js +1 -1
- package/dataplex/glossaryCategory.d.ts +4 -4
- package/dataplex/glossaryCategory.js +4 -4
- package/dataplex/glossaryTerm.d.ts +4 -4
- package/dataplex/glossaryTerm.js +4 -4
- package/dataplex/task.d.ts +8 -8
- package/dataplex/task.js +8 -8
- package/dataproc/batch.d.ts +6 -5
- package/dataproc/batch.js +6 -5
- package/dataproc/batch.js.map +1 -1
- package/dataproc/metastoreService.d.ts +2 -2
- package/dataproc/metastoreService.js +2 -2
- package/datastream/stream.d.ts +2 -2
- package/datastream/stream.js +2 -2
- package/developerconnect/insightsConfig.d.ts +5 -5
- package/developerconnect/insightsConfig.js +5 -5
- package/diagflow/conversationProfile.d.ts +2 -2
- package/diagflow/conversationProfile.js +2 -2
- package/discoveryengine/getDataStore.d.ts +128 -0
- package/discoveryengine/getDataStore.js +88 -0
- package/discoveryengine/getDataStore.js.map +1 -0
- package/discoveryengine/getDataStores.d.ts +77 -0
- package/discoveryengine/getDataStores.js +58 -0
- package/discoveryengine/getDataStores.js.map +1 -0
- package/discoveryengine/index.d.ts +6 -0
- package/discoveryengine/index.js +7 -1
- package/discoveryengine/index.js.map +1 -1
- package/dns/getRecordSets.d.ts +119 -0
- package/dns/getRecordSets.js +78 -0
- package/dns/getRecordSets.js.map +1 -0
- package/dns/index.d.ts +3 -0
- package/dns/index.js +4 -1
- package/dns/index.js.map +1 -1
- package/iam/getWorkloadIdentityPool.d.ts +1 -0
- package/iam/getWorkloadIdentityPool.js.map +1 -1
- package/iam/workloadIdentityPool.d.ts +24 -0
- package/iam/workloadIdentityPool.js +5 -0
- package/iam/workloadIdentityPool.js.map +1 -1
- package/iam/workloadIdentityPoolManagedIdentity.d.ts +0 -3
- package/iam/workloadIdentityPoolManagedIdentity.js +0 -3
- package/iam/workloadIdentityPoolManagedIdentity.js.map +1 -1
- package/iam/workloadIdentityPoolNamespace.d.ts +0 -3
- package/iam/workloadIdentityPoolNamespace.js +0 -3
- package/iam/workloadIdentityPoolNamespace.js.map +1 -1
- package/lustre/getInstance.d.ts +3 -0
- package/lustre/getInstance.js.map +1 -1
- package/lustre/instance.d.ts +119 -27
- package/lustre/instance.js +6 -3
- package/lustre/instance.js.map +1 -1
- package/migrationcenter/preferenceSet.d.ts +26 -0
- package/migrationcenter/preferenceSet.js +26 -0
- package/migrationcenter/preferenceSet.js.map +1 -1
- package/modelarmor/template.d.ts +104 -2
- package/modelarmor/template.js +104 -2
- package/modelarmor/template.js.map +1 -1
- package/networkconnectivity/index.d.ts +3 -0
- package/networkconnectivity/index.js +6 -1
- package/networkconnectivity/index.js.map +1 -1
- package/networkconnectivity/transport.d.ts +368 -0
- package/networkconnectivity/transport.js +159 -0
- package/networkconnectivity/transport.js.map +1 -0
- package/observability/folderSettings.d.ts +2 -2
- package/observability/folderSettings.js +2 -2
- package/observability/projectSettings.d.ts +2 -2
- package/observability/projectSettings.js +2 -2
- package/observability/traceScope.d.ts +2 -2
- package/observability/traceScope.js +2 -2
- package/organizations/index.d.ts +3 -0
- package/organizations/index.js +6 -1
- package/organizations/index.js.map +1 -1
- package/organizations/serviceIdentity.d.ts +122 -0
- package/organizations/serviceIdentity.js +101 -0
- package/organizations/serviceIdentity.js.map +1 -0
- package/orgpolicy/policy.d.ts +1 -1
- package/orgpolicy/policy.js +1 -1
- package/package.json +2 -2
- package/pubsub/subscription.d.ts +42 -4
- package/pubsub/subscription.js +42 -4
- package/pubsub/subscription.js.map +1 -1
- package/pubsub/topic.d.ts +36 -0
- package/pubsub/topic.js +36 -0
- package/pubsub/topic.js.map +1 -1
- package/spanner/database.d.ts +1 -0
- package/spanner/database.js +1 -0
- package/spanner/database.js.map +1 -1
- package/types/input.d.ts +5577 -123
- package/types/output.d.ts +5978 -156
- package/vertex/aiEndpoint.d.ts +3 -3
- package/vertex/aiEndpoint.js +3 -3
- package/vertex/aiFeatureOnlineStoreFeatureview.d.ts +2 -2
- package/vertex/aiFeatureOnlineStoreFeatureview.js +2 -2
- package/vertex/aiReasoningEngine.d.ts +77 -0
- package/vertex/aiReasoningEngine.js +61 -0
- package/vertex/aiReasoningEngine.js.map +1 -1
|
@@ -21,8 +21,8 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* import * as time from "@pulumiverse/time";
|
|
22
22
|
*
|
|
23
23
|
* const project = new gcp.organizations.Project("project", {
|
|
24
|
-
* projectId: "tf-
|
|
25
|
-
* name: "tf-
|
|
24
|
+
* projectId: "tf-test_29225",
|
|
25
|
+
* name: "tf-test_40798",
|
|
26
26
|
* orgId: "123456789",
|
|
27
27
|
* deletionPolicy: "DELETE",
|
|
28
28
|
* });
|
|
@@ -12,8 +12,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
12
|
*
|
|
13
13
|
* const project = gcp.organizations.getProject({});
|
|
14
14
|
* const project_2 = new gcp.organizations.Project("project-2", {
|
|
15
|
-
* projectId: "tf-
|
|
16
|
-
* name: "tf-
|
|
15
|
+
* projectId: "tf-test_82591",
|
|
16
|
+
* name: "tf-test_24243",
|
|
17
17
|
* orgId: "123456789",
|
|
18
18
|
* deletionPolicy: "DELETE",
|
|
19
19
|
* });
|
|
@@ -18,8 +18,8 @@ const utilities = require("../utilities");
|
|
|
18
18
|
*
|
|
19
19
|
* const project = gcp.organizations.getProject({});
|
|
20
20
|
* const project_2 = new gcp.organizations.Project("project-2", {
|
|
21
|
-
* projectId: "tf-
|
|
22
|
-
* name: "tf-
|
|
21
|
+
* projectId: "tf-test_82591",
|
|
22
|
+
* name: "tf-test_24243",
|
|
23
23
|
* orgId: "123456789",
|
|
24
24
|
* deletionPolicy: "DELETE",
|
|
25
25
|
* });
|
package/organizations/index.d.ts
CHANGED
|
@@ -61,3 +61,6 @@ export declare const Policy: typeof import("./policy").Policy;
|
|
|
61
61
|
export { ProjectArgs, ProjectState } from "./project";
|
|
62
62
|
export type Project = import("./project").Project;
|
|
63
63
|
export declare const Project: typeof import("./project").Project;
|
|
64
|
+
export { ServiceIdentityArgs, ServiceIdentityState } from "./serviceIdentity";
|
|
65
|
+
export type ServiceIdentity = import("./serviceIdentity").ServiceIdentity;
|
|
66
|
+
export declare const ServiceIdentity: typeof import("./serviceIdentity").ServiceIdentity;
|
package/organizations/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Project = exports.Policy = exports.IAMPolicy = exports.IAMMember = exports.IAMCustomRole = exports.IAMBinding = exports.IamAuditConfig = exports.getSOutput = exports.getS = exports.getProjectOutput = exports.getProject = exports.getOrganizationOutput = exports.getOrganization = exports.getIamCustomRolesOutput = exports.getIamCustomRoles = exports.getIamCustomRoleOutput = exports.getIamCustomRole = exports.getIAMPolicyOutput = exports.getIAMPolicy = exports.getFoldersOutput = exports.getFolders = exports.getFolderOutput = exports.getFolder = exports.getClientOpenIdUserInfoOutput = exports.getClientOpenIdUserInfo = exports.getClientConfigOutput = exports.getClientConfig = exports.getBillingAccountOutput = exports.getBillingAccount = exports.getActiveFolderOutput = exports.getActiveFolder = exports.Folder = exports.AccessApprovalSettings = void 0;
|
|
5
|
+
exports.ServiceIdentity = exports.Project = exports.Policy = exports.IAMPolicy = exports.IAMMember = exports.IAMCustomRole = exports.IAMBinding = exports.IamAuditConfig = exports.getSOutput = exports.getS = exports.getProjectOutput = exports.getProject = exports.getOrganizationOutput = exports.getOrganization = exports.getIamCustomRolesOutput = exports.getIamCustomRoles = exports.getIamCustomRoleOutput = exports.getIamCustomRole = exports.getIAMPolicyOutput = exports.getIAMPolicy = exports.getFoldersOutput = exports.getFolders = exports.getFolderOutput = exports.getFolder = exports.getClientOpenIdUserInfoOutput = exports.getClientOpenIdUserInfo = exports.getClientConfigOutput = exports.getClientConfig = exports.getBillingAccountOutput = exports.getBillingAccount = exports.getActiveFolderOutput = exports.getActiveFolder = exports.Folder = exports.AccessApprovalSettings = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.AccessApprovalSettings = null;
|
|
@@ -59,6 +59,8 @@ exports.Policy = null;
|
|
|
59
59
|
utilities.lazyLoad(exports, ["Policy"], () => require("./policy"));
|
|
60
60
|
exports.Project = null;
|
|
61
61
|
utilities.lazyLoad(exports, ["Project"], () => require("./project"));
|
|
62
|
+
exports.ServiceIdentity = null;
|
|
63
|
+
utilities.lazyLoad(exports, ["ServiceIdentity"], () => require("./serviceIdentity"));
|
|
62
64
|
const _module = {
|
|
63
65
|
version: utilities.getVersion(),
|
|
64
66
|
construct: (name, type, urn) => {
|
|
@@ -81,6 +83,8 @@ const _module = {
|
|
|
81
83
|
return new exports.Policy(name, undefined, { urn });
|
|
82
84
|
case "gcp:organizations/project:Project":
|
|
83
85
|
return new exports.Project(name, undefined, { urn });
|
|
86
|
+
case "gcp:organizations/serviceIdentity:ServiceIdentity":
|
|
87
|
+
return new exports.ServiceIdentity(name, undefined, { urn });
|
|
84
88
|
default:
|
|
85
89
|
throw new Error(`unknown resource type ${type}`);
|
|
86
90
|
}
|
|
@@ -95,4 +99,5 @@ pulumi.runtime.registerResourceModule("gcp", "organizations/iAMPolicy", _module)
|
|
|
95
99
|
pulumi.runtime.registerResourceModule("gcp", "organizations/iamAuditConfig", _module);
|
|
96
100
|
pulumi.runtime.registerResourceModule("gcp", "organizations/policy", _module);
|
|
97
101
|
pulumi.runtime.registerResourceModule("gcp", "organizations/project", _module);
|
|
102
|
+
pulumi.runtime.registerResourceModule("gcp", "organizations/serviceIdentity", _module);
|
|
98
103
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../organizations/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,sBAAsB,GAAqE,IAAW,CAAC;AACpH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,wBAAwB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAItF,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGtD,QAAA,eAAe,GAAuD,IAAW,CAAC;AAClF,QAAA,qBAAqB,GAA6D,IAAW,CAAC;AAC3G,SAAS,CAAC,Q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AAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,+BAA+B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Generate organization service identity for a service.
|
|
4
|
+
*
|
|
5
|
+
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
|
|
6
|
+
* See Provider Versions for more details on beta resources.
|
|
7
|
+
*
|
|
8
|
+
* > **Note:** Once created, this resource cannot be updated or destroyed. These
|
|
9
|
+
* actions are a no-op.
|
|
10
|
+
*
|
|
11
|
+
* > **Note:** This resource can be used to retrieve the emails of the [Google-managed organization service accounts](https://cloud.google.com/iam/docs/service-agents)
|
|
12
|
+
* of the APIs that Google has configured with a Service Identity. You can run `gcloud beta services identity create --service SERVICE_NAME.googleapis.com --organization ORGANIZATION` to
|
|
13
|
+
* verify if an API supports this.
|
|
14
|
+
*
|
|
15
|
+
* To get more information about Service Identity, see:
|
|
16
|
+
*
|
|
17
|
+
* * [API documentation](https://cloud.google.com/service-usage/docs/reference/rest/v1beta1/services/generateServiceIdentity)
|
|
18
|
+
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ### Organization Service Identity Basic
|
|
22
|
+
*
|
|
23
|
+
* ```typescript
|
|
24
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
25
|
+
* import * as gcp from "@pulumi/gcp";
|
|
26
|
+
*
|
|
27
|
+
* const osconfigSa = new gcp.organizations.ServiceIdentity("osconfig_sa", {
|
|
28
|
+
* organization: "123456789",
|
|
29
|
+
* service: "osconfig.googleapis.com",
|
|
30
|
+
* });
|
|
31
|
+
* const admin = new gcp.organizations.IAMMember("admin", {
|
|
32
|
+
* orgId: "123456789",
|
|
33
|
+
* role: "roles/osconfig.serviceAgent",
|
|
34
|
+
* member: osconfigSa.member,
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* ## Import
|
|
39
|
+
*
|
|
40
|
+
* This resource does not support import.
|
|
41
|
+
*/
|
|
42
|
+
export declare class ServiceIdentity extends pulumi.CustomResource {
|
|
43
|
+
/**
|
|
44
|
+
* Get an existing ServiceIdentity resource's state with the given name, ID, and optional extra
|
|
45
|
+
* properties used to qualify the lookup.
|
|
46
|
+
*
|
|
47
|
+
* @param name The _unique_ name of the resulting resource.
|
|
48
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
49
|
+
* @param state Any extra arguments used during the lookup.
|
|
50
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
|
+
*/
|
|
52
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceIdentityState, opts?: pulumi.CustomResourceOptions): ServiceIdentity;
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of ServiceIdentity. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj: any): obj is ServiceIdentity;
|
|
58
|
+
/**
|
|
59
|
+
* The email address of the Google managed service account.
|
|
60
|
+
*/
|
|
61
|
+
readonly email: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
|
|
64
|
+
*/
|
|
65
|
+
readonly member: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The organization in which the resource belongs.
|
|
68
|
+
*/
|
|
69
|
+
readonly organization: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The service to generate identity for.
|
|
72
|
+
*
|
|
73
|
+
* - - -
|
|
74
|
+
*/
|
|
75
|
+
readonly service: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Create a ServiceIdentity resource with the given unique name, arguments, and options.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resource.
|
|
80
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
81
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
82
|
+
*/
|
|
83
|
+
constructor(name: string, args: ServiceIdentityArgs, opts?: pulumi.CustomResourceOptions);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Input properties used for looking up and filtering ServiceIdentity resources.
|
|
87
|
+
*/
|
|
88
|
+
export interface ServiceIdentityState {
|
|
89
|
+
/**
|
|
90
|
+
* The email address of the Google managed service account.
|
|
91
|
+
*/
|
|
92
|
+
email?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The Identity of the Google managed service account in the form 'serviceAccount:{email}'. This value is often used to refer to the service account in order to grant IAM permissions.
|
|
95
|
+
*/
|
|
96
|
+
member?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* The organization in which the resource belongs.
|
|
99
|
+
*/
|
|
100
|
+
organization?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* The service to generate identity for.
|
|
103
|
+
*
|
|
104
|
+
* - - -
|
|
105
|
+
*/
|
|
106
|
+
service?: pulumi.Input<string>;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The set of arguments for constructing a ServiceIdentity resource.
|
|
110
|
+
*/
|
|
111
|
+
export interface ServiceIdentityArgs {
|
|
112
|
+
/**
|
|
113
|
+
* The organization in which the resource belongs.
|
|
114
|
+
*/
|
|
115
|
+
organization: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The service to generate identity for.
|
|
118
|
+
*
|
|
119
|
+
* - - -
|
|
120
|
+
*/
|
|
121
|
+
service: pulumi.Input<string>;
|
|
122
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ServiceIdentity = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Generate organization service identity for a service.
|
|
10
|
+
*
|
|
11
|
+
* > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
|
|
12
|
+
* See Provider Versions for more details on beta resources.
|
|
13
|
+
*
|
|
14
|
+
* > **Note:** Once created, this resource cannot be updated or destroyed. These
|
|
15
|
+
* actions are a no-op.
|
|
16
|
+
*
|
|
17
|
+
* > **Note:** This resource can be used to retrieve the emails of the [Google-managed organization service accounts](https://cloud.google.com/iam/docs/service-agents)
|
|
18
|
+
* of the APIs that Google has configured with a Service Identity. You can run `gcloud beta services identity create --service SERVICE_NAME.googleapis.com --organization ORGANIZATION` to
|
|
19
|
+
* verify if an API supports this.
|
|
20
|
+
*
|
|
21
|
+
* To get more information about Service Identity, see:
|
|
22
|
+
*
|
|
23
|
+
* * [API documentation](https://cloud.google.com/service-usage/docs/reference/rest/v1beta1/services/generateServiceIdentity)
|
|
24
|
+
*
|
|
25
|
+
* ## Example Usage
|
|
26
|
+
*
|
|
27
|
+
* ### Organization Service Identity Basic
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
31
|
+
* import * as gcp from "@pulumi/gcp";
|
|
32
|
+
*
|
|
33
|
+
* const osconfigSa = new gcp.organizations.ServiceIdentity("osconfig_sa", {
|
|
34
|
+
* organization: "123456789",
|
|
35
|
+
* service: "osconfig.googleapis.com",
|
|
36
|
+
* });
|
|
37
|
+
* const admin = new gcp.organizations.IAMMember("admin", {
|
|
38
|
+
* orgId: "123456789",
|
|
39
|
+
* role: "roles/osconfig.serviceAgent",
|
|
40
|
+
* member: osconfigSa.member,
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* This resource does not support import.
|
|
47
|
+
*/
|
|
48
|
+
class ServiceIdentity extends pulumi.CustomResource {
|
|
49
|
+
/**
|
|
50
|
+
* Get an existing ServiceIdentity resource's state with the given name, ID, and optional extra
|
|
51
|
+
* properties used to qualify the lookup.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resulting resource.
|
|
54
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
55
|
+
* @param state Any extra arguments used during the lookup.
|
|
56
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
57
|
+
*/
|
|
58
|
+
static get(name, id, state, opts) {
|
|
59
|
+
return new ServiceIdentity(name, state, { ...opts, id: id });
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns true if the given object is an instance of ServiceIdentity. This is designed to work even
|
|
63
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
|
+
*/
|
|
65
|
+
static isInstance(obj) {
|
|
66
|
+
if (obj === undefined || obj === null) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
return obj['__pulumiType'] === ServiceIdentity.__pulumiType;
|
|
70
|
+
}
|
|
71
|
+
constructor(name, argsOrState, opts) {
|
|
72
|
+
let resourceInputs = {};
|
|
73
|
+
opts = opts || {};
|
|
74
|
+
if (opts.id) {
|
|
75
|
+
const state = argsOrState;
|
|
76
|
+
resourceInputs["email"] = state?.email;
|
|
77
|
+
resourceInputs["member"] = state?.member;
|
|
78
|
+
resourceInputs["organization"] = state?.organization;
|
|
79
|
+
resourceInputs["service"] = state?.service;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'organization'");
|
|
85
|
+
}
|
|
86
|
+
if (args?.service === undefined && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'service'");
|
|
88
|
+
}
|
|
89
|
+
resourceInputs["organization"] = args?.organization;
|
|
90
|
+
resourceInputs["service"] = args?.service;
|
|
91
|
+
resourceInputs["email"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["member"] = undefined /*out*/;
|
|
93
|
+
}
|
|
94
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
|
+
super(ServiceIdentity.__pulumiType, name, resourceInputs, opts);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ServiceIdentity = ServiceIdentity;
|
|
99
|
+
/** @internal */
|
|
100
|
+
ServiceIdentity.__pulumiType = 'gcp:organizations/serviceIdentity:ServiceIdentity';
|
|
101
|
+
//# sourceMappingURL=serviceIdentity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceIdentity.js","sourceRoot":"","sources":["../../organizations/serviceIdentity.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAKD;;;OAGG;I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AG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA/EL,0CAgFC;AAlEG,gBAAgB;AACO,4BAAY,GAAG,mDAAmD,CAAC"}
|
package/orgpolicy/policy.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ import * as outputs from "../types/output";
|
|
|
114
114
|
* import * as gcp from "@pulumi/gcp";
|
|
115
115
|
*
|
|
116
116
|
* const constraint = new gcp.orgpolicy.CustomConstraint("constraint", {
|
|
117
|
-
* name: "custom.
|
|
117
|
+
* name: "custom.disableGkeAutoUpgrade_7495",
|
|
118
118
|
* parent: "organizations/123456789",
|
|
119
119
|
* displayName: "Disable GKE auto upgrade",
|
|
120
120
|
* description: "Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
package/orgpolicy/policy.js
CHANGED
|
@@ -118,7 +118,7 @@ const utilities = require("../utilities");
|
|
|
118
118
|
* import * as gcp from "@pulumi/gcp";
|
|
119
119
|
*
|
|
120
120
|
* const constraint = new gcp.orgpolicy.CustomConstraint("constraint", {
|
|
121
|
-
* name: "custom.
|
|
121
|
+
* name: "custom.disableGkeAutoUpgrade_7495",
|
|
122
122
|
* parent: "organizations/123456789",
|
|
123
123
|
* displayName: "Disable GKE auto upgrade",
|
|
124
124
|
* description: "Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/gcp",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.19.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Google Cloud Platform resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
"pulumi": {
|
|
28
28
|
"resource": true,
|
|
29
29
|
"name": "gcp",
|
|
30
|
-
"version": "9.
|
|
30
|
+
"version": "9.19.0"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/pubsub/subscription.d.ts
CHANGED
|
@@ -238,7 +238,7 @@ import * as outputs from "../types/output";
|
|
|
238
238
|
* cloudStorageConfig: {
|
|
239
239
|
* bucket: example.name,
|
|
240
240
|
* filenamePrefix: "pre-",
|
|
241
|
-
* filenameSuffix: "-
|
|
241
|
+
* filenameSuffix: "-_21912",
|
|
242
242
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
243
243
|
* maxBytes: 1000,
|
|
244
244
|
* maxDuration: "300s",
|
|
@@ -275,7 +275,7 @@ import * as outputs from "../types/output";
|
|
|
275
275
|
* cloudStorageConfig: {
|
|
276
276
|
* bucket: example.name,
|
|
277
277
|
* filenamePrefix: "pre-",
|
|
278
|
-
* filenameSuffix: "-
|
|
278
|
+
* filenameSuffix: "-_46731",
|
|
279
279
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
280
280
|
* maxBytes: 1000,
|
|
281
281
|
* maxDuration: "300s",
|
|
@@ -313,7 +313,7 @@ import * as outputs from "../types/output";
|
|
|
313
313
|
* cloudStorageConfig: {
|
|
314
314
|
* bucket: example.name,
|
|
315
315
|
* filenamePrefix: "pre-",
|
|
316
|
-
* filenameSuffix: "-
|
|
316
|
+
* filenameSuffix: "-_26240",
|
|
317
317
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
318
318
|
* maxBytes: 1000,
|
|
319
319
|
* maxDuration: "300s",
|
|
@@ -357,7 +357,7 @@ import * as outputs from "../types/output";
|
|
|
357
357
|
* cloudStorageConfig: {
|
|
358
358
|
* bucket: example.name,
|
|
359
359
|
* filenamePrefix: "pre-",
|
|
360
|
-
* filenameSuffix: "-
|
|
360
|
+
* filenameSuffix: "-_35711",
|
|
361
361
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
362
362
|
* maxBytes: 1000,
|
|
363
363
|
* maxDuration: "300s",
|
|
@@ -462,6 +462,44 @@ import * as outputs from "../types/output";
|
|
|
462
462
|
* }),
|
|
463
463
|
* });
|
|
464
464
|
* ```
|
|
465
|
+
* ### Pubsub Subscription Ai Inference
|
|
466
|
+
*
|
|
467
|
+
* ```typescript
|
|
468
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
469
|
+
* import * as gcp from "@pulumi/gcp";
|
|
470
|
+
* import * as time from "@pulumiverse/time";
|
|
471
|
+
*
|
|
472
|
+
* const example = new gcp.pubsub.Topic("example", {name: "example-topic"});
|
|
473
|
+
* const geminiQueryServiceAccount = new gcp.serviceaccount.Account("gemini_query_service_account", {
|
|
474
|
+
* accountId: "example-sa",
|
|
475
|
+
* displayName: "Gemini Query Service Account",
|
|
476
|
+
* });
|
|
477
|
+
* const geminiInferenceGet = new gcp.projects.IAMMember("gemini_inference_get", {
|
|
478
|
+
* project: "my-project-name",
|
|
479
|
+
* role: "roles/aiplatform.user",
|
|
480
|
+
* member: pulumi.interpolate`serviceAccount:${geminiQueryServiceAccount.email}`,
|
|
481
|
+
* });
|
|
482
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
483
|
+
* dependsOn: [geminiInferenceGet],
|
|
484
|
+
* });
|
|
485
|
+
* const exampleSubscription = new gcp.pubsub.Subscription("example", {
|
|
486
|
+
* name: "example-subscription",
|
|
487
|
+
* topic: example.id,
|
|
488
|
+
* messageTransforms: [{
|
|
489
|
+
* aiInference: {
|
|
490
|
+
* endpoint: "projects/my-project-name/locations/us-central1/publishers/google/models/gemini-2.5-flash",
|
|
491
|
+
* unstructuredInference: {
|
|
492
|
+
* parameters: {
|
|
493
|
+
* max_tokens: "25000",
|
|
494
|
+
* },
|
|
495
|
+
* },
|
|
496
|
+
* serviceAccountEmail: geminiQueryServiceAccount.email,
|
|
497
|
+
* },
|
|
498
|
+
* }],
|
|
499
|
+
* }, {
|
|
500
|
+
* dependsOn: [wait120Seconds],
|
|
501
|
+
* });
|
|
502
|
+
* ```
|
|
465
503
|
*
|
|
466
504
|
* ## Import
|
|
467
505
|
*
|
package/pubsub/subscription.js
CHANGED
|
@@ -242,7 +242,7 @@ const utilities = require("../utilities");
|
|
|
242
242
|
* cloudStorageConfig: {
|
|
243
243
|
* bucket: example.name,
|
|
244
244
|
* filenamePrefix: "pre-",
|
|
245
|
-
* filenameSuffix: "-
|
|
245
|
+
* filenameSuffix: "-_21912",
|
|
246
246
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
247
247
|
* maxBytes: 1000,
|
|
248
248
|
* maxDuration: "300s",
|
|
@@ -279,7 +279,7 @@ const utilities = require("../utilities");
|
|
|
279
279
|
* cloudStorageConfig: {
|
|
280
280
|
* bucket: example.name,
|
|
281
281
|
* filenamePrefix: "pre-",
|
|
282
|
-
* filenameSuffix: "-
|
|
282
|
+
* filenameSuffix: "-_46731",
|
|
283
283
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
284
284
|
* maxBytes: 1000,
|
|
285
285
|
* maxDuration: "300s",
|
|
@@ -317,7 +317,7 @@ const utilities = require("../utilities");
|
|
|
317
317
|
* cloudStorageConfig: {
|
|
318
318
|
* bucket: example.name,
|
|
319
319
|
* filenamePrefix: "pre-",
|
|
320
|
-
* filenameSuffix: "-
|
|
320
|
+
* filenameSuffix: "-_26240",
|
|
321
321
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
322
322
|
* maxBytes: 1000,
|
|
323
323
|
* maxDuration: "300s",
|
|
@@ -361,7 +361,7 @@ const utilities = require("../utilities");
|
|
|
361
361
|
* cloudStorageConfig: {
|
|
362
362
|
* bucket: example.name,
|
|
363
363
|
* filenamePrefix: "pre-",
|
|
364
|
-
* filenameSuffix: "-
|
|
364
|
+
* filenameSuffix: "-_35711",
|
|
365
365
|
* filenameDatetimeFormat: "YYYY-MM-DD/hh_mm_ssZ",
|
|
366
366
|
* maxBytes: 1000,
|
|
367
367
|
* maxDuration: "300s",
|
|
@@ -466,6 +466,44 @@ const utilities = require("../utilities");
|
|
|
466
466
|
* }),
|
|
467
467
|
* });
|
|
468
468
|
* ```
|
|
469
|
+
* ### Pubsub Subscription Ai Inference
|
|
470
|
+
*
|
|
471
|
+
* ```typescript
|
|
472
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
473
|
+
* import * as gcp from "@pulumi/gcp";
|
|
474
|
+
* import * as time from "@pulumiverse/time";
|
|
475
|
+
*
|
|
476
|
+
* const example = new gcp.pubsub.Topic("example", {name: "example-topic"});
|
|
477
|
+
* const geminiQueryServiceAccount = new gcp.serviceaccount.Account("gemini_query_service_account", {
|
|
478
|
+
* accountId: "example-sa",
|
|
479
|
+
* displayName: "Gemini Query Service Account",
|
|
480
|
+
* });
|
|
481
|
+
* const geminiInferenceGet = new gcp.projects.IAMMember("gemini_inference_get", {
|
|
482
|
+
* project: "my-project-name",
|
|
483
|
+
* role: "roles/aiplatform.user",
|
|
484
|
+
* member: pulumi.interpolate`serviceAccount:${geminiQueryServiceAccount.email}`,
|
|
485
|
+
* });
|
|
486
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
487
|
+
* dependsOn: [geminiInferenceGet],
|
|
488
|
+
* });
|
|
489
|
+
* const exampleSubscription = new gcp.pubsub.Subscription("example", {
|
|
490
|
+
* name: "example-subscription",
|
|
491
|
+
* topic: example.id,
|
|
492
|
+
* messageTransforms: [{
|
|
493
|
+
* aiInference: {
|
|
494
|
+
* endpoint: "projects/my-project-name/locations/us-central1/publishers/google/models/gemini-2.5-flash",
|
|
495
|
+
* unstructuredInference: {
|
|
496
|
+
* parameters: {
|
|
497
|
+
* max_tokens: "25000",
|
|
498
|
+
* },
|
|
499
|
+
* },
|
|
500
|
+
* serviceAccountEmail: geminiQueryServiceAccount.email,
|
|
501
|
+
* },
|
|
502
|
+
* }],
|
|
503
|
+
* }, {
|
|
504
|
+
* dependsOn: [wait120Seconds],
|
|
505
|
+
* });
|
|
506
|
+
* ```
|
|
469
507
|
*
|
|
470
508
|
* ## Import
|
|
471
509
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../pubsub/subscription.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../../pubsub/subscription.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmgBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,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AAC"}
|
package/pubsub/topic.d.ts
CHANGED
|
@@ -280,6 +280,42 @@ import * as outputs from "../types/output";
|
|
|
280
280
|
* tagValue: tagValue.id,
|
|
281
281
|
* });
|
|
282
282
|
* ```
|
|
283
|
+
* ### Pubsub Topic Ai Inference
|
|
284
|
+
*
|
|
285
|
+
* ```typescript
|
|
286
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
287
|
+
* import * as gcp from "@pulumi/gcp";
|
|
288
|
+
* import * as time from "@pulumiverse/time";
|
|
289
|
+
*
|
|
290
|
+
* const geminiQueryServiceAccount = new gcp.serviceaccount.Account("gemini_query_service_account", {
|
|
291
|
+
* accountId: "example-sa",
|
|
292
|
+
* displayName: "Gemini Query Service Account",
|
|
293
|
+
* });
|
|
294
|
+
* const geminiInferenceGet = new gcp.projects.IAMMember("gemini_inference_get", {
|
|
295
|
+
* project: "my-project-name",
|
|
296
|
+
* role: "roles/aiplatform.user",
|
|
297
|
+
* member: pulumi.interpolate`serviceAccount:${geminiQueryServiceAccount.email}`,
|
|
298
|
+
* });
|
|
299
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
300
|
+
* dependsOn: [geminiInferenceGet],
|
|
301
|
+
* });
|
|
302
|
+
* const example = new gcp.pubsub.Topic("example", {
|
|
303
|
+
* name: "example-topic",
|
|
304
|
+
* messageTransforms: [{
|
|
305
|
+
* aiInference: {
|
|
306
|
+
* endpoint: "projects/my-project-name/locations/us-central1/publishers/google/models/gemini-2.5-flash",
|
|
307
|
+
* unstructuredInference: {
|
|
308
|
+
* parameters: {
|
|
309
|
+
* max_tokens: "25000",
|
|
310
|
+
* },
|
|
311
|
+
* },
|
|
312
|
+
* serviceAccountEmail: geminiQueryServiceAccount.email,
|
|
313
|
+
* },
|
|
314
|
+
* }],
|
|
315
|
+
* }, {
|
|
316
|
+
* dependsOn: [wait120Seconds],
|
|
317
|
+
* });
|
|
318
|
+
* ```
|
|
283
319
|
*
|
|
284
320
|
* ## Import
|
|
285
321
|
*
|
package/pubsub/topic.js
CHANGED
|
@@ -284,6 +284,42 @@ const utilities = require("../utilities");
|
|
|
284
284
|
* tagValue: tagValue.id,
|
|
285
285
|
* });
|
|
286
286
|
* ```
|
|
287
|
+
* ### Pubsub Topic Ai Inference
|
|
288
|
+
*
|
|
289
|
+
* ```typescript
|
|
290
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
291
|
+
* import * as gcp from "@pulumi/gcp";
|
|
292
|
+
* import * as time from "@pulumiverse/time";
|
|
293
|
+
*
|
|
294
|
+
* const geminiQueryServiceAccount = new gcp.serviceaccount.Account("gemini_query_service_account", {
|
|
295
|
+
* accountId: "example-sa",
|
|
296
|
+
* displayName: "Gemini Query Service Account",
|
|
297
|
+
* });
|
|
298
|
+
* const geminiInferenceGet = new gcp.projects.IAMMember("gemini_inference_get", {
|
|
299
|
+
* project: "my-project-name",
|
|
300
|
+
* role: "roles/aiplatform.user",
|
|
301
|
+
* member: pulumi.interpolate`serviceAccount:${geminiQueryServiceAccount.email}`,
|
|
302
|
+
* });
|
|
303
|
+
* const wait120Seconds = new time.Sleep("wait_120_seconds", {createDuration: "120s"}, {
|
|
304
|
+
* dependsOn: [geminiInferenceGet],
|
|
305
|
+
* });
|
|
306
|
+
* const example = new gcp.pubsub.Topic("example", {
|
|
307
|
+
* name: "example-topic",
|
|
308
|
+
* messageTransforms: [{
|
|
309
|
+
* aiInference: {
|
|
310
|
+
* endpoint: "projects/my-project-name/locations/us-central1/publishers/google/models/gemini-2.5-flash",
|
|
311
|
+
* unstructuredInference: {
|
|
312
|
+
* parameters: {
|
|
313
|
+
* max_tokens: "25000",
|
|
314
|
+
* },
|
|
315
|
+
* },
|
|
316
|
+
* serviceAccountEmail: geminiQueryServiceAccount.email,
|
|
317
|
+
* },
|
|
318
|
+
* }],
|
|
319
|
+
* }, {
|
|
320
|
+
* dependsOn: [wait120Seconds],
|
|
321
|
+
* });
|
|
322
|
+
* ```
|
|
287
323
|
*
|
|
288
324
|
* ## Import
|
|
289
325
|
*
|