Skip to content

workflows.v1beta#

zen_api.workflows.v1beta #

Classes:

JobResourcesServiceGetAvailableResourcesRequest dataclass #

JobResourcesServiceGetAvailableResourcesRequest()

Bases: Message

The JobResourcesServiceGetAvailableResourcesRequest class.

JobResourcesServiceGetAvailableResourcesResponse dataclass #

JobResourcesServiceGetAvailableResourcesResponse(resources: List[str] = betterproto.string_field(1))

Bases: Message

Response containing the list of all available resource workflow parameters.

Attributes:

  • resources (List[str]) –

    The list of all available resource workflow parameters.

resources class-attribute instance-attribute #

resources: List[str] = betterproto.string_field(1)

The list of all available resource workflow parameters.

JobResourcesServiceGetBooleanValueRequest dataclass #

JobResourcesServiceGetBooleanValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetBooleanValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetBooleanValueResponse dataclass #

JobResourcesServiceGetBooleanValueResponse(value: bool = betterproto.bool_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (bool) –

    The resource's value.

value class-attribute instance-attribute #

value: bool = betterproto.bool_field(1)

The resource's value.

JobResourcesServiceGetDateTimeValueRequest dataclass #

JobResourcesServiceGetDateTimeValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetDateTimeValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetDateTimeValueResponse dataclass #

JobResourcesServiceGetDateTimeValueResponse(value: str = betterproto.string_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (str) –

    The resource's date and time string value in ISO 8601 format.

value class-attribute instance-attribute #

value: str = betterproto.string_field(1)

The resource's date and time string value in ISO 8601 format.

JobResourcesServiceGetDateValueRequest dataclass #

JobResourcesServiceGetDateValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetDateValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetDateValueResponse dataclass #

JobResourcesServiceGetDateValueResponse(value: str = betterproto.string_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (str) –

    The resource's date string value in ISO 8601 format.

value class-attribute instance-attribute #

value: str = betterproto.string_field(1)

The resource's date string value in ISO 8601 format.

JobResourcesServiceGetDoubleValueRequest dataclass #

JobResourcesServiceGetDoubleValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetDoubleValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetDoubleValueResponse dataclass #

JobResourcesServiceGetDoubleValueResponse(value: float = betterproto.double_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (float) –

    The resource's value.

value class-attribute instance-attribute #

value: float = betterproto.double_field(1)

The resource's value.

JobResourcesServiceGetFloatValueRequest dataclass #

JobResourcesServiceGetFloatValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetFloatValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetFloatValueResponse dataclass #

JobResourcesServiceGetFloatValueResponse(value: float = betterproto.float_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (float) –

    The resource's value.

value class-attribute instance-attribute #

value: float = betterproto.float_field(1)

The resource's value.

JobResourcesServiceGetIntegerValueRequest dataclass #

JobResourcesServiceGetIntegerValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetIntegerValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetIntegerValueResponse dataclass #

JobResourcesServiceGetIntegerValueResponse(value: int = betterproto.int32_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (int) –

    The resource's value.

value class-attribute instance-attribute #

value: int = betterproto.int32_field(1)

The resource's value.

JobResourcesServiceGetLongValueRequest dataclass #

JobResourcesServiceGetLongValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetLongValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetLongValueResponse dataclass #

JobResourcesServiceGetLongValueResponse(value: int = betterproto.int64_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (int) –

    The resource's value.

value class-attribute instance-attribute #

value: int = betterproto.int64_field(1)

The resource's value.

JobResourcesServiceGetStringValueRequest dataclass #

JobResourcesServiceGetStringValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetStringValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetStringValueResponse dataclass #

JobResourcesServiceGetStringValueResponse(value: str = betterproto.string_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (str) –

    The resource's value.

value class-attribute instance-attribute #

value: str = betterproto.string_field(1)

The resource's value.

JobResourcesServiceGetTimeValueRequest dataclass #

JobResourcesServiceGetTimeValueRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceGetTimeValueRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceGetTimeValueResponse dataclass #

JobResourcesServiceGetTimeValueResponse(value: str = betterproto.string_field(1))

Bases: Message

Response containing the resource's value.

Attributes:

  • value (str) –

    The resource's time string value in ISO 8601 format.

value class-attribute instance-attribute #

value: str = betterproto.string_field(1)

The resource's time string value in ISO 8601 format.

JobResourcesServiceHasResourceRequest dataclass #

JobResourcesServiceHasResourceRequest(resource_id: str = betterproto.string_field(1))

Bases: Message

The JobResourcesServiceHasResourceRequest class.

Attributes:

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

JobResourcesServiceHasResourceResponse dataclass #

JobResourcesServiceHasResourceResponse(has_resource: bool = betterproto.bool_field(1))

Bases: Message

Response containing information if the current job has a resource with the specified ID.

Attributes:

  • has_resource (bool) –

    A value indicating whether the current job has a resource with the specified ID.

has_resource class-attribute instance-attribute #

has_resource: bool = betterproto.bool_field(1)

A value indicating whether the current job has a resource with the specified ID.

JobResourcesServiceIsJobLoadedRequest dataclass #

JobResourcesServiceIsJobLoadedRequest()

Bases: Message

The JobResourcesServiceIsJobLoadedRequest class.

JobResourcesServiceIsJobLoadedResponse dataclass #

JobResourcesServiceIsJobLoadedResponse(is_job_loaded: bool = betterproto.bool_field(1))

Bases: Message

Response containing information if a job is loaded.

Attributes:

  • is_job_loaded (bool) –

    A value indicating whether a job is loaded.

is_job_loaded class-attribute instance-attribute #

is_job_loaded: bool = betterproto.bool_field(1)

A value indicating whether a job is loaded.

JobResourcesServiceSetBooleanValueRequest dataclass #

JobResourcesServiceSetBooleanValueRequest(resource_id: str = betterproto.string_field(1), value: bool = betterproto.bool_field(2))

Bases: Message

The JobResourcesServiceSetBooleanValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (bool) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: bool = betterproto.bool_field(2)

The resource's value.

JobResourcesServiceSetBooleanValueResponse dataclass #

JobResourcesServiceSetBooleanValueResponse()

Bases: Message

The JobResourcesServiceSetBooleanValueResponse class.

JobResourcesServiceSetDateTimeValueRequest dataclass #

JobResourcesServiceSetDateTimeValueRequest(resource_id: str = betterproto.string_field(1), value: str = betterproto.string_field(2))

Bases: Message

The JobResourcesServiceSetDateTimeValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (str) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: str = betterproto.string_field(2)

The resource's value.

JobResourcesServiceSetDateTimeValueResponse dataclass #

JobResourcesServiceSetDateTimeValueResponse()

Bases: Message

The JobResourcesServiceSetDateTimeValueResponse class.

JobResourcesServiceSetDateValueRequest dataclass #

JobResourcesServiceSetDateValueRequest(resource_id: str = betterproto.string_field(1), value: str = betterproto.string_field(2))

Bases: Message

The JobResourcesServiceSetDateValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (str) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: str = betterproto.string_field(2)

The resource's value.

JobResourcesServiceSetDateValueResponse dataclass #

JobResourcesServiceSetDateValueResponse()

Bases: Message

The JobResourcesServiceSetDateValueResponse class.

JobResourcesServiceSetDoubleValueRequest dataclass #

JobResourcesServiceSetDoubleValueRequest(resource_id: str = betterproto.string_field(1), value: float = betterproto.double_field(2))

Bases: Message

The JobResourcesServiceSetDoubleValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (float) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: float = betterproto.double_field(2)

The resource's value.

JobResourcesServiceSetDoubleValueResponse dataclass #

JobResourcesServiceSetDoubleValueResponse()

Bases: Message

The JobResourcesServiceSetDoubleValueResponse class.

JobResourcesServiceSetFloatValueRequest dataclass #

JobResourcesServiceSetFloatValueRequest(resource_id: str = betterproto.string_field(1), value: float = betterproto.float_field(2))

Bases: Message

The JobResourcesServiceSetFloatValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (float) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: float = betterproto.float_field(2)

The resource's value.

JobResourcesServiceSetFloatValueResponse dataclass #

JobResourcesServiceSetFloatValueResponse()

Bases: Message

The JobResourcesServiceSetFloatValueResponse class.

JobResourcesServiceSetIntegerValueRequest dataclass #

JobResourcesServiceSetIntegerValueRequest(resource_id: str = betterproto.string_field(1), value: int = betterproto.int32_field(2))

Bases: Message

The JobResourcesServiceSetIntegerValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (int) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: int = betterproto.int32_field(2)

The resource's value.

JobResourcesServiceSetIntegerValueResponse dataclass #

JobResourcesServiceSetIntegerValueResponse()

Bases: Message

The JobResourcesServiceSetIntegerValueResponse class.

JobResourcesServiceSetLongValueRequest dataclass #

JobResourcesServiceSetLongValueRequest(resource_id: str = betterproto.string_field(1), value: int = betterproto.int64_field(2))

Bases: Message

The JobResourcesServiceSetLongValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (int) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: int = betterproto.int64_field(2)

The resource's value.

JobResourcesServiceSetLongValueResponse dataclass #

JobResourcesServiceSetLongValueResponse()

Bases: Message

The JobResourcesServiceSetLongValueResponse class.

JobResourcesServiceSetStringValueRequest dataclass #

JobResourcesServiceSetStringValueRequest(resource_id: str = betterproto.string_field(1), value: str = betterproto.string_field(2))

Bases: Message

The JobResourcesServiceSetStringValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (str) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: str = betterproto.string_field(2)

The resource's value.

JobResourcesServiceSetStringValueResponse dataclass #

JobResourcesServiceSetStringValueResponse()

Bases: Message

The JobResourcesServiceSetStringValueResponse class.

JobResourcesServiceSetTimeValueRequest dataclass #

JobResourcesServiceSetTimeValueRequest(resource_id: str = betterproto.string_field(1), value: str = betterproto.string_field(2))

Bases: Message

The JobResourcesServiceSetTimeValueRequest class.

Attributes:

  • resource_id (str) –

    The ID of the resource.

  • value (str) –

    The resource's value.

resource_id class-attribute instance-attribute #

resource_id: str = betterproto.string_field(1)

The ID of the resource.

value class-attribute instance-attribute #

value: str = betterproto.string_field(2)

The resource's value.

JobResourcesServiceSetTimeValueResponse dataclass #

JobResourcesServiceSetTimeValueResponse()

Bases: Message

The JobResourcesServiceSetTimeValueResponse class.

JobResourcesServiceStub #

Bases: ServiceStub

Methods:

  • get_available_resources –

    Retrieves a list of all available resource workflow parameters.

  • get_boolean_value –

    Gets the value of the resource with the specified ID from the current job as a boolean

  • get_date_time_value –

    Gets the value of the resource with the specified ID from the current job as a date and time

  • get_date_value –

    Gets the value of the resource with the specified ID from the current job as a date string

  • get_double_value –

    Gets the value of the resource with the specified ID from the current job as a double

  • get_float_value –

    Gets the value of the resource with the specified ID from the current job as a single

  • get_integer_value –

    Gets the value of the resource with the specified ID from the current job as an integer

  • get_long_value –

    Gets the value of the resource with the specified ID from the current job as a long integer

  • get_string_value –

    Gets the value of the resource with the specified ID from the current job as a string value.

  • get_time_value –

    Gets the value of the resource with the specified ID from the current job as a time string

  • has_resource –

    Checks if the current job has a resource with the specified ID.

  • is_job_loaded –

    Checks if a job is loaded.

  • set_boolean_value –

    Sets the value of the resource with the specified ID in the current job as a boolean value

  • set_date_time_value –

    Sets the value of the resource with the specified ID in the current job as a date and time

  • set_date_value –

    Sets the value of the resource with the specified ID in the current job as a date string

  • set_double_value –

    Sets the value of the resource with the specified ID in the current job as a double

  • set_float_value –

    Sets the value of the resource with the specified ID in the current job as a single

  • set_integer_value –

    Sets the value of the resource with the specified ID in the current job as an integer value

  • set_long_value –

    Sets the value of the resource with the specified ID in the current job as a long integer

  • set_string_value –

    Sets the value of the resource with the specified ID in the current job as a string value or

  • set_time_value –

    Sets the value of the resource with the specified ID in the current job as a time string

get_available_resources async #

get_available_resources(job_resources_service_get_available_resources_request: JobResourcesServiceGetAvailableResourcesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetAvailableResourcesResponse

Retrieves a list of all available resource workflow parameters.

get_boolean_value async #

get_boolean_value(job_resources_service_get_boolean_value_request: JobResourcesServiceGetBooleanValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetBooleanValueResponse

Gets the value of the resource with the specified ID from the current job as a boolean value.

get_date_time_value async #

get_date_time_value(job_resources_service_get_date_time_value_request: JobResourcesServiceGetDateTimeValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetDateTimeValueResponse

Gets the value of the resource with the specified ID from the current job as a date and time string value in ISO 8601 format.

get_date_value async #

get_date_value(job_resources_service_get_date_value_request: JobResourcesServiceGetDateValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetDateValueResponse

Gets the value of the resource with the specified ID from the current job as a date string value in ISO 8601 format.

get_double_value async #

get_double_value(job_resources_service_get_double_value_request: JobResourcesServiceGetDoubleValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetDoubleValueResponse

Gets the value of the resource with the specified ID from the current job as a double precision floating point value.

get_float_value async #

get_float_value(job_resources_service_get_float_value_request: JobResourcesServiceGetFloatValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetFloatValueResponse

Gets the value of the resource with the specified ID from the current job as a single precision floating point value.

get_integer_value async #

get_integer_value(job_resources_service_get_integer_value_request: JobResourcesServiceGetIntegerValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetIntegerValueResponse

Gets the value of the resource with the specified ID from the current job as an integer value.

get_long_value async #

get_long_value(job_resources_service_get_long_value_request: JobResourcesServiceGetLongValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetLongValueResponse

Gets the value of the resource with the specified ID from the current job as a long integer value.

get_string_value async #

get_string_value(job_resources_service_get_string_value_request: JobResourcesServiceGetStringValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetStringValueResponse

Gets the value of the resource with the specified ID from the current job as a string value.

get_time_value async #

get_time_value(job_resources_service_get_time_value_request: JobResourcesServiceGetTimeValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceGetTimeValueResponse

Gets the value of the resource with the specified ID from the current job as a time string value in ISO 8601 format.

has_resource async #

has_resource(job_resources_service_has_resource_request: JobResourcesServiceHasResourceRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceHasResourceResponse

Checks if the current job has a resource with the specified ID.

is_job_loaded async #

is_job_loaded(job_resources_service_is_job_loaded_request: JobResourcesServiceIsJobLoadedRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceIsJobLoadedResponse

Checks if a job is loaded.

set_boolean_value async #

set_boolean_value(job_resources_service_set_boolean_value_request: JobResourcesServiceSetBooleanValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetBooleanValueResponse

Sets the value of the resource with the specified ID in the current job as a boolean value or creates the resource if it doesn't exist.

set_date_time_value async #

set_date_time_value(job_resources_service_set_date_time_value_request: JobResourcesServiceSetDateTimeValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetDateTimeValueResponse

Sets the value of the resource with the specified ID in the current job as a date and time string value in ISO 8601 format or creates the resource if it doesn't exist.

set_date_value async #

set_date_value(job_resources_service_set_date_value_request: JobResourcesServiceSetDateValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetDateValueResponse

Sets the value of the resource with the specified ID in the current job as a date string value in ISO 8601 format or creates the resource if it doesn't exist.

set_double_value async #

set_double_value(job_resources_service_set_double_value_request: JobResourcesServiceSetDoubleValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetDoubleValueResponse

Sets the value of the resource with the specified ID in the current job as a double precision floating point value or creates the resource if it doesn't exist.

set_float_value async #

set_float_value(job_resources_service_set_float_value_request: JobResourcesServiceSetFloatValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetFloatValueResponse

Sets the value of the resource with the specified ID in the current job as a single precision floating point value or creates the resource if it doesn't exist.

set_integer_value async #

set_integer_value(job_resources_service_set_integer_value_request: JobResourcesServiceSetIntegerValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetIntegerValueResponse

Sets the value of the resource with the specified ID in the current job as an integer value or creates the resource if it doesn't exist.

set_long_value async #

set_long_value(job_resources_service_set_long_value_request: JobResourcesServiceSetLongValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetLongValueResponse

Sets the value of the resource with the specified ID in the current job as a long integer value or creates the resource if it doesn't exist.

set_string_value async #

set_string_value(job_resources_service_set_string_value_request: JobResourcesServiceSetStringValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetStringValueResponse

Sets the value of the resource with the specified ID in the current job as a string value or creates the resource if it doesn't exist.

set_time_value async #

set_time_value(job_resources_service_set_time_value_request: JobResourcesServiceSetTimeValueRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) -> JobResourcesServiceSetTimeValueResponse

Sets the value of the resource with the specified ID in the current job as a time string value in ISO 8601 format or creates the resource if it doesn't exist.

JobResourcesServiceBase #

Bases: ServiceBase

Methods:

  • get_available_resources –

    Retrieves a list of all available resource workflow parameters.

  • get_boolean_value –

    Gets the value of the resource with the specified ID from the current job as a boolean

  • get_date_time_value –

    Gets the value of the resource with the specified ID from the current job as a date and time

  • get_date_value –

    Gets the value of the resource with the specified ID from the current job as a date string

  • get_double_value –

    Gets the value of the resource with the specified ID from the current job as a double

  • get_float_value –

    Gets the value of the resource with the specified ID from the current job as a single

  • get_integer_value –

    Gets the value of the resource with the specified ID from the current job as an integer

  • get_long_value –

    Gets the value of the resource with the specified ID from the current job as a long integer

  • get_string_value –

    Gets the value of the resource with the specified ID from the current job as a string value.

  • get_time_value –

    Gets the value of the resource with the specified ID from the current job as a time string

  • has_resource –

    Checks if the current job has a resource with the specified ID.

  • is_job_loaded –

    Checks if a job is loaded.

  • set_boolean_value –

    Sets the value of the resource with the specified ID in the current job as a boolean value

  • set_date_time_value –

    Sets the value of the resource with the specified ID in the current job as a date and time

  • set_date_value –

    Sets the value of the resource with the specified ID in the current job as a date string

  • set_double_value –

    Sets the value of the resource with the specified ID in the current job as a double

  • set_float_value –

    Sets the value of the resource with the specified ID in the current job as a single

  • set_integer_value –

    Sets the value of the resource with the specified ID in the current job as an integer value

  • set_long_value –

    Sets the value of the resource with the specified ID in the current job as a long integer

  • set_string_value –

    Sets the value of the resource with the specified ID in the current job as a string value or

  • set_time_value –

    Sets the value of the resource with the specified ID in the current job as a time string

get_available_resources async #

get_available_resources(job_resources_service_get_available_resources_request: JobResourcesServiceGetAvailableResourcesRequest) -> JobResourcesServiceGetAvailableResourcesResponse

Retrieves a list of all available resource workflow parameters.

get_boolean_value async #

get_boolean_value(job_resources_service_get_boolean_value_request: JobResourcesServiceGetBooleanValueRequest) -> JobResourcesServiceGetBooleanValueResponse

Gets the value of the resource with the specified ID from the current job as a boolean value.

get_date_time_value async #

get_date_time_value(job_resources_service_get_date_time_value_request: JobResourcesServiceGetDateTimeValueRequest) -> JobResourcesServiceGetDateTimeValueResponse

Gets the value of the resource with the specified ID from the current job as a date and time string value in ISO 8601 format.

get_date_value async #

get_date_value(job_resources_service_get_date_value_request: JobResourcesServiceGetDateValueRequest) -> JobResourcesServiceGetDateValueResponse

Gets the value of the resource with the specified ID from the current job as a date string value in ISO 8601 format.

get_double_value async #

get_double_value(job_resources_service_get_double_value_request: JobResourcesServiceGetDoubleValueRequest) -> JobResourcesServiceGetDoubleValueResponse

Gets the value of the resource with the specified ID from the current job as a double precision floating point value.

get_float_value async #

get_float_value(job_resources_service_get_float_value_request: JobResourcesServiceGetFloatValueRequest) -> JobResourcesServiceGetFloatValueResponse

Gets the value of the resource with the specified ID from the current job as a single precision floating point value.

get_integer_value async #

get_integer_value(job_resources_service_get_integer_value_request: JobResourcesServiceGetIntegerValueRequest) -> JobResourcesServiceGetIntegerValueResponse

Gets the value of the resource with the specified ID from the current job as an integer value.

get_long_value async #

get_long_value(job_resources_service_get_long_value_request: JobResourcesServiceGetLongValueRequest) -> JobResourcesServiceGetLongValueResponse

Gets the value of the resource with the specified ID from the current job as a long integer value.

get_string_value async #

get_string_value(job_resources_service_get_string_value_request: JobResourcesServiceGetStringValueRequest) -> JobResourcesServiceGetStringValueResponse

Gets the value of the resource with the specified ID from the current job as a string value.

get_time_value async #

get_time_value(job_resources_service_get_time_value_request: JobResourcesServiceGetTimeValueRequest) -> JobResourcesServiceGetTimeValueResponse

Gets the value of the resource with the specified ID from the current job as a time string value in ISO 8601 format.

has_resource async #

has_resource(job_resources_service_has_resource_request: JobResourcesServiceHasResourceRequest) -> JobResourcesServiceHasResourceResponse

Checks if the current job has a resource with the specified ID.

is_job_loaded async #

is_job_loaded(job_resources_service_is_job_loaded_request: JobResourcesServiceIsJobLoadedRequest) -> JobResourcesServiceIsJobLoadedResponse

Checks if a job is loaded.

set_boolean_value async #

set_boolean_value(job_resources_service_set_boolean_value_request: JobResourcesServiceSetBooleanValueRequest) -> JobResourcesServiceSetBooleanValueResponse

Sets the value of the resource with the specified ID in the current job as a boolean value or creates the resource if it doesn't exist.

set_date_time_value async #

set_date_time_value(job_resources_service_set_date_time_value_request: JobResourcesServiceSetDateTimeValueRequest) -> JobResourcesServiceSetDateTimeValueResponse

Sets the value of the resource with the specified ID in the current job as a date and time string value in ISO 8601 format or creates the resource if it doesn't exist.

set_date_value async #

set_date_value(job_resources_service_set_date_value_request: JobResourcesServiceSetDateValueRequest) -> JobResourcesServiceSetDateValueResponse

Sets the value of the resource with the specified ID in the current job as a date string value in ISO 8601 format or creates the resource if it doesn't exist.

set_double_value async #

set_double_value(job_resources_service_set_double_value_request: JobResourcesServiceSetDoubleValueRequest) -> JobResourcesServiceSetDoubleValueResponse

Sets the value of the resource with the specified ID in the current job as a double precision floating point value or creates the resource if it doesn't exist.

set_float_value async #

set_float_value(job_resources_service_set_float_value_request: JobResourcesServiceSetFloatValueRequest) -> JobResourcesServiceSetFloatValueResponse

Sets the value of the resource with the specified ID in the current job as a single precision floating point value or creates the resource if it doesn't exist.

set_integer_value async #

set_integer_value(job_resources_service_set_integer_value_request: JobResourcesServiceSetIntegerValueRequest) -> JobResourcesServiceSetIntegerValueResponse

Sets the value of the resource with the specified ID in the current job as an integer value or creates the resource if it doesn't exist.

set_long_value async #

set_long_value(job_resources_service_set_long_value_request: JobResourcesServiceSetLongValueRequest) -> JobResourcesServiceSetLongValueResponse

Sets the value of the resource with the specified ID in the current job as a long integer value or creates the resource if it doesn't exist.

set_string_value async #

set_string_value(job_resources_service_set_string_value_request: JobResourcesServiceSetStringValueRequest) -> JobResourcesServiceSetStringValueResponse

Sets the value of the resource with the specified ID in the current job as a string value or creates the resource if it doesn't exist.

set_time_value async #

set_time_value(job_resources_service_set_time_value_request: JobResourcesServiceSetTimeValueRequest) -> JobResourcesServiceSetTimeValueResponse

Sets the value of the resource with the specified ID in the current job as a time string value in ISO 8601 format or creates the resource if it doesn't exist.