google-cloud-workflows-v1 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/google/cloud/workflows/v1/bindings_override.rb +102 -0
 - data/lib/google/cloud/workflows/v1/rest.rb +1 -0
 - data/lib/google/cloud/workflows/v1/version.rb +1 -1
 - data/lib/google/cloud/workflows/v1/workflows/client.rb +34 -14
 - data/lib/google/cloud/workflows/v1/workflows/paths.rb +21 -0
 - data/lib/google/cloud/workflows/v1/workflows/rest/client.rb +42 -14
 - data/lib/google/cloud/workflows/v1/workflows/rest.rb +1 -0
 - data/lib/google/cloud/workflows/v1/workflows_pb.rb +5 -1
 - data/lib/google/cloud/workflows/v1/workflows_services_pb.rb +5 -5
 - data/proto_docs/google/cloud/workflows/v1/workflows.rb +106 -19
 - metadata +23 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 0c70c1137560fb087db271c7ce6d52e3353ed18fcbe0a2dbc99e71bb6c55c569
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 041c5358c9b1908c65f1652279742cad48b00fc9cd756f3a7b0bf83034640043
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: b1577a3bd73ec3669e3efacaa4704d8257651781d4dab1008e4638cd2a7c83aae1c55c4250ac5856a1c06ee2115b92e908f35fbdd864ed748d6c5517047afc61
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 315f76b80c16281fd6e653586d76f5e6e752e1b98e9d40dcdeae8276f6fb5aa45fb1ca13e192cda86d5f8fbcfc1d79c2e7d5b164a8406d5deae52ce36fceb830
         
     | 
| 
         @@ -0,0 +1,102 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2023 Google LLC
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 6 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 7 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 8 
     | 
    
         
            +
            #
         
     | 
| 
      
 9 
     | 
    
         
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            #
         
     | 
| 
      
 11 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 12 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 13 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 14 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 15 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            require "gapic/config"
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            module Google
         
     | 
| 
      
 22 
     | 
    
         
            +
              module Cloud
         
     | 
| 
      
 23 
     | 
    
         
            +
                module Workflows
         
     | 
| 
      
 24 
     | 
    
         
            +
                  ##
         
     | 
| 
      
 25 
     | 
    
         
            +
                  # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
         
     | 
| 
      
 26 
     | 
    
         
            +
                  #
         
     | 
| 
      
 27 
     | 
    
         
            +
                  #     require "google/cloud/workflows/v1/rest"
         
     | 
| 
      
 28 
     | 
    
         
            +
                  #     client = ::Google::Cloud::Workflows::V1::Workflows::Rest::Client.new
         
     | 
| 
      
 29 
     | 
    
         
            +
                  #
         
     | 
| 
      
 30 
     | 
    
         
            +
                  module V1
         
     | 
| 
      
 31 
     | 
    
         
            +
                    ##
         
     | 
| 
      
 32 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 33 
     | 
    
         
            +
                    # Initialize the mixin bindings configuration
         
     | 
| 
      
 34 
     | 
    
         
            +
                    #
         
     | 
| 
      
 35 
     | 
    
         
            +
                    def self.configure
         
     | 
| 
      
 36 
     | 
    
         
            +
                      @configure ||= begin
         
     | 
| 
      
 37 
     | 
    
         
            +
                        namespace = ["Google", "Cloud", "Workflows"]
         
     | 
| 
      
 38 
     | 
    
         
            +
                        parent_config = while namespace.any?
         
     | 
| 
      
 39 
     | 
    
         
            +
                                          parent_name = namespace.join "::"
         
     | 
| 
      
 40 
     | 
    
         
            +
                                          parent_const = const_get parent_name
         
     | 
| 
      
 41 
     | 
    
         
            +
                                          break parent_const.configure if parent_const.respond_to? :configure
         
     | 
| 
      
 42 
     | 
    
         
            +
                                          namespace.pop
         
     | 
| 
      
 43 
     | 
    
         
            +
                                        end
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                        default_config = Configuration.new parent_config
         
     | 
| 
      
 46 
     | 
    
         
            +
                        default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
         
     | 
| 
      
 47 
     | 
    
         
            +
                          Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
         
     | 
| 
      
 48 
     | 
    
         
            +
                            uri_method: :get,
         
     | 
| 
      
 49 
     | 
    
         
            +
                            uri_template: "/v1/{name}",
         
     | 
| 
      
 50 
     | 
    
         
            +
                            matches: [
         
     | 
| 
      
 51 
     | 
    
         
            +
                              ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
         
     | 
| 
      
 52 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 53 
     | 
    
         
            +
                            body: nil
         
     | 
| 
      
 54 
     | 
    
         
            +
                          )
         
     | 
| 
      
 55 
     | 
    
         
            +
                        ]
         
     | 
| 
      
 56 
     | 
    
         
            +
                        default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
                          Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
         
     | 
| 
      
 59 
     | 
    
         
            +
                            uri_method: :get,
         
     | 
| 
      
 60 
     | 
    
         
            +
                            uri_template: "/v1/{name}/locations",
         
     | 
| 
      
 61 
     | 
    
         
            +
                            matches: [
         
     | 
| 
      
 62 
     | 
    
         
            +
                              ["name", %r{^projects/[^/]+/?$}, false]
         
     | 
| 
      
 63 
     | 
    
         
            +
                            ],
         
     | 
| 
      
 64 
     | 
    
         
            +
                            body: nil
         
     | 
| 
      
 65 
     | 
    
         
            +
                          )
         
     | 
| 
      
 66 
     | 
    
         
            +
                        ]
         
     | 
| 
      
 67 
     | 
    
         
            +
                        default_config
         
     | 
| 
      
 68 
     | 
    
         
            +
                      end
         
     | 
| 
      
 69 
     | 
    
         
            +
                      yield @configure if block_given?
         
     | 
| 
      
 70 
     | 
    
         
            +
                      @configure
         
     | 
| 
      
 71 
     | 
    
         
            +
                    end
         
     | 
| 
      
 72 
     | 
    
         
            +
             
     | 
| 
      
 73 
     | 
    
         
            +
                    ##
         
     | 
| 
      
 74 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 75 
     | 
    
         
            +
                    # Configuration class for the google.cloud.workflows.v1 package.
         
     | 
| 
      
 76 
     | 
    
         
            +
                    #
         
     | 
| 
      
 77 
     | 
    
         
            +
                    # This class contains common configuration for all services
         
     | 
| 
      
 78 
     | 
    
         
            +
                    # of the google.cloud.workflows.v1 package.
         
     | 
| 
      
 79 
     | 
    
         
            +
                    #
         
     | 
| 
      
 80 
     | 
    
         
            +
                    # This configuration is for internal use of the client library classes,
         
     | 
| 
      
 81 
     | 
    
         
            +
                    # and it is not intended that the end-users will read or change it.
         
     | 
| 
      
 82 
     | 
    
         
            +
                    #
         
     | 
| 
      
 83 
     | 
    
         
            +
                    class Configuration
         
     | 
| 
      
 84 
     | 
    
         
            +
                      extend ::Gapic::Config
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
                      # @private
         
     | 
| 
      
 87 
     | 
    
         
            +
                      # Overrides for http bindings for the RPC of the mixins for this package.
         
     | 
| 
      
 88 
     | 
    
         
            +
                      # Services in this package should use these when creating clients for the mixin services.
         
     | 
| 
      
 89 
     | 
    
         
            +
                      # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
         
     | 
| 
      
 90 
     | 
    
         
            +
                      config_attr :bindings_override, {}, ::Hash, nil
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
                      # @private
         
     | 
| 
      
 93 
     | 
    
         
            +
                      def initialize parent_config = nil
         
     | 
| 
      
 94 
     | 
    
         
            +
                        @parent_config = parent_config unless parent_config.nil?
         
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
                        yield self if block_given?
         
     | 
| 
      
 97 
     | 
    
         
            +
                      end
         
     | 
| 
      
 98 
     | 
    
         
            +
                    end
         
     | 
| 
      
 99 
     | 
    
         
            +
                  end
         
     | 
| 
      
 100 
     | 
    
         
            +
                end
         
     | 
| 
      
 101 
     | 
    
         
            +
              end
         
     | 
| 
      
 102 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -18,6 +18,7 @@ 
     | 
|
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
            require "google/cloud/errors"
         
     | 
| 
       20 
20 
     | 
    
         
             
            require "google/cloud/workflows/v1/workflows_pb"
         
     | 
| 
      
 21 
     | 
    
         
            +
            require "google/cloud/location"
         
     | 
| 
       21 
22 
     | 
    
         | 
| 
       22 
23 
     | 
    
         
             
            module Google
         
     | 
| 
       23 
24 
     | 
    
         
             
              module Cloud
         
     | 
| 
         @@ -141,6 +142,12 @@ module Google 
     | 
|
| 
       141 
142 
     | 
    
         
             
                            config.endpoint = @config.endpoint
         
     | 
| 
       142 
143 
     | 
    
         
             
                          end
         
     | 
| 
       143 
144 
     | 
    
         | 
| 
      
 145 
     | 
    
         
            +
                          @location_client = Google::Cloud::Location::Locations::Client.new do |config|
         
     | 
| 
      
 146 
     | 
    
         
            +
                            config.credentials = credentials
         
     | 
| 
      
 147 
     | 
    
         
            +
                            config.quota_project = @quota_project_id
         
     | 
| 
      
 148 
     | 
    
         
            +
                            config.endpoint = @config.endpoint
         
     | 
| 
      
 149 
     | 
    
         
            +
                          end
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
       144 
151 
     | 
    
         
             
                          @workflows_stub = ::Gapic::ServiceStub.new(
         
     | 
| 
       145 
152 
     | 
    
         
             
                            ::Google::Cloud::Workflows::V1::Workflows::Stub,
         
     | 
| 
       146 
153 
     | 
    
         
             
                            credentials:  credentials,
         
     | 
| 
         @@ -157,10 +164,17 @@ module Google 
     | 
|
| 
       157 
164 
     | 
    
         
             
                        #
         
     | 
| 
       158 
165 
     | 
    
         
             
                        attr_reader :operations_client
         
     | 
| 
       159 
166 
     | 
    
         | 
| 
      
 167 
     | 
    
         
            +
                        ##
         
     | 
| 
      
 168 
     | 
    
         
            +
                        # Get the associated client for mix-in of the Locations.
         
     | 
| 
      
 169 
     | 
    
         
            +
                        #
         
     | 
| 
      
 170 
     | 
    
         
            +
                        # @return [Google::Cloud::Location::Locations::Client]
         
     | 
| 
      
 171 
     | 
    
         
            +
                        #
         
     | 
| 
      
 172 
     | 
    
         
            +
                        attr_reader :location_client
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
       160 
174 
     | 
    
         
             
                        # Service calls
         
     | 
| 
       161 
175 
     | 
    
         | 
| 
       162 
176 
     | 
    
         
             
                        ##
         
     | 
| 
       163 
     | 
    
         
            -
                        # Lists  
     | 
| 
      
 177 
     | 
    
         
            +
                        # Lists workflows in a given project and location.
         
     | 
| 
       164 
178 
     | 
    
         
             
                        # The default order is not specified.
         
     | 
| 
       165 
179 
     | 
    
         
             
                        #
         
     | 
| 
       166 
180 
     | 
    
         
             
                        # @overload list_workflows(request, options = nil)
         
     | 
| 
         @@ -182,10 +196,10 @@ module Google 
     | 
|
| 
       182 
196 
     | 
    
         
             
                        #     Required. Project and location from which the workflows should be listed.
         
     | 
| 
       183 
197 
     | 
    
         
             
                        #     Format: projects/\\{project}/locations/\\{location}
         
     | 
| 
       184 
198 
     | 
    
         
             
                        #   @param page_size [::Integer]
         
     | 
| 
       185 
     | 
    
         
            -
                        #     Maximum number of workflows to return per call. The service  
     | 
| 
       186 
     | 
    
         
            -
                        #     fewer than this value 
     | 
| 
       187 
     | 
    
         
            -
                        #      
     | 
| 
       188 
     | 
    
         
            -
                        #     than 1000  
     | 
| 
      
 199 
     | 
    
         
            +
                        #     Maximum number of workflows to return per call. The service might return
         
     | 
| 
      
 200 
     | 
    
         
            +
                        #     fewer than this value even if not at the end of the collection. If a value
         
     | 
| 
      
 201 
     | 
    
         
            +
                        #     is not specified, a default value of 500 is used. The maximum permitted
         
     | 
| 
      
 202 
     | 
    
         
            +
                        #     value is 1000 and values greater than 1000 are coerced down to 1000.
         
     | 
| 
       189 
203 
     | 
    
         
             
                        #   @param page_token [::String]
         
     | 
| 
       190 
204 
     | 
    
         
             
                        #     A page token, received from a previous `ListWorkflows` call.
         
     | 
| 
       191 
205 
     | 
    
         
             
                        #     Provide this to retrieve the subsequent page.
         
     | 
| 
         @@ -195,10 +209,10 @@ module Google 
     | 
|
| 
       195 
209 
     | 
    
         
             
                        #   @param filter [::String]
         
     | 
| 
       196 
210 
     | 
    
         
             
                        #     Filter to restrict results to specific workflows.
         
     | 
| 
       197 
211 
     | 
    
         
             
                        #   @param order_by [::String]
         
     | 
| 
       198 
     | 
    
         
            -
                        #     Comma-separated list of fields that  
     | 
| 
      
 212 
     | 
    
         
            +
                        #     Comma-separated list of fields that specify the order of the results.
         
     | 
| 
       199 
213 
     | 
    
         
             
                        #     Default sorting order for a field is ascending. To specify descending order
         
     | 
| 
       200 
     | 
    
         
            -
                        #     for a field, append a " 
     | 
| 
       201 
     | 
    
         
            -
                        #     If not specified, the results  
     | 
| 
      
 214 
     | 
    
         
            +
                        #     for a field, append a "desc" suffix.
         
     | 
| 
      
 215 
     | 
    
         
            +
                        #     If not specified, the results are returned in an unspecified order.
         
     | 
| 
       202 
216 
     | 
    
         
             
                        #
         
     | 
| 
       203 
217 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       204 
218 
     | 
    
         
             
                        # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Workflows::V1::Workflow>]
         
     | 
| 
         @@ -270,7 +284,7 @@ module Google 
     | 
|
| 
       270 
284 
     | 
    
         
             
                        end
         
     | 
| 
       271 
285 
     | 
    
         | 
| 
       272 
286 
     | 
    
         
             
                        ##
         
     | 
| 
       273 
     | 
    
         
            -
                        # Gets details of a single  
     | 
| 
      
 287 
     | 
    
         
            +
                        # Gets details of a single workflow.
         
     | 
| 
       274 
288 
     | 
    
         
             
                        #
         
     | 
| 
       275 
289 
     | 
    
         
             
                        # @overload get_workflow(request, options = nil)
         
     | 
| 
       276 
290 
     | 
    
         
             
                        #   Pass arguments to `get_workflow` via a request object, either of type
         
     | 
| 
         @@ -282,14 +296,20 @@ module Google 
     | 
|
| 
       282 
296 
     | 
    
         
             
                        #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       283 
297 
     | 
    
         
             
                        #     Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
         
     | 
| 
       284 
298 
     | 
    
         
             
                        #
         
     | 
| 
       285 
     | 
    
         
            -
                        # @overload get_workflow(name: nil)
         
     | 
| 
      
 299 
     | 
    
         
            +
                        # @overload get_workflow(name: nil, revision_id: nil)
         
     | 
| 
       286 
300 
     | 
    
         
             
                        #   Pass arguments to `get_workflow` via keyword arguments. Note that at
         
     | 
| 
       287 
301 
     | 
    
         
             
                        #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       288 
302 
     | 
    
         
             
                        #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       289 
303 
     | 
    
         
             
                        #
         
     | 
| 
       290 
304 
     | 
    
         
             
                        #   @param name [::String]
         
     | 
| 
       291 
     | 
    
         
            -
                        #     Required. Name of the workflow which information should be retrieved.
         
     | 
| 
      
 305 
     | 
    
         
            +
                        #     Required. Name of the workflow for which information should be retrieved.
         
     | 
| 
       292 
306 
     | 
    
         
             
                        #     Format: projects/\\{project}/locations/\\{location}/workflows/\\{workflow}
         
     | 
| 
      
 307 
     | 
    
         
            +
                        #   @param revision_id [::String]
         
     | 
| 
      
 308 
     | 
    
         
            +
                        #     Optional. The revision of the workflow to retrieve. If the revision_id is
         
     | 
| 
      
 309 
     | 
    
         
            +
                        #     empty, the latest revision is retrieved.
         
     | 
| 
      
 310 
     | 
    
         
            +
                        #     The format is "000001-a4d", where the first six characters define
         
     | 
| 
      
 311 
     | 
    
         
            +
                        #     the zero-padded decimal revision number. They are followed by a hyphen and
         
     | 
| 
      
 312 
     | 
    
         
            +
                        #     three hexadecimal characters.
         
     | 
| 
       293 
313 
     | 
    
         
             
                        #
         
     | 
| 
       294 
314 
     | 
    
         
             
                        # @yield [response, operation] Access the result along with the RPC operation
         
     | 
| 
       295 
315 
     | 
    
         
             
                        # @yieldparam response [::Google::Cloud::Workflows::V1::Workflow]
         
     | 
| 
         @@ -358,7 +378,7 @@ module Google 
     | 
|
| 
       358 
378 
     | 
    
         
             
                        ##
         
     | 
| 
       359 
379 
     | 
    
         
             
                        # Creates a new workflow. If a workflow with the specified name already
         
     | 
| 
       360 
380 
     | 
    
         
             
                        # exists in the specified project and location, the long running operation
         
     | 
| 
       361 
     | 
    
         
            -
                        #  
     | 
| 
      
 381 
     | 
    
         
            +
                        # returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
         
     | 
| 
       362 
382 
     | 
    
         
             
                        #
         
     | 
| 
       363 
383 
     | 
    
         
             
                        # @overload create_workflow(request, options = nil)
         
     | 
| 
       364 
384 
     | 
    
         
             
                        #   Pass arguments to `create_workflow` via a request object, either of type
         
     | 
| 
         @@ -561,8 +581,8 @@ module Google 
     | 
|
| 
       561 
581 
     | 
    
         
             
                        ##
         
     | 
| 
       562 
582 
     | 
    
         
             
                        # Updates an existing workflow.
         
     | 
| 
       563 
583 
     | 
    
         
             
                        # Running this method has no impact on already running executions of the
         
     | 
| 
       564 
     | 
    
         
            -
                        # workflow. A new revision of the workflow  
     | 
| 
       565 
     | 
    
         
            -
                        # successful update operation. In that case,  
     | 
| 
      
 584 
     | 
    
         
            +
                        # workflow. A new revision of the workflow might be created as a result of a
         
     | 
| 
      
 585 
     | 
    
         
            +
                        # successful update operation. In that case, the new revision is used
         
     | 
| 
       566 
586 
     | 
    
         
             
                        # in new workflow executions.
         
     | 
| 
       567 
587 
     | 
    
         
             
                        #
         
     | 
| 
       568 
588 
     | 
    
         
             
                        # @overload update_workflow(request, options = nil)
         
     | 
| 
         @@ -24,6 +24,27 @@ module Google 
     | 
|
| 
       24 
24 
     | 
    
         
             
                    module Workflows
         
     | 
| 
       25 
25 
     | 
    
         
             
                      # Path helper methods for the Workflows API.
         
     | 
| 
       26 
26 
     | 
    
         
             
                      module Paths
         
     | 
| 
      
 27 
     | 
    
         
            +
                        ##
         
     | 
| 
      
 28 
     | 
    
         
            +
                        # Create a fully-qualified CryptoKey resource string.
         
     | 
| 
      
 29 
     | 
    
         
            +
                        #
         
     | 
| 
      
 30 
     | 
    
         
            +
                        # The resource will be in the following format:
         
     | 
| 
      
 31 
     | 
    
         
            +
                        #
         
     | 
| 
      
 32 
     | 
    
         
            +
                        # `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`
         
     | 
| 
      
 33 
     | 
    
         
            +
                        #
         
     | 
| 
      
 34 
     | 
    
         
            +
                        # @param project [String]
         
     | 
| 
      
 35 
     | 
    
         
            +
                        # @param location [String]
         
     | 
| 
      
 36 
     | 
    
         
            +
                        # @param key_ring [String]
         
     | 
| 
      
 37 
     | 
    
         
            +
                        # @param crypto_key [String]
         
     | 
| 
      
 38 
     | 
    
         
            +
                        #
         
     | 
| 
      
 39 
     | 
    
         
            +
                        # @return [::String]
         
     | 
| 
      
 40 
     | 
    
         
            +
                        def crypto_key_path project:, location:, key_ring:, crypto_key:
         
     | 
| 
      
 41 
     | 
    
         
            +
                          raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         
     | 
| 
      
 42 
     | 
    
         
            +
                          raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
         
     | 
| 
      
 43 
     | 
    
         
            +
                          raise ::ArgumentError, "key_ring cannot contain /" if key_ring.to_s.include? "/"
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                          "projects/#{project}/locations/#{location}/keyRings/#{key_ring}/cryptoKeys/#{crypto_key}"
         
     | 
| 
      
 46 
     | 
    
         
            +
                        end
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
       27 
48 
     | 
    
         
             
                        ##
         
     | 
| 
       28 
49 
     | 
    
         
             
                        # Create a fully-qualified Location resource string.
         
     | 
| 
       29 
50 
     | 
    
         
             
                        #
         
     | 
| 
         @@ -19,6 +19,7 @@ 
     | 
|
| 
       19 
19 
     | 
    
         
             
            require "google/cloud/errors"
         
     | 
| 
       20 
20 
     | 
    
         
             
            require "google/cloud/workflows/v1/workflows_pb"
         
     | 
| 
       21 
21 
     | 
    
         
             
            require "google/cloud/workflows/v1/workflows/rest/service_stub"
         
     | 
| 
      
 22 
     | 
    
         
            +
            require "google/cloud/location/rest"
         
     | 
| 
       22 
23 
     | 
    
         | 
| 
       23 
24 
     | 
    
         
             
            module Google
         
     | 
| 
       24 
25 
     | 
    
         
             
              module Cloud
         
     | 
| 
         @@ -138,6 +139,13 @@ module Google 
     | 
|
| 
       138 
139 
     | 
    
         
             
                              config.endpoint = @config.endpoint
         
     | 
| 
       139 
140 
     | 
    
         
             
                            end
         
     | 
| 
       140 
141 
     | 
    
         | 
| 
      
 142 
     | 
    
         
            +
                            @location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
         
     | 
| 
      
 143 
     | 
    
         
            +
                              config.credentials = credentials
         
     | 
| 
      
 144 
     | 
    
         
            +
                              config.quota_project = @quota_project_id
         
     | 
| 
      
 145 
     | 
    
         
            +
                              config.endpoint = @config.endpoint
         
     | 
| 
      
 146 
     | 
    
         
            +
                              config.bindings_override = @config.bindings_override
         
     | 
| 
      
 147 
     | 
    
         
            +
                            end
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
       141 
149 
     | 
    
         
             
                            @workflows_stub = ::Google::Cloud::Workflows::V1::Workflows::Rest::ServiceStub.new endpoint: @config.endpoint, credentials: credentials
         
     | 
| 
       142 
150 
     | 
    
         
             
                          end
         
     | 
| 
       143 
151 
     | 
    
         | 
| 
         @@ -148,10 +156,17 @@ module Google 
     | 
|
| 
       148 
156 
     | 
    
         
             
                          #
         
     | 
| 
       149 
157 
     | 
    
         
             
                          attr_reader :operations_client
         
     | 
| 
       150 
158 
     | 
    
         | 
| 
      
 159 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 160 
     | 
    
         
            +
                          # Get the associated client for mix-in of the Locations.
         
     | 
| 
      
 161 
     | 
    
         
            +
                          #
         
     | 
| 
      
 162 
     | 
    
         
            +
                          # @return [Google::Cloud::Location::Locations::Rest::Client]
         
     | 
| 
      
 163 
     | 
    
         
            +
                          #
         
     | 
| 
      
 164 
     | 
    
         
            +
                          attr_reader :location_client
         
     | 
| 
      
 165 
     | 
    
         
            +
             
     | 
| 
       151 
166 
     | 
    
         
             
                          # Service calls
         
     | 
| 
       152 
167 
     | 
    
         | 
| 
       153 
168 
     | 
    
         
             
                          ##
         
     | 
| 
       154 
     | 
    
         
            -
                          # Lists  
     | 
| 
      
 169 
     | 
    
         
            +
                          # Lists workflows in a given project and location.
         
     | 
| 
       155 
170 
     | 
    
         
             
                          # The default order is not specified.
         
     | 
| 
       156 
171 
     | 
    
         
             
                          #
         
     | 
| 
       157 
172 
     | 
    
         
             
                          # @overload list_workflows(request, options = nil)
         
     | 
| 
         @@ -173,10 +188,10 @@ module Google 
     | 
|
| 
       173 
188 
     | 
    
         
             
                          #     Required. Project and location from which the workflows should be listed.
         
     | 
| 
       174 
189 
     | 
    
         
             
                          #     Format: projects/\\{project}/locations/\\{location}
         
     | 
| 
       175 
190 
     | 
    
         
             
                          #   @param page_size [::Integer]
         
     | 
| 
       176 
     | 
    
         
            -
                          #     Maximum number of workflows to return per call. The service  
     | 
| 
       177 
     | 
    
         
            -
                          #     fewer than this value 
     | 
| 
       178 
     | 
    
         
            -
                          #      
     | 
| 
       179 
     | 
    
         
            -
                          #     than 1000  
     | 
| 
      
 191 
     | 
    
         
            +
                          #     Maximum number of workflows to return per call. The service might return
         
     | 
| 
      
 192 
     | 
    
         
            +
                          #     fewer than this value even if not at the end of the collection. If a value
         
     | 
| 
      
 193 
     | 
    
         
            +
                          #     is not specified, a default value of 500 is used. The maximum permitted
         
     | 
| 
      
 194 
     | 
    
         
            +
                          #     value is 1000 and values greater than 1000 are coerced down to 1000.
         
     | 
| 
       180 
195 
     | 
    
         
             
                          #   @param page_token [::String]
         
     | 
| 
       181 
196 
     | 
    
         
             
                          #     A page token, received from a previous `ListWorkflows` call.
         
     | 
| 
       182 
197 
     | 
    
         
             
                          #     Provide this to retrieve the subsequent page.
         
     | 
| 
         @@ -186,10 +201,10 @@ module Google 
     | 
|
| 
       186 
201 
     | 
    
         
             
                          #   @param filter [::String]
         
     | 
| 
       187 
202 
     | 
    
         
             
                          #     Filter to restrict results to specific workflows.
         
     | 
| 
       188 
203 
     | 
    
         
             
                          #   @param order_by [::String]
         
     | 
| 
       189 
     | 
    
         
            -
                          #     Comma-separated list of fields that  
     | 
| 
      
 204 
     | 
    
         
            +
                          #     Comma-separated list of fields that specify the order of the results.
         
     | 
| 
       190 
205 
     | 
    
         
             
                          #     Default sorting order for a field is ascending. To specify descending order
         
     | 
| 
       191 
     | 
    
         
            -
                          #     for a field, append a " 
     | 
| 
       192 
     | 
    
         
            -
                          #     If not specified, the results  
     | 
| 
      
 206 
     | 
    
         
            +
                          #     for a field, append a "desc" suffix.
         
     | 
| 
      
 207 
     | 
    
         
            +
                          #     If not specified, the results are returned in an unspecified order.
         
     | 
| 
       193 
208 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       194 
209 
     | 
    
         
             
                          # @yieldparam result [::Google::Cloud::Workflows::V1::ListWorkflowsResponse]
         
     | 
| 
       195 
210 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -233,7 +248,7 @@ module Google 
     | 
|
| 
       233 
248 
     | 
    
         
             
                          end
         
     | 
| 
       234 
249 
     | 
    
         | 
| 
       235 
250 
     | 
    
         
             
                          ##
         
     | 
| 
       236 
     | 
    
         
            -
                          # Gets details of a single  
     | 
| 
      
 251 
     | 
    
         
            +
                          # Gets details of a single workflow.
         
     | 
| 
       237 
252 
     | 
    
         
             
                          #
         
     | 
| 
       238 
253 
     | 
    
         
             
                          # @overload get_workflow(request, options = nil)
         
     | 
| 
       239 
254 
     | 
    
         
             
                          #   Pass arguments to `get_workflow` via a request object, either of type
         
     | 
| 
         @@ -245,14 +260,20 @@ module Google 
     | 
|
| 
       245 
260 
     | 
    
         
             
                          #   @param options [::Gapic::CallOptions, ::Hash]
         
     | 
| 
       246 
261 
     | 
    
         
             
                          #     Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
         
     | 
| 
       247 
262 
     | 
    
         
             
                          #
         
     | 
| 
       248 
     | 
    
         
            -
                          # @overload get_workflow(name: nil)
         
     | 
| 
      
 263 
     | 
    
         
            +
                          # @overload get_workflow(name: nil, revision_id: nil)
         
     | 
| 
       249 
264 
     | 
    
         
             
                          #   Pass arguments to `get_workflow` via keyword arguments. Note that at
         
     | 
| 
       250 
265 
     | 
    
         
             
                          #   least one keyword argument is required. To specify no parameters, or to keep all
         
     | 
| 
       251 
266 
     | 
    
         
             
                          #   the default parameter values, pass an empty Hash as a request object (see above).
         
     | 
| 
       252 
267 
     | 
    
         
             
                          #
         
     | 
| 
       253 
268 
     | 
    
         
             
                          #   @param name [::String]
         
     | 
| 
       254 
     | 
    
         
            -
                          #     Required. Name of the workflow which information should be retrieved.
         
     | 
| 
      
 269 
     | 
    
         
            +
                          #     Required. Name of the workflow for which information should be retrieved.
         
     | 
| 
       255 
270 
     | 
    
         
             
                          #     Format: projects/\\{project}/locations/\\{location}/workflows/\\{workflow}
         
     | 
| 
      
 271 
     | 
    
         
            +
                          #   @param revision_id [::String]
         
     | 
| 
      
 272 
     | 
    
         
            +
                          #     Optional. The revision of the workflow to retrieve. If the revision_id is
         
     | 
| 
      
 273 
     | 
    
         
            +
                          #     empty, the latest revision is retrieved.
         
     | 
| 
      
 274 
     | 
    
         
            +
                          #     The format is "000001-a4d", where the first six characters define
         
     | 
| 
      
 275 
     | 
    
         
            +
                          #     the zero-padded decimal revision number. They are followed by a hyphen and
         
     | 
| 
      
 276 
     | 
    
         
            +
                          #     three hexadecimal characters.
         
     | 
| 
       256 
277 
     | 
    
         
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         
     | 
| 
       257 
278 
     | 
    
         
             
                          # @yieldparam result [::Google::Cloud::Workflows::V1::Workflow]
         
     | 
| 
       258 
279 
     | 
    
         
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         
     | 
| 
         @@ -298,7 +319,7 @@ module Google 
     | 
|
| 
       298 
319 
     | 
    
         
             
                          ##
         
     | 
| 
       299 
320 
     | 
    
         
             
                          # Creates a new workflow. If a workflow with the specified name already
         
     | 
| 
       300 
321 
     | 
    
         
             
                          # exists in the specified project and location, the long running operation
         
     | 
| 
       301 
     | 
    
         
            -
                          #  
     | 
| 
      
 322 
     | 
    
         
            +
                          # returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
         
     | 
| 
       302 
323 
     | 
    
         
             
                          #
         
     | 
| 
       303 
324 
     | 
    
         
             
                          # @overload create_workflow(request, options = nil)
         
     | 
| 
       304 
325 
     | 
    
         
             
                          #   Pass arguments to `create_workflow` via a request object, either of type
         
     | 
| 
         @@ -441,8 +462,8 @@ module Google 
     | 
|
| 
       441 
462 
     | 
    
         
             
                          ##
         
     | 
| 
       442 
463 
     | 
    
         
             
                          # Updates an existing workflow.
         
     | 
| 
       443 
464 
     | 
    
         
             
                          # Running this method has no impact on already running executions of the
         
     | 
| 
       444 
     | 
    
         
            -
                          # workflow. A new revision of the workflow  
     | 
| 
       445 
     | 
    
         
            -
                          # successful update operation. In that case,  
     | 
| 
      
 465 
     | 
    
         
            +
                          # workflow. A new revision of the workflow might be created as a result of a
         
     | 
| 
      
 466 
     | 
    
         
            +
                          # successful update operation. In that case, the new revision is used
         
     | 
| 
       446 
467 
     | 
    
         
             
                          # in new workflow executions.
         
     | 
| 
       447 
468 
     | 
    
         
             
                          #
         
     | 
| 
       448 
469 
     | 
    
         
             
                          # @overload update_workflow(request, options = nil)
         
     | 
| 
         @@ -596,6 +617,13 @@ module Google 
     | 
|
| 
       596 
617 
     | 
    
         
             
                            config_attr :retry_policy,  nil, ::Hash, ::Proc, nil
         
     | 
| 
       597 
618 
     | 
    
         
             
                            config_attr :quota_project, nil, ::String, nil
         
     | 
| 
       598 
619 
     | 
    
         | 
| 
      
 620 
     | 
    
         
            +
                            # @private
         
     | 
| 
      
 621 
     | 
    
         
            +
                            # Overrides for http bindings for the RPCs of this service
         
     | 
| 
      
 622 
     | 
    
         
            +
                            # are only used when this service is used as mixin, and only
         
     | 
| 
      
 623 
     | 
    
         
            +
                            # by the host service.
         
     | 
| 
      
 624 
     | 
    
         
            +
                            # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
         
     | 
| 
      
 625 
     | 
    
         
            +
                            config_attr :bindings_override, {}, ::Hash, nil
         
     | 
| 
      
 626 
     | 
    
         
            +
             
     | 
| 
       599 
627 
     | 
    
         
             
                            # @private
         
     | 
| 
       600 
628 
     | 
    
         
             
                            def initialize parent_config = nil
         
     | 
| 
       601 
629 
     | 
    
         
             
                              @parent_config = parent_config unless parent_config.nil?
         
     | 
| 
         @@ -21,6 +21,7 @@ require "gapic/config" 
     | 
|
| 
       21 
21 
     | 
    
         
             
            require "gapic/config/method"
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
            require "google/cloud/workflows/v1/version"
         
     | 
| 
      
 24 
     | 
    
         
            +
            require "google/cloud/workflows/v1/bindings_override"
         
     | 
| 
       24 
25 
     | 
    
         | 
| 
       25 
26 
     | 
    
         
             
            require "google/cloud/workflows/v1/workflows/credentials"
         
     | 
| 
       26 
27 
     | 
    
         
             
            require "google/cloud/workflows/v1/workflows/paths"
         
     | 
| 
         @@ -9,11 +9,12 @@ require 'google/api/client_pb' 
     | 
|
| 
       9 
9 
     | 
    
         
             
            require 'google/api/field_behavior_pb'
         
     | 
| 
       10 
10 
     | 
    
         
             
            require 'google/api/resource_pb'
         
     | 
| 
       11 
11 
     | 
    
         
             
            require 'google/longrunning/operations_pb'
         
     | 
| 
      
 12 
     | 
    
         
            +
            require 'google/protobuf/empty_pb'
         
     | 
| 
       12 
13 
     | 
    
         
             
            require 'google/protobuf/field_mask_pb'
         
     | 
| 
       13 
14 
     | 
    
         
             
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
       14 
15 
     | 
    
         | 
| 
       15 
16 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
            descriptor_data = "\n)google/cloud/workflows/v1/workflows.proto\x12\x19google.cloud.workflows.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\ 
     | 
| 
      
 17 
     | 
    
         
            +
            descriptor_data = "\n)google/cloud/workflows/v1/workflows.proto\x12\x19google.cloud.workflows.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe0\t\n\x08Workflow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12=\n\x05state\x18\x03 \x01(\x0e\x32).google.cloud.workflows.v1.Workflow.StateB\x03\xe0\x41\x03\x12\x18\n\x0brevision_id\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x06labels\x18\x08 \x03(\x0b\x32/.google.cloud.workflows.v1.Workflow.LabelsEntry\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x19\n\x0fsource_contents\x18\n \x01(\tH\x00\x12\x42\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12H\n\x0bstate_error\x18\x0c \x01(\x0b\x32..google.cloud.workflows.v1.Workflow.StateErrorB\x03\xe0\x41\x03\x12M\n\x0e\x63\x61ll_log_level\x18\r \x01(\x0e\x32\x30.google.cloud.workflows.v1.Workflow.CallLogLevelB\x03\xe0\x41\x01\x12P\n\ruser_env_vars\x18\x0e \x03(\x0b\x32\x34.google.cloud.workflows.v1.Workflow.UserEnvVarsEntryB\x03\xe0\x41\x01\x1a\x8d\x01\n\nStateError\x12\x0f\n\x07\x64\x65tails\x18\x01 \x01(\t\x12\x41\n\x04type\x18\x02 \x01(\x0e\x32\x33.google.cloud.workflows.v1.Workflow.StateError.Type\"+\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n\tKMS_ERROR\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10UserEnvVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x0f\n\x0bUNAVAILABLE\x10\x02\"d\n\x0c\x43\x61llLogLevel\x12\x1e\n\x1a\x43\x41LL_LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x11\n\rLOG_ALL_CALLS\x10\x01\x12\x13\n\x0fLOG_ERRORS_ONLY\x10\x02\x12\x0c\n\x08LOG_NONE\x10\x03:d\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}B\r\n\x0bsource_code\"\x9a\x01\n\x14ListWorkflowsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x15ListWorkflowsResponse\x12\x36\n\tworkflows\x18\x01 \x03(\x0b\x32#.google.cloud.workflows.v1.Workflow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"g\n\x12GetWorkflowRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\x12\x18\n\x0brevision_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xa8\x01\n\x15\x43reateWorkflowRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12:\n\x08workflow\x18\x02 \x01(\x0b\x32#.google.cloud.workflows.v1.WorkflowB\x03\xe0\x41\x02\x12\x18\n\x0bworkflow_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"P\n\x15\x44\x65leteWorkflowRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!workflows.googleapis.com/Workflow\"\x84\x01\n\x15UpdateWorkflowRequest\x12:\n\x08workflow\x18\x01 \x01(\x0b\x32#.google.cloud.workflows.v1.WorkflowB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa5\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x05 \x01(\t2\xc7\x08\n\tWorkflows\x12\xb2\x01\n\rListWorkflows\x12/.google.cloud.workflows.v1.ListWorkflowsRequest\x1a\x30.google.cloud.workflows.v1.ListWorkflowsResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/workflows\xda\x41\x06parent\x12\x9f\x01\n\x0bGetWorkflow\x12-.google.cloud.workflows.v1.GetWorkflowRequest\x1a#.google.cloud.workflows.v1.Workflow\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/workflows/*}\xda\x41\x04name\x12\xe0\x01\n\x0e\x43reateWorkflow\x12\x30.google.cloud.workflows.v1.CreateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/workflows:\x08workflow\xda\x41\x1bparent,workflow,workflow_id\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\x12\xcc\x01\n\x0e\x44\x65leteWorkflow\x12\x30.google.cloud.workflows.v1.DeleteWorkflowRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/workflows/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe2\x01\n\x0eUpdateWorkflow\x12\x30.google.cloud.workflows.v1.UpdateWorkflowRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02\x42\x32\x36/v1/{workflow.name=projects/*/locations/*/workflows/*}:\x08workflow\xda\x41\x14workflow,update_mask\xca\x41\x1d\n\x08Workflow\x12\x11OperationMetadata\x1aL\xca\x41\x18workflows.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe7\x01\n\x1d\x63om.google.cloud.workflows.v1B\x0eWorkflowsProtoP\x01Z;cloud.google.com/go/workflows/apiv1/workflowspb;workflowspb\xea\x41v\n!cloudkms.googleapis.com/CryptoKey\x12Qprojects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}b\x06proto3"
         
     | 
| 
       17 
18 
     | 
    
         | 
| 
       18 
19 
     | 
    
         
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
       19 
20 
     | 
    
         | 
| 
         @@ -46,7 +47,10 @@ module Google 
     | 
|
| 
       46 
47 
     | 
    
         
             
                module Workflows
         
     | 
| 
       47 
48 
     | 
    
         
             
                  module V1
         
     | 
| 
       48 
49 
     | 
    
         
             
                    Workflow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.Workflow").msgclass
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Workflow::StateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.Workflow.StateError").msgclass
         
     | 
| 
      
 51 
     | 
    
         
            +
                    Workflow::StateError::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.Workflow.StateError.Type").enummodule
         
     | 
| 
       49 
52 
     | 
    
         
             
                    Workflow::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.Workflow.State").enummodule
         
     | 
| 
      
 53 
     | 
    
         
            +
                    Workflow::CallLogLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.Workflow.CallLogLevel").enummodule
         
     | 
| 
       50 
54 
     | 
    
         
             
                    ListWorkflowsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.ListWorkflowsRequest").msgclass
         
     | 
| 
       51 
55 
     | 
    
         
             
                    ListWorkflowsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.ListWorkflowsResponse").msgclass
         
     | 
| 
       52 
56 
     | 
    
         
             
                    GetWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.v1.GetWorkflowRequest").msgclass
         
     | 
| 
         @@ -35,14 +35,14 @@ module Google 
     | 
|
| 
       35 
35 
     | 
    
         
             
                        self.unmarshal_class_method = :decode
         
     | 
| 
       36 
36 
     | 
    
         
             
                        self.service_name = 'google.cloud.workflows.v1.Workflows'
         
     | 
| 
       37 
37 
     | 
    
         | 
| 
       38 
     | 
    
         
            -
                        # Lists  
     | 
| 
      
 38 
     | 
    
         
            +
                        # Lists workflows in a given project and location.
         
     | 
| 
       39 
39 
     | 
    
         
             
                        # The default order is not specified.
         
     | 
| 
       40 
40 
     | 
    
         
             
                        rpc :ListWorkflows, ::Google::Cloud::Workflows::V1::ListWorkflowsRequest, ::Google::Cloud::Workflows::V1::ListWorkflowsResponse
         
     | 
| 
       41 
     | 
    
         
            -
                        # Gets details of a single  
     | 
| 
      
 41 
     | 
    
         
            +
                        # Gets details of a single workflow.
         
     | 
| 
       42 
42 
     | 
    
         
             
                        rpc :GetWorkflow, ::Google::Cloud::Workflows::V1::GetWorkflowRequest, ::Google::Cloud::Workflows::V1::Workflow
         
     | 
| 
       43 
43 
     | 
    
         
             
                        # Creates a new workflow. If a workflow with the specified name already
         
     | 
| 
       44 
44 
     | 
    
         
             
                        # exists in the specified project and location, the long running operation
         
     | 
| 
       45 
     | 
    
         
            -
                        #  
     | 
| 
      
 45 
     | 
    
         
            +
                        # returns a [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
         
     | 
| 
       46 
46 
     | 
    
         
             
                        rpc :CreateWorkflow, ::Google::Cloud::Workflows::V1::CreateWorkflowRequest, ::Google::Longrunning::Operation
         
     | 
| 
       47 
47 
     | 
    
         
             
                        # Deletes a workflow with the specified name.
         
     | 
| 
       48 
48 
     | 
    
         
             
                        # This method also cancels and deletes all running executions of the
         
     | 
| 
         @@ -50,8 +50,8 @@ module Google 
     | 
|
| 
       50 
50 
     | 
    
         
             
                        rpc :DeleteWorkflow, ::Google::Cloud::Workflows::V1::DeleteWorkflowRequest, ::Google::Longrunning::Operation
         
     | 
| 
       51 
51 
     | 
    
         
             
                        # Updates an existing workflow.
         
     | 
| 
       52 
52 
     | 
    
         
             
                        # Running this method has no impact on already running executions of the
         
     | 
| 
       53 
     | 
    
         
            -
                        # workflow. A new revision of the workflow  
     | 
| 
       54 
     | 
    
         
            -
                        # successful update operation. In that case,  
     | 
| 
      
 53 
     | 
    
         
            +
                        # workflow. A new revision of the workflow might be created as a result of a
         
     | 
| 
      
 54 
     | 
    
         
            +
                        # successful update operation. In that case, the new revision is used
         
     | 
| 
       55 
55 
     | 
    
         
             
                        # in new workflow executions.
         
     | 
| 
       56 
56 
     | 
    
         
             
                        rpc :UpdateWorkflow, ::Google::Cloud::Workflows::V1::UpdateWorkflowRequest, ::Google::Longrunning::Operation
         
     | 
| 
       57 
57 
     | 
    
         
             
                      end
         
     | 
| 
         @@ -40,27 +40,28 @@ module Google 
     | 
|
| 
       40 
40 
     | 
    
         
             
                    #     following properties of a workflow:
         
     | 
| 
       41 
41 
     | 
    
         
             
                    #
         
     | 
| 
       42 
42 
     | 
    
         
             
                    #     - {::Google::Cloud::Workflows::V1::Workflow#service_account Service account}
         
     | 
| 
       43 
     | 
    
         
            -
                    #     -  
     | 
| 
      
 43 
     | 
    
         
            +
                    #     - [Workflow code to be
         
     | 
| 
      
 44 
     | 
    
         
            +
                    #     executed][google.cloud.workflows.v1.Workflow.source_contents]
         
     | 
| 
       44 
45 
     | 
    
         
             
                    #
         
     | 
| 
       45 
     | 
    
         
            -
                    #     The format is "000001-a4d", where the first  
     | 
| 
      
 46 
     | 
    
         
            +
                    #     The format is "000001-a4d", where the first six characters define
         
     | 
| 
       46 
47 
     | 
    
         
             
                    #     the zero-padded revision ordinal number. They are followed by a hyphen and
         
     | 
| 
       47 
     | 
    
         
            -
                    #      
     | 
| 
      
 48 
     | 
    
         
            +
                    #     three hexadecimal random characters.
         
     | 
| 
       48 
49 
     | 
    
         
             
                    # @!attribute [r] create_time
         
     | 
| 
       49 
50 
     | 
    
         
             
                    #   @return [::Google::Protobuf::Timestamp]
         
     | 
| 
       50 
     | 
    
         
            -
                    #     Output only. The timestamp  
     | 
| 
      
 51 
     | 
    
         
            +
                    #     Output only. The timestamp for when the workflow was created.
         
     | 
| 
       51 
52 
     | 
    
         
             
                    # @!attribute [r] update_time
         
     | 
| 
       52 
53 
     | 
    
         
             
                    #   @return [::Google::Protobuf::Timestamp]
         
     | 
| 
       53 
     | 
    
         
            -
                    #     Output only. The  
     | 
| 
      
 54 
     | 
    
         
            +
                    #     Output only. The timestamp for when the workflow was last updated.
         
     | 
| 
       54 
55 
     | 
    
         
             
                    # @!attribute [r] revision_create_time
         
     | 
| 
       55 
56 
     | 
    
         
             
                    #   @return [::Google::Protobuf::Timestamp]
         
     | 
| 
       56 
     | 
    
         
            -
                    #     Output only. The timestamp  
     | 
| 
       57 
     | 
    
         
            -
                    #      
     | 
| 
      
 57 
     | 
    
         
            +
                    #     Output only. The timestamp for the latest revision of the workflow's
         
     | 
| 
      
 58 
     | 
    
         
            +
                    #     creation.
         
     | 
| 
       58 
59 
     | 
    
         
             
                    # @!attribute [rw] labels
         
     | 
| 
       59 
60 
     | 
    
         
             
                    #   @return [::Google::Protobuf::Map{::String => ::String}]
         
     | 
| 
       60 
61 
     | 
    
         
             
                    #     Labels associated with this workflow.
         
     | 
| 
       61 
62 
     | 
    
         
             
                    #     Labels can contain at most 64 entries. Keys and values can be no longer
         
     | 
| 
       62 
63 
     | 
    
         
             
                    #     than 63 characters and can only contain lowercase letters, numeric
         
     | 
| 
       63 
     | 
    
         
            -
                    #     characters, underscores and dashes. Label keys must start with a letter.
         
     | 
| 
      
 64 
     | 
    
         
            +
                    #     characters, underscores, and dashes. Label keys must start with a letter.
         
     | 
| 
       64 
65 
     | 
    
         
             
                    #     International characters are allowed.
         
     | 
| 
       65 
66 
     | 
    
         
             
                    # @!attribute [rw] service_account
         
     | 
| 
       66 
67 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
         @@ -79,10 +80,61 @@ module Google 
     | 
|
| 
       79 
80 
     | 
    
         
             
                    # @!attribute [rw] source_contents
         
     | 
| 
       80 
81 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       81 
82 
     | 
    
         
             
                    #     Workflow code to be executed. The size limit is 128KB.
         
     | 
| 
      
 83 
     | 
    
         
            +
                    # @!attribute [rw] crypto_key_name
         
     | 
| 
      
 84 
     | 
    
         
            +
                    #   @return [::String]
         
     | 
| 
      
 85 
     | 
    
         
            +
                    #     Optional. The resource name of a KMS crypto key used to encrypt or decrypt
         
     | 
| 
      
 86 
     | 
    
         
            +
                    #     the data associated with the workflow.
         
     | 
| 
      
 87 
     | 
    
         
            +
                    #
         
     | 
| 
      
 88 
     | 
    
         
            +
                    #     Format:
         
     | 
| 
      
 89 
     | 
    
         
            +
                    #     projects/\\{project}/locations/\\{location}/keyRings/\\{keyRing}/cryptoKeys/\\{cryptoKey}
         
     | 
| 
      
 90 
     | 
    
         
            +
                    #
         
     | 
| 
      
 91 
     | 
    
         
            +
                    #     Using `-` as a wildcard for the `{project}` or not providing one at all
         
     | 
| 
      
 92 
     | 
    
         
            +
                    #     will infer the project from the account.
         
     | 
| 
      
 93 
     | 
    
         
            +
                    #
         
     | 
| 
      
 94 
     | 
    
         
            +
                    #     If not provided, data associated with the workflow will not be
         
     | 
| 
      
 95 
     | 
    
         
            +
                    #     CMEK-encrypted.
         
     | 
| 
      
 96 
     | 
    
         
            +
                    # @!attribute [r] state_error
         
     | 
| 
      
 97 
     | 
    
         
            +
                    #   @return [::Google::Cloud::Workflows::V1::Workflow::StateError]
         
     | 
| 
      
 98 
     | 
    
         
            +
                    #     Output only. Error regarding the state of the workflow. For example, this
         
     | 
| 
      
 99 
     | 
    
         
            +
                    #     field will have error details if the execution data is unavailable due to
         
     | 
| 
      
 100 
     | 
    
         
            +
                    #     revoked KMS key permissions.
         
     | 
| 
      
 101 
     | 
    
         
            +
                    # @!attribute [rw] call_log_level
         
     | 
| 
      
 102 
     | 
    
         
            +
                    #   @return [::Google::Cloud::Workflows::V1::Workflow::CallLogLevel]
         
     | 
| 
      
 103 
     | 
    
         
            +
                    #     Optional. Describes the level of platform logging to apply to calls and
         
     | 
| 
      
 104 
     | 
    
         
            +
                    #     call responses during executions of this workflow. If both the workflow and
         
     | 
| 
      
 105 
     | 
    
         
            +
                    #     the execution specify a logging level, the execution level takes
         
     | 
| 
      
 106 
     | 
    
         
            +
                    #     precedence.
         
     | 
| 
      
 107 
     | 
    
         
            +
                    # @!attribute [rw] user_env_vars
         
     | 
| 
      
 108 
     | 
    
         
            +
                    #   @return [::Google::Protobuf::Map{::String => ::String}]
         
     | 
| 
      
 109 
     | 
    
         
            +
                    #     Optional. User-defined environment variables associated with this workflow
         
     | 
| 
      
 110 
     | 
    
         
            +
                    #     revision. This map has a maximum length of 20. Each string can take up to
         
     | 
| 
      
 111 
     | 
    
         
            +
                    #     40KiB. Keys cannot be empty strings and cannot start with “GOOGLE” or
         
     | 
| 
      
 112 
     | 
    
         
            +
                    #     “WORKFLOWS".
         
     | 
| 
       82 
113 
     | 
    
         
             
                    class Workflow
         
     | 
| 
       83 
114 
     | 
    
         
             
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
       84 
115 
     | 
    
         
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
       85 
116 
     | 
    
         | 
| 
      
 117 
     | 
    
         
            +
                      # Describes an error related to the current state of the workflow.
         
     | 
| 
      
 118 
     | 
    
         
            +
                      # @!attribute [rw] details
         
     | 
| 
      
 119 
     | 
    
         
            +
                      #   @return [::String]
         
     | 
| 
      
 120 
     | 
    
         
            +
                      #     Provides specifics about the error.
         
     | 
| 
      
 121 
     | 
    
         
            +
                      # @!attribute [rw] type
         
     | 
| 
      
 122 
     | 
    
         
            +
                      #   @return [::Google::Cloud::Workflows::V1::Workflow::StateError::Type]
         
     | 
| 
      
 123 
     | 
    
         
            +
                      #     The type of this state error.
         
     | 
| 
      
 124 
     | 
    
         
            +
                      class StateError
         
     | 
| 
      
 125 
     | 
    
         
            +
                        include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 126 
     | 
    
         
            +
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 127 
     | 
    
         
            +
             
     | 
| 
      
 128 
     | 
    
         
            +
                        # Describes the possibled types of a state error.
         
     | 
| 
      
 129 
     | 
    
         
            +
                        module Type
         
     | 
| 
      
 130 
     | 
    
         
            +
                          # No type specified.
         
     | 
| 
      
 131 
     | 
    
         
            +
                          TYPE_UNSPECIFIED = 0
         
     | 
| 
      
 132 
     | 
    
         
            +
             
     | 
| 
      
 133 
     | 
    
         
            +
                          # Caused by an issue with KMS.
         
     | 
| 
      
 134 
     | 
    
         
            +
                          KMS_ERROR = 1
         
     | 
| 
      
 135 
     | 
    
         
            +
                        end
         
     | 
| 
      
 136 
     | 
    
         
            +
                      end
         
     | 
| 
      
 137 
     | 
    
         
            +
             
     | 
| 
       86 
138 
     | 
    
         
             
                      # @!attribute [rw] key
         
     | 
| 
       87 
139 
     | 
    
         
             
                      #   @return [::String]
         
     | 
| 
       88 
140 
     | 
    
         
             
                      # @!attribute [rw] value
         
     | 
| 
         @@ -92,14 +144,42 @@ module Google 
     | 
|
| 
       92 
144 
     | 
    
         
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
       93 
145 
     | 
    
         
             
                      end
         
     | 
| 
       94 
146 
     | 
    
         | 
| 
       95 
     | 
    
         
            -
                      #  
     | 
| 
       96 
     | 
    
         
            -
                      #  
     | 
| 
      
 147 
     | 
    
         
            +
                      # @!attribute [rw] key
         
     | 
| 
      
 148 
     | 
    
         
            +
                      #   @return [::String]
         
     | 
| 
      
 149 
     | 
    
         
            +
                      # @!attribute [rw] value
         
     | 
| 
      
 150 
     | 
    
         
            +
                      #   @return [::String]
         
     | 
| 
      
 151 
     | 
    
         
            +
                      class UserEnvVarsEntry
         
     | 
| 
      
 152 
     | 
    
         
            +
                        include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 153 
     | 
    
         
            +
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 154 
     | 
    
         
            +
                      end
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
                      # Describes the current state of workflow deployment.
         
     | 
| 
       97 
157 
     | 
    
         
             
                      module State
         
     | 
| 
       98 
158 
     | 
    
         
             
                        # Invalid state.
         
     | 
| 
       99 
159 
     | 
    
         
             
                        STATE_UNSPECIFIED = 0
         
     | 
| 
       100 
160 
     | 
    
         | 
| 
       101 
161 
     | 
    
         
             
                        # The workflow has been deployed successfully and is serving.
         
     | 
| 
       102 
162 
     | 
    
         
             
                        ACTIVE = 1
         
     | 
| 
      
 163 
     | 
    
         
            +
             
     | 
| 
      
 164 
     | 
    
         
            +
                        # Workflow data is unavailable. See the `state_error` field.
         
     | 
| 
      
 165 
     | 
    
         
            +
                        UNAVAILABLE = 2
         
     | 
| 
      
 166 
     | 
    
         
            +
                      end
         
     | 
| 
      
 167 
     | 
    
         
            +
             
     | 
| 
      
 168 
     | 
    
         
            +
                      # Describes the level of platform logging to apply to calls and call
         
     | 
| 
      
 169 
     | 
    
         
            +
                      # responses during workflow executions.
         
     | 
| 
      
 170 
     | 
    
         
            +
                      module CallLogLevel
         
     | 
| 
      
 171 
     | 
    
         
            +
                        # No call logging level specified.
         
     | 
| 
      
 172 
     | 
    
         
            +
                        CALL_LOG_LEVEL_UNSPECIFIED = 0
         
     | 
| 
      
 173 
     | 
    
         
            +
             
     | 
| 
      
 174 
     | 
    
         
            +
                        # Log all call steps within workflows, all call returns, and all exceptions
         
     | 
| 
      
 175 
     | 
    
         
            +
                        # raised.
         
     | 
| 
      
 176 
     | 
    
         
            +
                        LOG_ALL_CALLS = 1
         
     | 
| 
      
 177 
     | 
    
         
            +
             
     | 
| 
      
 178 
     | 
    
         
            +
                        # Log only exceptions that are raised from call steps within workflows.
         
     | 
| 
      
 179 
     | 
    
         
            +
                        LOG_ERRORS_ONLY = 2
         
     | 
| 
      
 180 
     | 
    
         
            +
             
     | 
| 
      
 181 
     | 
    
         
            +
                        # Explicitly log nothing.
         
     | 
| 
      
 182 
     | 
    
         
            +
                        LOG_NONE = 3
         
     | 
| 
       103 
183 
     | 
    
         
             
                      end
         
     | 
| 
       104 
184 
     | 
    
         
             
                    end
         
     | 
| 
       105 
185 
     | 
    
         | 
| 
         @@ -112,10 +192,10 @@ module Google 
     | 
|
| 
       112 
192 
     | 
    
         
             
                    #     Format: projects/\\{project}/locations/\\{location}
         
     | 
| 
       113 
193 
     | 
    
         
             
                    # @!attribute [rw] page_size
         
     | 
| 
       114 
194 
     | 
    
         
             
                    #   @return [::Integer]
         
     | 
| 
       115 
     | 
    
         
            -
                    #     Maximum number of workflows to return per call. The service  
     | 
| 
       116 
     | 
    
         
            -
                    #     fewer than this value 
     | 
| 
       117 
     | 
    
         
            -
                    #      
     | 
| 
       118 
     | 
    
         
            -
                    #     than 1000  
     | 
| 
      
 195 
     | 
    
         
            +
                    #     Maximum number of workflows to return per call. The service might return
         
     | 
| 
      
 196 
     | 
    
         
            +
                    #     fewer than this value even if not at the end of the collection. If a value
         
     | 
| 
      
 197 
     | 
    
         
            +
                    #     is not specified, a default value of 500 is used. The maximum permitted
         
     | 
| 
      
 198 
     | 
    
         
            +
                    #     value is 1000 and values greater than 1000 are coerced down to 1000.
         
     | 
| 
       119 
199 
     | 
    
         
             
                    # @!attribute [rw] page_token
         
     | 
| 
       120 
200 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       121 
201 
     | 
    
         
             
                    #     A page token, received from a previous `ListWorkflows` call.
         
     | 
| 
         @@ -128,10 +208,10 @@ module Google 
     | 
|
| 
       128 
208 
     | 
    
         
             
                    #     Filter to restrict results to specific workflows.
         
     | 
| 
       129 
209 
     | 
    
         
             
                    # @!attribute [rw] order_by
         
     | 
| 
       130 
210 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       131 
     | 
    
         
            -
                    #     Comma-separated list of fields that  
     | 
| 
      
 211 
     | 
    
         
            +
                    #     Comma-separated list of fields that specify the order of the results.
         
     | 
| 
       132 
212 
     | 
    
         
             
                    #     Default sorting order for a field is ascending. To specify descending order
         
     | 
| 
       133 
     | 
    
         
            -
                    #     for a field, append a " 
     | 
| 
       134 
     | 
    
         
            -
                    #     If not specified, the results  
     | 
| 
      
 213 
     | 
    
         
            +
                    #     for a field, append a "desc" suffix.
         
     | 
| 
      
 214 
     | 
    
         
            +
                    #     If not specified, the results are returned in an unspecified order.
         
     | 
| 
       135 
215 
     | 
    
         
             
                    class ListWorkflowsRequest
         
     | 
| 
       136 
216 
     | 
    
         
             
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
       137 
217 
     | 
    
         
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -142,7 +222,7 @@ module Google 
     | 
|
| 
       142 
222 
     | 
    
         
             
                    # method.
         
     | 
| 
       143 
223 
     | 
    
         
             
                    # @!attribute [rw] workflows
         
     | 
| 
       144 
224 
     | 
    
         
             
                    #   @return [::Array<::Google::Cloud::Workflows::V1::Workflow>]
         
     | 
| 
       145 
     | 
    
         
            -
                    #     The workflows  
     | 
| 
      
 225 
     | 
    
         
            +
                    #     The workflows that match the request.
         
     | 
| 
       146 
226 
     | 
    
         
             
                    # @!attribute [rw] next_page_token
         
     | 
| 
       147 
227 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       148 
228 
     | 
    
         
             
                    #     A token, which can be sent as `page_token` to retrieve the next page.
         
     | 
| 
         @@ -159,8 +239,15 @@ module Google 
     | 
|
| 
       159 
239 
     | 
    
         
             
                    # {::Google::Cloud::Workflows::V1::Workflows::Client#get_workflow GetWorkflow} method.
         
     | 
| 
       160 
240 
     | 
    
         
             
                    # @!attribute [rw] name
         
     | 
| 
       161 
241 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       162 
     | 
    
         
            -
                    #     Required. Name of the workflow which information should be retrieved.
         
     | 
| 
      
 242 
     | 
    
         
            +
                    #     Required. Name of the workflow for which information should be retrieved.
         
     | 
| 
       163 
243 
     | 
    
         
             
                    #     Format: projects/\\{project}/locations/\\{location}/workflows/\\{workflow}
         
     | 
| 
      
 244 
     | 
    
         
            +
                    # @!attribute [rw] revision_id
         
     | 
| 
      
 245 
     | 
    
         
            +
                    #   @return [::String]
         
     | 
| 
      
 246 
     | 
    
         
            +
                    #     Optional. The revision of the workflow to retrieve. If the revision_id is
         
     | 
| 
      
 247 
     | 
    
         
            +
                    #     empty, the latest revision is retrieved.
         
     | 
| 
      
 248 
     | 
    
         
            +
                    #     The format is "000001-a4d", where the first six characters define
         
     | 
| 
      
 249 
     | 
    
         
            +
                    #     the zero-padded decimal revision number. They are followed by a hyphen and
         
     | 
| 
      
 250 
     | 
    
         
            +
                    #     three hexadecimal characters.
         
     | 
| 
       164 
251 
     | 
    
         
             
                    class GetWorkflowRequest
         
     | 
| 
       165 
252 
     | 
    
         
             
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
       166 
253 
     | 
    
         
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-workflows-v1
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.5.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2023- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-08-16 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: gapic-common
         
     | 
| 
         @@ -44,6 +44,26 @@ dependencies: 
     | 
|
| 
       44 
44 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       45 
45 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       46 
46 
     | 
    
         
             
                    version: '1.0'
         
     | 
| 
      
 47 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency
         
     | 
| 
      
 48 
     | 
    
         
            +
              name: google-cloud-location
         
     | 
| 
      
 49 
     | 
    
         
            +
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 50 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 51 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 52 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 53 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
      
 54 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 55 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 56 
     | 
    
         
            +
                    version: 2.a
         
     | 
| 
      
 57 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 58 
     | 
    
         
            +
              prerelease: false
         
     | 
| 
      
 59 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
      
 60 
     | 
    
         
            +
                requirements:
         
     | 
| 
      
 61 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 62 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 63 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
      
 64 
     | 
    
         
            +
                - - "<"
         
     | 
| 
      
 65 
     | 
    
         
            +
                  - !ruby/object:Gem::Version
         
     | 
| 
      
 66 
     | 
    
         
            +
                    version: 2.a
         
     | 
| 
       47 
67 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       48 
68 
     | 
    
         
             
              name: google-style
         
     | 
| 
       49 
69 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -174,6 +194,7 @@ files: 
     | 
|
| 
       174 
194 
     | 
    
         
             
            - README.md
         
     | 
| 
       175 
195 
     | 
    
         
             
            - lib/google-cloud-workflows-v1.rb
         
     | 
| 
       176 
196 
     | 
    
         
             
            - lib/google/cloud/workflows/v1.rb
         
     | 
| 
      
 197 
     | 
    
         
            +
            - lib/google/cloud/workflows/v1/bindings_override.rb
         
     | 
| 
       177 
198 
     | 
    
         
             
            - lib/google/cloud/workflows/v1/rest.rb
         
     | 
| 
       178 
199 
     | 
    
         
             
            - lib/google/cloud/workflows/v1/version.rb
         
     | 
| 
       179 
200 
     | 
    
         
             
            - lib/google/cloud/workflows/v1/workflows.rb
         
     |