Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.29 KB

File metadata and controls

29 lines (22 loc) · 1.29 KB

V1ServiceAccountSubject

ServiceAccountSubject holds detailed information for service-account-kind subject.

Properties

Name Type Description Notes
name str `name` is the name of matching ServiceAccount objects, or "*" to match regardless of name. Required.
namespace str `namespace` is the namespace of matching ServiceAccount objects. Required.

Example

from kubernetes.client.models.v1_service_account_subject import V1ServiceAccountSubject

# TODO update the JSON string below
json = "{}"
# create an instance of V1ServiceAccountSubject from a JSON string
v1_service_account_subject_instance = V1ServiceAccountSubject.from_json(json)
# print the JSON string representation of the object
print(V1ServiceAccountSubject.to_json())

# convert the object into a dict
v1_service_account_subject_dict = v1_service_account_subject_instance.to_dict()
# create an instance of V1ServiceAccountSubject from a dict
v1_service_account_subject_from_dict = V1ServiceAccountSubject.from_dict(v1_service_account_subject_dict)

[Back to Model list] [Back to API list] [Back to README]