Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.42 KB

File metadata and controls

31 lines (24 loc) · 1.42 KB

FlowcontrolV1Subject

Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.

Properties

Name Type Description Notes
group V1GroupSubject [optional]
kind str `kind` indicates which one of the other fields is non-empty. Required
service_account V1ServiceAccountSubject [optional]
user V1UserSubject [optional]

Example

from kubernetes.client.models.flowcontrol_v1_subject import FlowcontrolV1Subject

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

# convert the object into a dict
flowcontrol_v1_subject_dict = flowcontrol_v1_subject_instance.to_dict()
# create an instance of FlowcontrolV1Subject from a dict
flowcontrol_v1_subject_from_dict = FlowcontrolV1Subject.from_dict(flowcontrol_v1_subject_dict)

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