Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 68fbf1df80cc815b61c0c6e64d91fd10349e0d54
Author: Shivam Ajmera <[email protected]>
Date:   Mon Dec 9 15:54:02 2024 -0500

    Revert temp buf change (#52)

    revert

commit f815f03249d3b692fa40672f3bdb9f7e3a312822
Author: Shivam Ajmera <[email protected]>
Date:   Mon Dec 9 15:23:41 2024 -0500

    Add missing langs' support (#51)

    add more langs

commit 084556f979afade68d6c1539a4778fe9770f2fce
Author: alice-yin <[email protected]>
Date:   Fri Nov 15 14:27:34 2024 -0800

    add region to gcs spec (#48)

commit 75301fa72680c36255a65f8d7f4bf001f424272e
Author: alice-yin <[email protected]>
Date:   Wed Nov 6 11:31:43 2024 -0800

    Add Export Sink Api (#42)

    * add export api

    * add export sink api

    * address comments

    * pull in internal proto changes

    * move export sink spec to namespace spec

    * address comments

commit 3bccd9912c9afb4af57b61c59ee18461d3cc3242
Author: Abhinav Nekkanti <[email protected]>
Date:   Thu Oct 17 12:59:31 2024 -0400

    Revert buf temporary change (#46)

commit 138a2ad20c1d033859cef89adb7298c2360b6757
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Oct 7 11:19:16 2024 -0700

    [Breaking] Replace strings with enums where ever applicable. (#36)

commit dd93c3e92eceab04b75545ced071203e1b291ecf
Author: Abhinav Nekkanti <[email protected]>
Date:   Fri Oct 4 15:41:02 2024 -0700

    Account get and udpate apis (#14)

commit 7887a9cf05d64dd598dc0054f99b815ef46e9517
Author: Shivam Ajmera <[email protected]>
Date:   Fri Sep 27 13:25:02 2024 -0400

    Add Usage API (#41)

    * usage

    * proto

    * Update comment - for incomplete field

    * nit: comment

    * nit2: comment

commit 0a01b742b0aebd1e0cea0a48914f9b517e0ec174
Author: mastermanu <[email protected]>
Date:   Tue Aug 27 10:29:51 2024 -0400

    Adds Nexus Endpoint (#23)

    * init checkin

    * fixes stuff

    * fix build break

    * more changes

    * change endpoint_id --> id

    * more changes

    * more changes

    * more changes

    * address some of comments

    * more changes

    * more changes

    * remove /update suffix

    * more changes

    * more changes

    * more changes

    * changes

    * Sync Nexus Cloud API (#40)

    - Update endpoint name regex
    - Add endpoint description
    - Rename CloudWorkerTargetSpec to WorkerTargetSpec
    - Add next_page_token to GetNexusEndpointsResponse
    - Group nexus related request and responses together.

    * Remove /api/v1 prefix for HTTP paths

    * Fix spacing.

    * Nexus enum and oneof changes

    ---------

    Co-authored-by: nikki-dag <[email protected]>
    Co-authored-by: Nikki Dag <[email protected]>

commit ad43975957a39fb44bc20fe974926d963defbdb8
Author: beardo <[email protected]>
Date:   Tue Aug 13 12:33:09 2024 -0600

    feat: add owner and finance admin roles CLD-3326 (#39)

commit 508379bad5b0ec0275dc5c0f4a8a884fbb6e7123
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Jun 18 12:42:48 2024 -0700

    [Breaking] Reorg the user-group apis with a explicit google group spec field. (#33)

commit d5b163e813437ba70369acf26ebbdc020bb5c888
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Jun 17 17:11:05 2024 -0700

    add more comments around region ids (#34)

commit 05af6e5412c84abab95cc960784aa1afd38f2828
Author: Chad Retz <[email protected]>
Date:   Mon Jun 10 15:09:12 2024 -0500

    Removed /api/v1 prefix for HTTP paths (#32)

    Fixes #39

commit 6ddaddd7febe3904082a0efb41845942e9c324b2
Author: mattkim <[email protected]>
Date:   Wed May 22 15:30:53 2024 -0700

    Api key crud operations (#25)

commit f2e3fdeee51e8e1bf0f7626adf59732b6ec8ebbe
Author: shakeelrao <[email protected]>
Date:   Thu May 16 12:59:01 2024 -0400

    Switch buf.yaml config to FILE (#30)

commit a429e6c769e62e4fa1fc2e8729b907c680665f98
Merge: da16fe0 3850321
Author: shakeelrao <[email protected]>
Date:   Tue May 14 19:28:05 2024 -0400

    Merge pull request #28 from temporalio/shakeel/opt-mtls

    Support optional mTLS

commit da16fe0e5736e8a929ad5a7ee2a48f29e2650bef
Merge: 16424f6 37895ee
Author: Yu Xia <[email protected]>
Date:   Tue May 14 15:34:08 2024 -0700

    Merge pull request #29 from temporalio/mrn-v2

    Update Multi-Region Namespace APIs

commit 37895ee28e780973a853d80de43c9f01acf56cd3
Author: yux0 <[email protected]>
Date:   Tue May 14 15:08:29 2024 -0700

    Update comment

commit 24598e1f4a02bba6100631189b74154b4026c407
Author: Yu Xia <[email protected]>
Date:   Tue May 14 11:53:04 2024 -0700

    Update service.proto

    Co-authored-by: Chad Retz <[email protected]>

commit 2c7a9bf3aeb06e42566bad62913bff9bc79335ed
Author: Yu Xia <[email protected]>
Date:   Tue May 14 11:52:59 2024 -0700

    Update service.proto

    Co-authored-by: Chad Retz <[email protected]>

commit cba8a02fb53d542e56acb8c167a7aabea8212eb7
Author: yux0 <[email protected]>
Date:   Tue May 14 11:27:50 2024 -0700

    Update Multi-Region Namespace APIs

commit 385032107eb9fc9e8ce0cea2b6b4db9dcfee73f0
Author: Shakeel Rao <[email protected]>
Date:   Mon May 13 17:18:10 2024 -0400

    switch wire temporarily

commit 24db56377d0cd772e24f467f3b2b2000d1964e15
Author: Shakeel Rao <[email protected]>
Date:   Mon May 13 17:17:35 2024 -0400

    wire

commit c14d2059714b3c13f3877a96ad78763ba5cd4556
Author: Shakeel Rao <[email protected]>
Date:   Mon May 13 16:50:37 2024 -0400

    opt mtls

commit 16424f6482ce6d41008b5ba440a6fa6eb3b94faa
Author: Travis <[email protected]>
Date:   Mon May 13 13:20:32 2024 -0700

    Add service account CRUD APIs (#26)

commit 6e8267e4dfab8645230a5445c84cdd0284327a4b
Merge: 89ba5e1 f7a4bd6
Author: Xinyi Chen <[email protected]>
Date:   Thu May 9 16:34:34 2024 -0700

    Merge pull request #22 from temporalio/xinyi/group-crud

    Introduce user group management APIs

commit f7a4bd690d10aeb5b36e95529cc9070739ed20f2
Author: Xinyi Chen <[email protected]>
Date:   Thu May 9 16:28:07 2024 -0700

    update comment

commit 47830503c2b3ec59eed0769d6d9363aa94e02d87
Author: Xinyi Chen <[email protected]>
Date:   Thu May 9 15:49:33 2024 -0700

    address comments

commit 9316ca7231a4e01243a21331b5b645d729e55076
Author: Xinyi Chen <[email protected]>
Date:   Fri May 3 12:21:18 2024 -0700

    update comment

commit 6449153f6cb1d99180e9b99667130e797bba4817
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 24 14:51:07 2024 -0700

    update const

commit 00383b0492249d5c9ca051f47714ce9f873ee699
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 24 13:18:09 2024 -0700

    rename to type

commit 395bd0e8f5c1c2360c8111205da9f8dbd1c2f404
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 24 09:04:15 2024 -0700

    change type to host_type

commit f6da1b5e21c31aac956bc217964a3c19814a9c59
Author: Xinyi Chen <[email protected]>
Date:   Mon Apr 22 14:54:52 2024 -0700

    update comment

commit a50075deaa9c0f154faf2a330c6323386523de7a
Author: Xinyi Chen <[email protected]>
Date:   Mon Apr 22 14:44:21 2024 -0700

    Add filter and update comment

commit fc2f6e18a0ea4c52c3c170a13eae3a894660f744
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 17 09:48:32 2024 -0700

    fix reference

commit 0ceb7822c6cde6fe885fec0fdbc9a81e4a63cb51
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 17 09:40:21 2024 -0700

    consistency

commit 1c7fa20564f3a5c502f4d5c8d3bdff9037612b87
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 17 09:34:34 2024 -0700

    update comments

commit 0a735b1987f0a1c3cdbc1a68a7bb90e702b26436
Author: Xinyi Chen <[email protected]>
Date:   Wed Apr 17 09:28:23 2024 -0700

    -> user group

commit 66dbd895c24b7f2484c355a30809f161e2567095
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 14:34:14 2024 -0700

    fix CreateUserGroupRequest

commit 3023eed08bf417bcd0e210fbafc17247854639cc
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 14:29:02 2024 -0700

    rename to user group

commit d0036c92dfb9d147ac66065af2843e00f586a22e
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 14:20:40 2024 -0700

    wording

commit c8cb84d711a4807f449083ae99b2a6716de88d65
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 14:20:05 2024 -0700

    mutability

commit ef1fa99695940fbf176fb50966731ec6bf2f8d9f
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 14:14:09 2024 -0700

    add state and async op id

commit 18103b8923d2f5fcdbac83edce338c92438014ca
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 14:10:06 2024 -0700

    update http path

commit d4d254ddd5853e52b1162b72e7677b4f0f845818
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 13:53:47 2024 -0700

    .

commit a91d840374009a989a1b3dcf0561eeacf319c0e2
Author: Xinyi Chen <[email protected]>
Date:   Tue Apr 16 09:02:24 2024 -0700

    Introduce group management APIs

commit 89ba5e1296b4c90519bd5c8c77fc42f4d38d061c
Author: Chad Retz <[email protected]>
Date:   Fri Apr 12 12:38:53 2024 -0500

    Add lang packages and update HTTP URLs (#20)

    * Add lang packages and update HTTP URLs

    * Added cloud service warning about compatibility

commit 5452de384c8ec6bc025d6a7ca039d24333495ebd
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Mar 19 10:32:26 2024 -0700

    Fix tabs in service proto file. (#18)

commit 4fff2fd3fa9fa1b1f71aa31ff15d3715d974be5b
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Mar 13 10:06:20 2024 -0700

    Fix comment with the correct case for operation statuses. (#17)

commit 63c607b6faee0682cda24102e134714e693bcbed
Author: Abhinav Nekkanti <[email protected]>
Date:   Fri Nov 17 10:49:26 2023 -0800

    Namespace Management APIs (#8)

commit fd345e4033bc3b894e328870df1cf77c35fb7e0a
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Oct 9 13:10:26 2023 -0700

    Update readme with preview information (#9)

commit 18c9e927c41a800dce5aeba97fb66a6cbcb377f3
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Oct 4 15:44:47 2023 -0700

    Set version in README (#7)

commit 144acf180aedb131abdfd7c1f0759b0826467fd5
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Oct 4 15:34:09 2023 -0700

    add information about api versioning (#6)

commit f80b21b494b2b51ec9d58b8ed08a4c732ee9bd97
Merge: 28a502c 5aaa1d1
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 08:05:53 2023 -0700

    Merge pull request #5 from temporalio/abhinav/addReadme

    Add readme, license and a build ci.

commit 5aaa1d1837a271850dc5cb9ca5cdb7c882c434f9
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:49:32 2023 -0700

    updates to readme

commit 68070c23022e0bd6e4bd4f27d3fda3859735ab5d
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:44:18 2023 -0700

    add License

commit a160017ac64961efa0524089c4a82de62abedd0a
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:37:29 2023 -0700

    minor gix

commit 5b98236893b8cd15beb87f9882e99c4a121c1356
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:34:16 2023 -0700

    more fixes

commit 497c2ba5a1ce208d59845177901f0a9deff618c7
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:23:45 2023 -0700

    more fixes for buf

commit 840db3a2cb7b181e45de45e099fcc81374c79088
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:18:43 2023 -0700

    fix buf breaking

commit 2533d00cc9286250e6106a4bac83c60cae66971c
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 26 07:16:28 2023 -0700

    fix buf breaking

commit 85dfd195037a01ee7beb470636eacd68af6aec46
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Sep 25 11:04:02 2023 -0700

    fix self-hosted flag

commit 48b58fcbacd1b0668a248fb788daa45b19e04f4c
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Sep 25 11:02:05 2023 -0700

    remove self-hosted flag

commit a682e0f53f5c9d64555c9490833d25f5b309f116
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Sep 25 11:00:37 2023 -0700

    add ci

commit 3f929599f1ff7f8a3359325cb9be9f9ef204a0f0
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Sep 25 10:50:13 2023 -0700

    add a readme file

commit 28a502c0b4015a1b4352cb1f9ea5ae0fa17cd017
Merge: ab9d331 f02b0d1
Author: Abhinav Nekkanti <[email protected]>
Date:   Thu Sep 7 09:50:25 2023 -0700

    Merge pull request #4 from temporalio/abhinav/userMgmt-minorFix

    fix tense of invitation create and expiry fields

commit f02b0d1717ae9d722a4376ac2e6fad035dfdad33
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 19:39:00 2023 -0700

    more fixes

commit c425324b8ee957cbaf2bd9f8fccd8e165e08cf78
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 19:34:40 2023 -0700

    fix tense of invitation create and expiry fields

commit ab9d331c89544dba332c99e6504dbe5ce49c2211
Merge: bf72035 267b4b9
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 17:30:21 2023 -0700

    Merge pull request #3 from temporalio/abhinav/userMgmt

    User mgmt

commit 267b4b927663409b52b980f78170f09105f12c12
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 17:08:44 2023 -0700

    fix for Makefile

commit a990132566701379ade8e01d1f53129a2d19c401
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 13:54:16 2023 -0700

    address review comments

commit a12348c93d15dfb4f3361367bac75a849b7121ca
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 11:58:53 2023 -0700

    minor updates

commit 29061baaf5bee68158637057e2ef93a9321a09c1
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 11:55:08 2023 -0700

    Update temporal/api/cloud/cloudservice/v1/service.proto

    Co-authored-by: Chad Retz <[email protected]>

commit 8b4ac137d78bda9a8b858b24812a7c0d30c0daa6
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 11:43:14 2023 -0700

    minor fix

commit f8bb8e5c4247cfda439656e1142f615a32206076
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Sep 6 09:27:18 2023 -0700

    fixed the expectation for account role

commit 0a950b063d3a0b0516460e056b6deacdcdb24d39
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Sep 5 14:24:16 2023 -0700

    a minor fix

commit e7ed5374e8e84e35f2b67718ca093f26d4030ebe
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 28 19:43:24 2023 -0700

    more fixes

commit 9621849f67ef2b5c85de612f14ffd75d6a392fad
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 28 12:19:28 2023 -0700

    fix

commit c6dda44f47959760f8657b289f3a9291ffeabf9a
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 28 12:17:28 2023 -0700

    fix type

commit 215b86ca24316af5e03007ea804af7a574692f8f
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 28 12:13:43 2023 -0700

    some minor reorg

commit 6a4ec7f0fc01870fde3921a60943c3e34dd2bb5a
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 28 08:56:32 2023 -0700

    more fixes

commit 0ba155c6381c2d365140fe06b3dee90afe00fb9e
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 28 08:46:34 2023 -0700

    minor fixes

commit 02ad80fe9217defc1e3714408ad5687fc0f901af
Author: Abhinav Nekkanti <[email protected]>
Date:   Sun Aug 27 20:02:48 2023 -0700

    address review comments

commit 1e0e60bb067853e90136f95a3d1ebe0c24fcbfe4
Author: Abhinav Nekkanti <[email protected]>
Date:   Fri Aug 25 16:50:57 2023 -0700

    address review comments: rename request to operation

commit 3a97696984e9c77bb97390d01ea13e055da13d7d
Author: Abhinav Nekkanti <[email protected]>
Date:   Fri Aug 25 16:16:26 2023 -0700

    address review comments: namespace_id to namespace

commit af0a31dc581aa48c9908ff492c70205a13ce8bcf
Author: Abhinav Nekkanti <[email protected]>
Date:   Fri Aug 25 16:10:01 2023 -0700

    address review comments

commit 9e6fbc343bb6ae7e475a1be7ec23877cc7ca5c57
Author: Abhinav Nekkanti <[email protected]>
Date:   Wed Aug 23 19:14:50 2023 -0700

    address review comments

commit e4ca63ddf78d68b88d1ae4e17248caaa09e94c2c
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Aug 22 12:34:03 2023 -0700

    more fixes

commit 19792ca7a6120a80682d29357371e615dad617a9
Author: Abhinav Nekkanti <[email protected]>
Date:   Tue Aug 22 12:32:57 2023 -0700

    more updates

commit cefcf94e4deee595497afb7717dcaab2ed4c4370
Author: Abhinav Nekkanti <[email protected]>
Date:   Sun Aug 20 17:55:53 2023 -0700

    more fixes

commit 20a4e77cf8609e49f7625eaec7130ac66fd2ba4f
Author: Abhinav Nekkanti <[email protected]>
Date:   Sun Aug 20 17:54:49 2023 -0700

    more fixes

commit f494067d172e71f402beb4e5694a8b3e06e97903
Author: Abhinav Nekkanti <[email protected]>
Date:   Sun Aug 20 15:10:17 2023 -0700

    more updates

commit 92e0c1d7c08e00fa46669eeacfdfd8994fe8fe0f
Author: Abhinav Nekkanti <[email protected]>
Date:   Sun Aug 20 14:50:32 2023 -0700

    move to using one service

commit aa43d28d1d2da25d2d87202ba1a6da1ba7218d3f
Author: Abhinav Nekkanti <[email protected]>
Date:   Sat Aug 19 21:48:38 2023 -0700

    grpc apis for user management

commit 2d02c6c17b1a442a194e658079fb60df17652a23
Author: Abhinav Nekkanti <[email protected]>
Date:   Mon Aug 14 23:00:28 2023 -0700

    request status apis

commit bf72035221710a10036a8237a7a2ddb6dd7b3624
Author: Abhinav Nekkanti <[email protected]>
Date:   Sat Aug 5 11:28:46 2023 -0700

    fixes for Makefile

commit 48e649728d2c7443b48933534c5a5c7756fafd0b
Author: Abhinav Nekkanti <[email protected]>
Date:   Sat Aug 5 11:25:36 2023 -0700

    init commit
  • Loading branch information
shivam-ajmera committed Dec 9, 2024
1 parent 4a2368d commit d4eff4b
Show file tree
Hide file tree
Showing 12 changed files with 853 additions and 38 deletions.
2 changes: 1 addition & 1 deletion sdk-core-protos/protos/api_cloud_upstream/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-05-13-00
2024-10-01-00
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
syntax = "proto3";

package temporal.api.cloud.account.v1;

option go_package = "go.temporal.io/api/cloud/account/v1;account";
option java_package = "io.temporal.api.cloud.account.v1";
option java_multiple_files = true;
option java_outer_classname = "MessageProto";
option ruby_package = "Temporalio::Api::Cloud::Account::V1";
option csharp_namespace = "Temporalio.Api.Cloud.Account.V1";

import "temporal/api/cloud/resource/v1/message.proto";

message MetricsSpec {
// The ca cert(s) in PEM format that clients connecting to the metrics endpoint can use for authentication.
// This must only be one value, but the CA can have a chain.
bytes accepted_client_ca = 2;
}

message AccountSpec {
// The metrics specification for this account.
// If not specified, metrics will not be enabled.
MetricsSpec metrics = 1;
}

message Metrics {
// The prometheus metrics endpoint uri.
// This is only populated when the metrics is enabled in the metrics specification.
string uri = 1;
}

message Account {
// The id of the account.
string id = 1;
// The account specification.
AccountSpec spec = 2;
// The current version of the account specification.
// The next update operation will have to include this version.
string resource_version = 3;
// The current state of the account.
temporal.api.cloud.resource.v1.ResourceState state = 4;
// The id of the async operation that is updating the account, if any.
string async_operation_id = 5;
// Information related to metrics.
Metrics metrics = 6;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ option java_outer_classname = "RequestResponseProto";
option ruby_package = "Temporalio::Api::Cloud::CloudService::V1";
option csharp_namespace = "Temporalio.Api.Cloud.CloudService.V1";

import "google/protobuf/timestamp.proto";

import "temporal/api/cloud/operation/v1/message.proto";
import "temporal/api/cloud/identity/v1/message.proto";
import "temporal/api/cloud/namespace/v1/message.proto";
import "temporal/api/cloud/nexus/v1/message.proto";
import "temporal/api/cloud/region/v1/message.proto";
import "temporal/api/cloud/account/v1/message.proto";
import "temporal/api/cloud/usage/v1/message.proto";

message GetUsersRequest {
// The requested size of the page to retrieve - optional.
Expand Down Expand Up @@ -269,7 +274,6 @@ message GetRegionResponse {
temporal.api.cloud.region.v1.Region region = 1;
}


message GetApiKeysRequest {
// The requested size of the page to retrieve - optional.
// Cannot exceed 1000. Defaults to 100.
Expand All @@ -280,12 +284,16 @@ message GetApiKeysRequest {
string owner_id = 3;
// Filter api keys by owner type - optional.
// Possible values: user, service-account
string owner_type = 4;
string owner_type_deprecated = 4 [deprecated = true];
// Filter api keys by owner type - optional.
// temporal:enums:replaces=owner_type_deprecated
temporal.api.cloud.identity.v1.OwnerType owner_type = 5;
}

message GetApiKeysResponse {
// The list of api keys in ascending id order.
repeated temporal.api.cloud.identity.v1.ApiKey api_keys = 1;

// The next page's token.
string next_page_token = 2;
}
Expand All @@ -304,14 +312,15 @@ message CreateApiKeyRequest {
// The spec for the api key to create.
// Create api key only supports service-account owner type for now.
temporal.api.cloud.identity.v1.ApiKeySpec spec = 1;

// The id to use for this async operation - optional.
string async_operation_id = 2;
}

message CreateApiKeyResponse {
// The id of the api key created.
string key_id = 1;
// The token of the api key created.
// The token of the api key created.
// This is a secret and should be stored securely.
// It will not be retrievable after this response.
string token = 2;
Expand All @@ -327,6 +336,7 @@ message UpdateApiKeyRequest {
// The version of the api key for which this update is intended for.
// The latest version can be found in the GetApiKey operation response.
string resource_version = 3;

// The id to use for this async operation - optional.
string async_operation_id = 4;
}
Expand All @@ -342,6 +352,7 @@ message DeleteApiKeyRequest {
// The version of the api key for which this delete is intended for.
// The latest version can be found in the GetApiKey operation response.
string resource_version = 2;

// The id to use for this async operation - optional.
string async_operation_id = 3;
}
Expand All @@ -351,6 +362,95 @@ message DeleteApiKeyResponse {
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message GetNexusEndpointsRequest {
// The requested size of the page to retrieve - optional.
// Cannot exceed 1000. Defaults to 100.
int32 page_size = 1;

// The page token if this is continuing from another response - optional.
string page_token = 2;

// optional, treated as an AND if specified
string target_namespace_id = 3;

// optional, treated as an AND if specified
string target_task_queue = 4;

// Filter endpoints by their name - optional, treated as an AND if specified. Specifying this will result in zero or one results.
string name = 5;
}

message GetNexusEndpointsResponse {
// The list of endpoints in ascending id order.
repeated temporal.api.cloud.nexus.v1.Endpoint endpoints = 1;

// The next page's token.
string next_page_token = 2;
}

message GetNexusEndpointRequest {
// The id of the nexus endpoint to get.
string endpoint_id = 1;
}

message GetNexusEndpointResponse {
// The nexus endpoint.
temporal.api.cloud.nexus.v1.Endpoint endpoint = 1;
}

message CreateNexusEndpointRequest {
// The spec for the nexus endpoint.
temporal.api.cloud.nexus.v1.EndpointSpec spec = 1;

// The id to use for this async operation - optional.
string async_operation_id = 2;
}

message CreateNexusEndpointResponse {
// The id of the endpoint that was created.
string endpoint_id = 1;

// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 2;
}

message UpdateNexusEndpointRequest {
// The id of the nexus endpoint to update.
string endpoint_id = 1;

// The updated nexus endpoint specification.
temporal.api.cloud.nexus.v1.EndpointSpec spec = 2;

// The version of the nexus endpoint for which this update is intended for.
// The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 3;

// The id to use for this async operation - optional.
string async_operation_id = 4;
}

message UpdateNexusEndpointResponse {
// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message DeleteNexusEndpointRequest {
// The id of the nexus endpoint to delete.
string endpoint_id = 1;

// The version of the endpoint for which this delete is intended for.
// The latest version can be found in the GetNexusEndpoint operation response.
string resource_version = 2;

// The id to use for this async operation - optional.
string async_operation_id = 3;
}

message DeleteNexusEndpointResponse {
// The async operation
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message GetUserGroupsRequest {
// The requested size of the page to retrieve - optional.
// Cannot exceed 1000. Defaults to 100.
Expand All @@ -359,8 +459,15 @@ message GetUserGroupsRequest {
string page_token = 2;
// Filter groups by the namespace they have access to - optional.
string namespace = 3;
// Filter groups by their name - optional.
string group_name = 4;
// Filter groups by the display name - optional.
string display_name = 4;
// Filter groups by the google group specification - optional.
GoogleGroupFilter google_group = 5;

message GoogleGroupFilter {
// Filter groups by the google group email - optional.
string email_address = 1;
}
}

message GetUserGroupsResponse {
Expand Down Expand Up @@ -391,6 +498,7 @@ message CreateUserGroupRequest {
message CreateUserGroupResponse {
// The id of the group that was created.
string group_id = 1;

// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 2;
}
Expand Down Expand Up @@ -518,3 +626,144 @@ message DeleteServiceAccountResponse {
// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message GetUsageRequest {
// Filter for UTC time >= - optional.
// Defaults to: start of the current month.
// Must be: within the last 90 days from the current date.
// Must be: midnight UTC time.
google.protobuf.Timestamp start_time_inclusive = 1;

// Filter for UTC time < - optional.
// Defaults to: start of the next UTC day.
// Must be: within the last 90 days from the current date.
// Must be: midnight UTC time.
google.protobuf.Timestamp end_time_exclusive = 2;

// The requested size of the page to retrieve - optional.
// Each count corresponds to a single object - per day per namespace
// Cannot exceed 1000. Defaults to 100.
int32 page_size = 3;

// The page token if this is continuing from another response - optional.
string page_token = 4;
}

message GetUsageResponse {
// The list of data based on granularity (per Day for now)
// Ordered by: time range in ascending order
repeated temporal.api.cloud.usage.v1.Summary summaries = 1;
// The next page's token.
string next_page_token = 2;
}

message GetAccountRequest {
}

message GetAccountResponse {
// The account.
temporal.api.cloud.account.v1.Account account = 1;
}

message UpdateAccountRequest {
// The updated account specification to apply.
temporal.api.cloud.account.v1.AccountSpec spec = 1;
// The version of the account for which this update is intended for.
// The latest version can be found in the GetAccount operation response.
string resource_version = 2;
// The id to use for this async operation.
// Optional, if not provided a random id will be generated.
string async_operation_id = 3;
}

message UpdateAccountResponse {
// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message CreateNamespaceExportSinkRequest {
// The namespace under which the sink is configured.
string namespace = 1;
// The specification for the export sink.
temporal.api.cloud.namespace.v1.ExportSinkSpec spec = 2;
// Optional. The ID to use for this async operation.
string async_operation_id = 3;
}

message CreateNamespaceExportSinkResponse {
// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message GetNamespaceExportSinkRequest {
// The namespace to which the sink belongs.
string namespace = 1;
// The name of the sink to retrieve.
string name = 2;
}

message GetNamespaceExportSinkResponse {
// The export sink retrieved.
temporal.api.cloud.namespace.v1.ExportSink sink = 1;
}

message GetNamespaceExportSinksRequest {
// The namespace to which the sinks belong.
string namespace = 1;
// The requested size of the page to retrieve. Cannot exceed 1000.
// Defaults to 100 if not specified.
int32 page_size = 2;
// The page token if this is continuing from another response - optional.
string page_token = 3;
}

message GetNamespaceExportSinksResponse {
// The list of export sinks retrieved.
repeated temporal.api.cloud.namespace.v1.ExportSink sinks = 1;
// The next page token, set if there is another page.
string next_page_token = 2;
}

message UpdateNamespaceExportSinkRequest {
// The namespace to which the sink belongs.
string namespace = 1;
// The updated export sink specification.
temporal.api.cloud.namespace.v1.ExportSinkSpec spec = 2;
// The version of the sink to update. The latest version can be
// retrieved using the GetNamespaceExportSink call.
string resource_version = 3;
// The ID to use for this async operation - optional.
string async_operation_id = 4;
}

message UpdateNamespaceExportSinkResponse {
// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message DeleteNamespaceExportSinkRequest {
// The namespace to which the sink belongs.
string namespace = 1;
// The name of the sink to delete.
string name = 2;
// The version of the sink to delete. The latest version can be
// retrieved using the GetNamespaceExportSink call.
string resource_version = 3;
// The ID to use for this async operation - optional.
string async_operation_id = 4;
}

message DeleteNamespaceExportSinkResponse {
// The async operation.
temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1;
}

message ValidateNamespaceExportSinkRequest {
// The namespace to which the sink belongs.
string namespace = 1;
// The export sink specification to validate.
temporal.api.cloud.namespace.v1.ExportSinkSpec spec = 2;
}

message ValidateNamespaceExportSinkResponse {
}
Loading

0 comments on commit d4eff4b

Please sign in to comment.