google-apis-recommender_v1beta1 0.19.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f092e5292fe553a5862acbb28e532840bf25329106f180c975e769e96b13b0d
4
- data.tar.gz: 9045609d7ad285a90f77f3f67695188e16f61f8a092e8eb7b0737bdeec28d041
3
+ metadata.gz: f02746ff9975ad50fe85ff4edee8ac8b4cb7be24d06f9c4e0ed3aa1b6db35f13
4
+ data.tar.gz: aad2b7125cd2d661ddfde2b05e771906b006d12db6aa27fb92444f22f074b927
5
5
  SHA512:
6
- metadata.gz: cd1e53c249c193d7a959724c3074e2aa0190cf84b19e70e36b20b5f3b262447d0d44ecedce01a4670550bcd24df839755c6ef76752479b39f1b557741a29e86d
7
- data.tar.gz: a2a27c5fb3ee6c53e189a04e7502271080988d13679668537e46c451db7232732343119835d553831c4f5f88b6c0c3acf833f777d3065d514cdda06b7f1ac300
6
+ metadata.gz: ef1fabcdffb3118bed67b3679e093e48e905801c5dc0f647423b91235c1e1336bdaa0a2009585699593d5446634eb988be7eabafbbdd84983cf539be24b5de56
7
+ data.tar.gz: 5f5401ff57f2ea4dcd93f254b967a868be9db4a47e591748cb7c441eb06918fa31f77c06390e99cf213c62a306cd3f7aebb317ed3c5a600d9ad594656627eaea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-recommender_v1beta1
2
2
 
3
+ ### v0.22.0 (2022-06-18)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.21.0 (2022-06-02)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.20.0 (2022-03-09)
12
+
13
+ * Regenerated from discovery document revision 20220307
14
+
3
15
  ### v0.19.0 (2022-02-10)
4
16
 
5
17
  * Regenerated from discovery document revision 20220207
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RecommenderV1beta1
18
18
  # Version of the google-apis-recommender_v1beta1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220207"
25
+ REVISION = "20220307"
26
26
  end
27
27
  end
28
28
  end
@@ -719,17 +719,14 @@ module Google
719
719
  execute_or_queue_command(command, &block)
720
720
  end
721
721
 
722
- # Updates an InsightTypeConfig change. This will create a new revision of the
723
- # config.
722
+ # Gets the requested InsightTypeConfig. There is only one instance of the config
723
+ # for each InsightType.
724
724
  # @param [String] name
725
- # Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]
726
- # /insightTypes/[INSIGHT_TYPE_ID]/config
727
- # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] google_cloud_recommender_v1beta1_insight_type_config_object
728
- # @param [String] update_mask
729
- # The list of fields to be updated.
730
- # @param [Boolean] validate_only
731
- # If true, validate the request and preview the change, but do not actually
732
- # update it.
725
+ # Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
726
+ # projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/
727
+ # config` * `projects/[PROJECT_ID]/locations/global/recommenders/[
728
+ # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/
729
+ # recommenders/[INSIGHT_TYPE_ID]/config`
733
730
  # @param [String] fields
734
731
  # Selector specifying which fields to include in a partial response.
735
732
  # @param [String] quota_user
@@ -747,28 +744,27 @@ module Google
747
744
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
745
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
746
  # @raise [Google::Apis::AuthorizationError] Authorization is required
750
- def config_organization_location_insight_type(name, google_cloud_recommender_v1beta1_insight_type_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
751
- command = make_simple_command(:post, 'v1beta1/{+name}', options)
752
- command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
753
- command.request_object = google_cloud_recommender_v1beta1_insight_type_config_object
747
+ def get_organization_location_insight_type_config(name, fields: nil, quota_user: nil, options: nil, &block)
748
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
754
749
  command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
755
750
  command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
756
751
  command.params['name'] = name unless name.nil?
757
- command.query['updateMask'] = update_mask unless update_mask.nil?
758
- command.query['validateOnly'] = validate_only unless validate_only.nil?
759
752
  command.query['fields'] = fields unless fields.nil?
760
753
  command.query['quotaUser'] = quota_user unless quota_user.nil?
761
754
  execute_or_queue_command(command, &block)
762
755
  end
763
756
 
764
- # Gets the requested InsightTypeConfig. There is only one instance of the config
765
- # for each InsightType.
757
+ # Updates an InsightTypeConfig change. This will create a new revision of the
758
+ # config.
766
759
  # @param [String] name
767
- # Required. Name of the InsightTypeConfig to get. Acceptable formats: * `
768
- # projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/
769
- # config` * `projects/[PROJECT_ID]/locations/global/recommenders/[
770
- # INSIGHT_TYPE_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/global/
771
- # recommenders/[INSIGHT_TYPE_ID]/config`
760
+ # Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]
761
+ # /insightTypes/[INSIGHT_TYPE_ID]/config
762
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig] google_cloud_recommender_v1beta1_insight_type_config_object
763
+ # @param [String] update_mask
764
+ # The list of fields to be updated.
765
+ # @param [Boolean] validate_only
766
+ # If true, validate the request and preview the change, but do not actually
767
+ # update it.
772
768
  # @param [String] fields
773
769
  # Selector specifying which fields to include in a partial response.
774
770
  # @param [String] quota_user
@@ -786,11 +782,15 @@ module Google
786
782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
787
783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
788
784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
789
- def get_organization_location_insight_type_config(name, fields: nil, quota_user: nil, options: nil, &block)
790
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
785
+ def update_organization_location_insight_type_config(name, google_cloud_recommender_v1beta1_insight_type_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
786
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
787
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
788
+ command.request_object = google_cloud_recommender_v1beta1_insight_type_config_object
791
789
  command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig::Representation
792
790
  command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1InsightTypeConfig
793
791
  command.params['name'] = name unless name.nil?
792
+ command.query['updateMask'] = update_mask unless update_mask.nil?
793
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
794
794
  command.query['fields'] = fields unless fields.nil?
795
795
  command.query['quotaUser'] = quota_user unless quota_user.nil?
796
796
  execute_or_queue_command(command, &block)
@@ -924,16 +924,14 @@ module Google
924
924
  execute_or_queue_command(command, &block)
925
925
  end
926
926
 
927
- # Updates a Recommender Config. This will create a new revision of the config.
927
+ # Gets the requested Recommender Config. There is only one instance of the
928
+ # config for each Recommender.
928
929
  # @param [String] name
929
- # Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/
930
- # recommenders/[RECOMMENDER_ID]/config
931
- # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] google_cloud_recommender_v1beta1_recommender_config_object
932
- # @param [String] update_mask
933
- # The list of fields to be updated.
934
- # @param [Boolean] validate_only
935
- # If true, validate the request and preview the change, but do not actually
936
- # update it.
930
+ # Required. Name of the Recommendation Config to get. Acceptable formats: * `
931
+ # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/
932
+ # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
933
+ # RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]
934
+ # /recommenders/[RECOMMENDER_ID]/config`
937
935
  # @param [String] fields
938
936
  # Selector specifying which fields to include in a partial response.
939
937
  # @param [String] quota_user
@@ -951,28 +949,26 @@ module Google
951
949
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
952
950
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
953
951
  # @raise [Google::Apis::AuthorizationError] Authorization is required
954
- def config_organization_location_recommender(name, google_cloud_recommender_v1beta1_recommender_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
955
- command = make_simple_command(:post, 'v1beta1/{+name}', options)
956
- command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
957
- command.request_object = google_cloud_recommender_v1beta1_recommender_config_object
952
+ def get_organization_location_recommender_config(name, fields: nil, quota_user: nil, options: nil, &block)
953
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
958
954
  command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
959
955
  command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
960
956
  command.params['name'] = name unless name.nil?
961
- command.query['updateMask'] = update_mask unless update_mask.nil?
962
- command.query['validateOnly'] = validate_only unless validate_only.nil?
963
957
  command.query['fields'] = fields unless fields.nil?
964
958
  command.query['quotaUser'] = quota_user unless quota_user.nil?
965
959
  execute_or_queue_command(command, &block)
966
960
  end
967
961
 
968
- # Gets the requested Recommender Config. There is only one instance of the
969
- # config for each Recommender.
962
+ # Updates a Recommender Config. This will create a new revision of the config.
970
963
  # @param [String] name
971
- # Required. Name of the Recommendation Config to get. Acceptable formats: * `
972
- # projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/
973
- # config` * `projects/[PROJECT_ID]/locations/[LOCATION]/recommenders/[
974
- # RECOMMENDER_ID]/config` * `organizations/[ORGANIZATION_ID]/locations/[LOCATION]
975
- # /recommenders/[RECOMMENDER_ID]/config`
964
+ # Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/
965
+ # recommenders/[RECOMMENDER_ID]/config
966
+ # @param [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig] google_cloud_recommender_v1beta1_recommender_config_object
967
+ # @param [String] update_mask
968
+ # The list of fields to be updated.
969
+ # @param [Boolean] validate_only
970
+ # If true, validate the request and preview the change, but do not actually
971
+ # update it.
976
972
  # @param [String] fields
977
973
  # Selector specifying which fields to include in a partial response.
978
974
  # @param [String] quota_user
@@ -990,11 +986,15 @@ module Google
990
986
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
991
987
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
992
988
  # @raise [Google::Apis::AuthorizationError] Authorization is required
993
- def get_organization_location_recommender_config(name, fields: nil, quota_user: nil, options: nil, &block)
994
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
989
+ def update_organization_location_recommender_config(name, google_cloud_recommender_v1beta1_recommender_config_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
990
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
991
+ command.request_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
992
+ command.request_object = google_cloud_recommender_v1beta1_recommender_config_object
995
993
  command.response_representation = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig::Representation
996
994
  command.response_class = Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1RecommenderConfig
997
995
  command.params['name'] = name unless name.nil?
996
+ command.query['updateMask'] = update_mask unless update_mask.nil?
997
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
998
998
  command.query['fields'] = fields unless fields.nil?
999
999
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1000
1000
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-recommender_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.22.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: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.6'
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.4'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recommender_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-recommender_v1beta1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-recommender_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Recommender API V1beta1