google-api-python-client 2.170.0__py3-none-any.whl → 2.171.0__py3-none-any.whl
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.
- {google_api_python_client-2.170.0.dist-info → google_api_python_client-2.171.0.dist-info}/METADATA +14 -2
- {google_api_python_client-2.170.0.dist-info → google_api_python_client-2.171.0.dist-info}/RECORD +138 -138
- {google_api_python_client-2.170.0.dist-info → google_api_python_client-2.171.0.dist-info}/WHEEL +1 -1
- googleapiclient/discovery_cache/documents/admin.directory_v1.json +3 -3
- googleapiclient/discovery_cache/documents/admin.directoryv1.json +3 -3
- googleapiclient/discovery_cache/documents/aiplatform.v1.json +658 -17
- googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +920 -21
- googleapiclient/discovery_cache/documents/alloydb.v1.json +2 -2
- googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +7 -2
- googleapiclient/discovery_cache/documents/alloydb.v1beta.json +7 -2
- googleapiclient/discovery_cache/documents/androidmanagement.v1.json +293 -5
- googleapiclient/discovery_cache/documents/androidpublisher.v3.json +29 -19
- googleapiclient/discovery_cache/documents/apigee.v1.json +4 -4
- googleapiclient/discovery_cache/documents/apihub.v1.json +4 -4
- googleapiclient/discovery_cache/documents/apim.v1alpha.json +8 -2
- googleapiclient/discovery_cache/documents/areainsights.v1.json +2 -2
- googleapiclient/discovery_cache/documents/assuredworkloads.v1.json +113 -5
- googleapiclient/discovery_cache/documents/assuredworkloads.v1beta1.json +113 -5
- googleapiclient/discovery_cache/documents/backupdr.v1.json +3 -3
- googleapiclient/discovery_cache/documents/baremetalsolution.v2.json +3 -3
- googleapiclient/discovery_cache/documents/batch.v1.json +13 -1
- googleapiclient/discovery_cache/documents/bigqueryreservation.v1.json +114 -3
- googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +92 -1
- googleapiclient/discovery_cache/documents/blogger.v2.json +3 -1
- googleapiclient/discovery_cache/documents/blogger.v3.json +3 -1
- googleapiclient/discovery_cache/documents/chat.v1.json +1 -4
- googleapiclient/discovery_cache/documents/chromemanagement.v1.json +49 -1
- googleapiclient/discovery_cache/documents/classroom.v1.json +48 -2
- googleapiclient/discovery_cache/documents/cloudbuild.v1.json +8 -4
- googleapiclient/discovery_cache/documents/cloudkms.v1.json +305 -2
- googleapiclient/discovery_cache/documents/cloudresourcemanager.v3.json +149 -3
- googleapiclient/discovery_cache/documents/cloudsupport.v2.json +5 -5
- googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +5 -5
- googleapiclient/discovery_cache/documents/composer.v1.json +35 -1
- googleapiclient/discovery_cache/documents/composer.v1beta1.json +2 -2
- googleapiclient/discovery_cache/documents/compute.alpha.json +799 -95
- googleapiclient/discovery_cache/documents/compute.beta.json +154 -2
- googleapiclient/discovery_cache/documents/compute.v1.json +40 -2
- googleapiclient/discovery_cache/documents/connectors.v1.json +3 -65
- googleapiclient/discovery_cache/documents/connectors.v2.json +7 -1
- googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +1429 -306
- googleapiclient/discovery_cache/documents/container.v1.json +53 -1
- googleapiclient/discovery_cache/documents/container.v1beta1.json +53 -1
- googleapiclient/discovery_cache/documents/datacatalog.v1.json +2 -2
- googleapiclient/discovery_cache/documents/dataflow.v1b3.json +108 -1
- googleapiclient/discovery_cache/documents/dataform.v1beta1.json +5 -1
- googleapiclient/discovery_cache/documents/datamigration.v1.json +18 -2
- googleapiclient/discovery_cache/documents/dataplex.v1.json +152 -57
- googleapiclient/discovery_cache/documents/dataproc.v1.json +96 -300
- googleapiclient/discovery_cache/documents/datastream.v1.json +44 -2
- googleapiclient/discovery_cache/documents/discoveryengine.v1.json +139 -10
- googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +157 -6
- googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +139 -10
- googleapiclient/discovery_cache/documents/displayvideo.v3.json +3 -3
- googleapiclient/discovery_cache/documents/dlp.v2.json +33 -1
- googleapiclient/discovery_cache/documents/documentai.v1.json +9 -11
- googleapiclient/discovery_cache/documents/documentai.v1beta3.json +9 -11
- googleapiclient/discovery_cache/documents/driveactivity.v2.json +2 -2
- googleapiclient/discovery_cache/documents/essentialcontacts.v1.json +3 -2
- googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +315 -5
- googleapiclient/discovery_cache/documents/gkebackup.v1.json +3 -3
- googleapiclient/discovery_cache/documents/gkehub.v1.json +1 -3
- googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +1 -5
- googleapiclient/discovery_cache/documents/gkehub.v1beta.json +1 -3
- googleapiclient/discovery_cache/documents/gkehub.v2.json +1 -3
- googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +1 -3
- googleapiclient/discovery_cache/documents/gkehub.v2beta.json +1 -3
- googleapiclient/discovery_cache/documents/gkeonprem.v1.json +24 -1
- googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +1 -1
- googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +1 -1
- googleapiclient/discovery_cache/documents/iam.v1.json +7 -7
- googleapiclient/discovery_cache/documents/iap.v1.json +12 -5
- googleapiclient/discovery_cache/documents/integrations.v1.json +67 -1
- googleapiclient/discovery_cache/documents/kmsinventory.v1.json +10 -6
- googleapiclient/discovery_cache/documents/language.v1.json +13 -1
- googleapiclient/discovery_cache/documents/language.v1beta2.json +13 -1
- googleapiclient/discovery_cache/documents/language.v2.json +13 -1
- googleapiclient/discovery_cache/documents/logging.v2.json +6 -6
- googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +4 -54
- googleapiclient/discovery_cache/documents/monitoring.v3.json +2 -2
- googleapiclient/discovery_cache/documents/netapp.v1.json +15 -8
- googleapiclient/discovery_cache/documents/netapp.v1beta1.json +90 -14
- googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +20 -15
- googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +2 -2
- googleapiclient/discovery_cache/documents/networkmanagement.v1.json +40 -11
- googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +289 -5
- googleapiclient/discovery_cache/documents/networksecurity.v1.json +1 -8
- googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +545 -8
- googleapiclient/discovery_cache/documents/networkservices.v1.json +2 -2
- googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +6 -2
- googleapiclient/discovery_cache/documents/notebooks.v2.json +2 -2
- googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +23 -1
- googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +23 -1
- googleapiclient/discovery_cache/documents/oracledatabase.v1.json +2 -2
- googleapiclient/discovery_cache/documents/oslogin.v1.json +4 -4
- googleapiclient/discovery_cache/documents/oslogin.v1alpha.json +9 -9
- googleapiclient/discovery_cache/documents/oslogin.v1beta.json +6 -6
- googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +7 -5
- googleapiclient/discovery_cache/documents/playintegrity.v1.json +108 -1
- googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json +9 -2
- googleapiclient/discovery_cache/documents/redis.v1.json +5 -4
- googleapiclient/discovery_cache/documents/redis.v1beta1.json +5 -4
- googleapiclient/discovery_cache/documents/retail.v2.json +23 -1
- googleapiclient/discovery_cache/documents/retail.v2alpha.json +59 -4
- googleapiclient/discovery_cache/documents/retail.v2beta.json +23 -1
- googleapiclient/discovery_cache/documents/safebrowsing.v5.json +393 -1
- googleapiclient/discovery_cache/documents/script.v1.json +1 -107
- googleapiclient/discovery_cache/documents/securitycenter.v1.json +337 -11
- googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +337 -11
- googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +337 -11
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +100 -1
- googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +112 -1
- googleapiclient/discovery_cache/documents/servicemanagement.v1.json +100 -1
- googleapiclient/discovery_cache/documents/servicenetworking.v1.json +102 -3
- googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +100 -1
- googleapiclient/discovery_cache/documents/serviceusage.v1.json +100 -1
- googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +100 -1
- googleapiclient/discovery_cache/documents/sheets.v4.json +7 -2
- googleapiclient/discovery_cache/documents/spanner.v1.json +57 -17
- googleapiclient/discovery_cache/documents/sqladmin.v1.json +37 -3
- googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +37 -3
- googleapiclient/discovery_cache/documents/storage.v1.json +16 -2
- googleapiclient/discovery_cache/documents/storagetransfer.v1.json +5 -5
- googleapiclient/discovery_cache/documents/sts.v1.json +2 -2
- googleapiclient/discovery_cache/documents/sts.v1beta.json +2 -2
- googleapiclient/discovery_cache/documents/tasks.v1.json +2 -2
- googleapiclient/discovery_cache/documents/trafficdirector.v3.json +5 -5
- googleapiclient/discovery_cache/documents/vault.v1.json +18 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1.json +156 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +156 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +156 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +156 -1
- googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +156 -1
- googleapiclient/discovery_cache/documents/vmmigration.v1.json +70 -3
- googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +70 -3
- googleapiclient/version.py +1 -1
- {google_api_python_client-2.170.0.dist-info → google_api_python_client-2.171.0.dist-info/licenses}/LICENSE +0 -0
- {google_api_python_client-2.170.0.dist-info → google_api_python_client-2.171.0.dist-info}/top_level.txt +0 -0
|
@@ -2800,7 +2800,7 @@
|
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
2802
|
},
|
|
2803
|
-
"revision": "
|
|
2803
|
+
"revision": "20250522",
|
|
2804
2804
|
"rootUrl": "https://retail.googleapis.com/",
|
|
2805
2805
|
"schemas": {
|
|
2806
2806
|
"GoogleApiHttpBody": {
|
|
@@ -4743,7 +4743,7 @@
|
|
|
4743
4743
|
"type": "object"
|
|
4744
4744
|
},
|
|
4745
4745
|
"GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer": {
|
|
4746
|
-
"description": "Suggested answers to the follow-up question.",
|
|
4746
|
+
"description": "Suggested answers to the follow-up question. If it's numerical attribute, only ProductAttributeInterval will be set. If it's textual attribute, only productAttributeValue will be set.",
|
|
4747
4747
|
"id": "GoogleCloudRetailV2alphaConversationalSearchResponseFollowupQuestionSuggestedAnswer",
|
|
4748
4748
|
"properties": {
|
|
4749
4749
|
"productAttributeValue": {
|
|
@@ -4824,6 +4824,21 @@
|
|
|
4824
4824
|
},
|
|
4825
4825
|
"type": "object"
|
|
4826
4826
|
},
|
|
4827
|
+
"GoogleCloudRetailV2alphaDoubleList": {
|
|
4828
|
+
"description": "A message with a list of double values.",
|
|
4829
|
+
"id": "GoogleCloudRetailV2alphaDoubleList",
|
|
4830
|
+
"properties": {
|
|
4831
|
+
"values": {
|
|
4832
|
+
"description": "The list of double values.",
|
|
4833
|
+
"items": {
|
|
4834
|
+
"format": "double",
|
|
4835
|
+
"type": "number"
|
|
4836
|
+
},
|
|
4837
|
+
"type": "array"
|
|
4838
|
+
}
|
|
4839
|
+
},
|
|
4840
|
+
"type": "object"
|
|
4841
|
+
},
|
|
4827
4842
|
"GoogleCloudRetailV2alphaEnrollSolutionMetadata": {
|
|
4828
4843
|
"description": "Metadata related to the EnrollSolution method. This will be returned by the google.longrunning.Operation.metadata field.",
|
|
4829
4844
|
"id": "GoogleCloudRetailV2alphaEnrollSolutionMetadata",
|
|
@@ -5746,8 +5761,14 @@
|
|
|
5746
5761
|
"description": "Merchant Center Feed filter criterion.",
|
|
5747
5762
|
"id": "GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter",
|
|
5748
5763
|
"properties": {
|
|
5764
|
+
"dataSourceId": {
|
|
5765
|
+
"description": "AFM data source ID.",
|
|
5766
|
+
"format": "int64",
|
|
5767
|
+
"type": "string"
|
|
5768
|
+
},
|
|
5749
5769
|
"primaryFeedId": {
|
|
5750
|
-
"
|
|
5770
|
+
"deprecated": true,
|
|
5771
|
+
"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.",
|
|
5751
5772
|
"format": "int64",
|
|
5752
5773
|
"type": "string"
|
|
5753
5774
|
},
|
|
@@ -5762,8 +5783,14 @@
|
|
|
5762
5783
|
"description": "Merchant Center Feed filter criterion.",
|
|
5763
5784
|
"id": "GoogleCloudRetailV2alphaMerchantCenterFeedFilter",
|
|
5764
5785
|
"properties": {
|
|
5786
|
+
"dataSourceId": {
|
|
5787
|
+
"description": "AFM data source ID.",
|
|
5788
|
+
"format": "int64",
|
|
5789
|
+
"type": "string"
|
|
5790
|
+
},
|
|
5765
5791
|
"primaryFeedId": {
|
|
5766
|
-
"
|
|
5792
|
+
"deprecated": true,
|
|
5793
|
+
"description": "Merchant Center primary feed ID. Deprecated: use data_source_id instead.",
|
|
5767
5794
|
"format": "int64",
|
|
5768
5795
|
"type": "string"
|
|
5769
5796
|
},
|
|
@@ -7386,6 +7413,13 @@
|
|
|
7386
7413
|
"$ref": "GoogleCloudRetailV2alphaSearchRequestTileNavigationSpec",
|
|
7387
7414
|
"description": "Optional. This field specifies tile navigation related parameters."
|
|
7388
7415
|
},
|
|
7416
|
+
"userAttributes": {
|
|
7417
|
+
"additionalProperties": {
|
|
7418
|
+
"$ref": "GoogleCloudRetailV2alphaStringList"
|
|
7419
|
+
},
|
|
7420
|
+
"description": "Optional. The user attributes that could be used for personalization of search results. * Populate at most 100 key-value pairs per query. * Only supports string keys and repeated string values. * Duplcate keys are not allowed within a single query. Example: user_attributes: [ { key: \"pets\" value { values: \"dog\" values: \"cat\" } }, { key: \"state\" value { values: \"CA\" } } ]",
|
|
7421
|
+
"type": "object"
|
|
7422
|
+
},
|
|
7389
7423
|
"userInfo": {
|
|
7390
7424
|
"$ref": "GoogleCloudRetailV2alphaUserInfo",
|
|
7391
7425
|
"description": "User information."
|
|
@@ -7907,6 +7941,13 @@
|
|
|
7907
7941
|
"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
|
|
7908
7942
|
"type": "object"
|
|
7909
7943
|
},
|
|
7944
|
+
"modelScores": {
|
|
7945
|
+
"additionalProperties": {
|
|
7946
|
+
"$ref": "GoogleCloudRetailV2alphaDoubleList"
|
|
7947
|
+
},
|
|
7948
|
+
"description": "Google provided available scores.",
|
|
7949
|
+
"type": "object"
|
|
7950
|
+
},
|
|
7910
7951
|
"personalLabels": {
|
|
7911
7952
|
"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.",
|
|
7912
7953
|
"items": {
|
|
@@ -8135,6 +8176,20 @@
|
|
|
8135
8176
|
"properties": {},
|
|
8136
8177
|
"type": "object"
|
|
8137
8178
|
},
|
|
8179
|
+
"GoogleCloudRetailV2alphaStringList": {
|
|
8180
|
+
"description": "A list of string values.",
|
|
8181
|
+
"id": "GoogleCloudRetailV2alphaStringList",
|
|
8182
|
+
"properties": {
|
|
8183
|
+
"values": {
|
|
8184
|
+
"description": "String values.",
|
|
8185
|
+
"items": {
|
|
8186
|
+
"type": "string"
|
|
8187
|
+
},
|
|
8188
|
+
"type": "array"
|
|
8189
|
+
}
|
|
8190
|
+
},
|
|
8191
|
+
"type": "object"
|
|
8192
|
+
},
|
|
8138
8193
|
"GoogleCloudRetailV2alphaTile": {
|
|
8139
8194
|
"description": "This field specifies the tile information including an attribute key, attribute value. More fields will be added in the future, eg: product id or product counts, etc.",
|
|
8140
8195
|
"id": "GoogleCloudRetailV2alphaTile",
|
|
@@ -2368,7 +2368,7 @@
|
|
|
2368
2368
|
}
|
|
2369
2369
|
}
|
|
2370
2370
|
},
|
|
2371
|
-
"revision": "
|
|
2371
|
+
"revision": "20250515",
|
|
2372
2372
|
"rootUrl": "https://retail.googleapis.com/",
|
|
2373
2373
|
"schemas": {
|
|
2374
2374
|
"GoogleApiHttpBody": {
|
|
@@ -4881,6 +4881,21 @@
|
|
|
4881
4881
|
},
|
|
4882
4882
|
"type": "object"
|
|
4883
4883
|
},
|
|
4884
|
+
"GoogleCloudRetailV2betaDoubleList": {
|
|
4885
|
+
"description": "A message with a list of double values.",
|
|
4886
|
+
"id": "GoogleCloudRetailV2betaDoubleList",
|
|
4887
|
+
"properties": {
|
|
4888
|
+
"values": {
|
|
4889
|
+
"description": "The list of double values.",
|
|
4890
|
+
"items": {
|
|
4891
|
+
"format": "double",
|
|
4892
|
+
"type": "number"
|
|
4893
|
+
},
|
|
4894
|
+
"type": "array"
|
|
4895
|
+
}
|
|
4896
|
+
},
|
|
4897
|
+
"type": "object"
|
|
4898
|
+
},
|
|
4884
4899
|
"GoogleCloudRetailV2betaExperimentInfo": {
|
|
4885
4900
|
"description": "Metadata for active A/B testing experiment.",
|
|
4886
4901
|
"id": "GoogleCloudRetailV2betaExperimentInfo",
|
|
@@ -7568,6 +7583,13 @@
|
|
|
7568
7583
|
"description": "If a variant Product matches the search query, this map indicates which Product fields are matched. The key is the Product.name, the value is a field mask of the matched Product fields. If matched attributes cannot be determined, this map will be empty. For example, a key \"sku1\" with field mask \"products.color_info\" indicates there is a match between \"sku1\" ColorInfo and the query.",
|
|
7569
7584
|
"type": "object"
|
|
7570
7585
|
},
|
|
7586
|
+
"modelScores": {
|
|
7587
|
+
"additionalProperties": {
|
|
7588
|
+
"$ref": "GoogleCloudRetailV2betaDoubleList"
|
|
7589
|
+
},
|
|
7590
|
+
"description": "Google provided available scores.",
|
|
7591
|
+
"type": "object"
|
|
7592
|
+
},
|
|
7571
7593
|
"personalLabels": {
|
|
7572
7594
|
"description": "Specifies previous events related to this product for this user based on UserEvent with same SearchRequest.visitor_id or UserInfo.user_id. This is set only when SearchRequest.PersonalizationSpec.mode is SearchRequest.PersonalizationSpec.Mode.AUTO. Possible values: * `purchased`: Indicates that this product has been purchased before.",
|
|
7573
7595
|
"items": {
|
|
@@ -96,6 +96,115 @@
|
|
|
96
96
|
},
|
|
97
97
|
"protocol": "rest",
|
|
98
98
|
"resources": {
|
|
99
|
+
"hashList": {
|
|
100
|
+
"methods": {
|
|
101
|
+
"get": {
|
|
102
|
+
"description": "Get the latest contents of a hash list. A hash list may either by a threat list or a non-threat list such as the Global Cache. This is a standard Get method as defined by https://google.aip.dev/131 and the HTTP method is also GET.",
|
|
103
|
+
"flatPath": "v5/hashList/{name}",
|
|
104
|
+
"httpMethod": "GET",
|
|
105
|
+
"id": "safebrowsing.hashList.get",
|
|
106
|
+
"parameterOrder": [
|
|
107
|
+
"name"
|
|
108
|
+
],
|
|
109
|
+
"parameters": {
|
|
110
|
+
"name": {
|
|
111
|
+
"description": "Required. The name of this particular hash list. It may be a threat list, or it may be the Global Cache.",
|
|
112
|
+
"location": "path",
|
|
113
|
+
"required": true,
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"sizeConstraints.maxDatabaseEntries": {
|
|
117
|
+
"description": "Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set.",
|
|
118
|
+
"format": "int32",
|
|
119
|
+
"location": "query",
|
|
120
|
+
"type": "integer"
|
|
121
|
+
},
|
|
122
|
+
"sizeConstraints.maxUpdateEntries": {
|
|
123
|
+
"description": "The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set.",
|
|
124
|
+
"format": "int32",
|
|
125
|
+
"location": "query",
|
|
126
|
+
"type": "integer"
|
|
127
|
+
},
|
|
128
|
+
"version": {
|
|
129
|
+
"description": "The version of the hash list that the client already has. If this is the first time the client is fetching the hash list, this field MUST be left empty. Otherwise, the client SHOULD supply the version previously received from the server. The client MUST NOT manipulate those bytes. **What's new in V5**: in V4 of the API, this was called `states`; it is now renamed to `version` for clarity.",
|
|
130
|
+
"format": "byte",
|
|
131
|
+
"location": "query",
|
|
132
|
+
"type": "string"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"path": "v5/hashList/{name}",
|
|
136
|
+
"response": {
|
|
137
|
+
"$ref": "GoogleSecuritySafebrowsingV5HashList"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"hashLists": {
|
|
143
|
+
"methods": {
|
|
144
|
+
"batchGet": {
|
|
145
|
+
"description": "Get multiple hash lists at once. It is very common for a client to need to get multiple hash lists. Using this method is preferred over using the regular Get method multiple times. This is a standard batch Get method as defined by https://google.aip.dev/231 and the HTTP method is also GET.",
|
|
146
|
+
"flatPath": "v5/hashLists:batchGet",
|
|
147
|
+
"httpMethod": "GET",
|
|
148
|
+
"id": "safebrowsing.hashLists.batchGet",
|
|
149
|
+
"parameterOrder": [],
|
|
150
|
+
"parameters": {
|
|
151
|
+
"names": {
|
|
152
|
+
"description": "Required. The names of the particular hash lists. The list MAY be a threat list, or it may be the Global Cache. The names MUST NOT contain duplicates; if they did, the client will get an error.",
|
|
153
|
+
"location": "query",
|
|
154
|
+
"repeated": true,
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"sizeConstraints.maxDatabaseEntries": {
|
|
158
|
+
"description": "Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set.",
|
|
159
|
+
"format": "int32",
|
|
160
|
+
"location": "query",
|
|
161
|
+
"type": "integer"
|
|
162
|
+
},
|
|
163
|
+
"sizeConstraints.maxUpdateEntries": {
|
|
164
|
+
"description": "The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set.",
|
|
165
|
+
"format": "int32",
|
|
166
|
+
"location": "query",
|
|
167
|
+
"type": "integer"
|
|
168
|
+
},
|
|
169
|
+
"version": {
|
|
170
|
+
"description": "The versions of the hash list that the client already has. If this is the first time the client is fetching the hash lists, the field should be left empty. Otherwise, the client should supply the versions previously received from the server. The client MUST NOT manipulate those bytes. The client need not send the versions in the same order as the corresponding list names. The client may send fewer or more versions in a request than there are names. However the client MUST NOT send multiple versions that correspond to the same name; if it did, the client will get an error. Historical note: in V4 of the API, this was called `states`; it is now renamed to `version` for clarity.",
|
|
171
|
+
"format": "byte",
|
|
172
|
+
"location": "query",
|
|
173
|
+
"repeated": true,
|
|
174
|
+
"type": "string"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"path": "v5/hashLists:batchGet",
|
|
178
|
+
"response": {
|
|
179
|
+
"$ref": "GoogleSecuritySafebrowsingV5BatchGetHashListsResponse"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"list": {
|
|
183
|
+
"description": "List hash lists. In the V5 API, Google will never remove a hash list that has ever been returned by this method. This enables clients to skip using this method and simply hard-code all hash lists they need. This is a standard List method as defined by https://google.aip.dev/132 and the HTTP method is GET.",
|
|
184
|
+
"flatPath": "v5/hashLists",
|
|
185
|
+
"httpMethod": "GET",
|
|
186
|
+
"id": "safebrowsing.hashLists.list",
|
|
187
|
+
"parameterOrder": [],
|
|
188
|
+
"parameters": {
|
|
189
|
+
"pageSize": {
|
|
190
|
+
"description": "The maximum number of hash lists to return. The service may return fewer than this value. If unspecified, the server will choose a page size, which may be larger than the number of hash lists so that pagination is not necessary.",
|
|
191
|
+
"format": "int32",
|
|
192
|
+
"location": "query",
|
|
193
|
+
"type": "integer"
|
|
194
|
+
},
|
|
195
|
+
"pageToken": {
|
|
196
|
+
"description": "A page token, received from a previous `ListHashLists` call. Provide this to retrieve the subsequent page.",
|
|
197
|
+
"location": "query",
|
|
198
|
+
"type": "string"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"path": "v5/hashLists",
|
|
202
|
+
"response": {
|
|
203
|
+
"$ref": "GoogleSecuritySafebrowsingV5ListHashListsResponse"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
99
208
|
"hashes": {
|
|
100
209
|
"methods": {
|
|
101
210
|
"search": {
|
|
@@ -121,9 +230,23 @@
|
|
|
121
230
|
}
|
|
122
231
|
}
|
|
123
232
|
},
|
|
124
|
-
"revision": "
|
|
233
|
+
"revision": "20250518",
|
|
125
234
|
"rootUrl": "https://safebrowsing.googleapis.com/",
|
|
126
235
|
"schemas": {
|
|
236
|
+
"GoogleSecuritySafebrowsingV5BatchGetHashListsResponse": {
|
|
237
|
+
"description": "The response containing multiple hash lists.",
|
|
238
|
+
"id": "GoogleSecuritySafebrowsingV5BatchGetHashListsResponse",
|
|
239
|
+
"properties": {
|
|
240
|
+
"hashLists": {
|
|
241
|
+
"description": "The hash lists in the same order given in the request.",
|
|
242
|
+
"items": {
|
|
243
|
+
"$ref": "GoogleSecuritySafebrowsingV5HashList"
|
|
244
|
+
},
|
|
245
|
+
"type": "array"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"type": "object"
|
|
249
|
+
},
|
|
127
250
|
"GoogleSecuritySafebrowsingV5FullHash": {
|
|
128
251
|
"description": "The full hash identified with one or more matches.",
|
|
129
252
|
"id": "GoogleSecuritySafebrowsingV5FullHash",
|
|
@@ -185,6 +308,275 @@
|
|
|
185
308
|
},
|
|
186
309
|
"type": "object"
|
|
187
310
|
},
|
|
311
|
+
"GoogleSecuritySafebrowsingV5HashList": {
|
|
312
|
+
"description": "A list of hashes identified by its name.",
|
|
313
|
+
"id": "GoogleSecuritySafebrowsingV5HashList",
|
|
314
|
+
"properties": {
|
|
315
|
+
"additionsEightBytes": {
|
|
316
|
+
"$ref": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit",
|
|
317
|
+
"description": "The 8-byte additions."
|
|
318
|
+
},
|
|
319
|
+
"additionsFourBytes": {
|
|
320
|
+
"$ref": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit",
|
|
321
|
+
"description": "The 4-byte additions."
|
|
322
|
+
},
|
|
323
|
+
"additionsSixteenBytes": {
|
|
324
|
+
"$ref": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit",
|
|
325
|
+
"description": "The 16-byte additions."
|
|
326
|
+
},
|
|
327
|
+
"additionsThirtyTwoBytes": {
|
|
328
|
+
"$ref": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit",
|
|
329
|
+
"description": "The 32-byte additions."
|
|
330
|
+
},
|
|
331
|
+
"compressedRemovals": {
|
|
332
|
+
"$ref": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit",
|
|
333
|
+
"description": "The Rice-delta encoded version of removal indices. Since each hash list definitely has less than 2^32 entries, the indices are treated as 32-bit integers and encoded."
|
|
334
|
+
},
|
|
335
|
+
"metadata": {
|
|
336
|
+
"$ref": "GoogleSecuritySafebrowsingV5HashListMetadata",
|
|
337
|
+
"description": "Metadata about the hash list. This is not populated by the `GetHashList` method, but this is populated by the `ListHashLists` method."
|
|
338
|
+
},
|
|
339
|
+
"minimumWaitDuration": {
|
|
340
|
+
"description": "Clients should wait at least this long to get the hash list again. If omitted or zero, clients SHOULD fetch immediately because it indicates that the server has an additional update to be sent to the client, but could not due to the client-specified constraints.",
|
|
341
|
+
"format": "google-duration",
|
|
342
|
+
"type": "string"
|
|
343
|
+
},
|
|
344
|
+
"name": {
|
|
345
|
+
"description": "The name of the hash list. Note that the Global Cache is also just a hash list and can be referred to here.",
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"partialUpdate": {
|
|
349
|
+
"description": "When true, this is a partial diff containing additions and removals based on what the client already has. When false, this is the complete hash list. When false, the client MUST delete any locally stored version for this hash list. This means that either the version possessed by the client is seriously out-of-date or the client data is believed to be corrupt. The `compressed_removals` field will be empty. When true, the client MUST apply an incremental update by applying removals and then additions.",
|
|
350
|
+
"type": "boolean"
|
|
351
|
+
},
|
|
352
|
+
"sha256Checksum": {
|
|
353
|
+
"description": "The sorted list of all hashes, hashed again with SHA256. This is the checksum for the sorted list of all hashes present in the database after applying the provided update. In the case that no updates were provided, the server will omit this field to indicate that the client should use the existing checksum.",
|
|
354
|
+
"format": "byte",
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
357
|
+
"version": {
|
|
358
|
+
"description": "The version of the hash list. The client MUST NOT manipulate those bytes.",
|
|
359
|
+
"format": "byte",
|
|
360
|
+
"type": "string"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"type": "object"
|
|
364
|
+
},
|
|
365
|
+
"GoogleSecuritySafebrowsingV5HashListMetadata": {
|
|
366
|
+
"description": "Metadata about a particular hash list.",
|
|
367
|
+
"id": "GoogleSecuritySafebrowsingV5HashListMetadata",
|
|
368
|
+
"properties": {
|
|
369
|
+
"description": {
|
|
370
|
+
"description": "A human-readable description about this list. Written in English.",
|
|
371
|
+
"type": "string"
|
|
372
|
+
},
|
|
373
|
+
"hashLength": {
|
|
374
|
+
"description": "The supported hash length for this hash list. Each hash list will support exactly one length. If a different hash length is introduced for the same set of threat types or safe types, it will be introduced as a separate list with a distinct name and respective hash length set.",
|
|
375
|
+
"enum": [
|
|
376
|
+
"HASH_LENGTH_UNSPECIFIED",
|
|
377
|
+
"FOUR_BYTES",
|
|
378
|
+
"EIGHT_BYTES",
|
|
379
|
+
"SIXTEEN_BYTES",
|
|
380
|
+
"THIRTY_TWO_BYTES"
|
|
381
|
+
],
|
|
382
|
+
"enumDescriptions": [
|
|
383
|
+
"Unspecified length.",
|
|
384
|
+
"Each hash is a four-byte prefix.",
|
|
385
|
+
"Each hash is an eight-byte prefix.",
|
|
386
|
+
"Each hash is a sixteen-byte prefix.",
|
|
387
|
+
"Each hash is a thirty-two-byte full hash."
|
|
388
|
+
],
|
|
389
|
+
"type": "string"
|
|
390
|
+
},
|
|
391
|
+
"likelySafeTypes": {
|
|
392
|
+
"description": "Unordered list. If not empty, this specifies that the hash list represents a list of likely safe hashes, and this enumerates the ways they are considered likely safe. This field is mutually exclusive with the threat_types field.",
|
|
393
|
+
"items": {
|
|
394
|
+
"enum": [
|
|
395
|
+
"LIKELY_SAFE_TYPE_UNSPECIFIED",
|
|
396
|
+
"GENERAL_BROWSING",
|
|
397
|
+
"CSD",
|
|
398
|
+
"DOWNLOAD"
|
|
399
|
+
],
|
|
400
|
+
"enumDescriptions": [
|
|
401
|
+
"Unknown.",
|
|
402
|
+
"This site is likely safe enough for general browsing. This is also known as the global cache.",
|
|
403
|
+
"This site is likely safe enough that there is no need to run Client-Side Detection models or password protection checks.",
|
|
404
|
+
"This site is likely safe enough that downloads from the site need not be checked."
|
|
405
|
+
],
|
|
406
|
+
"type": "string"
|
|
407
|
+
},
|
|
408
|
+
"type": "array"
|
|
409
|
+
},
|
|
410
|
+
"threatTypes": {
|
|
411
|
+
"description": "Unordered list. If not empty, this specifies that the hash list is a kind of threat list, and this enumerates the kind of threats associated with hashes or hash prefixes in this hash list. May be empty if the entry does not represent a threat, i.e. in the case that it represents a likely safe type.",
|
|
412
|
+
"items": {
|
|
413
|
+
"enum": [
|
|
414
|
+
"THREAT_TYPE_UNSPECIFIED",
|
|
415
|
+
"MALWARE",
|
|
416
|
+
"SOCIAL_ENGINEERING",
|
|
417
|
+
"UNWANTED_SOFTWARE",
|
|
418
|
+
"POTENTIALLY_HARMFUL_APPLICATION"
|
|
419
|
+
],
|
|
420
|
+
"enumDescriptions": [
|
|
421
|
+
"Unknown threat type. If this is returned by the server, the client shall disregard the enclosing `FullHashDetail` altogether.",
|
|
422
|
+
"Malware threat type. Malware is any software or mobile application specifically designed to harm a computer, a mobile device, the software it's running, or its users. Malware exhibits malicious behavior that can include installing software without user consent and installing harmful software such as viruses. More information can be found [here](https://developers.google.com/search/docs/monitor-debug/security/malware).",
|
|
423
|
+
"Social engineering threat type. Social engineering pages falsely purport to act on behalf of a third party with the intention of confusing viewers into performing an action with which the viewer would only trust a true agent of that third party. Phishing is a type of social engineering that tricks the viewer into performing the specific action of providing information, such as login credentials. More information can be found [here](https://developers.google.com/search/docs/monitor-debug/security/social-engineering).",
|
|
424
|
+
"Unwanted software threat type. Unwanted software is any software that does not adhere to [Google's Software Principles](https://www.google.com/about/software-principles.html) but isn't malware.",
|
|
425
|
+
"Potentially harmful application threat type [as used by Google Play Protect for the Play Store](https://developers.google.com/android/play-protect/potentially-harmful-applications)."
|
|
426
|
+
],
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
"type": "array"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"type": "object"
|
|
433
|
+
},
|
|
434
|
+
"GoogleSecuritySafebrowsingV5ListHashListsResponse": {
|
|
435
|
+
"description": "The response containing metadata about hash lists.",
|
|
436
|
+
"id": "GoogleSecuritySafebrowsingV5ListHashListsResponse",
|
|
437
|
+
"properties": {
|
|
438
|
+
"hashLists": {
|
|
439
|
+
"description": "The hash lists in an arbitrary order. Only metadata about the hash lists will be included, not the contents.",
|
|
440
|
+
"items": {
|
|
441
|
+
"$ref": "GoogleSecuritySafebrowsingV5HashList"
|
|
442
|
+
},
|
|
443
|
+
"type": "array"
|
|
444
|
+
},
|
|
445
|
+
"nextPageToken": {
|
|
446
|
+
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
|
|
447
|
+
"type": "string"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"type": "object"
|
|
451
|
+
},
|
|
452
|
+
"GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit": {
|
|
453
|
+
"description": "Same as `RiceDeltaEncoded32Bit` except this encodes 128-bit numbers.",
|
|
454
|
+
"id": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded128Bit",
|
|
455
|
+
"properties": {
|
|
456
|
+
"encodedData": {
|
|
457
|
+
"description": "The encoded deltas that are encoded using the Golomb-Rice coder.",
|
|
458
|
+
"format": "byte",
|
|
459
|
+
"type": "string"
|
|
460
|
+
},
|
|
461
|
+
"entriesCount": {
|
|
462
|
+
"description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.",
|
|
463
|
+
"format": "int32",
|
|
464
|
+
"type": "integer"
|
|
465
|
+
},
|
|
466
|
+
"firstValueHi": {
|
|
467
|
+
"description": "The upper 64 bits of the first entry in the encoded data (hashes). If the field is empty, the upper 64 bits are all zero.",
|
|
468
|
+
"format": "uint64",
|
|
469
|
+
"type": "string"
|
|
470
|
+
},
|
|
471
|
+
"firstValueLo": {
|
|
472
|
+
"description": "The lower 64 bits of the first entry in the encoded data (hashes). If the field is empty, the lower 64 bits are all zero.",
|
|
473
|
+
"format": "uint64",
|
|
474
|
+
"type": "string"
|
|
475
|
+
},
|
|
476
|
+
"riceParameter": {
|
|
477
|
+
"description": "The Golomb-Rice parameter. This parameter is guaranteed to be between 99 and 126, inclusive.",
|
|
478
|
+
"format": "int32",
|
|
479
|
+
"type": "integer"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"type": "object"
|
|
483
|
+
},
|
|
484
|
+
"GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit": {
|
|
485
|
+
"description": "Same as `RiceDeltaEncoded32Bit` except this encodes 256-bit numbers.",
|
|
486
|
+
"id": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded256Bit",
|
|
487
|
+
"properties": {
|
|
488
|
+
"encodedData": {
|
|
489
|
+
"description": "The encoded deltas that are encoded using the Golomb-Rice coder.",
|
|
490
|
+
"format": "byte",
|
|
491
|
+
"type": "string"
|
|
492
|
+
},
|
|
493
|
+
"entriesCount": {
|
|
494
|
+
"description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.",
|
|
495
|
+
"format": "int32",
|
|
496
|
+
"type": "integer"
|
|
497
|
+
},
|
|
498
|
+
"firstValueFirstPart": {
|
|
499
|
+
"description": "The first 64 bits of the first entry in the encoded data (hashes). If the field is empty, the first 64 bits are all zero.",
|
|
500
|
+
"format": "uint64",
|
|
501
|
+
"type": "string"
|
|
502
|
+
},
|
|
503
|
+
"firstValueFourthPart": {
|
|
504
|
+
"description": "The last 64 bits of the first entry in the encoded data (hashes). If the field is empty, the last 64 bits are all zero.",
|
|
505
|
+
"format": "uint64",
|
|
506
|
+
"type": "string"
|
|
507
|
+
},
|
|
508
|
+
"firstValueSecondPart": {
|
|
509
|
+
"description": "The 65 through 128th bits of the first entry in the encoded data (hashes). If the field is empty, the 65 through 128th bits are all zero.",
|
|
510
|
+
"format": "uint64",
|
|
511
|
+
"type": "string"
|
|
512
|
+
},
|
|
513
|
+
"firstValueThirdPart": {
|
|
514
|
+
"description": "The 129 through 192th bits of the first entry in the encoded data (hashes). If the field is empty, the 129 through 192th bits are all zero.",
|
|
515
|
+
"format": "uint64",
|
|
516
|
+
"type": "string"
|
|
517
|
+
},
|
|
518
|
+
"riceParameter": {
|
|
519
|
+
"description": "The Golomb-Rice parameter. This parameter is guaranteed to be between 227 and 254, inclusive.",
|
|
520
|
+
"format": "int32",
|
|
521
|
+
"type": "integer"
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
"type": "object"
|
|
525
|
+
},
|
|
526
|
+
"GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit": {
|
|
527
|
+
"description": "The Rice-Golomb encoded data. Used for either hashes or removal indices. It is guaranteed that every hash or index here has the same length, and this length is exactly 32 bits. Generally speaking, if we sort all the entries lexicographically, we will find that the higher order bits tend not to change as frequently as lower order bits. This means that if we also take the adjacent difference between entries, the higher order bits have a high probability of being zero. This exploits this high probability of zero by essentially choosing a certain number of bits; all bits more significant than this are likely to be zero so we use unary encoding. See the `rice_parameter` field. Historical note: the Rice-delta encoding was first used in V4 of this API. In V5, two significant improvements were made: firstly, the Rice-delta encoding is now available with hash prefixes longer than 4 bytes; secondly, the encoded data are now treated as big-endian so as to avoid a costly sorting step.",
|
|
528
|
+
"id": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded32Bit",
|
|
529
|
+
"properties": {
|
|
530
|
+
"encodedData": {
|
|
531
|
+
"description": "The encoded deltas that are encoded using the Golomb-Rice coder.",
|
|
532
|
+
"format": "byte",
|
|
533
|
+
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
"entriesCount": {
|
|
536
|
+
"description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.",
|
|
537
|
+
"format": "int32",
|
|
538
|
+
"type": "integer"
|
|
539
|
+
},
|
|
540
|
+
"firstValue": {
|
|
541
|
+
"description": "The first entry in the encoded data (hashes or indices), or, if only a single hash prefix or index was encoded, that entry's value. If the field is empty, the entry is zero.",
|
|
542
|
+
"format": "uint32",
|
|
543
|
+
"type": "integer"
|
|
544
|
+
},
|
|
545
|
+
"riceParameter": {
|
|
546
|
+
"description": "The Golomb-Rice parameter. This parameter is guaranteed to be between 3 and 30, inclusive.",
|
|
547
|
+
"format": "int32",
|
|
548
|
+
"type": "integer"
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"type": "object"
|
|
552
|
+
},
|
|
553
|
+
"GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit": {
|
|
554
|
+
"description": "Same as `RiceDeltaEncoded32Bit` except this encodes 64-bit numbers.",
|
|
555
|
+
"id": "GoogleSecuritySafebrowsingV5RiceDeltaEncoded64Bit",
|
|
556
|
+
"properties": {
|
|
557
|
+
"encodedData": {
|
|
558
|
+
"description": "The encoded deltas that are encoded using the Golomb-Rice coder.",
|
|
559
|
+
"format": "byte",
|
|
560
|
+
"type": "string"
|
|
561
|
+
},
|
|
562
|
+
"entriesCount": {
|
|
563
|
+
"description": "The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.",
|
|
564
|
+
"format": "int32",
|
|
565
|
+
"type": "integer"
|
|
566
|
+
},
|
|
567
|
+
"firstValue": {
|
|
568
|
+
"description": "The first entry in the encoded data (hashes), or, if only a single hash prefix was encoded, that entry's value. If the field is empty, the entry is zero.",
|
|
569
|
+
"format": "uint64",
|
|
570
|
+
"type": "string"
|
|
571
|
+
},
|
|
572
|
+
"riceParameter": {
|
|
573
|
+
"description": "The Golomb-Rice parameter. This parameter is guaranteed to be between 35 and 62, inclusive.",
|
|
574
|
+
"format": "int32",
|
|
575
|
+
"type": "integer"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"type": "object"
|
|
579
|
+
},
|
|
188
580
|
"GoogleSecuritySafebrowsingV5SearchHashesResponse": {
|
|
189
581
|
"description": "The response returned after searching threat hashes. If nothing is found, the server will return an OK status (HTTP status code 200) with the `full_hashes` field empty, rather than returning a NOT_FOUND status (HTTP status code 404). **What's new in V5**: There is a separation between `FullHash` and `FullHashDetail`. In the case when a hash represents a site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the full hash does not need to be sent twice as in V4. Furthermore, the cache duration has been simplified into a single `cache_duration` field.",
|
|
190
582
|
"id": "GoogleSecuritySafebrowsingV5SearchHashesResponse",
|