kubernetes.aio.client.models.v1_grpc_action module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_grpc_action.V1GRPCAction(port=None, service=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'port': 'port', 'service': 'service'}¶
- openapi_types = {'port': 'int', 'service': 'str'}¶
- property port¶
Gets the port of this V1GRPCAction. # noqa: E501
Port number of the gRPC service. Number must be in the range 1 to 65535. # noqa: E501
- Returns:
The port of this V1GRPCAction. # noqa: E501
- Return type:
- property service¶
Gets the service of this V1GRPCAction. # noqa: E501
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this is not specified, the default behavior is defined by gRPC. # noqa: E501
- Returns:
The service of this V1GRPCAction. # noqa: E501
- Return type:
str
- to_dict(serialize=False)¶
Returns the model properties as a dict
- to_str()¶
Returns the string representation of the model