google-cloud-securesourcemanager 0.1.6__tar.gz → 0.1.7__tar.gz
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.
- {google-cloud-securesourcemanager-0.1.6/google_cloud_securesourcemanager.egg-info → google-cloud-securesourcemanager-0.1.7}/PKG-INFO +1 -1
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager/gapic_version.py +1 -1
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/gapic_version.py +1 -1
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/async_client.py +8 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/client.py +44 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/types/secure_source_manager.py +55 -2
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7/google_cloud_securesourcemanager.egg-info}/PKG-INFO +1 -1
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/tests/unit/gapic/securesourcemanager_v1/test_secure_source_manager.py +79 -19
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/LICENSE +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/MANIFEST.in +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/README.rst +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager/py.typed +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/gapic_metadata.json +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/py.typed +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/pagers.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/transports/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/transports/base.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/transports/grpc.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/transports/grpc_asyncio.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/services/secure_source_manager/transports/rest.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google/cloud/securesourcemanager_v1/types/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google_cloud_securesourcemanager.egg-info/SOURCES.txt +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google_cloud_securesourcemanager.egg-info/dependency_links.txt +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google_cloud_securesourcemanager.egg-info/not-zip-safe +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google_cloud_securesourcemanager.egg-info/requires.txt +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/google_cloud_securesourcemanager.egg-info/top_level.txt +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/setup.cfg +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/setup.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/tests/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/tests/unit/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/tests/unit/gapic/__init__.py +0 -0
- {google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/tests/unit/gapic/securesourcemanager_v1/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: google-cloud-securesourcemanager
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: Google Cloud Securesourcemanager API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-securesourcemanager
|
|
6
6
|
Author: Google LLC
|
|
@@ -97,6 +97,8 @@ class SecureSourceManagerAsyncClient:
|
|
|
97
97
|
_DEFAULT_ENDPOINT_TEMPLATE = SecureSourceManagerClient._DEFAULT_ENDPOINT_TEMPLATE
|
|
98
98
|
_DEFAULT_UNIVERSE = SecureSourceManagerClient._DEFAULT_UNIVERSE
|
|
99
99
|
|
|
100
|
+
ca_pool_path = staticmethod(SecureSourceManagerClient.ca_pool_path)
|
|
101
|
+
parse_ca_pool_path = staticmethod(SecureSourceManagerClient.parse_ca_pool_path)
|
|
100
102
|
crypto_key_path = staticmethod(SecureSourceManagerClient.crypto_key_path)
|
|
101
103
|
parse_crypto_key_path = staticmethod(
|
|
102
104
|
SecureSourceManagerClient.parse_crypto_key_path
|
|
@@ -107,6 +109,12 @@ class SecureSourceManagerAsyncClient:
|
|
|
107
109
|
parse_repository_path = staticmethod(
|
|
108
110
|
SecureSourceManagerClient.parse_repository_path
|
|
109
111
|
)
|
|
112
|
+
service_attachment_path = staticmethod(
|
|
113
|
+
SecureSourceManagerClient.service_attachment_path
|
|
114
|
+
)
|
|
115
|
+
parse_service_attachment_path = staticmethod(
|
|
116
|
+
SecureSourceManagerClient.parse_service_attachment_path
|
|
117
|
+
)
|
|
110
118
|
common_billing_account_path = staticmethod(
|
|
111
119
|
SecureSourceManagerClient.common_billing_account_path
|
|
112
120
|
)
|
|
@@ -217,6 +217,28 @@ class SecureSourceManagerClient(metaclass=SecureSourceManagerClientMeta):
|
|
|
217
217
|
"""
|
|
218
218
|
return self._transport
|
|
219
219
|
|
|
220
|
+
@staticmethod
|
|
221
|
+
def ca_pool_path(
|
|
222
|
+
project: str,
|
|
223
|
+
location: str,
|
|
224
|
+
ca_pool: str,
|
|
225
|
+
) -> str:
|
|
226
|
+
"""Returns a fully-qualified ca_pool string."""
|
|
227
|
+
return "projects/{project}/locations/{location}/caPools/{ca_pool}".format(
|
|
228
|
+
project=project,
|
|
229
|
+
location=location,
|
|
230
|
+
ca_pool=ca_pool,
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
@staticmethod
|
|
234
|
+
def parse_ca_pool_path(path: str) -> Dict[str, str]:
|
|
235
|
+
"""Parses a ca_pool path into its component segments."""
|
|
236
|
+
m = re.match(
|
|
237
|
+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/caPools/(?P<ca_pool>.+?)$",
|
|
238
|
+
path,
|
|
239
|
+
)
|
|
240
|
+
return m.groupdict() if m else {}
|
|
241
|
+
|
|
220
242
|
@staticmethod
|
|
221
243
|
def crypto_key_path(
|
|
222
244
|
project: str,
|
|
@@ -287,6 +309,28 @@ class SecureSourceManagerClient(metaclass=SecureSourceManagerClientMeta):
|
|
|
287
309
|
)
|
|
288
310
|
return m.groupdict() if m else {}
|
|
289
311
|
|
|
312
|
+
@staticmethod
|
|
313
|
+
def service_attachment_path(
|
|
314
|
+
project: str,
|
|
315
|
+
region: str,
|
|
316
|
+
service_attachment: str,
|
|
317
|
+
) -> str:
|
|
318
|
+
"""Returns a fully-qualified service_attachment string."""
|
|
319
|
+
return "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}".format(
|
|
320
|
+
project=project,
|
|
321
|
+
region=region,
|
|
322
|
+
service_attachment=service_attachment,
|
|
323
|
+
)
|
|
324
|
+
|
|
325
|
+
@staticmethod
|
|
326
|
+
def parse_service_attachment_path(path: str) -> Dict[str, str]:
|
|
327
|
+
"""Parses a service_attachment path into its component segments."""
|
|
328
|
+
m = re.match(
|
|
329
|
+
r"^projects/(?P<project>.+?)/regions/(?P<region>.+?)/serviceAttachments/(?P<service_attachment>.+?)$",
|
|
330
|
+
path,
|
|
331
|
+
)
|
|
332
|
+
return m.groupdict() if m else {}
|
|
333
|
+
|
|
290
334
|
@staticmethod
|
|
291
335
|
def common_billing_account_path(
|
|
292
336
|
billing_account: str,
|
|
@@ -64,6 +64,9 @@ class Instance(proto.Message):
|
|
|
64
64
|
Output only. Update timestamp.
|
|
65
65
|
labels (MutableMapping[str, str]):
|
|
66
66
|
Optional. Labels as key value pairs.
|
|
67
|
+
private_config (google.cloud.securesourcemanager_v1.types.Instance.PrivateConfig):
|
|
68
|
+
Optional. Private settings for private
|
|
69
|
+
instance.
|
|
67
70
|
state (google.cloud.securesourcemanager_v1.types.Instance.State):
|
|
68
71
|
Output only. Current state of the instance.
|
|
69
72
|
state_note (google.cloud.securesourcemanager_v1.types.Instance.StateNote):
|
|
@@ -93,12 +96,16 @@ class Instance(proto.Message):
|
|
|
93
96
|
Instance is being deleted.
|
|
94
97
|
PAUSED (4):
|
|
95
98
|
Instance is paused.
|
|
99
|
+
UNKNOWN (6):
|
|
100
|
+
Instance is unknown, we are not sure if it's
|
|
101
|
+
functioning.
|
|
96
102
|
"""
|
|
97
103
|
STATE_UNSPECIFIED = 0
|
|
98
104
|
CREATING = 1
|
|
99
105
|
ACTIVE = 2
|
|
100
106
|
DELETING = 3
|
|
101
107
|
PAUSED = 4
|
|
108
|
+
UNKNOWN = 6
|
|
102
109
|
|
|
103
110
|
class StateNote(proto.Enum):
|
|
104
111
|
r"""Provides information about the current instance state.
|
|
@@ -148,6 +155,44 @@ class Instance(proto.Message):
|
|
|
148
155
|
number=4,
|
|
149
156
|
)
|
|
150
157
|
|
|
158
|
+
class PrivateConfig(proto.Message):
|
|
159
|
+
r"""PrivateConfig includes settings for private instance.
|
|
160
|
+
|
|
161
|
+
Attributes:
|
|
162
|
+
is_private (bool):
|
|
163
|
+
Required. Immutable. Indicate if it's private
|
|
164
|
+
instance.
|
|
165
|
+
ca_pool (str):
|
|
166
|
+
Required. Immutable. CA pool resource, resource must in the
|
|
167
|
+
format of
|
|
168
|
+
``projects/{project}/locations/{location}/caPools/{ca_pool}``.
|
|
169
|
+
http_service_attachment (str):
|
|
170
|
+
Output only. Service Attachment for HTTP, resource is in the
|
|
171
|
+
format of
|
|
172
|
+
``projects/{project}/regions/{region}/serviceAttachments/{service_attachment}``.
|
|
173
|
+
ssh_service_attachment (str):
|
|
174
|
+
Output only. Service Attachment for SSH, resource is in the
|
|
175
|
+
format of
|
|
176
|
+
``projects/{project}/regions/{region}/serviceAttachments/{service_attachment}``.
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
is_private: bool = proto.Field(
|
|
180
|
+
proto.BOOL,
|
|
181
|
+
number=1,
|
|
182
|
+
)
|
|
183
|
+
ca_pool: str = proto.Field(
|
|
184
|
+
proto.STRING,
|
|
185
|
+
number=2,
|
|
186
|
+
)
|
|
187
|
+
http_service_attachment: str = proto.Field(
|
|
188
|
+
proto.STRING,
|
|
189
|
+
number=3,
|
|
190
|
+
)
|
|
191
|
+
ssh_service_attachment: str = proto.Field(
|
|
192
|
+
proto.STRING,
|
|
193
|
+
number=4,
|
|
194
|
+
)
|
|
195
|
+
|
|
151
196
|
name: str = proto.Field(
|
|
152
197
|
proto.STRING,
|
|
153
198
|
number=1,
|
|
@@ -167,6 +212,11 @@ class Instance(proto.Message):
|
|
|
167
212
|
proto.STRING,
|
|
168
213
|
number=4,
|
|
169
214
|
)
|
|
215
|
+
private_config: PrivateConfig = proto.Field(
|
|
216
|
+
proto.MESSAGE,
|
|
217
|
+
number=13,
|
|
218
|
+
message=PrivateConfig,
|
|
219
|
+
)
|
|
170
220
|
state: State = proto.Field(
|
|
171
221
|
proto.ENUM,
|
|
172
222
|
number=5,
|
|
@@ -200,9 +250,12 @@ class Repository(proto.Message):
|
|
|
200
250
|
Optional. Description of the repository,
|
|
201
251
|
which cannot exceed 500 characters.
|
|
202
252
|
instance (str):
|
|
203
|
-
|
|
204
|
-
|
|
253
|
+
Optional. The name of the instance in which the repository
|
|
254
|
+
is hosted, formatted as
|
|
205
255
|
``projects/{project_number}/locations/{location_id}/instances/{instance_id}``
|
|
256
|
+
For data plane CreateRepository requests, this field is
|
|
257
|
+
output only. For control plane CreateRepository requests,
|
|
258
|
+
this field is used as input.
|
|
206
259
|
uid (str):
|
|
207
260
|
Output only. Unique identifier of the
|
|
208
261
|
repository.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: google-cloud-securesourcemanager
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Summary: Google Cloud Securesourcemanager API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-securesourcemanager
|
|
6
6
|
Author: Google LLC
|
|
@@ -6607,6 +6607,12 @@ def test_create_instance_rest(request_type):
|
|
|
6607
6607
|
"create_time": {"seconds": 751, "nanos": 543},
|
|
6608
6608
|
"update_time": {},
|
|
6609
6609
|
"labels": {},
|
|
6610
|
+
"private_config": {
|
|
6611
|
+
"is_private": True,
|
|
6612
|
+
"ca_pool": "ca_pool_value",
|
|
6613
|
+
"http_service_attachment": "http_service_attachment_value",
|
|
6614
|
+
"ssh_service_attachment": "ssh_service_attachment_value",
|
|
6615
|
+
},
|
|
6610
6616
|
"state": 1,
|
|
6611
6617
|
"state_note": 1,
|
|
6612
6618
|
"kms_key": "kms_key_value",
|
|
@@ -10302,11 +10308,37 @@ def test_secure_source_manager_grpc_lro_async_client():
|
|
|
10302
10308
|
assert transport.operations_client is transport.operations_client
|
|
10303
10309
|
|
|
10304
10310
|
|
|
10305
|
-
def
|
|
10311
|
+
def test_ca_pool_path():
|
|
10306
10312
|
project = "squid"
|
|
10307
10313
|
location = "clam"
|
|
10308
|
-
|
|
10309
|
-
|
|
10314
|
+
ca_pool = "whelk"
|
|
10315
|
+
expected = "projects/{project}/locations/{location}/caPools/{ca_pool}".format(
|
|
10316
|
+
project=project,
|
|
10317
|
+
location=location,
|
|
10318
|
+
ca_pool=ca_pool,
|
|
10319
|
+
)
|
|
10320
|
+
actual = SecureSourceManagerClient.ca_pool_path(project, location, ca_pool)
|
|
10321
|
+
assert expected == actual
|
|
10322
|
+
|
|
10323
|
+
|
|
10324
|
+
def test_parse_ca_pool_path():
|
|
10325
|
+
expected = {
|
|
10326
|
+
"project": "octopus",
|
|
10327
|
+
"location": "oyster",
|
|
10328
|
+
"ca_pool": "nudibranch",
|
|
10329
|
+
}
|
|
10330
|
+
path = SecureSourceManagerClient.ca_pool_path(**expected)
|
|
10331
|
+
|
|
10332
|
+
# Check that the path construction is reversible.
|
|
10333
|
+
actual = SecureSourceManagerClient.parse_ca_pool_path(path)
|
|
10334
|
+
assert expected == actual
|
|
10335
|
+
|
|
10336
|
+
|
|
10337
|
+
def test_crypto_key_path():
|
|
10338
|
+
project = "cuttlefish"
|
|
10339
|
+
location = "mussel"
|
|
10340
|
+
key_ring = "winkle"
|
|
10341
|
+
crypto_key = "nautilus"
|
|
10310
10342
|
expected = "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}".format(
|
|
10311
10343
|
project=project,
|
|
10312
10344
|
location=location,
|
|
@@ -10321,10 +10353,10 @@ def test_crypto_key_path():
|
|
|
10321
10353
|
|
|
10322
10354
|
def test_parse_crypto_key_path():
|
|
10323
10355
|
expected = {
|
|
10324
|
-
"project": "
|
|
10325
|
-
"location": "
|
|
10326
|
-
"key_ring": "
|
|
10327
|
-
"crypto_key": "
|
|
10356
|
+
"project": "scallop",
|
|
10357
|
+
"location": "abalone",
|
|
10358
|
+
"key_ring": "squid",
|
|
10359
|
+
"crypto_key": "clam",
|
|
10328
10360
|
}
|
|
10329
10361
|
path = SecureSourceManagerClient.crypto_key_path(**expected)
|
|
10330
10362
|
|
|
@@ -10334,9 +10366,9 @@ def test_parse_crypto_key_path():
|
|
|
10334
10366
|
|
|
10335
10367
|
|
|
10336
10368
|
def test_instance_path():
|
|
10337
|
-
project = "
|
|
10338
|
-
location = "
|
|
10339
|
-
instance = "
|
|
10369
|
+
project = "whelk"
|
|
10370
|
+
location = "octopus"
|
|
10371
|
+
instance = "oyster"
|
|
10340
10372
|
expected = "projects/{project}/locations/{location}/instances/{instance}".format(
|
|
10341
10373
|
project=project,
|
|
10342
10374
|
location=location,
|
|
@@ -10348,9 +10380,9 @@ def test_instance_path():
|
|
|
10348
10380
|
|
|
10349
10381
|
def test_parse_instance_path():
|
|
10350
10382
|
expected = {
|
|
10351
|
-
"project": "
|
|
10352
|
-
"location": "
|
|
10353
|
-
"instance": "
|
|
10383
|
+
"project": "nudibranch",
|
|
10384
|
+
"location": "cuttlefish",
|
|
10385
|
+
"instance": "mussel",
|
|
10354
10386
|
}
|
|
10355
10387
|
path = SecureSourceManagerClient.instance_path(**expected)
|
|
10356
10388
|
|
|
@@ -10360,9 +10392,9 @@ def test_parse_instance_path():
|
|
|
10360
10392
|
|
|
10361
10393
|
|
|
10362
10394
|
def test_repository_path():
|
|
10363
|
-
project = "
|
|
10364
|
-
location = "
|
|
10365
|
-
repository = "
|
|
10395
|
+
project = "winkle"
|
|
10396
|
+
location = "nautilus"
|
|
10397
|
+
repository = "scallop"
|
|
10366
10398
|
expected = (
|
|
10367
10399
|
"projects/{project}/locations/{location}/repositories/{repository}".format(
|
|
10368
10400
|
project=project,
|
|
@@ -10376,9 +10408,9 @@ def test_repository_path():
|
|
|
10376
10408
|
|
|
10377
10409
|
def test_parse_repository_path():
|
|
10378
10410
|
expected = {
|
|
10379
|
-
"project": "
|
|
10380
|
-
"location": "
|
|
10381
|
-
"repository": "
|
|
10411
|
+
"project": "abalone",
|
|
10412
|
+
"location": "squid",
|
|
10413
|
+
"repository": "clam",
|
|
10382
10414
|
}
|
|
10383
10415
|
path = SecureSourceManagerClient.repository_path(**expected)
|
|
10384
10416
|
|
|
@@ -10387,6 +10419,34 @@ def test_parse_repository_path():
|
|
|
10387
10419
|
assert expected == actual
|
|
10388
10420
|
|
|
10389
10421
|
|
|
10422
|
+
def test_service_attachment_path():
|
|
10423
|
+
project = "whelk"
|
|
10424
|
+
region = "octopus"
|
|
10425
|
+
service_attachment = "oyster"
|
|
10426
|
+
expected = "projects/{project}/regions/{region}/serviceAttachments/{service_attachment}".format(
|
|
10427
|
+
project=project,
|
|
10428
|
+
region=region,
|
|
10429
|
+
service_attachment=service_attachment,
|
|
10430
|
+
)
|
|
10431
|
+
actual = SecureSourceManagerClient.service_attachment_path(
|
|
10432
|
+
project, region, service_attachment
|
|
10433
|
+
)
|
|
10434
|
+
assert expected == actual
|
|
10435
|
+
|
|
10436
|
+
|
|
10437
|
+
def test_parse_service_attachment_path():
|
|
10438
|
+
expected = {
|
|
10439
|
+
"project": "nudibranch",
|
|
10440
|
+
"region": "cuttlefish",
|
|
10441
|
+
"service_attachment": "mussel",
|
|
10442
|
+
}
|
|
10443
|
+
path = SecureSourceManagerClient.service_attachment_path(**expected)
|
|
10444
|
+
|
|
10445
|
+
# Check that the path construction is reversible.
|
|
10446
|
+
actual = SecureSourceManagerClient.parse_service_attachment_path(path)
|
|
10447
|
+
assert expected == actual
|
|
10448
|
+
|
|
10449
|
+
|
|
10390
10450
|
def test_common_billing_account_path():
|
|
10391
10451
|
billing_account = "winkle"
|
|
10392
10452
|
expected = "billingAccounts/{billing_account}".format(
|
|
File without changes
|
{google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/MANIFEST.in
RENAMED
|
File without changes
|
{google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/README.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google-cloud-securesourcemanager-0.1.6 → google-cloud-securesourcemanager-0.1.7}/tests/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|