google-apis-discoveryengine_v1beta 0.84.0 → 0.85.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.
@@ -8825,6 +8825,120 @@ module Google
8825
8825
  execute_or_queue_command(command, &block)
8826
8826
  end
8827
8827
 
8828
+ # Creates a LicenseConfig
8829
+ # @param [String] parent
8830
+ # Required. The parent resource name, such as `projects/`project`/locations/`
8831
+ # location``.
8832
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] google_cloud_discoveryengine_v1beta_license_config_object
8833
+ # @param [String] license_config_id
8834
+ # Optional. The ID to use for the LicenseConfig, which will become the final
8835
+ # component of the LicenseConfig's resource name. We are using the tier (product
8836
+ # edition) name as the license config id such as `search` or `
8837
+ # search_and_assistant`.
8838
+ # @param [String] fields
8839
+ # Selector specifying which fields to include in a partial response.
8840
+ # @param [String] quota_user
8841
+ # Available to use for quota purposes for server-side applications. Can be any
8842
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8843
+ # @param [Google::Apis::RequestOptions] options
8844
+ # Request-specific options
8845
+ #
8846
+ # @yield [result, err] Result & error if block supplied
8847
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] parsed result object
8848
+ # @yieldparam err [StandardError] error object if request failed
8849
+ #
8850
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig]
8851
+ #
8852
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8853
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8854
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8855
+ def create_project_location_license_config(parent, google_cloud_discoveryengine_v1beta_license_config_object = nil, license_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
8856
+ command = make_simple_command(:post, 'v1beta/{+parent}/licenseConfigs', options)
8857
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation
8858
+ command.request_object = google_cloud_discoveryengine_v1beta_license_config_object
8859
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation
8860
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig
8861
+ command.params['parent'] = parent unless parent.nil?
8862
+ command.query['licenseConfigId'] = license_config_id unless license_config_id.nil?
8863
+ command.query['fields'] = fields unless fields.nil?
8864
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8865
+ execute_or_queue_command(command, &block)
8866
+ end
8867
+
8868
+ # Gets a LicenseConfig.
8869
+ # @param [String] name
8870
+ # Required. Full resource name of LicenseConfig, such as `projects/`project`/
8871
+ # locations/`location`/licenseConfigs/*`. If the caller does not have permission
8872
+ # to access the LicenseConfig, regardless of whether or not it exists, a
8873
+ # PERMISSION_DENIED error is returned. If the requested LicenseConfig does not
8874
+ # exist, a NOT_FOUND error is returned.
8875
+ # @param [String] fields
8876
+ # Selector specifying which fields to include in a partial response.
8877
+ # @param [String] quota_user
8878
+ # Available to use for quota purposes for server-side applications. Can be any
8879
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8880
+ # @param [Google::Apis::RequestOptions] options
8881
+ # Request-specific options
8882
+ #
8883
+ # @yield [result, err] Result & error if block supplied
8884
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] parsed result object
8885
+ # @yieldparam err [StandardError] error object if request failed
8886
+ #
8887
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig]
8888
+ #
8889
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8890
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8891
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8892
+ def get_project_location_license_config(name, fields: nil, quota_user: nil, options: nil, &block)
8893
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
8894
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation
8895
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig
8896
+ command.params['name'] = name unless name.nil?
8897
+ command.query['fields'] = fields unless fields.nil?
8898
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8899
+ execute_or_queue_command(command, &block)
8900
+ end
8901
+
8902
+ # Updates the LicenseConfig
8903
+ # @param [String] name
8904
+ # Immutable. Identifier. The fully qualified resource name of the license config.
8905
+ # Format: `projects/`project`/locations/`location`/licenseConfigs/`
8906
+ # license_config``
8907
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] google_cloud_discoveryengine_v1beta_license_config_object
8908
+ # @param [String] update_mask
8909
+ # Optional. Indicates which fields in the provided LicenseConfig to update. If
8910
+ # an unsupported or unknown field is provided, an INVALID_ARGUMENT error is
8911
+ # returned.
8912
+ # @param [String] fields
8913
+ # Selector specifying which fields to include in a partial response.
8914
+ # @param [String] quota_user
8915
+ # Available to use for quota purposes for server-side applications. Can be any
8916
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8917
+ # @param [Google::Apis::RequestOptions] options
8918
+ # Request-specific options
8919
+ #
8920
+ # @yield [result, err] Result & error if block supplied
8921
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig] parsed result object
8922
+ # @yieldparam err [StandardError] error object if request failed
8923
+ #
8924
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig]
8925
+ #
8926
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8927
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8928
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8929
+ def patch_project_location_license_config(name, google_cloud_discoveryengine_v1beta_license_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
8930
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
8931
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation
8932
+ command.request_object = google_cloud_discoveryengine_v1beta_license_config_object
8933
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig::Representation
8934
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig
8935
+ command.params['name'] = name unless name.nil?
8936
+ command.query['updateMask'] = update_mask unless update_mask.nil?
8937
+ command.query['fields'] = fields unless fields.nil?
8938
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8939
+ execute_or_queue_command(command, &block)
8940
+ end
8941
+
8828
8942
  # Gets the latest state of a long-running operation. Clients can use this method
8829
8943
  # to poll the operation result at intervals as recommended by the API service.
8830
8944
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.85.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_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.84.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.85.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: