google-apis-discoveryengine_v1 0.53.0 → 0.54.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.
@@ -8392,6 +8392,120 @@ module Google
8392
8392
  execute_or_queue_command(command, &block)
8393
8393
  end
8394
8394
 
8395
+ # Creates a LicenseConfig
8396
+ # @param [String] parent
8397
+ # Required. The parent resource name, such as `projects/`project`/locations/`
8398
+ # location``.
8399
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig] google_cloud_discoveryengine_v1_license_config_object
8400
+ # @param [String] license_config_id
8401
+ # Optional. The ID to use for the LicenseConfig, which will become the final
8402
+ # component of the LicenseConfig's resource name. We are using the tier (product
8403
+ # edition) name as the license config id such as `search` or `
8404
+ # search_and_assistant`.
8405
+ # @param [String] fields
8406
+ # Selector specifying which fields to include in a partial response.
8407
+ # @param [String] quota_user
8408
+ # Available to use for quota purposes for server-side applications. Can be any
8409
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8410
+ # @param [Google::Apis::RequestOptions] options
8411
+ # Request-specific options
8412
+ #
8413
+ # @yield [result, err] Result & error if block supplied
8414
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig] parsed result object
8415
+ # @yieldparam err [StandardError] error object if request failed
8416
+ #
8417
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig]
8418
+ #
8419
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8420
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8421
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8422
+ def create_project_location_license_config(parent, google_cloud_discoveryengine_v1_license_config_object = nil, license_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
8423
+ command = make_simple_command(:post, 'v1/{+parent}/licenseConfigs', options)
8424
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig::Representation
8425
+ command.request_object = google_cloud_discoveryengine_v1_license_config_object
8426
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig::Representation
8427
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig
8428
+ command.params['parent'] = parent unless parent.nil?
8429
+ command.query['licenseConfigId'] = license_config_id unless license_config_id.nil?
8430
+ command.query['fields'] = fields unless fields.nil?
8431
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8432
+ execute_or_queue_command(command, &block)
8433
+ end
8434
+
8435
+ # Gets a LicenseConfig.
8436
+ # @param [String] name
8437
+ # Required. Full resource name of LicenseConfig, such as `projects/`project`/
8438
+ # locations/`location`/licenseConfigs/*`. If the caller does not have permission
8439
+ # to access the LicenseConfig, regardless of whether or not it exists, a
8440
+ # PERMISSION_DENIED error is returned. If the requested LicenseConfig does not
8441
+ # exist, a NOT_FOUND error is returned.
8442
+ # @param [String] fields
8443
+ # Selector specifying which fields to include in a partial response.
8444
+ # @param [String] quota_user
8445
+ # Available to use for quota purposes for server-side applications. Can be any
8446
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8447
+ # @param [Google::Apis::RequestOptions] options
8448
+ # Request-specific options
8449
+ #
8450
+ # @yield [result, err] Result & error if block supplied
8451
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig] parsed result object
8452
+ # @yieldparam err [StandardError] error object if request failed
8453
+ #
8454
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig]
8455
+ #
8456
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8457
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8458
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8459
+ def get_project_location_license_config(name, fields: nil, quota_user: nil, options: nil, &block)
8460
+ command = make_simple_command(:get, 'v1/{+name}', options)
8461
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig::Representation
8462
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig
8463
+ command.params['name'] = name unless name.nil?
8464
+ command.query['fields'] = fields unless fields.nil?
8465
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8466
+ execute_or_queue_command(command, &block)
8467
+ end
8468
+
8469
+ # Updates the LicenseConfig
8470
+ # @param [String] name
8471
+ # Immutable. Identifier. The fully qualified resource name of the license config.
8472
+ # Format: `projects/`project`/locations/`location`/licenseConfigs/`
8473
+ # license_config``
8474
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig] google_cloud_discoveryengine_v1_license_config_object
8475
+ # @param [String] update_mask
8476
+ # Optional. Indicates which fields in the provided LicenseConfig to update. If
8477
+ # an unsupported or unknown field is provided, an INVALID_ARGUMENT error is
8478
+ # returned.
8479
+ # @param [String] fields
8480
+ # Selector specifying which fields to include in a partial response.
8481
+ # @param [String] quota_user
8482
+ # Available to use for quota purposes for server-side applications. Can be any
8483
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8484
+ # @param [Google::Apis::RequestOptions] options
8485
+ # Request-specific options
8486
+ #
8487
+ # @yield [result, err] Result & error if block supplied
8488
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig] parsed result object
8489
+ # @yieldparam err [StandardError] error object if request failed
8490
+ #
8491
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig]
8492
+ #
8493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8496
+ def patch_project_location_license_config(name, google_cloud_discoveryengine_v1_license_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
8497
+ command = make_simple_command(:patch, 'v1/{+name}', options)
8498
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig::Representation
8499
+ command.request_object = google_cloud_discoveryengine_v1_license_config_object
8500
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig::Representation
8501
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1LicenseConfig
8502
+ command.params['name'] = name unless name.nil?
8503
+ command.query['updateMask'] = update_mask unless update_mask.nil?
8504
+ command.query['fields'] = fields unless fields.nil?
8505
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8506
+ execute_or_queue_command(command, &block)
8507
+ end
8508
+
8395
8509
  # Gets the latest state of a long-running operation. Clients can use this method
8396
8510
  # to poll the operation result at intervals as recommended by the API service.
8397
8511
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.53.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.54.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: