Skip to content

Commit d4fc92b

Browse files
feat: [google-cloud-cloudcontrolspartner] Enable partners to create, update and delete their customers (#13870)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: Enable partners to create, update and delete their customers feat: A new field `organization_domain` is added to message `Customer` docs: Mark the enum value `EkmSolution.VIRTRU` as deprecated END_COMMIT_OVERRIDE PiperOrigin-RevId: 754144273 Source-Link: googleapis/googleapis@7ab5d0f Source-Link: googleapis/googleapis-gen@f359aa4 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNsb3VkY29udHJvbHNwYXJ0bmVyLy5Pd2xCb3QueWFtbCIsImgiOiJmMzU5YWE0ZmUyOTE2YWIxMjUwMmIxZjcxZTA4MWM3NjQ5MGEwNTgwIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 70701c3 commit d4fc92b

23 files changed

+6539
-1567
lines changed

packages/google-cloud-cloudcontrolspartner/google/cloud/cloudcontrolspartner/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@
4747
WorkloadOnboardingStep,
4848
)
4949
from google.cloud.cloudcontrolspartner_v1.types.customers import (
50+
CreateCustomerRequest,
5051
Customer,
5152
CustomerOnboardingState,
5253
CustomerOnboardingStep,
54+
DeleteCustomerRequest,
5355
GetCustomerRequest,
5456
ListCustomersRequest,
5557
ListCustomersResponse,
58+
UpdateCustomerRequest,
5659
)
5760
from google.cloud.cloudcontrolspartner_v1.types.ekm_connections import (
5861
EkmConnection,
@@ -93,12 +96,15 @@
9396
"Workload",
9497
"WorkloadOnboardingState",
9598
"WorkloadOnboardingStep",
99+
"CreateCustomerRequest",
96100
"Customer",
97101
"CustomerOnboardingState",
98102
"CustomerOnboardingStep",
103+
"DeleteCustomerRequest",
99104
"GetCustomerRequest",
100105
"ListCustomersRequest",
101106
"ListCustomersResponse",
107+
"UpdateCustomerRequest",
102108
"EkmConnection",
103109
"EkmConnections",
104110
"GetEkmConnectionsRequest",

packages/google-cloud-cloudcontrolspartner/google/cloud/cloudcontrolspartner_v1/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,15 @@
4343
WorkloadOnboardingStep,
4444
)
4545
from .types.customers import (
46+
CreateCustomerRequest,
4647
Customer,
4748
CustomerOnboardingState,
4849
CustomerOnboardingStep,
50+
DeleteCustomerRequest,
4951
GetCustomerRequest,
5052
ListCustomersRequest,
5153
ListCustomersResponse,
54+
UpdateCustomerRequest,
5255
)
5356
from .types.ekm_connections import (
5457
EkmConnection,
@@ -72,9 +75,11 @@
7275
"CloudControlsPartnerCoreClient",
7376
"CloudControlsPartnerMonitoringClient",
7477
"CompletionState",
78+
"CreateCustomerRequest",
7579
"Customer",
7680
"CustomerOnboardingState",
7781
"CustomerOnboardingStep",
82+
"DeleteCustomerRequest",
7883
"EkmConnection",
7984
"EkmConnections",
8085
"EkmMetadata",
@@ -96,6 +101,7 @@
96101
"Partner",
97102
"PartnerPermissions",
98103
"Sku",
104+
"UpdateCustomerRequest",
99105
"Violation",
100106
"Workload",
101107
"WorkloadOnboardingState",

packages/google-cloud-cloudcontrolspartner/google/cloud/cloudcontrolspartner_v1/gapic_metadata.json

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@
1010
"grpc": {
1111
"libraryClient": "CloudControlsPartnerCoreClient",
1212
"rpcs": {
13+
"CreateCustomer": {
14+
"methods": [
15+
"create_customer"
16+
]
17+
},
18+
"DeleteCustomer": {
19+
"methods": [
20+
"delete_customer"
21+
]
22+
},
1323
"GetCustomer": {
1424
"methods": [
1525
"get_customer"
@@ -49,12 +59,27 @@
4959
"methods": [
5060
"list_workloads"
5161
]
62+
},
63+
"UpdateCustomer": {
64+
"methods": [
65+
"update_customer"
66+
]
5267
}
5368
}
5469
},
5570
"grpc-async": {
5671
"libraryClient": "CloudControlsPartnerCoreAsyncClient",
5772
"rpcs": {
73+
"CreateCustomer": {
74+
"methods": [
75+
"create_customer"
76+
]
77+
},
78+
"DeleteCustomer": {
79+
"methods": [
80+
"delete_customer"
81+
]
82+
},
5883
"GetCustomer": {
5984
"methods": [
6085
"get_customer"
@@ -94,12 +119,27 @@
94119
"methods": [
95120
"list_workloads"
96121
]
122+
},
123+
"UpdateCustomer": {
124+
"methods": [
125+
"update_customer"
126+
]
97127
}
98128
}
99129
},
100130
"rest": {
101131
"libraryClient": "CloudControlsPartnerCoreClient",
102132
"rpcs": {
133+
"CreateCustomer": {
134+
"methods": [
135+
"create_customer"
136+
]
137+
},
138+
"DeleteCustomer": {
139+
"methods": [
140+
"delete_customer"
141+
]
142+
},
103143
"GetCustomer": {
104144
"methods": [
105145
"get_customer"
@@ -139,6 +179,11 @@
139179
"methods": [
140180
"list_workloads"
141181
]
182+
},
183+
"UpdateCustomer": {
184+
"methods": [
185+
"update_customer"
186+
]
142187
}
143188
}
144189
}

0 commit comments

Comments
 (0)