google-api-client 0.44.1 → 0.44.2
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 +4 -4
- data/CHANGELOG.md +119 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +6 -4
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
- data/generated/google/apis/admin_directory_v1/service.rb +89 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +51 -24
- data/generated/google/apis/appengine_v1/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
- data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +26 -0
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +7 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +7 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +81 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +22 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +217 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +270 -2
- data/generated/google/apis/cloudidentity_v1/representations.rb +139 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +759 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +20 -7
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +59 -57
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +23 -22
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +18 -18
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +57 -2
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -8
- data/generated/google/apis/container_v1beta1/representations.rb +6 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +14 -3
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +7 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1/representations.rb +2 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -9
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +22 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +42 -26
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +53 -34
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +458 -320
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +42 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +2 -2
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -5
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
- data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +414 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +5 -5
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +72 -0
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +182 -16
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +231 -16
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +7 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +7 -0
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +9 -5
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1/representations.rb +18 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +31 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +78 -78
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +54 -4
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV3beta1
|
|
28
28
|
VERSION = 'V3beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200903'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1755,12 +1755,6 @@ module Google
|
|
|
1755
1755
|
# @return [Float]
|
|
1756
1756
|
attr_accessor :classification_threshold
|
|
1757
1757
|
|
|
1758
|
-
# Indicates if automatic spell correction is enabled in detect intent requests.
|
|
1759
|
-
# Corresponds to the JSON property `enableSpellCorrection`
|
|
1760
|
-
# @return [Boolean]
|
|
1761
|
-
attr_accessor :enable_spell_correction
|
|
1762
|
-
alias_method :enable_spell_correction?, :enable_spell_correction
|
|
1763
|
-
|
|
1764
1758
|
# Indicates NLU model training mode.
|
|
1765
1759
|
# Corresponds to the JSON property `modelTrainingMode`
|
|
1766
1760
|
# @return [String]
|
|
@@ -1778,7 +1772,6 @@ module Google
|
|
|
1778
1772
|
# Update properties of this object
|
|
1779
1773
|
def update!(**args)
|
|
1780
1774
|
@classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold)
|
|
1781
|
-
@enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
|
|
1782
1775
|
@model_training_mode = args[:model_training_mode] if args.key?(:model_training_mode)
|
|
1783
1776
|
@model_type = args[:model_type] if args.key?(:model_type)
|
|
1784
1777
|
end
|
|
@@ -2468,6 +2461,13 @@ module Google
|
|
|
2468
2461
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
|
2469
2462
|
include Google::Apis::Core::Hashable
|
|
2470
2463
|
|
|
2464
|
+
# Output only. Whether the playback of this message can be interrupted by the
|
|
2465
|
+
# end user's speech and the client can then starts the next Dialogflow request.
|
|
2466
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
2467
|
+
# @return [Boolean]
|
|
2468
|
+
attr_accessor :allow_playback_interruption
|
|
2469
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
2470
|
+
|
|
2471
2471
|
# The SSML text to be synthesized. For more information, see [SSML](/speech/text-
|
|
2472
2472
|
# to-speech/docs/ssml).
|
|
2473
2473
|
# Corresponds to the JSON property `ssml`
|
|
@@ -2485,6 +2485,7 @@ module Google
|
|
|
2485
2485
|
|
|
2486
2486
|
# Update properties of this object
|
|
2487
2487
|
def update!(**args)
|
|
2488
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
2488
2489
|
@ssml = args[:ssml] if args.key?(:ssml)
|
|
2489
2490
|
@text = args[:text] if args.key?(:text)
|
|
2490
2491
|
end
|
|
@@ -4911,8 +4912,8 @@ module Google
|
|
|
4911
4912
|
# may provide additional information in the payload. In particular, for the
|
|
4912
4913
|
# Dialogflow Phone Gateway integration, this field has the form: ` "telephony": `
|
|
4913
4914
|
# "caller_id": "+18558363987" ` ` Note: The caller ID field (`caller_id`) will
|
|
4914
|
-
# be redacted for
|
|
4915
|
-
# 164 format](https://en.wikipedia.org/wiki/E.164) for
|
|
4915
|
+
# be redacted for Trial Edition agents and populated with the caller ID in [E.
|
|
4916
|
+
# 164 format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
|
|
4916
4917
|
# Corresponds to the JSON property `payload`
|
|
4917
4918
|
# @return [Hash<String,Object>]
|
|
4918
4919
|
attr_accessor :payload
|
|
@@ -5475,15 +5476,16 @@ module Google
|
|
|
5475
5476
|
# @return [Fixnum]
|
|
5476
5477
|
attr_accessor :lifespan_count
|
|
5477
5478
|
|
|
5478
|
-
# Required. The unique identifier of the context.
|
|
5479
|
-
# sessions//contexts/`,
|
|
5480
|
-
#
|
|
5481
|
-
#
|
|
5482
|
-
#
|
|
5483
|
-
#
|
|
5484
|
-
#
|
|
5485
|
-
#
|
|
5486
|
-
#
|
|
5479
|
+
# Required. The unique identifier of the context. Supported formats: - `projects/
|
|
5480
|
+
# /agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`
|
|
5481
|
+
# , - `projects//agent/environments//users//sessions//contexts/`, - `projects//
|
|
5482
|
+
# locations//agent/environments//users//sessions//contexts/`, The `Context ID`
|
|
5483
|
+
# is always converted to lowercase, may only contain characters in a-zA-Z0-9_-%
|
|
5484
|
+
# and may be at most 250 bytes long. If `Environment ID` is not specified, we
|
|
5485
|
+
# assume default 'draft' environment. If `User ID` is not specified, we assume
|
|
5486
|
+
# default '-' user. The following context names are reserved for internal use by
|
|
5487
|
+
# Dialogflow. You should not use these contexts or create contexts with these
|
|
5488
|
+
# names: * `__system_counters__` * `*_id_dialog_context` * `*_dialog_params_size`
|
|
5487
5489
|
# Corresponds to the JSON property `name`
|
|
5488
5490
|
# @return [String]
|
|
5489
5491
|
attr_accessor :name
|
|
@@ -5551,8 +5553,9 @@ module Google
|
|
|
5551
5553
|
attr_accessor :kind
|
|
5552
5554
|
|
|
5553
5555
|
# The unique identifier of the entity type. Required for EntityTypes.
|
|
5554
|
-
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods.
|
|
5555
|
-
# projects//agent/entityTypes
|
|
5556
|
+
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported
|
|
5557
|
+
# formats: - `projects//agent/entityTypes/` - `projects//locations//agent/
|
|
5558
|
+
# entityTypes/`
|
|
5556
5559
|
# Corresponds to the JSON property `name`
|
|
5557
5560
|
# @return [String]
|
|
5558
5561
|
attr_accessor :name
|
|
@@ -5725,7 +5728,8 @@ module Google
|
|
|
5725
5728
|
attr_accessor :followup_intent_info
|
|
5726
5729
|
|
|
5727
5730
|
# Optional. The list of context names required for this intent to be triggered.
|
|
5728
|
-
#
|
|
5731
|
+
# Formats: - `projects//agent/sessions/-/contexts/` - `projects//locations//
|
|
5732
|
+
# agent/sessions/-/contexts/`
|
|
5729
5733
|
# Corresponds to the JSON property `inputContextNames`
|
|
5730
5734
|
# @return [Array<String>]
|
|
5731
5735
|
attr_accessor :input_context_names
|
|
@@ -5765,8 +5769,8 @@ module Google
|
|
|
5765
5769
|
alias_method :ml_enabled?, :ml_enabled
|
|
5766
5770
|
|
|
5767
5771
|
# Optional. The unique identifier of this intent. Required for Intents.
|
|
5768
|
-
# UpdateIntent and Intents.BatchUpdateIntents methods.
|
|
5769
|
-
# intents
|
|
5772
|
+
# UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `
|
|
5773
|
+
# projects//agent/intents/` - `projects//locations//agent/intents/`
|
|
5770
5774
|
# Corresponds to the JSON property `name`
|
|
5771
5775
|
# @return [String]
|
|
5772
5776
|
attr_accessor :name
|
|
@@ -7514,8 +7518,8 @@ module Google
|
|
|
7514
7518
|
# may provide additional information in the payload. In particular, for the
|
|
7515
7519
|
# Dialogflow Phone Gateway integration, this field has the form: ` "telephony": `
|
|
7516
7520
|
# "caller_id": "+18558363987" ` ` Note: The caller ID field (`caller_id`) will
|
|
7517
|
-
# be redacted for
|
|
7518
|
-
# 164 format](https://en.wikipedia.org/wiki/E.164) for
|
|
7521
|
+
# be redacted for Trial Edition agents and populated with the caller ID in [E.
|
|
7522
|
+
# 164 format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
|
|
7519
7523
|
# Corresponds to the JSON property `payload`
|
|
7520
7524
|
# @return [Hash<String,Object>]
|
|
7521
7525
|
attr_accessor :payload
|
|
@@ -7779,12 +7783,15 @@ module Google
|
|
|
7779
7783
|
# @return [String]
|
|
7780
7784
|
attr_accessor :entity_override_mode
|
|
7781
7785
|
|
|
7782
|
-
# Required. The unique identifier of this session entity type.
|
|
7783
|
-
#
|
|
7784
|
-
# sessions//entityTypes
|
|
7785
|
-
#
|
|
7786
|
-
#
|
|
7787
|
-
#
|
|
7786
|
+
# Required. The unique identifier of this session entity type. Supported formats:
|
|
7787
|
+
# - `projects//agent/sessions//entityTypes/` - `projects//locations//agent/
|
|
7788
|
+
# sessions//entityTypes/` - `projects//agent/environments//users//sessions//
|
|
7789
|
+
# entityTypes/` - `projects//locations//agent/environments/ /users//sessions//
|
|
7790
|
+
# entityTypes/` If `Location ID` is not specified we assume default 'us'
|
|
7791
|
+
# location. If `Environment ID` is not specified, we assume default 'draft'
|
|
7792
|
+
# environment. If `User ID` is not specified, we assume default '-' user. ``
|
|
7793
|
+
# must be the display name of an existing entity type in the same agent that
|
|
7794
|
+
# will be overridden or supplemented.
|
|
7788
7795
|
# Corresponds to the JSON property `name`
|
|
7789
7796
|
# @return [String]
|
|
7790
7797
|
attr_accessor :name
|
|
@@ -7828,8 +7835,10 @@ module Google
|
|
|
7828
7835
|
attr_accessor :response_id
|
|
7829
7836
|
|
|
7830
7837
|
# The unique identifier of detectIntent request session. Can be used to identify
|
|
7831
|
-
# end-user inside webhook implementation.
|
|
7832
|
-
#
|
|
7838
|
+
# end-user inside webhook implementation. Supported formats: - `projects//agent/
|
|
7839
|
+
# sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/
|
|
7840
|
+
# environments//users//sessions/`, - `projects//locations//agent/environments//
|
|
7841
|
+
# users//sessions/`,
|
|
7833
7842
|
# Corresponds to the JSON property `session`
|
|
7834
7843
|
# @return [String]
|
|
7835
7844
|
attr_accessor :session
|
|
@@ -1741,7 +1741,6 @@ module Google
|
|
|
1741
1741
|
# @private
|
|
1742
1742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1743
1743
|
property :classification_threshold, as: 'classificationThreshold'
|
|
1744
|
-
property :enable_spell_correction, as: 'enableSpellCorrection'
|
|
1745
1744
|
property :model_training_mode, as: 'modelTrainingMode'
|
|
1746
1745
|
property :model_type, as: 'modelType'
|
|
1747
1746
|
end
|
|
@@ -1914,6 +1913,7 @@ module Google
|
|
|
1914
1913
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
|
1915
1914
|
# @private
|
|
1916
1915
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1916
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1917
1917
|
property :ssml, as: 'ssml'
|
|
1918
1918
|
property :text, as: 'text'
|
|
1919
1919
|
end
|
|
@@ -31,10 +31,9 @@ module Google
|
|
|
31
31
|
# @return [Google::Apis::DigitalassetlinksV1::CertificateInfo]
|
|
32
32
|
attr_accessor :certificate
|
|
33
33
|
|
|
34
|
-
# Android App assets are naturally identified by their Java package name.
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
# REQUIRED
|
|
34
|
+
# Android App assets are naturally identified by their Java package name. For
|
|
35
|
+
# example, the Google Maps app uses the package name `com.google.android.apps.
|
|
36
|
+
# maps`. REQUIRED
|
|
38
37
|
# Corresponds to the JSON property `packageName`
|
|
39
38
|
# @return [String]
|
|
40
39
|
attr_accessor :package_name
|
|
@@ -50,10 +49,9 @@ module Google
|
|
|
50
49
|
end
|
|
51
50
|
end
|
|
52
51
|
|
|
53
|
-
# Uniquely identifies an asset.
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
# Android apps, Twitter feeds, and Plus Pages.
|
|
52
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
|
53
|
+
# addressable online entity that typically provides some service or content.
|
|
54
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
|
57
55
|
class Asset
|
|
58
56
|
include Google::Apis::Core::Hashable
|
|
59
57
|
|
|
@@ -82,22 +80,18 @@ module Google
|
|
|
82
80
|
class CertificateInfo
|
|
83
81
|
include Google::Apis::Core::Hashable
|
|
84
82
|
|
|
85
|
-
# The uppercase SHA-265 fingerprint of the certificate.
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
# If these tools are not available to you, you can convert the PEM
|
|
98
|
-
# certificate into the DER format, compute the SHA-256 hash of that string
|
|
99
|
-
# and represent the result as a hexstring (that is, uppercase hexadecimal
|
|
100
|
-
# representations of each octet, separated by colons).
|
|
83
|
+
# The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
|
|
84
|
+
# it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
|
|
85
|
+
# SHA256: SHA256: 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83: \ 42:
|
|
86
|
+
# E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 or like this: $ openssl x509 -in $CERTFILE
|
|
87
|
+
# -noout -fingerprint -sha256 SHA256 Fingerprint=14:6D:E9:83:C5:73:06:50:D8:EE:
|
|
88
|
+
# B9:95:2F:34:FC:64: \ 16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 In this
|
|
89
|
+
# example, the contents of this field would be `14:6D:E9:83:C5:73: 06:50:D8:EE:
|
|
90
|
+
# B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF: 44:E5`. If these
|
|
91
|
+
# tools are not available to you, you can convert the PEM certificate into the
|
|
92
|
+
# DER format, compute the SHA-256 hash of that string and represent the result
|
|
93
|
+
# as a hexstring (that is, uppercase hexadecimal representations of each octet,
|
|
94
|
+
# separated by colons).
|
|
101
95
|
# Corresponds to the JSON property `sha256Fingerprint`
|
|
102
96
|
# @return [String]
|
|
103
97
|
attr_accessor :sha256_fingerprint
|
|
@@ -117,13 +111,12 @@ module Google
|
|
|
117
111
|
include Google::Apis::Core::Hashable
|
|
118
112
|
|
|
119
113
|
# Human-readable message containing information intended to help end users
|
|
120
|
-
# understand, reproduce and debug the result.
|
|
121
|
-
#
|
|
122
|
-
#
|
|
123
|
-
#
|
|
124
|
-
# this
|
|
125
|
-
#
|
|
126
|
-
# programmatic access, use the error_code field below.
|
|
114
|
+
# understand, reproduce and debug the result. The message will be in English and
|
|
115
|
+
# we are currently not planning to offer any translations. Please note that no
|
|
116
|
+
# guarantees are made about the contents or format of this string. Any aspect of
|
|
117
|
+
# it may be subject to change without notice. You should not attempt to
|
|
118
|
+
# programmatically parse this data. For programmatic access, use the error_code
|
|
119
|
+
# field below.
|
|
127
120
|
# Corresponds to the JSON property `debugString`
|
|
128
121
|
# @return [String]
|
|
129
122
|
attr_accessor :debug_string
|
|
@@ -133,16 +126,15 @@ module Google
|
|
|
133
126
|
# @return [Array<String>]
|
|
134
127
|
attr_accessor :error_code
|
|
135
128
|
|
|
136
|
-
# Set to true if the assets specified in the request are linked by the
|
|
137
|
-
#
|
|
129
|
+
# Set to true if the assets specified in the request are linked by the relation
|
|
130
|
+
# specified in the request.
|
|
138
131
|
# Corresponds to the JSON property `linked`
|
|
139
132
|
# @return [Boolean]
|
|
140
133
|
attr_accessor :linked
|
|
141
134
|
alias_method :linked?, :linked
|
|
142
135
|
|
|
143
136
|
# From serving time, how much longer the response should be considered valid
|
|
144
|
-
# barring further updates.
|
|
145
|
-
# REQUIRED
|
|
137
|
+
# barring further updates. REQUIRED
|
|
146
138
|
# Corresponds to the JSON property `maxAge`
|
|
147
139
|
# @return [String]
|
|
148
140
|
attr_accessor :max_age
|
|
@@ -165,13 +157,12 @@ module Google
|
|
|
165
157
|
include Google::Apis::Core::Hashable
|
|
166
158
|
|
|
167
159
|
# Human-readable message containing information intended to help end users
|
|
168
|
-
# understand, reproduce and debug the result.
|
|
169
|
-
#
|
|
170
|
-
#
|
|
171
|
-
#
|
|
172
|
-
# this
|
|
173
|
-
#
|
|
174
|
-
# programmatic access, use the error_code field below.
|
|
160
|
+
# understand, reproduce and debug the result. The message will be in English and
|
|
161
|
+
# we are currently not planning to offer any translations. Please note that no
|
|
162
|
+
# guarantees are made about the contents or format of this string. Any aspect of
|
|
163
|
+
# it may be subject to change without notice. You should not attempt to
|
|
164
|
+
# programmatically parse this data. For programmatic access, use the error_code
|
|
165
|
+
# field below.
|
|
175
166
|
# Corresponds to the JSON property `debugString`
|
|
176
167
|
# @return [String]
|
|
177
168
|
attr_accessor :debug_string
|
|
@@ -182,8 +173,7 @@ module Google
|
|
|
182
173
|
attr_accessor :error_code
|
|
183
174
|
|
|
184
175
|
# From serving time, how much longer the response should be considered valid
|
|
185
|
-
# barring further updates.
|
|
186
|
-
# REQUIRED
|
|
176
|
+
# barring further updates. REQUIRED
|
|
187
177
|
# Corresponds to the JSON property `maxAge`
|
|
188
178
|
# @return [String]
|
|
189
179
|
attr_accessor :max_age
|
|
@@ -207,42 +197,36 @@ module Google
|
|
|
207
197
|
end
|
|
208
198
|
|
|
209
199
|
# Describes a reliable statement that has been made about the relationship
|
|
210
|
-
# between a source asset and a target asset.
|
|
211
|
-
#
|
|
212
|
-
#
|
|
213
|
-
#
|
|
214
|
-
#
|
|
215
|
-
# page](/digital-asset-links/v1/getting-started).
|
|
200
|
+
# between a source asset and a target asset. Statements are always made by the
|
|
201
|
+
# source asset, either directly or by delegating to a statement list that is
|
|
202
|
+
# stored elsewhere. For more detailed definitions of statements and assets,
|
|
203
|
+
# please refer to our [API documentation landing page](/digital-asset-links/v1/
|
|
204
|
+
# getting-started).
|
|
216
205
|
class Statement
|
|
217
206
|
include Google::Apis::Core::Hashable
|
|
218
207
|
|
|
219
208
|
# The relation identifies the use of the statement as intended by the source
|
|
220
|
-
# asset's owner (that is, the person or entity who issued the statement).
|
|
221
|
-
#
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
#
|
|
225
|
-
#
|
|
226
|
-
#
|
|
227
|
-
# for the current list of supported relations.
|
|
228
|
-
# Example: `delegate_permission/common.handle_all_urls`
|
|
229
|
-
# REQUIRED
|
|
209
|
+
# asset's owner (that is, the person or entity who issued the statement). Every
|
|
210
|
+
# complete statement has a relation. We identify relations with strings of the
|
|
211
|
+
# format `/`, where `` must be one of a set of pre-defined purpose categories,
|
|
212
|
+
# and `` is a free-form lowercase alphanumeric string that describes the
|
|
213
|
+
# specific use case of the statement. Refer to [our API documentation](/digital-
|
|
214
|
+
# asset-links/v1/relation-strings) for the current list of supported relations.
|
|
215
|
+
# Example: `delegate_permission/common.handle_all_urls` REQUIRED
|
|
230
216
|
# Corresponds to the JSON property `relation`
|
|
231
217
|
# @return [String]
|
|
232
218
|
attr_accessor :relation
|
|
233
219
|
|
|
234
|
-
# Uniquely identifies an asset.
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
# Android apps, Twitter feeds, and Plus Pages.
|
|
220
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
|
221
|
+
# addressable online entity that typically provides some service or content.
|
|
222
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
|
238
223
|
# Corresponds to the JSON property `source`
|
|
239
224
|
# @return [Google::Apis::DigitalassetlinksV1::Asset]
|
|
240
225
|
attr_accessor :source
|
|
241
226
|
|
|
242
|
-
# Uniquely identifies an asset.
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
# Android apps, Twitter feeds, and Plus Pages.
|
|
227
|
+
# Uniquely identifies an asset. A digital asset is an identifiable and
|
|
228
|
+
# addressable online entity that typically provides some service or content.
|
|
229
|
+
# Examples of assets are websites, Android apps, Twitter feeds, and Plus Pages.
|
|
246
230
|
# Corresponds to the JSON property `target`
|
|
247
231
|
# @return [Google::Apis::DigitalassetlinksV1::Asset]
|
|
248
232
|
attr_accessor :target
|
|
@@ -263,30 +247,20 @@ module Google
|
|
|
263
247
|
class WebAsset
|
|
264
248
|
include Google::Apis::Core::Hashable
|
|
265
249
|
|
|
266
|
-
# Web assets are identified by a URL that contains only the scheme, hostname
|
|
267
|
-
#
|
|
268
|
-
# http
|
|
269
|
-
#
|
|
270
|
-
#
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
#
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
#
|
|
277
|
-
#
|
|
278
|
-
#
|
|
279
|
-
#
|
|
280
|
-
# * `https://www.google.com:443/`
|
|
281
|
-
# * `https://www.google.com/foo`
|
|
282
|
-
# * `https://www.google.com/foo?bar`
|
|
283
|
-
# * `https://www.google.com/foo#bar`
|
|
284
|
-
# * `https://user@password:www.google.com/`
|
|
285
|
-
# But it does not contain these URLs:
|
|
286
|
-
# * `http://www.google.com/` (wrong scheme)
|
|
287
|
-
# * `https://google.com/` (hostname does not match)
|
|
288
|
-
# * `https://www.google.com:444/` (port does not match)
|
|
289
|
-
# REQUIRED
|
|
250
|
+
# Web assets are identified by a URL that contains only the scheme, hostname and
|
|
251
|
+
# port parts. The format is http[s]://[:] Hostnames must be fully qualified:
|
|
252
|
+
# they must end in a single period ("`.`"). Only the schemes "http" and "https"
|
|
253
|
+
# are currently allowed. Port numbers are given as a decimal number, and they
|
|
254
|
+
# must be omitted if the standard port numbers are used: 80 for http and 443 for
|
|
255
|
+
# https. We call this limited URL the "site". All URLs that share the same
|
|
256
|
+
# scheme, hostname and port are considered to be a part of the site and thus
|
|
257
|
+
# belong to the web asset. Example: the asset with the site `https://www.google.
|
|
258
|
+
# com` contains all these URLs: * `https://www.google.com/` * `https://www.
|
|
259
|
+
# google.com:443/` * `https://www.google.com/foo` * `https://www.google.com/foo?
|
|
260
|
+
# bar` * `https://www.google.com/foo#bar` * `https://user@password:www.google.
|
|
261
|
+
# com/` But it does not contain these URLs: * `http://www.google.com/` (wrong
|
|
262
|
+
# scheme) * `https://google.com/` (hostname does not match) * `https://www.
|
|
263
|
+
# google.com:444/` (port does not match) REQUIRED
|
|
290
264
|
# Corresponds to the JSON property `site`
|
|
291
265
|
# @return [String]
|
|
292
266
|
attr_accessor :site
|
|
@@ -47,134 +47,98 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
# Determines whether the specified (directional) relationship exists between
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
#
|
|
62
|
-
#
|
|
63
|
-
# the
|
|
64
|
-
# HTTP website (that is, the URL starts with `http://` instead of
|
|
65
|
-
# `https://`), the API cannot verify its statements securely, and it is not
|
|
50
|
+
# Determines whether the specified (directional) relationship exists between the
|
|
51
|
+
# specified source and target assets. The relation describes the intent of the
|
|
52
|
+
# link between the two assets as claimed by the source asset. An example for
|
|
53
|
+
# such relationships is the delegation of privileges or permissions. This
|
|
54
|
+
# command is most often used by infrastructure systems to check preconditions
|
|
55
|
+
# for an action. For example, a client may want to know if it is OK to send a
|
|
56
|
+
# web URL to a particular mobile app instead. The client can check for the
|
|
57
|
+
# relevant asset link from the website to the mobile app to decide if the
|
|
58
|
+
# operation should be allowed. A note about security: if you specify a secure
|
|
59
|
+
# asset as the source, such as an HTTPS website or an Android app, the API will
|
|
60
|
+
# ensure that any statements used to generate the response have been made in a
|
|
61
|
+
# secure way by the owner of that asset. Conversely, if the source asset is an
|
|
62
|
+
# insecure HTTP website (that is, the URL starts with `http://` instead of `
|
|
63
|
+
# https://`), the API cannot verify its statements securely, and it is not
|
|
66
64
|
# possible to ensure that the website's statements have not been altered by a
|
|
67
|
-
# third party.
|
|
68
|
-
# design
|
|
69
|
-
#
|
|
70
|
-
# known/details.md).
|
|
65
|
+
# third party. For more information, see the [Digital Asset Links technical
|
|
66
|
+
# design specification](https://github.com/google/digitalassetlinks/blob/master/
|
|
67
|
+
# well-known/details.md).
|
|
71
68
|
# @param [String] relation
|
|
72
|
-
# Query string for the relation.
|
|
73
|
-
#
|
|
74
|
-
#
|
|
75
|
-
#
|
|
76
|
-
#
|
|
77
|
-
# Refer to [our API documentation](/digital-asset-links/v1/relation-strings)
|
|
78
|
-
# for the current list of supported relations.
|
|
69
|
+
# Query string for the relation. We identify relations with strings of the
|
|
70
|
+
# format `/`, where `` must be one of a set of pre-defined purpose categories,
|
|
71
|
+
# and `` is a free-form lowercase alphanumeric string that describes the
|
|
72
|
+
# specific use case of the statement. Refer to [our API documentation](/digital-
|
|
73
|
+
# asset-links/v1/relation-strings) for the current list of supported relations.
|
|
79
74
|
# For a query to match an asset link, both the query's and the asset link's
|
|
80
|
-
# relation strings must match exactly.
|
|
81
|
-
#
|
|
82
|
-
#
|
|
83
|
-
# `delegate_permission/common.handle_all_urls`.
|
|
75
|
+
# relation strings must match exactly. Example: A query with relation `
|
|
76
|
+
# delegate_permission/common.handle_all_urls` matches an asset link with
|
|
77
|
+
# relation `delegate_permission/common.handle_all_urls`.
|
|
84
78
|
# @param [String] source_android_app_certificate_sha256_fingerprint
|
|
85
|
-
# The uppercase SHA-265 fingerprint of the certificate.
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
91
|
-
#
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
#
|
|
95
|
-
#
|
|
96
|
-
#
|
|
97
|
-
# If these tools are not available to you, you can convert the PEM
|
|
98
|
-
# certificate into the DER format, compute the SHA-256 hash of that string
|
|
99
|
-
# and represent the result as a hexstring (that is, uppercase hexadecimal
|
|
100
|
-
# representations of each octet, separated by colons).
|
|
79
|
+
# The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
|
|
80
|
+
# it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
|
|
81
|
+
# SHA256: SHA256: 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83: \ 42:
|
|
82
|
+
# E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 or like this: $ openssl x509 -in $CERTFILE
|
|
83
|
+
# -noout -fingerprint -sha256 SHA256 Fingerprint=14:6D:E9:83:C5:73:06:50:D8:EE:
|
|
84
|
+
# B9:95:2F:34:FC:64: \ 16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 In this
|
|
85
|
+
# example, the contents of this field would be `14:6D:E9:83:C5:73: 06:50:D8:EE:
|
|
86
|
+
# B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF: 44:E5`. If these
|
|
87
|
+
# tools are not available to you, you can convert the PEM certificate into the
|
|
88
|
+
# DER format, compute the SHA-256 hash of that string and represent the result
|
|
89
|
+
# as a hexstring (that is, uppercase hexadecimal representations of each octet,
|
|
90
|
+
# separated by colons).
|
|
101
91
|
# @param [String] source_android_app_package_name
|
|
102
|
-
# Android App assets are naturally identified by their Java package name.
|
|
103
|
-
#
|
|
104
|
-
#
|
|
105
|
-
# REQUIRED
|
|
92
|
+
# Android App assets are naturally identified by their Java package name. For
|
|
93
|
+
# example, the Google Maps app uses the package name `com.google.android.apps.
|
|
94
|
+
# maps`. REQUIRED
|
|
106
95
|
# @param [String] source_web_site
|
|
107
|
-
# Web assets are identified by a URL that contains only the scheme, hostname
|
|
108
|
-
#
|
|
109
|
-
# http
|
|
110
|
-
#
|
|
111
|
-
#
|
|
112
|
-
#
|
|
113
|
-
#
|
|
114
|
-
#
|
|
115
|
-
#
|
|
116
|
-
#
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
# * `https://www.google.com:443/`
|
|
122
|
-
# * `https://www.google.com/foo`
|
|
123
|
-
# * `https://www.google.com/foo?bar`
|
|
124
|
-
# * `https://www.google.com/foo#bar`
|
|
125
|
-
# * `https://user@password:www.google.com/`
|
|
126
|
-
# But it does not contain these URLs:
|
|
127
|
-
# * `http://www.google.com/` (wrong scheme)
|
|
128
|
-
# * `https://google.com/` (hostname does not match)
|
|
129
|
-
# * `https://www.google.com:444/` (port does not match)
|
|
130
|
-
# REQUIRED
|
|
96
|
+
# Web assets are identified by a URL that contains only the scheme, hostname and
|
|
97
|
+
# port parts. The format is http[s]://[:] Hostnames must be fully qualified:
|
|
98
|
+
# they must end in a single period ("`.`"). Only the schemes "http" and "https"
|
|
99
|
+
# are currently allowed. Port numbers are given as a decimal number, and they
|
|
100
|
+
# must be omitted if the standard port numbers are used: 80 for http and 443 for
|
|
101
|
+
# https. We call this limited URL the "site". All URLs that share the same
|
|
102
|
+
# scheme, hostname and port are considered to be a part of the site and thus
|
|
103
|
+
# belong to the web asset. Example: the asset with the site `https://www.google.
|
|
104
|
+
# com` contains all these URLs: * `https://www.google.com/` * `https://www.
|
|
105
|
+
# google.com:443/` * `https://www.google.com/foo` * `https://www.google.com/foo?
|
|
106
|
+
# bar` * `https://www.google.com/foo#bar` * `https://user@password:www.google.
|
|
107
|
+
# com/` But it does not contain these URLs: * `http://www.google.com/` (wrong
|
|
108
|
+
# scheme) * `https://google.com/` (hostname does not match) * `https://www.
|
|
109
|
+
# google.com:444/` (port does not match) REQUIRED
|
|
131
110
|
# @param [String] target_android_app_certificate_sha256_fingerprint
|
|
132
|
-
# The uppercase SHA-265 fingerprint of the certificate.
|
|
133
|
-
#
|
|
134
|
-
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
#
|
|
138
|
-
#
|
|
139
|
-
#
|
|
140
|
-
#
|
|
141
|
-
#
|
|
142
|
-
#
|
|
143
|
-
#
|
|
144
|
-
# If these tools are not available to you, you can convert the PEM
|
|
145
|
-
# certificate into the DER format, compute the SHA-256 hash of that string
|
|
146
|
-
# and represent the result as a hexstring (that is, uppercase hexadecimal
|
|
147
|
-
# representations of each octet, separated by colons).
|
|
111
|
+
# The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
|
|
112
|
+
# it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
|
|
113
|
+
# SHA256: SHA256: 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83: \ 42:
|
|
114
|
+
# E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 or like this: $ openssl x509 -in $CERTFILE
|
|
115
|
+
# -noout -fingerprint -sha256 SHA256 Fingerprint=14:6D:E9:83:C5:73:06:50:D8:EE:
|
|
116
|
+
# B9:95:2F:34:FC:64: \ 16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 In this
|
|
117
|
+
# example, the contents of this field would be `14:6D:E9:83:C5:73: 06:50:D8:EE:
|
|
118
|
+
# B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF: 44:E5`. If these
|
|
119
|
+
# tools are not available to you, you can convert the PEM certificate into the
|
|
120
|
+
# DER format, compute the SHA-256 hash of that string and represent the result
|
|
121
|
+
# as a hexstring (that is, uppercase hexadecimal representations of each octet,
|
|
122
|
+
# separated by colons).
|
|
148
123
|
# @param [String] target_android_app_package_name
|
|
149
|
-
# Android App assets are naturally identified by their Java package name.
|
|
150
|
-
#
|
|
151
|
-
#
|
|
152
|
-
# REQUIRED
|
|
124
|
+
# Android App assets are naturally identified by their Java package name. For
|
|
125
|
+
# example, the Google Maps app uses the package name `com.google.android.apps.
|
|
126
|
+
# maps`. REQUIRED
|
|
153
127
|
# @param [String] target_web_site
|
|
154
|
-
# Web assets are identified by a URL that contains only the scheme, hostname
|
|
155
|
-
#
|
|
156
|
-
# http
|
|
157
|
-
#
|
|
158
|
-
#
|
|
159
|
-
#
|
|
160
|
-
#
|
|
161
|
-
#
|
|
162
|
-
#
|
|
163
|
-
#
|
|
164
|
-
#
|
|
165
|
-
#
|
|
166
|
-
#
|
|
167
|
-
#
|
|
168
|
-
# * `https://www.google.com:443/`
|
|
169
|
-
# * `https://www.google.com/foo`
|
|
170
|
-
# * `https://www.google.com/foo?bar`
|
|
171
|
-
# * `https://www.google.com/foo#bar`
|
|
172
|
-
# * `https://user@password:www.google.com/`
|
|
173
|
-
# But it does not contain these URLs:
|
|
174
|
-
# * `http://www.google.com/` (wrong scheme)
|
|
175
|
-
# * `https://google.com/` (hostname does not match)
|
|
176
|
-
# * `https://www.google.com:444/` (port does not match)
|
|
177
|
-
# REQUIRED
|
|
128
|
+
# Web assets are identified by a URL that contains only the scheme, hostname and
|
|
129
|
+
# port parts. The format is http[s]://[:] Hostnames must be fully qualified:
|
|
130
|
+
# they must end in a single period ("`.`"). Only the schemes "http" and "https"
|
|
131
|
+
# are currently allowed. Port numbers are given as a decimal number, and they
|
|
132
|
+
# must be omitted if the standard port numbers are used: 80 for http and 443 for
|
|
133
|
+
# https. We call this limited URL the "site". All URLs that share the same
|
|
134
|
+
# scheme, hostname and port are considered to be a part of the site and thus
|
|
135
|
+
# belong to the web asset. Example: the asset with the site `https://www.google.
|
|
136
|
+
# com` contains all these URLs: * `https://www.google.com/` * `https://www.
|
|
137
|
+
# google.com:443/` * `https://www.google.com/foo` * `https://www.google.com/foo?
|
|
138
|
+
# bar` * `https://www.google.com/foo#bar` * `https://user@password:www.google.
|
|
139
|
+
# com/` But it does not contain these URLs: * `http://www.google.com/` (wrong
|
|
140
|
+
# scheme) * `https://google.com/` (hostname does not match) * `https://www.
|
|
141
|
+
# google.com:444/` (port does not match) REQUIRED
|
|
178
142
|
# @param [String] fields
|
|
179
143
|
# Selector specifying which fields to include in a partial response.
|
|
180
144
|
# @param [String] quota_user
|
|
@@ -209,79 +173,58 @@ module Google
|
|
|
209
173
|
end
|
|
210
174
|
|
|
211
175
|
# Retrieves a list of all statements from a given source that match the
|
|
212
|
-
# specified target and statement string.
|
|
213
|
-
#
|
|
214
|
-
#
|
|
215
|
-
#
|
|
216
|
-
#
|
|
217
|
-
#
|
|
218
|
-
#
|
|
219
|
-
# where the
|
|
220
|
-
#
|
|
221
|
-
#
|
|
222
|
-
#
|
|
223
|
-
#
|
|
224
|
-
# helps users navigate to related items. When a mobile app is running on a
|
|
225
|
-
# device, the feature would make it easy to navigate to the corresponding web
|
|
226
|
-
# site or Google+ profile.
|
|
176
|
+
# specified target and statement string. The API guarantees that all statements
|
|
177
|
+
# with secure source assets, such as HTTPS websites or Android apps, have been
|
|
178
|
+
# made in a secure way by the owner of those assets, as described in the [
|
|
179
|
+
# Digital Asset Links technical design specification](https://github.com/google/
|
|
180
|
+
# digitalassetlinks/blob/master/well-known/details.md). Specifically, you should
|
|
181
|
+
# consider that for insecure websites (that is, where the URL starts with `http:/
|
|
182
|
+
# /` instead of `https://`), this guarantee cannot be made. The `List` command
|
|
183
|
+
# is most useful in cases where the API client wants to know all the ways in
|
|
184
|
+
# which two assets are related, or enumerate all the relationships from a
|
|
185
|
+
# particular source asset. Example: a feature that helps users navigate to
|
|
186
|
+
# related items. When a mobile app is running on a device, the feature would
|
|
187
|
+
# make it easy to navigate to the corresponding web site or Google+ profile.
|
|
227
188
|
# @param [String] relation
|
|
228
|
-
# Use only associations that match the specified relation.
|
|
229
|
-
#
|
|
230
|
-
#
|
|
231
|
-
#
|
|
232
|
-
#
|
|
233
|
-
#
|
|
234
|
-
#
|
|
235
|
-
# Example: A query with relation `delegate_permission/common.handle_all_urls`
|
|
236
|
-
# matches an asset link with relation
|
|
237
|
-
# `delegate_permission/common.handle_all_urls`.
|
|
189
|
+
# Use only associations that match the specified relation. See the [`Statement`](
|
|
190
|
+
# #Statement) message for a detailed definition of relation strings. For a query
|
|
191
|
+
# to match a statement, one of the following must be true: * both the query's
|
|
192
|
+
# and the statement's relation strings match exactly, or * the query's relation
|
|
193
|
+
# string is empty or missing. Example: A query with relation `
|
|
194
|
+
# delegate_permission/common.handle_all_urls` matches an asset link with
|
|
195
|
+
# relation `delegate_permission/common.handle_all_urls`.
|
|
238
196
|
# @param [String] source_android_app_certificate_sha256_fingerprint
|
|
239
|
-
# The uppercase SHA-265 fingerprint of the certificate.
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
#
|
|
248
|
-
#
|
|
249
|
-
#
|
|
250
|
-
#
|
|
251
|
-
# If these tools are not available to you, you can convert the PEM
|
|
252
|
-
# certificate into the DER format, compute the SHA-256 hash of that string
|
|
253
|
-
# and represent the result as a hexstring (that is, uppercase hexadecimal
|
|
254
|
-
# representations of each octet, separated by colons).
|
|
197
|
+
# The uppercase SHA-265 fingerprint of the certificate. From the PEM certificate,
|
|
198
|
+
# it can be acquired like this: $ keytool -printcert -file $CERTFILE | grep
|
|
199
|
+
# SHA256: SHA256: 14:6D:E9:83:C5:73:06:50:D8:EE:B9:95:2F:34:FC:64:16:A0:83: \ 42:
|
|
200
|
+
# E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 or like this: $ openssl x509 -in $CERTFILE
|
|
201
|
+
# -noout -fingerprint -sha256 SHA256 Fingerprint=14:6D:E9:83:C5:73:06:50:D8:EE:
|
|
202
|
+
# B9:95:2F:34:FC:64: \ 16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF:44:E5 In this
|
|
203
|
+
# example, the contents of this field would be `14:6D:E9:83:C5:73: 06:50:D8:EE:
|
|
204
|
+
# B9:95:2F:34:FC:64:16:A0:83:42:E6:1D:BE:A8:8A:04:96:B2:3F:CF: 44:E5`. If these
|
|
205
|
+
# tools are not available to you, you can convert the PEM certificate into the
|
|
206
|
+
# DER format, compute the SHA-256 hash of that string and represent the result
|
|
207
|
+
# as a hexstring (that is, uppercase hexadecimal representations of each octet,
|
|
208
|
+
# separated by colons).
|
|
255
209
|
# @param [String] source_android_app_package_name
|
|
256
|
-
# Android App assets are naturally identified by their Java package name.
|
|
257
|
-
#
|
|
258
|
-
#
|
|
259
|
-
# REQUIRED
|
|
210
|
+
# Android App assets are naturally identified by their Java package name. For
|
|
211
|
+
# example, the Google Maps app uses the package name `com.google.android.apps.
|
|
212
|
+
# maps`. REQUIRED
|
|
260
213
|
# @param [String] source_web_site
|
|
261
|
-
# Web assets are identified by a URL that contains only the scheme, hostname
|
|
262
|
-
#
|
|
263
|
-
# http
|
|
264
|
-
#
|
|
265
|
-
#
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
#
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
#
|
|
274
|
-
#
|
|
275
|
-
# * `https://www.google.com:443/`
|
|
276
|
-
# * `https://www.google.com/foo`
|
|
277
|
-
# * `https://www.google.com/foo?bar`
|
|
278
|
-
# * `https://www.google.com/foo#bar`
|
|
279
|
-
# * `https://user@password:www.google.com/`
|
|
280
|
-
# But it does not contain these URLs:
|
|
281
|
-
# * `http://www.google.com/` (wrong scheme)
|
|
282
|
-
# * `https://google.com/` (hostname does not match)
|
|
283
|
-
# * `https://www.google.com:444/` (port does not match)
|
|
284
|
-
# REQUIRED
|
|
214
|
+
# Web assets are identified by a URL that contains only the scheme, hostname and
|
|
215
|
+
# port parts. The format is http[s]://[:] Hostnames must be fully qualified:
|
|
216
|
+
# they must end in a single period ("`.`"). Only the schemes "http" and "https"
|
|
217
|
+
# are currently allowed. Port numbers are given as a decimal number, and they
|
|
218
|
+
# must be omitted if the standard port numbers are used: 80 for http and 443 for
|
|
219
|
+
# https. We call this limited URL the "site". All URLs that share the same
|
|
220
|
+
# scheme, hostname and port are considered to be a part of the site and thus
|
|
221
|
+
# belong to the web asset. Example: the asset with the site `https://www.google.
|
|
222
|
+
# com` contains all these URLs: * `https://www.google.com/` * `https://www.
|
|
223
|
+
# google.com:443/` * `https://www.google.com/foo` * `https://www.google.com/foo?
|
|
224
|
+
# bar` * `https://www.google.com/foo#bar` * `https://user@password:www.google.
|
|
225
|
+
# com/` But it does not contain these URLs: * `http://www.google.com/` (wrong
|
|
226
|
+
# scheme) * `https://google.com/` (hostname does not match) * `https://www.
|
|
227
|
+
# google.com:444/` (port does not match) REQUIRED
|
|
285
228
|
# @param [String] fields
|
|
286
229
|
# Selector specifying which fields to include in a partial response.
|
|
287
230
|
# @param [String] quota_user
|