google-cloud-dataform-v1beta1 1.5.0 → 1.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ac2d40875509f70befad8cc1a9cc7544cf1c6210c4158cc6179d70beebfa843
4
- data.tar.gz: 951aaaf3277279c8ffa19d5573740093d2b9744dff5b85c48e260c017b34cece
3
+ metadata.gz: 22db90b762d611aa71d5828acafe5fee9a7b2baab049eb61cbbfd9ef16a47083
4
+ data.tar.gz: 7a9ae129720ab52bcb7143952e601ba82fb9a0c7737e21151bbadd26f50374ad
5
5
  SHA512:
6
- metadata.gz: 1dfb1cf56ac1563aa0bbbf7abe300ce25f9da9afaaec8a481b716582c1808dce7848478a9ab036f4ba6a90f3f5c606a9de36bea5791d563956527ad5a604e2d0
7
- data.tar.gz: b87e1401a97392016a84a7d333d164096315ab70595190d3eb6fe3cd625141d3fc95be2e9c332bc0c82c68765a0e0e6568135884fa50c189ba6c4f43af6c2263
6
+ metadata.gz: eb708e3f866921a818686d5d1bf6ea579f35ec8a9834d096916ab0a80851f64c314a170e243683abc8fe95c0f31b22915ed8bf50acfcd458bdd48ff13249d868
7
+ data.tar.gz: 451efd596e0b73ed5c55cf4a2ed5bf26e4b879033b1fa32b29d121d498e1e27eb1ed652e8920409e8de344ade49aee7decf16805a0ee981f8dda9915468eb038
data/README.md CHANGED
@@ -87,12 +87,10 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
87
87
 
88
88
  This library is supported on Ruby 3.2+.
89
89
 
90
- Google provides official support for Ruby versions that are actively supported
91
- by Ruby Core—that is, Ruby versions that are either in normal maintenance or
92
- in security maintenance, and not end of life. Older versions of Ruby _may_
93
- still work, but are unsupported and not recommended. See
94
- https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
95
- support schedule.
90
+ Google provides official support for Ruby versions as described in the
91
+ [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions)
92
+ policy. Older versions of Ruby _may_ still work, but are unsupported and not
93
+ recommended.
96
94
 
97
95
  ## Which client should I use?
98
96
 
@@ -3245,6 +3245,106 @@ module Google
3245
3245
  raise ::Google::Cloud::Error.from_error(e)
3246
3246
  end
3247
3247
 
3248
+ ##
3249
+ # Creates a new Workspace in a given Repository asynchronously.
3250
+ #
3251
+ # @overload create_workspace_long_running(request, options = nil)
3252
+ # Pass arguments to `create_workspace_long_running` via a request object, either of type
3253
+ # {::Google::Cloud::Dataform::V1beta1::CreateWorkspaceRequest} or an equivalent Hash.
3254
+ #
3255
+ # @param request [::Google::Cloud::Dataform::V1beta1::CreateWorkspaceRequest, ::Hash]
3256
+ # A request object representing the call parameters. Required. To specify no
3257
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
3258
+ # @param options [::Gapic::CallOptions, ::Hash]
3259
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
3260
+ #
3261
+ # @overload create_workspace_long_running(parent: nil, workspace: nil, workspace_id: nil)
3262
+ # Pass arguments to `create_workspace_long_running` via keyword arguments. Note that at
3263
+ # least one keyword argument is required. To specify no parameters, or to keep all
3264
+ # the default parameter values, pass an empty Hash as a request object (see above).
3265
+ #
3266
+ # @param parent [::String]
3267
+ # Required. The repository in which to create the workspace. Must be in the
3268
+ # format `projects/*/locations/*/repositories/*`.
3269
+ # @param workspace [::Google::Cloud::Dataform::V1beta1::Workspace, ::Hash]
3270
+ # Required. The workspace to create.
3271
+ # @param workspace_id [::String]
3272
+ # Required. The ID to use for the workspace, which will become the final
3273
+ # component of the workspace's resource name.
3274
+ #
3275
+ # @yield [response, operation] Access the result along with the RPC operation
3276
+ # @yieldparam response [::Gapic::Operation]
3277
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
3278
+ #
3279
+ # @return [::Gapic::Operation]
3280
+ #
3281
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
3282
+ #
3283
+ # @example Basic example
3284
+ # require "google/cloud/dataform/v1beta1"
3285
+ #
3286
+ # # Create a client object. The client can be reused for multiple calls.
3287
+ # client = Google::Cloud::Dataform::V1beta1::Dataform::Client.new
3288
+ #
3289
+ # # Create a request. To set request fields, pass in keyword arguments.
3290
+ # request = Google::Cloud::Dataform::V1beta1::CreateWorkspaceRequest.new
3291
+ #
3292
+ # # Call the create_workspace_long_running method.
3293
+ # result = client.create_workspace_long_running request
3294
+ #
3295
+ # # The returned object is of type Gapic::Operation. You can use it to
3296
+ # # check the status of an operation, cancel it, or wait for results.
3297
+ # # Here is how to wait for a response.
3298
+ # result.wait_until_done! timeout: 60
3299
+ # if result.response?
3300
+ # p result.response
3301
+ # else
3302
+ # puts "No response received."
3303
+ # end
3304
+ #
3305
+ def create_workspace_long_running request, options = nil
3306
+ raise ::ArgumentError, "request must be provided" if request.nil?
3307
+
3308
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataform::V1beta1::CreateWorkspaceRequest
3309
+
3310
+ # Converts hash and nil to an options object
3311
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
3312
+
3313
+ # Customize the options with defaults
3314
+ metadata = @config.rpcs.create_workspace_long_running.metadata.to_h
3315
+
3316
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3317
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3318
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
3319
+ gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3320
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3321
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3322
+
3323
+ header_params = {}
3324
+ if request.parent
3325
+ header_params["parent"] = request.parent
3326
+ end
3327
+
3328
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
3329
+ metadata[:"x-goog-request-params"] ||= request_params_header
3330
+
3331
+ options.apply_defaults timeout: @config.rpcs.create_workspace_long_running.timeout,
3332
+ metadata: metadata,
3333
+ retry_policy: @config.rpcs.create_workspace_long_running.retry_policy
3334
+
3335
+ options.apply_defaults timeout: @config.timeout,
3336
+ metadata: @config.metadata,
3337
+ retry_policy: @config.retry_policy
3338
+
3339
+ @dataform_stub.call_rpc :create_workspace_long_running, request, options: options do |response, operation|
3340
+ response = ::Gapic::Operation.new response, @operations_client, options: options
3341
+ yield response, operation if block_given?
3342
+ throw :response, response
3343
+ end
3344
+ rescue ::GRPC::BadStatus => e
3345
+ raise ::Google::Cloud::Error.from_error(e)
3346
+ end
3347
+
3248
3348
  ##
3249
3349
  # Deletes a single Workspace.
3250
3350
  #
@@ -4251,6 +4351,108 @@ module Google
4251
4351
  raise ::Google::Cloud::Error.from_error(e)
4252
4352
  end
4253
4353
 
4354
+ ##
4355
+ # Fetches a Workspace's history of commits.
4356
+ #
4357
+ # @overload fetch_workspace_history(request, options = nil)
4358
+ # Pass arguments to `fetch_workspace_history` via a request object, either of type
4359
+ # {::Google::Cloud::Dataform::V1beta1::FetchWorkspaceHistoryRequest} or an equivalent Hash.
4360
+ #
4361
+ # @param request [::Google::Cloud::Dataform::V1beta1::FetchWorkspaceHistoryRequest, ::Hash]
4362
+ # A request object representing the call parameters. Required. To specify no
4363
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
4364
+ # @param options [::Gapic::CallOptions, ::Hash]
4365
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
4366
+ #
4367
+ # @overload fetch_workspace_history(name: nil, page_size: nil, page_token: nil)
4368
+ # Pass arguments to `fetch_workspace_history` via keyword arguments. Note that at
4369
+ # least one keyword argument is required. To specify no parameters, or to keep all
4370
+ # the default parameter values, pass an empty Hash as a request object (see above).
4371
+ #
4372
+ # @param name [::String]
4373
+ # Required. The workspace's name.
4374
+ # @param page_size [::Integer]
4375
+ # Optional. Maximum number of commits to return. The server may return fewer
4376
+ # items than requested. If unspecified, the server will pick an appropriate
4377
+ # default.
4378
+ # @param page_token [::String]
4379
+ # Optional. Page token received from a previous `FetchWorkspaceHistory` call.
4380
+ # Provide this to retrieve the subsequent page.
4381
+ #
4382
+ # When paginating, all other parameters provided to `FetchWorkspaceHistory`,
4383
+ # with the exception of `page_size`, must match the call that provided the
4384
+ # page token.
4385
+ #
4386
+ # @yield [response, operation] Access the result along with the RPC operation
4387
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Dataform::V1beta1::CommitLogEntry>]
4388
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
4389
+ #
4390
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Dataform::V1beta1::CommitLogEntry>]
4391
+ #
4392
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
4393
+ #
4394
+ # @example Basic example
4395
+ # require "google/cloud/dataform/v1beta1"
4396
+ #
4397
+ # # Create a client object. The client can be reused for multiple calls.
4398
+ # client = Google::Cloud::Dataform::V1beta1::Dataform::Client.new
4399
+ #
4400
+ # # Create a request. To set request fields, pass in keyword arguments.
4401
+ # request = Google::Cloud::Dataform::V1beta1::FetchWorkspaceHistoryRequest.new
4402
+ #
4403
+ # # Call the fetch_workspace_history method.
4404
+ # result = client.fetch_workspace_history request
4405
+ #
4406
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
4407
+ # # over elements, and API calls will be issued to fetch pages as needed.
4408
+ # result.each do |item|
4409
+ # # Each element is of type ::Google::Cloud::Dataform::V1beta1::CommitLogEntry.
4410
+ # p item
4411
+ # end
4412
+ #
4413
+ def fetch_workspace_history request, options = nil
4414
+ raise ::ArgumentError, "request must be provided" if request.nil?
4415
+
4416
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataform::V1beta1::FetchWorkspaceHistoryRequest
4417
+
4418
+ # Converts hash and nil to an options object
4419
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
4420
+
4421
+ # Customize the options with defaults
4422
+ metadata = @config.rpcs.fetch_workspace_history.metadata.to_h
4423
+
4424
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4425
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4426
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
4427
+ gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4428
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4429
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4430
+
4431
+ header_params = {}
4432
+ if request.name
4433
+ header_params["name"] = request.name
4434
+ end
4435
+
4436
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
4437
+ metadata[:"x-goog-request-params"] ||= request_params_header
4438
+
4439
+ options.apply_defaults timeout: @config.rpcs.fetch_workspace_history.timeout,
4440
+ metadata: metadata,
4441
+ retry_policy: @config.rpcs.fetch_workspace_history.retry_policy
4442
+
4443
+ options.apply_defaults timeout: @config.timeout,
4444
+ metadata: @config.metadata,
4445
+ retry_policy: @config.retry_policy
4446
+
4447
+ @dataform_stub.call_rpc :fetch_workspace_history, request, options: options do |response, operation|
4448
+ response = ::Gapic::PagedEnumerable.new @dataform_stub, :fetch_workspace_history, request, response, operation, options
4449
+ yield response, operation if block_given?
4450
+ throw :response, response
4451
+ end
4452
+ rescue ::GRPC::BadStatus => e
4453
+ raise ::Google::Cloud::Error.from_error(e)
4454
+ end
4455
+
4254
4456
  ##
4255
4457
  # Applies a Git commit for uncommitted files in a Workspace.
4256
4458
  #
@@ -6103,6 +6305,104 @@ module Google
6103
6305
  raise ::Google::Cloud::Error.from_error(e)
6104
6306
  end
6105
6307
 
6308
+ ##
6309
+ # Creates a new CompilationResult in a given project and location
6310
+ # asynchronously.
6311
+ #
6312
+ # @overload create_compilation_result_long_running(request, options = nil)
6313
+ # Pass arguments to `create_compilation_result_long_running` via a request object, either of type
6314
+ # {::Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest} or an equivalent Hash.
6315
+ #
6316
+ # @param request [::Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest, ::Hash]
6317
+ # A request object representing the call parameters. Required. To specify no
6318
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
6319
+ # @param options [::Gapic::CallOptions, ::Hash]
6320
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
6321
+ #
6322
+ # @overload create_compilation_result_long_running(parent: nil, compilation_result: nil)
6323
+ # Pass arguments to `create_compilation_result_long_running` via keyword arguments. Note that at
6324
+ # least one keyword argument is required. To specify no parameters, or to keep all
6325
+ # the default parameter values, pass an empty Hash as a request object (see above).
6326
+ #
6327
+ # @param parent [::String]
6328
+ # Required. The repository in which to create the compilation result. Must be
6329
+ # in the format `projects/*/locations/*/repositories/*`.
6330
+ # @param compilation_result [::Google::Cloud::Dataform::V1beta1::CompilationResult, ::Hash]
6331
+ # Required. The compilation result to create.
6332
+ #
6333
+ # @yield [response, operation] Access the result along with the RPC operation
6334
+ # @yieldparam response [::Gapic::Operation]
6335
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
6336
+ #
6337
+ # @return [::Gapic::Operation]
6338
+ #
6339
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
6340
+ #
6341
+ # @example Basic example
6342
+ # require "google/cloud/dataform/v1beta1"
6343
+ #
6344
+ # # Create a client object. The client can be reused for multiple calls.
6345
+ # client = Google::Cloud::Dataform::V1beta1::Dataform::Client.new
6346
+ #
6347
+ # # Create a request. To set request fields, pass in keyword arguments.
6348
+ # request = Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest.new
6349
+ #
6350
+ # # Call the create_compilation_result_long_running method.
6351
+ # result = client.create_compilation_result_long_running request
6352
+ #
6353
+ # # The returned object is of type Gapic::Operation. You can use it to
6354
+ # # check the status of an operation, cancel it, or wait for results.
6355
+ # # Here is how to wait for a response.
6356
+ # result.wait_until_done! timeout: 60
6357
+ # if result.response?
6358
+ # p result.response
6359
+ # else
6360
+ # puts "No response received."
6361
+ # end
6362
+ #
6363
+ def create_compilation_result_long_running request, options = nil
6364
+ raise ::ArgumentError, "request must be provided" if request.nil?
6365
+
6366
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Dataform::V1beta1::CreateCompilationResultRequest
6367
+
6368
+ # Converts hash and nil to an options object
6369
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
6370
+
6371
+ # Customize the options with defaults
6372
+ metadata = @config.rpcs.create_compilation_result_long_running.metadata.to_h
6373
+
6374
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
6375
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
6376
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
6377
+ gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
6378
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
6379
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
6380
+
6381
+ header_params = {}
6382
+ if request.parent
6383
+ header_params["parent"] = request.parent
6384
+ end
6385
+
6386
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
6387
+ metadata[:"x-goog-request-params"] ||= request_params_header
6388
+
6389
+ options.apply_defaults timeout: @config.rpcs.create_compilation_result_long_running.timeout,
6390
+ metadata: metadata,
6391
+ retry_policy: @config.rpcs.create_compilation_result_long_running.retry_policy
6392
+
6393
+ options.apply_defaults timeout: @config.timeout,
6394
+ metadata: @config.metadata,
6395
+ retry_policy: @config.retry_policy
6396
+
6397
+ @dataform_stub.call_rpc :create_compilation_result_long_running, request, options: options do |response, operation|
6398
+ response = ::Gapic::Operation.new response, @operations_client, options: options
6399
+ yield response, operation if block_given?
6400
+ throw :response, response
6401
+ end
6402
+ rescue ::GRPC::BadStatus => e
6403
+ raise ::Google::Cloud::Error.from_error(e)
6404
+ end
6405
+
6106
6406
  ##
6107
6407
  # Returns CompilationResultActions in a given CompilationResult.
6108
6408
  #
@@ -8027,6 +8327,11 @@ module Google
8027
8327
  #
8028
8328
  attr_reader :create_workspace
8029
8329
  ##
8330
+ # RPC-specific configuration for `create_workspace_long_running`
8331
+ # @return [::Gapic::Config::Method]
8332
+ #
8333
+ attr_reader :create_workspace_long_running
8334
+ ##
8030
8335
  # RPC-specific configuration for `delete_workspace`
8031
8336
  # @return [::Gapic::Config::Method]
8032
8337
  #
@@ -8082,6 +8387,11 @@ module Google
8082
8387
  #
8083
8388
  attr_reader :fetch_git_ahead_behind
8084
8389
  ##
8390
+ # RPC-specific configuration for `fetch_workspace_history`
8391
+ # @return [::Gapic::Config::Method]
8392
+ #
8393
+ attr_reader :fetch_workspace_history
8394
+ ##
8085
8395
  # RPC-specific configuration for `commit_workspace_changes`
8086
8396
  # @return [::Gapic::Config::Method]
8087
8397
  #
@@ -8182,6 +8492,11 @@ module Google
8182
8492
  #
8183
8493
  attr_reader :create_compilation_result
8184
8494
  ##
8495
+ # RPC-specific configuration for `create_compilation_result_long_running`
8496
+ # @return [::Gapic::Config::Method]
8497
+ #
8498
+ attr_reader :create_compilation_result_long_running
8499
+ ##
8185
8500
  # RPC-specific configuration for `query_compilation_result_actions`
8186
8501
  # @return [::Gapic::Config::Method]
8187
8502
  #
@@ -8331,6 +8646,8 @@ module Google
8331
8646
  @get_workspace = ::Gapic::Config::Method.new get_workspace_config
8332
8647
  create_workspace_config = parent_rpcs.create_workspace if parent_rpcs.respond_to? :create_workspace
8333
8648
  @create_workspace = ::Gapic::Config::Method.new create_workspace_config
8649
+ create_workspace_long_running_config = parent_rpcs.create_workspace_long_running if parent_rpcs.respond_to? :create_workspace_long_running
8650
+ @create_workspace_long_running = ::Gapic::Config::Method.new create_workspace_long_running_config
8334
8651
  delete_workspace_config = parent_rpcs.delete_workspace if parent_rpcs.respond_to? :delete_workspace
8335
8652
  @delete_workspace = ::Gapic::Config::Method.new delete_workspace_config
8336
8653
  install_npm_packages_config = parent_rpcs.install_npm_packages if parent_rpcs.respond_to? :install_npm_packages
@@ -8353,6 +8670,8 @@ module Google
8353
8670
  @fetch_file_git_statuses = ::Gapic::Config::Method.new fetch_file_git_statuses_config
8354
8671
  fetch_git_ahead_behind_config = parent_rpcs.fetch_git_ahead_behind if parent_rpcs.respond_to? :fetch_git_ahead_behind
8355
8672
  @fetch_git_ahead_behind = ::Gapic::Config::Method.new fetch_git_ahead_behind_config
8673
+ fetch_workspace_history_config = parent_rpcs.fetch_workspace_history if parent_rpcs.respond_to? :fetch_workspace_history
8674
+ @fetch_workspace_history = ::Gapic::Config::Method.new fetch_workspace_history_config
8356
8675
  commit_workspace_changes_config = parent_rpcs.commit_workspace_changes if parent_rpcs.respond_to? :commit_workspace_changes
8357
8676
  @commit_workspace_changes = ::Gapic::Config::Method.new commit_workspace_changes_config
8358
8677
  reset_workspace_changes_config = parent_rpcs.reset_workspace_changes if parent_rpcs.respond_to? :reset_workspace_changes
@@ -8393,6 +8712,8 @@ module Google
8393
8712
  @get_compilation_result = ::Gapic::Config::Method.new get_compilation_result_config
8394
8713
  create_compilation_result_config = parent_rpcs.create_compilation_result if parent_rpcs.respond_to? :create_compilation_result
8395
8714
  @create_compilation_result = ::Gapic::Config::Method.new create_compilation_result_config
8715
+ create_compilation_result_long_running_config = parent_rpcs.create_compilation_result_long_running if parent_rpcs.respond_to? :create_compilation_result_long_running
8716
+ @create_compilation_result_long_running = ::Gapic::Config::Method.new create_compilation_result_long_running_config
8396
8717
  query_compilation_result_actions_config = parent_rpcs.query_compilation_result_actions if parent_rpcs.respond_to? :query_compilation_result_actions
8397
8718
  @query_compilation_result_actions = ::Gapic::Config::Method.new query_compilation_result_actions_config
8398
8719
  list_workflow_configs_config = parent_rpcs.list_workflow_configs if parent_rpcs.respond_to? :list_workflow_configs
@@ -24,6 +24,25 @@ module Google
24
24
  module Dataform
25
25
  # Path helper methods for the Dataform API.
26
26
  module Paths
27
+ ##
28
+ # Create a fully-qualified AccountConnector resource string.
29
+ #
30
+ # The resource will be in the following format:
31
+ #
32
+ # `projects/{project}/locations/{location}/accountConnectors/{account_connector}`
33
+ #
34
+ # @param project [String]
35
+ # @param location [String]
36
+ # @param account_connector [String]
37
+ #
38
+ # @return [::String]
39
+ def account_connector_path project:, location:, account_connector:
40
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
41
+ raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
42
+
43
+ "projects/#{project}/locations/#{location}/accountConnectors/#{account_connector}"
44
+ end
45
+
27
46
  ##
28
47
  # Create a fully-qualified CompilationResult resource string.
29
48
  #