google-cloud-app_engine-v1 0.7.0 → 0.8.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/app_engine/v1/applications/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/applications/operations.rb +10 -1
- data/lib/google/cloud/app_engine/v1/applications/rest/client.rb +85 -0
- data/lib/google/cloud/app_engine/v1/applications/rest/operations.rb +75 -0
- data/lib/google/cloud/app_engine/v1/authorized_certificates/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/authorized_certificates/rest/client.rb +84 -0
- data/lib/google/cloud/app_engine/v1/authorized_domains/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/authorized_domains/rest/client.rb +20 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/domain_mappings/operations.rb +10 -1
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/client.rb +105 -0
- data/lib/google/cloud/app_engine/v1/domain_mappings/rest/operations.rb +75 -0
- data/lib/google/cloud/app_engine/v1/firewall/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/firewall/rest/client.rb +100 -0
- data/lib/google/cloud/app_engine/v1/instances/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/instances/operations.rb +10 -1
- data/lib/google/cloud/app_engine/v1/instances/rest/client.rb +82 -0
- data/lib/google/cloud/app_engine/v1/instances/rest/operations.rb +75 -0
- data/lib/google/cloud/app_engine/v1/services/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/services/operations.rb +10 -1
- data/lib/google/cloud/app_engine/v1/services/rest/client.rb +82 -0
- data/lib/google/cloud/app_engine/v1/services/rest/operations.rb +75 -0
- data/lib/google/cloud/app_engine/v1/version.rb +1 -1
- data/lib/google/cloud/app_engine/v1/versions/client.rb +10 -1
- data/lib/google/cloud/app_engine/v1/versions/operations.rb +10 -1
- data/lib/google/cloud/app_engine/v1/versions/rest/client.rb +105 -0
- data/lib/google/cloud/app_engine/v1/versions/rest/operations.rb +75 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
| @@ -177,6 +177,26 @@ module Google | |
| 177 177 | 
             
                          # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppEngine::V1::Service>]
         | 
| 178 178 | 
             
                          #
         | 
| 179 179 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 180 | 
            +
                          #
         | 
| 181 | 
            +
                          # @example Basic example
         | 
| 182 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 183 | 
            +
                          #
         | 
| 184 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 185 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Services::Rest::Client.new
         | 
| 186 | 
            +
                          #
         | 
| 187 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 188 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::ListServicesRequest.new
         | 
| 189 | 
            +
                          #
         | 
| 190 | 
            +
                          #   # Call the list_services method.
         | 
| 191 | 
            +
                          #   result = client.list_services request
         | 
| 192 | 
            +
                          #
         | 
| 193 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 194 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 195 | 
            +
                          #   result.each do |item|
         | 
| 196 | 
            +
                          #     # Each element is of type ::Google::Cloud::AppEngine::V1::Service.
         | 
| 197 | 
            +
                          #     p item
         | 
| 198 | 
            +
                          #   end
         | 
| 199 | 
            +
                          #
         | 
| 180 200 | 
             
                          def list_services request, options = nil
         | 
| 181 201 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 182 202 |  | 
| @@ -240,6 +260,22 @@ module Google | |
| 240 260 | 
             
                          # @return [::Google::Cloud::AppEngine::V1::Service]
         | 
| 241 261 | 
             
                          #
         | 
| 242 262 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 263 | 
            +
                          #
         | 
| 264 | 
            +
                          # @example Basic example
         | 
| 265 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 266 | 
            +
                          #
         | 
| 267 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 268 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Services::Rest::Client.new
         | 
| 269 | 
            +
                          #
         | 
| 270 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 271 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::GetServiceRequest.new
         | 
| 272 | 
            +
                          #
         | 
| 273 | 
            +
                          #   # Call the get_service method.
         | 
| 274 | 
            +
                          #   result = client.get_service request
         | 
| 275 | 
            +
                          #
         | 
| 276 | 
            +
                          #   # The returned object is of type Google::Cloud::AppEngine::V1::Service.
         | 
| 277 | 
            +
                          #   p result
         | 
| 278 | 
            +
                          #
         | 
| 243 279 | 
             
                          def get_service request, options = nil
         | 
| 244 280 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 245 281 |  | 
| @@ -320,6 +356,29 @@ module Google | |
| 320 356 | 
             
                          # @return [::Gapic::Operation]
         | 
| 321 357 | 
             
                          #
         | 
| 322 358 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 359 | 
            +
                          #
         | 
| 360 | 
            +
                          # @example Basic example
         | 
| 361 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 362 | 
            +
                          #
         | 
| 363 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 364 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Services::Rest::Client.new
         | 
| 365 | 
            +
                          #
         | 
| 366 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 367 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::UpdateServiceRequest.new
         | 
| 368 | 
            +
                          #
         | 
| 369 | 
            +
                          #   # Call the update_service method.
         | 
| 370 | 
            +
                          #   result = client.update_service request
         | 
| 371 | 
            +
                          #
         | 
| 372 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 373 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 374 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 375 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 376 | 
            +
                          #   if result.response?
         | 
| 377 | 
            +
                          #     p result.response
         | 
| 378 | 
            +
                          #   else
         | 
| 379 | 
            +
                          #     puts "No response received."
         | 
| 380 | 
            +
                          #   end
         | 
| 381 | 
            +
                          #
         | 
| 323 382 | 
             
                          def update_service request, options = nil
         | 
| 324 383 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 325 384 |  | 
| @@ -383,6 +442,29 @@ module Google | |
| 383 442 | 
             
                          # @return [::Gapic::Operation]
         | 
| 384 443 | 
             
                          #
         | 
| 385 444 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 445 | 
            +
                          #
         | 
| 446 | 
            +
                          # @example Basic example
         | 
| 447 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 448 | 
            +
                          #
         | 
| 449 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 450 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Services::Rest::Client.new
         | 
| 451 | 
            +
                          #
         | 
| 452 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 453 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::DeleteServiceRequest.new
         | 
| 454 | 
            +
                          #
         | 
| 455 | 
            +
                          #   # Call the delete_service method.
         | 
| 456 | 
            +
                          #   result = client.delete_service request
         | 
| 457 | 
            +
                          #
         | 
| 458 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 459 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 460 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 461 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 462 | 
            +
                          #   if result.response?
         | 
| 463 | 
            +
                          #     p result.response
         | 
| 464 | 
            +
                          #   else
         | 
| 465 | 
            +
                          #     puts "No response received."
         | 
| 466 | 
            +
                          #   end
         | 
| 467 | 
            +
                          #
         | 
| 386 468 | 
             
                          def delete_service request, options = nil
         | 
| 387 469 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 388 470 |  | 
| @@ -136,6 +136,26 @@ module Google | |
| 136 136 | 
             
                          # @return [::Gapic::Operation]
         | 
| 137 137 | 
             
                          #
         | 
| 138 138 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 139 | 
            +
                          #
         | 
| 140 | 
            +
                          # @example Basic example
         | 
| 141 | 
            +
                          #   require "google/longrunning"
         | 
| 142 | 
            +
                          #
         | 
| 143 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 144 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 145 | 
            +
                          #
         | 
| 146 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 147 | 
            +
                          #   request = Google::Longrunning::ListOperationsRequest.new
         | 
| 148 | 
            +
                          #
         | 
| 149 | 
            +
                          #   # Call the list_operations method.
         | 
| 150 | 
            +
                          #   result = client.list_operations request
         | 
| 151 | 
            +
                          #
         | 
| 152 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 153 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 154 | 
            +
                          #   result.each do |item|
         | 
| 155 | 
            +
                          #     # Each element is of type ::Google::Longrunning::Operation.
         | 
| 156 | 
            +
                          #     p item
         | 
| 157 | 
            +
                          #   end
         | 
| 158 | 
            +
                          #
         | 
| 139 159 | 
             
                          def list_operations request, options = nil
         | 
| 140 160 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 141 161 |  | 
| @@ -201,6 +221,29 @@ module Google | |
| 201 221 | 
             
                          # @return [::Gapic::Operation]
         | 
| 202 222 | 
             
                          #
         | 
| 203 223 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 224 | 
            +
                          #
         | 
| 225 | 
            +
                          # @example Basic example
         | 
| 226 | 
            +
                          #   require "google/longrunning"
         | 
| 227 | 
            +
                          #
         | 
| 228 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 229 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 230 | 
            +
                          #
         | 
| 231 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 232 | 
            +
                          #   request = Google::Longrunning::GetOperationRequest.new
         | 
| 233 | 
            +
                          #
         | 
| 234 | 
            +
                          #   # Call the get_operation method.
         | 
| 235 | 
            +
                          #   result = client.get_operation request
         | 
| 236 | 
            +
                          #
         | 
| 237 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 238 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 239 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 240 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 241 | 
            +
                          #   if result.response?
         | 
| 242 | 
            +
                          #     p result.response
         | 
| 243 | 
            +
                          #   else
         | 
| 244 | 
            +
                          #     puts "No response received."
         | 
| 245 | 
            +
                          #   end
         | 
| 246 | 
            +
                          #
         | 
| 204 247 | 
             
                          def get_operation request, options = nil
         | 
| 205 248 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 206 249 |  | 
| @@ -267,6 +310,22 @@ module Google | |
| 267 310 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 268 311 | 
             
                          #
         | 
| 269 312 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 313 | 
            +
                          #
         | 
| 314 | 
            +
                          # @example Basic example
         | 
| 315 | 
            +
                          #   require "google/longrunning"
         | 
| 316 | 
            +
                          #
         | 
| 317 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 318 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 319 | 
            +
                          #
         | 
| 320 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 321 | 
            +
                          #   request = Google::Longrunning::DeleteOperationRequest.new
         | 
| 322 | 
            +
                          #
         | 
| 323 | 
            +
                          #   # Call the delete_operation method.
         | 
| 324 | 
            +
                          #   result = client.delete_operation request
         | 
| 325 | 
            +
                          #
         | 
| 326 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 327 | 
            +
                          #   p result
         | 
| 328 | 
            +
                          #
         | 
| 270 329 | 
             
                          def delete_operation request, options = nil
         | 
| 271 330 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 272 331 |  | 
| @@ -338,6 +397,22 @@ module Google | |
| 338 397 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 339 398 | 
             
                          #
         | 
| 340 399 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 400 | 
            +
                          #
         | 
| 401 | 
            +
                          # @example Basic example
         | 
| 402 | 
            +
                          #   require "google/longrunning"
         | 
| 403 | 
            +
                          #
         | 
| 404 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 405 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 406 | 
            +
                          #
         | 
| 407 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 408 | 
            +
                          #   request = Google::Longrunning::CancelOperationRequest.new
         | 
| 409 | 
            +
                          #
         | 
| 410 | 
            +
                          #   # Call the cancel_operation method.
         | 
| 411 | 
            +
                          #   result = client.cancel_operation request
         | 
| 412 | 
            +
                          #
         | 
| 413 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 414 | 
            +
                          #   p result
         | 
| 415 | 
            +
                          #
         | 
| 341 416 | 
             
                          def cancel_operation request, options = nil
         | 
| 342 417 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 343 418 |  | 
| @@ -142,7 +142,8 @@ module Google | |
| 142 142 | 
             
                            credentials:  credentials,
         | 
| 143 143 | 
             
                            endpoint:     @config.endpoint,
         | 
| 144 144 | 
             
                            channel_args: @config.channel_args,
         | 
| 145 | 
            -
                            interceptors: @config.interceptors
         | 
| 145 | 
            +
                            interceptors: @config.interceptors,
         | 
| 146 | 
            +
                            channel_pool_config: @config.channel_pool
         | 
| 146 147 | 
             
                          )
         | 
| 147 148 | 
             
                        end
         | 
| 148 149 |  | 
| @@ -785,6 +786,14 @@ module Google | |
| 785 786 | 
             
                            end
         | 
| 786 787 | 
             
                          end
         | 
| 787 788 |  | 
| 789 | 
            +
                          ##
         | 
| 790 | 
            +
                          # Configuration for the channel pool
         | 
| 791 | 
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 792 | 
            +
                          #
         | 
| 793 | 
            +
                          def channel_pool
         | 
| 794 | 
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 795 | 
            +
                          end
         | 
| 796 | 
            +
             | 
| 788 797 | 
             
                          ##
         | 
| 789 798 | 
             
                          # Configuration RPC class for the Versions API.
         | 
| 790 799 | 
             
                          #
         | 
| @@ -93,7 +93,8 @@ module Google | |
| 93 93 | 
             
                            credentials:  credentials,
         | 
| 94 94 | 
             
                            endpoint:     @config.endpoint,
         | 
| 95 95 | 
             
                            channel_args: @config.channel_args,
         | 
| 96 | 
            -
                            interceptors: @config.interceptors
         | 
| 96 | 
            +
                            interceptors: @config.interceptors,
         | 
| 97 | 
            +
                            channel_pool_config: @config.channel_pool
         | 
| 97 98 | 
             
                          )
         | 
| 98 99 |  | 
| 99 100 | 
             
                          # Used by an LRO wrapper for some methods of this service
         | 
| @@ -701,6 +702,14 @@ module Google | |
| 701 702 | 
             
                            end
         | 
| 702 703 | 
             
                          end
         | 
| 703 704 |  | 
| 705 | 
            +
                          ##
         | 
| 706 | 
            +
                          # Configuration for the channel pool
         | 
| 707 | 
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         | 
| 708 | 
            +
                          #
         | 
| 709 | 
            +
                          def channel_pool
         | 
| 710 | 
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         | 
| 711 | 
            +
                          end
         | 
| 712 | 
            +
             | 
| 704 713 | 
             
                          ##
         | 
| 705 714 | 
             
                          # Configuration RPC class for the Operations API.
         | 
| 706 715 | 
             
                          #
         | 
| @@ -180,6 +180,26 @@ module Google | |
| 180 180 | 
             
                          # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::AppEngine::V1::Version>]
         | 
| 181 181 | 
             
                          #
         | 
| 182 182 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 183 | 
            +
                          #
         | 
| 184 | 
            +
                          # @example Basic example
         | 
| 185 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 186 | 
            +
                          #
         | 
| 187 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 188 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Versions::Rest::Client.new
         | 
| 189 | 
            +
                          #
         | 
| 190 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 191 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::ListVersionsRequest.new
         | 
| 192 | 
            +
                          #
         | 
| 193 | 
            +
                          #   # Call the list_versions method.
         | 
| 194 | 
            +
                          #   result = client.list_versions request
         | 
| 195 | 
            +
                          #
         | 
| 196 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 197 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 198 | 
            +
                          #   result.each do |item|
         | 
| 199 | 
            +
                          #     # Each element is of type ::Google::Cloud::AppEngine::V1::Version.
         | 
| 200 | 
            +
                          #     p item
         | 
| 201 | 
            +
                          #   end
         | 
| 202 | 
            +
                          #
         | 
| 183 203 | 
             
                          def list_versions request, options = nil
         | 
| 184 204 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 185 205 |  | 
| @@ -248,6 +268,22 @@ module Google | |
| 248 268 | 
             
                          # @return [::Google::Cloud::AppEngine::V1::Version]
         | 
| 249 269 | 
             
                          #
         | 
| 250 270 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 271 | 
            +
                          #
         | 
| 272 | 
            +
                          # @example Basic example
         | 
| 273 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 274 | 
            +
                          #
         | 
| 275 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 276 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Versions::Rest::Client.new
         | 
| 277 | 
            +
                          #
         | 
| 278 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 279 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::GetVersionRequest.new
         | 
| 280 | 
            +
                          #
         | 
| 281 | 
            +
                          #   # Call the get_version method.
         | 
| 282 | 
            +
                          #   result = client.get_version request
         | 
| 283 | 
            +
                          #
         | 
| 284 | 
            +
                          #   # The returned object is of type Google::Cloud::AppEngine::V1::Version.
         | 
| 285 | 
            +
                          #   p result
         | 
| 286 | 
            +
                          #
         | 
| 251 287 | 
             
                          def get_version request, options = nil
         | 
| 252 288 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 253 289 |  | 
| @@ -313,6 +349,29 @@ module Google | |
| 313 349 | 
             
                          # @return [::Gapic::Operation]
         | 
| 314 350 | 
             
                          #
         | 
| 315 351 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 352 | 
            +
                          #
         | 
| 353 | 
            +
                          # @example Basic example
         | 
| 354 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 355 | 
            +
                          #
         | 
| 356 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 357 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Versions::Rest::Client.new
         | 
| 358 | 
            +
                          #
         | 
| 359 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 360 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::CreateVersionRequest.new
         | 
| 361 | 
            +
                          #
         | 
| 362 | 
            +
                          #   # Call the create_version method.
         | 
| 363 | 
            +
                          #   result = client.create_version request
         | 
| 364 | 
            +
                          #
         | 
| 365 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 366 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 367 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 368 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 369 | 
            +
                          #   if result.response?
         | 
| 370 | 
            +
                          #     p result.response
         | 
| 371 | 
            +
                          #   else
         | 
| 372 | 
            +
                          #     puts "No response received."
         | 
| 373 | 
            +
                          #   end
         | 
| 374 | 
            +
                          #
         | 
| 316 375 | 
             
                          def create_version request, options = nil
         | 
| 317 376 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 318 377 |  | 
| @@ -417,6 +476,29 @@ module Google | |
| 417 476 | 
             
                          # @return [::Gapic::Operation]
         | 
| 418 477 | 
             
                          #
         | 
| 419 478 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 479 | 
            +
                          #
         | 
| 480 | 
            +
                          # @example Basic example
         | 
| 481 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 482 | 
            +
                          #
         | 
| 483 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 484 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Versions::Rest::Client.new
         | 
| 485 | 
            +
                          #
         | 
| 486 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 487 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::UpdateVersionRequest.new
         | 
| 488 | 
            +
                          #
         | 
| 489 | 
            +
                          #   # Call the update_version method.
         | 
| 490 | 
            +
                          #   result = client.update_version request
         | 
| 491 | 
            +
                          #
         | 
| 492 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 493 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 494 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 495 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 496 | 
            +
                          #   if result.response?
         | 
| 497 | 
            +
                          #     p result.response
         | 
| 498 | 
            +
                          #   else
         | 
| 499 | 
            +
                          #     puts "No response received."
         | 
| 500 | 
            +
                          #   end
         | 
| 501 | 
            +
                          #
         | 
| 420 502 | 
             
                          def update_version request, options = nil
         | 
| 421 503 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 422 504 |  | 
| @@ -481,6 +563,29 @@ module Google | |
| 481 563 | 
             
                          # @return [::Gapic::Operation]
         | 
| 482 564 | 
             
                          #
         | 
| 483 565 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 566 | 
            +
                          #
         | 
| 567 | 
            +
                          # @example Basic example
         | 
| 568 | 
            +
                          #   require "google/cloud/app_engine/v1"
         | 
| 569 | 
            +
                          #
         | 
| 570 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 571 | 
            +
                          #   client = Google::Cloud::AppEngine::V1::Versions::Rest::Client.new
         | 
| 572 | 
            +
                          #
         | 
| 573 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 574 | 
            +
                          #   request = Google::Cloud::AppEngine::V1::DeleteVersionRequest.new
         | 
| 575 | 
            +
                          #
         | 
| 576 | 
            +
                          #   # Call the delete_version method.
         | 
| 577 | 
            +
                          #   result = client.delete_version request
         | 
| 578 | 
            +
                          #
         | 
| 579 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 580 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 581 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 582 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 583 | 
            +
                          #   if result.response?
         | 
| 584 | 
            +
                          #     p result.response
         | 
| 585 | 
            +
                          #   else
         | 
| 586 | 
            +
                          #     puts "No response received."
         | 
| 587 | 
            +
                          #   end
         | 
| 588 | 
            +
                          #
         | 
| 484 589 | 
             
                          def delete_version request, options = nil
         | 
| 485 590 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 486 591 |  | 
| @@ -136,6 +136,26 @@ module Google | |
| 136 136 | 
             
                          # @return [::Gapic::Operation]
         | 
| 137 137 | 
             
                          #
         | 
| 138 138 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 139 | 
            +
                          #
         | 
| 140 | 
            +
                          # @example Basic example
         | 
| 141 | 
            +
                          #   require "google/longrunning"
         | 
| 142 | 
            +
                          #
         | 
| 143 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 144 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 145 | 
            +
                          #
         | 
| 146 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 147 | 
            +
                          #   request = Google::Longrunning::ListOperationsRequest.new
         | 
| 148 | 
            +
                          #
         | 
| 149 | 
            +
                          #   # Call the list_operations method.
         | 
| 150 | 
            +
                          #   result = client.list_operations request
         | 
| 151 | 
            +
                          #
         | 
| 152 | 
            +
                          #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         | 
| 153 | 
            +
                          #   # over elements, and API calls will be issued to fetch pages as needed.
         | 
| 154 | 
            +
                          #   result.each do |item|
         | 
| 155 | 
            +
                          #     # Each element is of type ::Google::Longrunning::Operation.
         | 
| 156 | 
            +
                          #     p item
         | 
| 157 | 
            +
                          #   end
         | 
| 158 | 
            +
                          #
         | 
| 139 159 | 
             
                          def list_operations request, options = nil
         | 
| 140 160 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 141 161 |  | 
| @@ -201,6 +221,29 @@ module Google | |
| 201 221 | 
             
                          # @return [::Gapic::Operation]
         | 
| 202 222 | 
             
                          #
         | 
| 203 223 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 224 | 
            +
                          #
         | 
| 225 | 
            +
                          # @example Basic example
         | 
| 226 | 
            +
                          #   require "google/longrunning"
         | 
| 227 | 
            +
                          #
         | 
| 228 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 229 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 230 | 
            +
                          #
         | 
| 231 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 232 | 
            +
                          #   request = Google::Longrunning::GetOperationRequest.new
         | 
| 233 | 
            +
                          #
         | 
| 234 | 
            +
                          #   # Call the get_operation method.
         | 
| 235 | 
            +
                          #   result = client.get_operation request
         | 
| 236 | 
            +
                          #
         | 
| 237 | 
            +
                          #   # The returned object is of type Gapic::Operation. You can use it to
         | 
| 238 | 
            +
                          #   # check the status of an operation, cancel it, or wait for results.
         | 
| 239 | 
            +
                          #   # Here is how to wait for a response.
         | 
| 240 | 
            +
                          #   result.wait_until_done! timeout: 60
         | 
| 241 | 
            +
                          #   if result.response?
         | 
| 242 | 
            +
                          #     p result.response
         | 
| 243 | 
            +
                          #   else
         | 
| 244 | 
            +
                          #     puts "No response received."
         | 
| 245 | 
            +
                          #   end
         | 
| 246 | 
            +
                          #
         | 
| 204 247 | 
             
                          def get_operation request, options = nil
         | 
| 205 248 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 206 249 |  | 
| @@ -267,6 +310,22 @@ module Google | |
| 267 310 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 268 311 | 
             
                          #
         | 
| 269 312 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 313 | 
            +
                          #
         | 
| 314 | 
            +
                          # @example Basic example
         | 
| 315 | 
            +
                          #   require "google/longrunning"
         | 
| 316 | 
            +
                          #
         | 
| 317 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 318 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 319 | 
            +
                          #
         | 
| 320 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 321 | 
            +
                          #   request = Google::Longrunning::DeleteOperationRequest.new
         | 
| 322 | 
            +
                          #
         | 
| 323 | 
            +
                          #   # Call the delete_operation method.
         | 
| 324 | 
            +
                          #   result = client.delete_operation request
         | 
| 325 | 
            +
                          #
         | 
| 326 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 327 | 
            +
                          #   p result
         | 
| 328 | 
            +
                          #
         | 
| 270 329 | 
             
                          def delete_operation request, options = nil
         | 
| 271 330 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 272 331 |  | 
| @@ -338,6 +397,22 @@ module Google | |
| 338 397 | 
             
                          # @return [::Google::Protobuf::Empty]
         | 
| 339 398 | 
             
                          #
         | 
| 340 399 | 
             
                          # @raise [::Google::Cloud::Error] if the REST call is aborted.
         | 
| 400 | 
            +
                          #
         | 
| 401 | 
            +
                          # @example Basic example
         | 
| 402 | 
            +
                          #   require "google/longrunning"
         | 
| 403 | 
            +
                          #
         | 
| 404 | 
            +
                          #   # Create a client object. The client can be reused for multiple calls.
         | 
| 405 | 
            +
                          #   client = Google::Longrunning::Operations::Rest::Client.new
         | 
| 406 | 
            +
                          #
         | 
| 407 | 
            +
                          #   # Create a request. To set request fields, pass in keyword arguments.
         | 
| 408 | 
            +
                          #   request = Google::Longrunning::CancelOperationRequest.new
         | 
| 409 | 
            +
                          #
         | 
| 410 | 
            +
                          #   # Call the cancel_operation method.
         | 
| 411 | 
            +
                          #   result = client.cancel_operation request
         | 
| 412 | 
            +
                          #
         | 
| 413 | 
            +
                          #   # The returned object is of type Google::Protobuf::Empty.
         | 
| 414 | 
            +
                          #   p result
         | 
| 415 | 
            +
                          #
         | 
| 341 416 | 
             
                          def cancel_operation request, options = nil
         | 
| 342 417 | 
             
                            raise ::ArgumentError, "request must be provided" if request.nil?
         | 
| 343 418 |  | 
| @@ -66,6 +66,20 @@ module Google | |
| 66 66 | 
             
                  # a non-empty value will be returned. The user will not be aware of what
         | 
| 67 67 | 
             
                  # non-empty value to expect.
         | 
| 68 68 | 
             
                  NON_EMPTY_DEFAULT = 7
         | 
| 69 | 
            +
             | 
| 70 | 
            +
                  # Denotes that the field in a resource (a message annotated with
         | 
| 71 | 
            +
                  # google.api.resource) is used in the resource name to uniquely identify the
         | 
| 72 | 
            +
                  # resource. For AIP-compliant APIs, this should only be applied to the
         | 
| 73 | 
            +
                  # `name` field on the resource.
         | 
| 74 | 
            +
                  #
         | 
| 75 | 
            +
                  # This behavior should not be applied to references to other resources within
         | 
| 76 | 
            +
                  # the message.
         | 
| 77 | 
            +
                  #
         | 
| 78 | 
            +
                  # The identifier field of resources often have different field behavior
         | 
| 79 | 
            +
                  # depending on the request it is embedded in (e.g. for Create methods name
         | 
| 80 | 
            +
                  # is optional and unused, while for Update methods it is required). Instead
         | 
| 81 | 
            +
                  # of method-specific annotations, only `IDENTIFIER` is required.
         | 
| 82 | 
            +
                  IDENTIFIER = 8
         | 
| 69 83 | 
             
                end
         | 
| 70 84 | 
             
              end
         | 
| 71 85 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-app_engine-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.8.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-09-12 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -16,7 +16,7 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 19 | 
            +
                    version: 0.20.0
         | 
| 20 20 | 
             
                - - "<"
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 22 | 
             
                    version: 2.a
         | 
| @@ -26,7 +26,7 @@ dependencies: | |
| 26 26 | 
             
                requirements:
         | 
| 27 27 | 
             
                - - ">="
         | 
| 28 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 29 | 
            +
                    version: 0.20.0
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         | 
| @@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 294 294 | 
             
                - !ruby/object:Gem::Version
         | 
| 295 295 | 
             
                  version: '0'
         | 
| 296 296 | 
             
            requirements: []
         | 
| 297 | 
            -
            rubygems_version: 3.4. | 
| 297 | 
            +
            rubygems_version: 3.4.19
         | 
| 298 298 | 
             
            signing_key: 
         | 
| 299 299 | 
             
            specification_version: 4
         | 
| 300 300 | 
             
            summary: Provisions and manages developers' App Engine applications.
         |