proto_docs/google/cloud/dataproc/v1/workflow_templates.rb in google-cloud-dataproc-v1-0.1.0 vs proto_docs/google/cloud/dataproc/v1/workflow_templates.rb in google-cloud-dataproc-v1-0.1.1

- old
+ new

@@ -21,13 +21,13 @@ module Cloud module Dataproc module V1 # A Dataproc workflow template resource. # @!attribute [rw] id - # @return [String] + # @return [::String] # @!attribute [r] name - # @return [String] + # @return [::String] # Output only. The resource name of the workflow template, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates`, the resource name of the # template has the following format: @@ -35,28 +35,28 @@ # # * For `projects.locations.workflowTemplates`, the resource name of the # template has the following format: # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` # @!attribute [rw] version - # @return [Integer] + # @return [::Integer] # Optional. Used to perform a consistent read-modify-write. # # This field should be left blank for a `CreateWorkflowTemplate` request. It # is required for an `UpdateWorkflowTemplate` request, and must match the # current server version. A typical update template flow would fetch the # current template with a `GetWorkflowTemplate` request, which will return # the current template with the `version` field filled in with the # current server version. The user updates other fields in the template, # then returns it as part of the `UpdateWorkflowTemplate` request. # @!attribute [r] create_time - # @return [Google::Protobuf::Timestamp] + # @return [::Google::Protobuf::Timestamp] # Output only. The time template was created. # @!attribute [r] update_time - # @return [Google::Protobuf::Timestamp] + # @return [::Google::Protobuf::Timestamp] # Output only. The time template was last updated. # @!attribute [rw] labels - # @return [Google::Protobuf::Map{String => String}] + # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels to associate with this template. These labels # will be propagated to all jobs and clusters created by the workflow # instance. # # Label **keys** must contain 1 to 63 characters, and must conform to @@ -66,65 +66,65 @@ # characters, and must conform to # [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). # # No more than 32 labels can be associated with a template. # @!attribute [rw] placement - # @return [Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement] + # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplatePlacement] # Required. WorkflowTemplate scheduling information. # @!attribute [rw] jobs - # @return [Array<Google::Cloud::Dataproc::V1::OrderedJob>] + # @return [::Array<::Google::Cloud::Dataproc::V1::OrderedJob>] # Required. The Directed Acyclic Graph of Jobs to submit. # @!attribute [rw] parameters - # @return [Array<Google::Cloud::Dataproc::V1::TemplateParameter>] + # @return [::Array<::Google::Cloud::Dataproc::V1::TemplateParameter>] # Optional. emplate parameters whose values are substituted into the # template. Values for parameters must be provided when the template is # instantiated. class WorkflowTemplate - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key - # @return [String] + # @return [::String] # @!attribute [rw] value - # @return [String] + # @return [::String] class LabelsEntry - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end # Specifies workflow execution target. # # Either `managed_cluster` or `cluster_selector` is required. # @!attribute [rw] managed_cluster - # @return [Google::Cloud::Dataproc::V1::ManagedCluster] + # @return [::Google::Cloud::Dataproc::V1::ManagedCluster] # A cluster that is managed by the workflow. # @!attribute [rw] cluster_selector - # @return [Google::Cloud::Dataproc::V1::ClusterSelector] + # @return [::Google::Cloud::Dataproc::V1::ClusterSelector] # Optional. A selector that chooses target cluster for jobs based # on metadata. # # The selector is evaluated at the time each job is submitted. class WorkflowTemplatePlacement - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster that is managed by the workflow. # @!attribute [rw] cluster_name - # @return [String] + # @return [::String] # Required. The cluster name prefix. A unique cluster name will be formed by # appending a random suffix. # # The name must contain only lower-case letters (a-z), numbers (0-9), # and hyphens (-). Must begin with a letter. Cannot begin or end with # hyphen. Must consist of between 2 and 35 characters. # @!attribute [rw] config - # @return [Google::Cloud::Dataproc::V1::ClusterConfig] + # @return [::Google::Cloud::Dataproc::V1::ClusterConfig] # Required. The cluster configuration. # @!attribute [rw] labels - # @return [Google::Protobuf::Map{String => String}] + # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels to associate with this cluster. # # Label keys must be between 1 and 63 characters long, and must conform to # the following PCRE regular expression: # [\p\\{Ll}\p\\{Lo}][\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,62} @@ -132,83 +132,83 @@ # Label values must be between 1 and 63 characters long, and must conform to # the following PCRE regular expression: [\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,63} # # No more than 32 labels can be associated with a given cluster. class ManagedCluster - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key - # @return [String] + # @return [::String] # @!attribute [rw] value - # @return [String] + # @return [::String] class LabelsEntry - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end # A selector that chooses target cluster for jobs based on metadata. # @!attribute [rw] zone - # @return [String] + # @return [::String] # Optional. The zone where workflow process executes. This parameter does not # affect the selection of the cluster. # # If unspecified, the zone of the first cluster matching the selector # is used. # @!attribute [rw] cluster_labels - # @return [Google::Protobuf::Map{String => String}] + # @return [::Google::Protobuf::Map{::String => ::String}] # Required. The cluster labels. Cluster must have all labels # to match. class ClusterSelector - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key - # @return [String] + # @return [::String] # @!attribute [rw] value - # @return [String] + # @return [::String] class ClusterLabelsEntry - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end # A job executed by the workflow. # @!attribute [rw] step_id - # @return [String] + # @return [::String] # Required. The step id. The id must be unique among all jobs # within the template. # # The step id is used as prefix for job id, as job # `goog-dataproc-workflow-step-id` label, and in - # {Google::Cloud::Dataproc::V1::OrderedJob#prerequisite_step_ids prerequisiteStepIds} field from other + # {::Google::Cloud::Dataproc::V1::OrderedJob#prerequisite_step_ids prerequisiteStepIds} field from other # steps. # # The id must contain only letters (a-z, A-Z), numbers (0-9), # underscores (_), and hyphens (-). Cannot begin or end with underscore # or hyphen. Must consist of between 3 and 50 characters. # @!attribute [rw] hadoop_job - # @return [Google::Cloud::Dataproc::V1::HadoopJob] + # @return [::Google::Cloud::Dataproc::V1::HadoopJob] # @!attribute [rw] spark_job - # @return [Google::Cloud::Dataproc::V1::SparkJob] + # @return [::Google::Cloud::Dataproc::V1::SparkJob] # @!attribute [rw] pyspark_job - # @return [Google::Cloud::Dataproc::V1::PySparkJob] + # @return [::Google::Cloud::Dataproc::V1::PySparkJob] # @!attribute [rw] hive_job - # @return [Google::Cloud::Dataproc::V1::HiveJob] + # @return [::Google::Cloud::Dataproc::V1::HiveJob] # @!attribute [rw] pig_job - # @return [Google::Cloud::Dataproc::V1::PigJob] + # @return [::Google::Cloud::Dataproc::V1::PigJob] # @!attribute [rw] spark_r_job - # @return [Google::Cloud::Dataproc::V1::SparkRJob] + # @return [::Google::Cloud::Dataproc::V1::SparkRJob] # Spark R job # @!attribute [rw] spark_sql_job - # @return [Google::Cloud::Dataproc::V1::SparkSqlJob] + # @return [::Google::Cloud::Dataproc::V1::SparkSqlJob] # @!attribute [rw] presto_job - # @return [Google::Cloud::Dataproc::V1::PrestoJob] + # @return [::Google::Cloud::Dataproc::V1::PrestoJob] # Presto job # @!attribute [rw] labels - # @return [Google::Protobuf::Map{String => String}] + # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. The labels to associate with this job. # # Label keys must be between 1 and 63 characters long, and must conform to # the following regular expression: # [\p\\{Ll}\p\\{Lo}][\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,62} @@ -216,27 +216,27 @@ # Label values must be between 1 and 63 characters long, and must conform to # the following regular expression: [\p\\{Ll}\p\\{Lo}\p\\{N}_-]\\{0,63} # # No more than 32 labels can be associated with a given job. # @!attribute [rw] scheduling - # @return [Google::Cloud::Dataproc::V1::JobScheduling] + # @return [::Google::Cloud::Dataproc::V1::JobScheduling] # Optional. Job scheduling configuration. # @!attribute [rw] prerequisite_step_ids - # @return [Array<String>] + # @return [::Array<::String>] # Optional. The optional list of prerequisite job step_ids. # If not specified, the job will start at the beginning of workflow. class OrderedJob - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key - # @return [String] + # @return [::String] # @!attribute [rw] value - # @return [String] + # @return [::String] class LabelsEntry - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end # A configurable parameter that replaces one or more fields in the template. # Parameterizable fields: @@ -246,25 +246,25 @@ # - Job arguments # - Script variables # - Main class (in HadoopJob and SparkJob) # - Zone (in ClusterSelector) # @!attribute [rw] name - # @return [String] + # @return [::String] # Required. Parameter name. # The parameter name is used as the key, and paired with the # parameter value, which are passed to the template when the template # is instantiated. # The name must contain only capital letters (A-Z), numbers (0-9), and # underscores (_), and must not start with a number. The maximum length is # 40 characters. # @!attribute [rw] fields - # @return [Array<String>] + # @return [::Array<::String>] # Required. Paths to all fields that the parameter replaces. # A field is allowed to appear in at most one parameter's list of field # paths. # - # A field path is similar in syntax to a {Google::Protobuf::FieldMask google.protobuf.FieldMask}. + # A field path is similar in syntax to a {::Google::Protobuf::FieldMask google.protobuf.FieldMask}. # For example, a field path that references the zone field of a workflow # template's cluster selector would be specified as # `placement.clusterSelector.zone`. # # Also, field paths can reference fields using the following syntax: @@ -301,56 +301,56 @@ # invalid: # # - placement.clusterSelector.clusterLabels # - jobs['step-id'].sparkJob.args # @!attribute [rw] description - # @return [String] + # @return [::String] # Optional. Brief description of the parameter. # Must not exceed 1024 characters. # @!attribute [rw] validation - # @return [Google::Cloud::Dataproc::V1::ParameterValidation] + # @return [::Google::Cloud::Dataproc::V1::ParameterValidation] # Optional. Validation rules to be applied to this parameter's value. class TemplateParameter - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for parameter validation. # @!attribute [rw] regex - # @return [Google::Cloud::Dataproc::V1::RegexValidation] + # @return [::Google::Cloud::Dataproc::V1::RegexValidation] # Validation based on regular expressions. # @!attribute [rw] values - # @return [Google::Cloud::Dataproc::V1::ValueValidation] + # @return [::Google::Cloud::Dataproc::V1::ValueValidation] # Validation based on a list of allowed values. class ParameterValidation - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # Validation based on regular expressions. # @!attribute [rw] regexes - # @return [Array<String>] + # @return [::Array<::String>] # Required. RE2 regular expressions used to validate the parameter's value. # The value must match the regex in its entirety (substring # matches are not sufficient). class RegexValidation - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # Validation based on a list of allowed values. # @!attribute [rw] values - # @return [Array<String>] + # @return [::Array<::String>] # Required. List of allowed values for the parameter. class ValueValidation - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A Dataproc workflow template resource. # @!attribute [r] template - # @return [String] + # @return [::String] # Output only. The resource name of the workflow template as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates`, the resource name of the # template has the following format: @@ -358,51 +358,51 @@ # # * For `projects.locations.workflowTemplates`, the resource name of the # template has the following format: # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` # @!attribute [r] version - # @return [Integer] + # @return [::Integer] # Output only. The version of template at the time of # workflow instantiation. # @!attribute [r] create_cluster - # @return [Google::Cloud::Dataproc::V1::ClusterOperation] + # @return [::Google::Cloud::Dataproc::V1::ClusterOperation] # Output only. The create cluster operation metadata. # @!attribute [r] graph - # @return [Google::Cloud::Dataproc::V1::WorkflowGraph] + # @return [::Google::Cloud::Dataproc::V1::WorkflowGraph] # Output only. The workflow graph. # @!attribute [r] delete_cluster - # @return [Google::Cloud::Dataproc::V1::ClusterOperation] + # @return [::Google::Cloud::Dataproc::V1::ClusterOperation] # Output only. The delete cluster operation metadata. # @!attribute [r] state - # @return [Google::Cloud::Dataproc::V1::WorkflowMetadata::State] + # @return [::Google::Cloud::Dataproc::V1::WorkflowMetadata::State] # Output only. The workflow state. # @!attribute [r] cluster_name - # @return [String] + # @return [::String] # Output only. The name of the target cluster. # @!attribute [rw] parameters - # @return [Google::Protobuf::Map{String => String}] + # @return [::Google::Protobuf::Map{::String => ::String}] # Map from parameter names to values that were used for those parameters. # @!attribute [r] start_time - # @return [Google::Protobuf::Timestamp] + # @return [::Google::Protobuf::Timestamp] # Output only. Workflow start time. # @!attribute [r] end_time - # @return [Google::Protobuf::Timestamp] + # @return [::Google::Protobuf::Timestamp] # Output only. Workflow end time. # @!attribute [r] cluster_uuid - # @return [String] + # @return [::String] # Output only. The UUID of target cluster. class WorkflowMetadata - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key - # @return [String] + # @return [::String] # @!attribute [rw] value - # @return [String] + # @return [::String] class ParametersEntry - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # The operation state. module State # Unused. @@ -419,51 +419,51 @@ end end # The cluster operation triggered by a workflow. # @!attribute [r] operation_id - # @return [String] + # @return [::String] # Output only. The id of the cluster operation. # @!attribute [r] error - # @return [String] + # @return [::String] # Output only. Error, if operation failed. # @!attribute [r] done - # @return [Boolean] + # @return [::Boolean] # Output only. Indicates the operation is done. class ClusterOperation - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # The workflow graph. # @!attribute [r] nodes - # @return [Array<Google::Cloud::Dataproc::V1::WorkflowNode>] + # @return [::Array<::Google::Cloud::Dataproc::V1::WorkflowNode>] # Output only. The workflow nodes. class WorkflowGraph - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # The workflow node. # @!attribute [r] step_id - # @return [String] + # @return [::String] # Output only. The name of the node. # @!attribute [r] prerequisite_step_ids - # @return [Array<String>] + # @return [::Array<::String>] # Output only. Node's prerequisite nodes. # @!attribute [r] job_id - # @return [String] + # @return [::String] # Output only. The job id; populated after the node enters RUNNING state. # @!attribute [r] state - # @return [Google::Cloud::Dataproc::V1::WorkflowNode::NodeState] + # @return [::Google::Cloud::Dataproc::V1::WorkflowNode::NodeState] # Output only. The node state. # @!attribute [r] error - # @return [String] + # @return [::String] # Output only. The error detail. class WorkflowNode - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # The workflow node state. module NodeState # State is unspecified. NODE_STATE_UNSPECIFIED = 0 @@ -486,11 +486,11 @@ end end # A request to create a workflow template. # @!attribute [rw] parent - # @return [String] + # @return [::String] # Required. The resource name of the region or location, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates,create`, the resource name of the # region has the following format: @@ -498,20 +498,20 @@ # # * For `projects.locations.workflowTemplates.create`, the resource name of # the location has the following format: # `projects/{project_id}/locations/{location}` # @!attribute [rw] template - # @return [Google::Cloud::Dataproc::V1::WorkflowTemplate] + # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate] # Required. The Dataproc workflow template to create. class CreateWorkflowTemplateRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A request to fetch a workflow template. # @!attribute [rw] name - # @return [String] + # @return [::String] # Required. The resource name of the workflow template, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates.get`, the resource name of the # template has the following format: @@ -519,23 +519,23 @@ # # * For `projects.locations.workflowTemplates.get`, the resource name of the # template has the following format: # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` # @!attribute [rw] version - # @return [Integer] + # @return [::Integer] # Optional. The version of workflow template to retrieve. Only previously # instantiated versions can be retrieved. # # If unspecified, retrieves the current version. class GetWorkflowTemplateRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A request to instantiate a workflow template. # @!attribute [rw] name - # @return [String] + # @return [::String] # Required. The resource name of the workflow template, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates.instantiate`, the resource name # of the template has the following format: @@ -543,49 +543,49 @@ # # * For `projects.locations.workflowTemplates.instantiate`, the resource name # of the template has the following format: # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` # @!attribute [rw] version - # @return [Integer] + # @return [::Integer] # Optional. The version of workflow template to instantiate. If specified, # the workflow will be instantiated only if the current version of # the workflow template has the supplied version. # # This option cannot be used to instantiate a previous version of # workflow template. # @!attribute [rw] request_id - # @return [String] + # @return [::String] # Optional. A tag that prevents multiple concurrent workflow # instances with the same tag from running. This mitigates risk of # concurrent instances started due to retries. # # It is recommended to always set this value to a # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). # # The tag must contain only letters (a-z, A-Z), numbers (0-9), # underscores (_), and hyphens (-). The maximum length is 40 characters. # @!attribute [rw] parameters - # @return [Google::Protobuf::Map{String => String}] + # @return [::Google::Protobuf::Map{::String => ::String}] # Optional. Map from parameter names to values that should be used for those # parameters. Values may not exceed 100 characters. class InstantiateWorkflowTemplateRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key - # @return [String] + # @return [::String] # @!attribute [rw] value - # @return [String] + # @return [::String] class ParametersEntry - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end # A request to instantiate an inline workflow template. # @!attribute [rw] parent - # @return [String] + # @return [::String] # Required. The resource name of the region or location, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates,instantiateinline`, the resource # name of the region has the following format: @@ -593,42 +593,42 @@ # # * For `projects.locations.workflowTemplates.instantiateinline`, the # resource name of the location has the following format: # `projects/{project_id}/locations/{location}` # @!attribute [rw] template - # @return [Google::Cloud::Dataproc::V1::WorkflowTemplate] + # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate] # Required. The workflow template to instantiate. # @!attribute [rw] request_id - # @return [String] + # @return [::String] # Optional. A tag that prevents multiple concurrent workflow # instances with the same tag from running. This mitigates risk of # concurrent instances started due to retries. # # It is recommended to always set this value to a # [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). # # The tag must contain only letters (a-z, A-Z), numbers (0-9), # underscores (_), and hyphens (-). The maximum length is 40 characters. class InstantiateInlineWorkflowTemplateRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A request to update a workflow template. # @!attribute [rw] template - # @return [Google::Cloud::Dataproc::V1::WorkflowTemplate] + # @return [::Google::Cloud::Dataproc::V1::WorkflowTemplate] # Required. The updated workflow template. # # The `template.version` field must match the current version. class UpdateWorkflowTemplateRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A request to list workflow templates in a project. # @!attribute [rw] parent - # @return [String] + # @return [::String] # Required. The resource name of the region or location, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates,list`, the resource # name of the region has the following format: @@ -636,40 +636,40 @@ # # * For `projects.locations.workflowTemplates.list`, the # resource name of the location has the following format: # `projects/{project_id}/locations/{location}` # @!attribute [rw] page_size - # @return [Integer] + # @return [::Integer] # Optional. The maximum number of results to return in each response. # @!attribute [rw] page_token - # @return [String] + # @return [::String] # Optional. The page token, returned by a previous call, to request the # next page of results. class ListWorkflowTemplatesRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A response to a request to list workflow templates in a project. # @!attribute [r] templates - # @return [Array<Google::Cloud::Dataproc::V1::WorkflowTemplate>] + # @return [::Array<::Google::Cloud::Dataproc::V1::WorkflowTemplate>] # Output only. WorkflowTemplates list. # @!attribute [r] next_page_token - # @return [String] + # @return [::String] # Output only. This token is included in the response if there are more # results to fetch. To fetch additional results, provide this value as the # page_token in a subsequent <code>ListWorkflowTemplatesRequest</code>. class ListWorkflowTemplatesResponse - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end # A request to delete a workflow template. # # Currently started workflows will remain running. # @!attribute [rw] name - # @return [String] + # @return [::String] # Required. The resource name of the workflow template, as described # in https://cloud.google.com/apis/design/resource_names. # # * For `projects.regions.workflowTemplates.delete`, the resource name # of the template has the following format: @@ -677,16 +677,16 @@ # # * For `projects.locations.workflowTemplates.instantiate`, the resource name # of the template has the following format: # `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` # @!attribute [rw] version - # @return [Integer] + # @return [::Integer] # Optional. The version of workflow template to delete. If specified, # will only delete the template if the current server version matches # specified version. class DeleteWorkflowTemplateRequest - include Google::Protobuf::MessageExts - extend Google::Protobuf::MessageExts::ClassMethods + include ::Google::Protobuf::MessageExts + extend ::Google::Protobuf::MessageExts::ClassMethods end end end end end