Autogenerated update (2017-09-12)
Add: - testing_v1 Update: - adsensehost_v4_1 - androidmanagement_v1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - language_v1 - language_v1beta1 - language_v1beta2 - ml_v1 - people_v1 - toolresults_v1beta3 - toolresults_v1beta3firstparty
This commit is contained in:
parent
80a05c98b8
commit
f23048c628
|
@ -5770,6 +5770,7 @@
|
|||
"/androidmanagement:v1/Policy/adjustVolumeDisabled": adjust_volume_disabled
|
||||
"/androidmanagement:v1/Policy/applications": applications
|
||||
"/androidmanagement:v1/Policy/applications/application": application
|
||||
"/androidmanagement:v1/Policy/autoTimeRequired": auto_time_required
|
||||
"/androidmanagement:v1/Policy/blockApplicationsEnabled": block_applications_enabled
|
||||
"/androidmanagement:v1/Policy/cameraDisabled": camera_disabled
|
||||
"/androidmanagement:v1/Policy/complianceRules": compliance_rules
|
||||
|
@ -30319,6 +30320,8 @@
|
|||
"/deploymentmanager:alpha/ConfigurableService/options": options
|
||||
"/deploymentmanager:alpha/Credential": credential
|
||||
"/deploymentmanager:alpha/Credential/basicAuth": basic_auth
|
||||
"/deploymentmanager:alpha/Credential/serviceAccount": service_account
|
||||
"/deploymentmanager:alpha/Credential/useProjectDefault": use_project_default
|
||||
"/deploymentmanager:alpha/Deployment": deployment
|
||||
"/deploymentmanager:alpha/Deployment/description": description
|
||||
"/deploymentmanager:alpha/Deployment/fingerprint": fingerprint
|
||||
|
@ -30329,12 +30332,17 @@
|
|||
"/deploymentmanager:alpha/Deployment/manifest": manifest
|
||||
"/deploymentmanager:alpha/Deployment/name": name
|
||||
"/deploymentmanager:alpha/Deployment/operation": operation
|
||||
"/deploymentmanager:alpha/Deployment/outputs": outputs
|
||||
"/deploymentmanager:alpha/Deployment/outputs/output": output
|
||||
"/deploymentmanager:alpha/Deployment/selfLink": self_link
|
||||
"/deploymentmanager:alpha/Deployment/target": target
|
||||
"/deploymentmanager:alpha/Deployment/update": update
|
||||
"/deploymentmanager:alpha/DeploymentLabelEntry": deployment_label_entry
|
||||
"/deploymentmanager:alpha/DeploymentLabelEntry/key": key
|
||||
"/deploymentmanager:alpha/DeploymentLabelEntry/value": value
|
||||
"/deploymentmanager:alpha/DeploymentOutputsEntry": deployment_outputs_entry
|
||||
"/deploymentmanager:alpha/DeploymentOutputsEntry/key": key
|
||||
"/deploymentmanager:alpha/DeploymentOutputsEntry/value": value
|
||||
"/deploymentmanager:alpha/DeploymentUpdate": deployment_update
|
||||
"/deploymentmanager:alpha/DeploymentUpdate/description": description
|
||||
"/deploymentmanager:alpha/DeploymentUpdate/labels": labels
|
||||
|
@ -30505,6 +30513,8 @@
|
|||
"/deploymentmanager:alpha/Rule/notIns/not_in": not_in
|
||||
"/deploymentmanager:alpha/Rule/permissions": permissions
|
||||
"/deploymentmanager:alpha/Rule/permissions/permission": permission
|
||||
"/deploymentmanager:alpha/ServiceAccount": service_account
|
||||
"/deploymentmanager:alpha/ServiceAccount/email": email
|
||||
"/deploymentmanager:alpha/TargetConfiguration": target_configuration
|
||||
"/deploymentmanager:alpha/TargetConfiguration/config": config
|
||||
"/deploymentmanager:alpha/TargetConfiguration/imports": imports
|
||||
|
@ -31092,6 +31102,8 @@
|
|||
"/deploymentmanager:v2beta/ConfigFile/content": content
|
||||
"/deploymentmanager:v2beta/Credential": credential
|
||||
"/deploymentmanager:v2beta/Credential/basicAuth": basic_auth
|
||||
"/deploymentmanager:v2beta/Credential/serviceAccount": service_account
|
||||
"/deploymentmanager:v2beta/Credential/useProjectDefault": use_project_default
|
||||
"/deploymentmanager:v2beta/Deployment": deployment
|
||||
"/deploymentmanager:v2beta/Deployment/description": description
|
||||
"/deploymentmanager:v2beta/Deployment/fingerprint": fingerprint
|
||||
|
@ -31278,6 +31290,8 @@
|
|||
"/deploymentmanager:v2beta/Rule/notIns/not_in": not_in
|
||||
"/deploymentmanager:v2beta/Rule/permissions": permissions
|
||||
"/deploymentmanager:v2beta/Rule/permissions/permission": permission
|
||||
"/deploymentmanager:v2beta/ServiceAccount": service_account
|
||||
"/deploymentmanager:v2beta/ServiceAccount/email": email
|
||||
"/deploymentmanager:v2beta/TargetConfiguration": target_configuration
|
||||
"/deploymentmanager:v2beta/TargetConfiguration/config": config
|
||||
"/deploymentmanager:v2beta/TargetConfiguration/imports": imports
|
||||
|
@ -42715,6 +42729,13 @@
|
|||
"/language:v1/AnalyzeEntitiesResponse/entities": entities
|
||||
"/language:v1/AnalyzeEntitiesResponse/entities/entity": entity
|
||||
"/language:v1/AnalyzeEntitiesResponse/language": language
|
||||
"/language:v1/AnalyzeEntitySentimentRequest": analyze_entity_sentiment_request
|
||||
"/language:v1/AnalyzeEntitySentimentRequest/document": document
|
||||
"/language:v1/AnalyzeEntitySentimentRequest/encodingType": encoding_type
|
||||
"/language:v1/AnalyzeEntitySentimentResponse": analyze_entity_sentiment_response
|
||||
"/language:v1/AnalyzeEntitySentimentResponse/entities": entities
|
||||
"/language:v1/AnalyzeEntitySentimentResponse/entities/entity": entity
|
||||
"/language:v1/AnalyzeEntitySentimentResponse/language": language
|
||||
"/language:v1/AnalyzeSentimentRequest": analyze_sentiment_request
|
||||
"/language:v1/AnalyzeSentimentRequest/document": document
|
||||
"/language:v1/AnalyzeSentimentRequest/encodingType": encoding_type
|
||||
|
@ -42760,13 +42781,16 @@
|
|||
"/language:v1/Entity/metadata/metadatum": metadatum
|
||||
"/language:v1/Entity/name": name
|
||||
"/language:v1/Entity/salience": salience
|
||||
"/language:v1/Entity/sentiment": sentiment
|
||||
"/language:v1/Entity/type": type
|
||||
"/language:v1/EntityMention": entity_mention
|
||||
"/language:v1/EntityMention/sentiment": sentiment
|
||||
"/language:v1/EntityMention/text": text
|
||||
"/language:v1/EntityMention/type": type
|
||||
"/language:v1/Features": features
|
||||
"/language:v1/Features/extractDocumentSentiment": extract_document_sentiment
|
||||
"/language:v1/Features/extractEntities": extract_entities
|
||||
"/language:v1/Features/extractEntitySentiment": extract_entity_sentiment
|
||||
"/language:v1/Features/extractSyntax": extract_syntax
|
||||
"/language:v1/PartOfSpeech": part_of_speech
|
||||
"/language:v1/PartOfSpeech/aspect": aspect
|
||||
|
@ -42804,6 +42828,7 @@
|
|||
"/language:v1/fields": fields
|
||||
"/language:v1/key": key
|
||||
"/language:v1/language.documents.analyzeEntities": analyze_document_entities
|
||||
"/language:v1/language.documents.analyzeEntitySentiment": analyze_document_entity_sentiment
|
||||
"/language:v1/language.documents.analyzeSentiment": analyze_document_sentiment
|
||||
"/language:v1/language.documents.analyzeSyntax": analyze_document_syntax
|
||||
"/language:v1/language.documents.annotateText": annotate_document_text
|
||||
|
@ -46181,6 +46206,7 @@
|
|||
"/people:v1/PhoneNumber/type": type
|
||||
"/people:v1/PhoneNumber/value": value
|
||||
"/people:v1/Photo": photo
|
||||
"/people:v1/Photo/default": default
|
||||
"/people:v1/Photo/metadata": metadata
|
||||
"/people:v1/Photo/url": url
|
||||
"/people:v1/ProfileMetadata": profile_metadata
|
||||
|
@ -55869,6 +55895,225 @@
|
|||
"/tasks:v1/tasks.tasks.update/task": task
|
||||
"/tasks:v1/tasks.tasks.update/tasklist": tasklist
|
||||
"/tasks:v1/userIp": user_ip
|
||||
"/testing:v1/Account": account
|
||||
"/testing:v1/Account/googleAuto": google_auto
|
||||
"/testing:v1/AndroidDevice": android_device
|
||||
"/testing:v1/AndroidDevice/androidModelId": android_model_id
|
||||
"/testing:v1/AndroidDevice/androidVersionId": android_version_id
|
||||
"/testing:v1/AndroidDevice/locale": locale
|
||||
"/testing:v1/AndroidDevice/orientation": orientation
|
||||
"/testing:v1/AndroidDeviceCatalog": android_device_catalog
|
||||
"/testing:v1/AndroidDeviceCatalog/models": models
|
||||
"/testing:v1/AndroidDeviceCatalog/models/model": model
|
||||
"/testing:v1/AndroidDeviceCatalog/runtimeConfiguration": runtime_configuration
|
||||
"/testing:v1/AndroidDeviceCatalog/versions": versions
|
||||
"/testing:v1/AndroidDeviceCatalog/versions/version": version
|
||||
"/testing:v1/AndroidDeviceList": android_device_list
|
||||
"/testing:v1/AndroidDeviceList/androidDevices": android_devices
|
||||
"/testing:v1/AndroidDeviceList/androidDevices/android_device": android_device
|
||||
"/testing:v1/AndroidInstrumentationTest": android_instrumentation_test
|
||||
"/testing:v1/AndroidInstrumentationTest/appApk": app_apk
|
||||
"/testing:v1/AndroidInstrumentationTest/appPackageId": app_package_id
|
||||
"/testing:v1/AndroidInstrumentationTest/orchestratorOption": orchestrator_option
|
||||
"/testing:v1/AndroidInstrumentationTest/testApk": test_apk
|
||||
"/testing:v1/AndroidInstrumentationTest/testPackageId": test_package_id
|
||||
"/testing:v1/AndroidInstrumentationTest/testRunnerClass": test_runner_class
|
||||
"/testing:v1/AndroidInstrumentationTest/testTargets": test_targets
|
||||
"/testing:v1/AndroidInstrumentationTest/testTargets/test_target": test_target
|
||||
"/testing:v1/AndroidMatrix": android_matrix
|
||||
"/testing:v1/AndroidMatrix/androidModelIds": android_model_ids
|
||||
"/testing:v1/AndroidMatrix/androidModelIds/android_model_id": android_model_id
|
||||
"/testing:v1/AndroidMatrix/androidVersionIds": android_version_ids
|
||||
"/testing:v1/AndroidMatrix/androidVersionIds/android_version_id": android_version_id
|
||||
"/testing:v1/AndroidMatrix/locales": locales
|
||||
"/testing:v1/AndroidMatrix/locales/locale": locale
|
||||
"/testing:v1/AndroidMatrix/orientations": orientations
|
||||
"/testing:v1/AndroidMatrix/orientations/orientation": orientation
|
||||
"/testing:v1/AndroidModel": android_model
|
||||
"/testing:v1/AndroidModel/brand": brand
|
||||
"/testing:v1/AndroidModel/codename": codename
|
||||
"/testing:v1/AndroidModel/form": form
|
||||
"/testing:v1/AndroidModel/id": id
|
||||
"/testing:v1/AndroidModel/manufacturer": manufacturer
|
||||
"/testing:v1/AndroidModel/name": name
|
||||
"/testing:v1/AndroidModel/screenDensity": screen_density
|
||||
"/testing:v1/AndroidModel/screenX": screen_x
|
||||
"/testing:v1/AndroidModel/screenY": screen_y
|
||||
"/testing:v1/AndroidModel/supportedAbis": supported_abis
|
||||
"/testing:v1/AndroidModel/supportedAbis/supported_abi": supported_abi
|
||||
"/testing:v1/AndroidModel/supportedVersionIds": supported_version_ids
|
||||
"/testing:v1/AndroidModel/supportedVersionIds/supported_version_id": supported_version_id
|
||||
"/testing:v1/AndroidModel/tags": tags
|
||||
"/testing:v1/AndroidModel/tags/tag": tag
|
||||
"/testing:v1/AndroidRoboTest": android_robo_test
|
||||
"/testing:v1/AndroidRoboTest/appApk": app_apk
|
||||
"/testing:v1/AndroidRoboTest/appInitialActivity": app_initial_activity
|
||||
"/testing:v1/AndroidRoboTest/appPackageId": app_package_id
|
||||
"/testing:v1/AndroidRoboTest/maxDepth": max_depth
|
||||
"/testing:v1/AndroidRoboTest/maxSteps": max_steps
|
||||
"/testing:v1/AndroidRoboTest/roboDirectives": robo_directives
|
||||
"/testing:v1/AndroidRoboTest/roboDirectives/robo_directive": robo_directive
|
||||
"/testing:v1/AndroidRuntimeConfiguration": android_runtime_configuration
|
||||
"/testing:v1/AndroidRuntimeConfiguration/locales": locales
|
||||
"/testing:v1/AndroidRuntimeConfiguration/locales/locale": locale
|
||||
"/testing:v1/AndroidRuntimeConfiguration/orientations": orientations
|
||||
"/testing:v1/AndroidRuntimeConfiguration/orientations/orientation": orientation
|
||||
"/testing:v1/AndroidTestLoop": android_test_loop
|
||||
"/testing:v1/AndroidTestLoop/appApk": app_apk
|
||||
"/testing:v1/AndroidTestLoop/appPackageId": app_package_id
|
||||
"/testing:v1/AndroidTestLoop/scenarioLabels": scenario_labels
|
||||
"/testing:v1/AndroidTestLoop/scenarioLabels/scenario_label": scenario_label
|
||||
"/testing:v1/AndroidTestLoop/scenarios": scenarios
|
||||
"/testing:v1/AndroidTestLoop/scenarios/scenario": scenario
|
||||
"/testing:v1/AndroidVersion": android_version
|
||||
"/testing:v1/AndroidVersion/apiLevel": api_level
|
||||
"/testing:v1/AndroidVersion/codeName": code_name
|
||||
"/testing:v1/AndroidVersion/distribution": distribution
|
||||
"/testing:v1/AndroidVersion/id": id
|
||||
"/testing:v1/AndroidVersion/releaseDate": release_date
|
||||
"/testing:v1/AndroidVersion/tags": tags
|
||||
"/testing:v1/AndroidVersion/tags/tag": tag
|
||||
"/testing:v1/AndroidVersion/versionString": version_string
|
||||
"/testing:v1/CancelTestMatrixResponse": cancel_test_matrix_response
|
||||
"/testing:v1/CancelTestMatrixResponse/testState": test_state
|
||||
"/testing:v1/ClientInfo": client_info
|
||||
"/testing:v1/ClientInfo/clientInfoDetails": client_info_details
|
||||
"/testing:v1/ClientInfo/clientInfoDetails/client_info_detail": client_info_detail
|
||||
"/testing:v1/ClientInfo/name": name
|
||||
"/testing:v1/ClientInfoDetail": client_info_detail
|
||||
"/testing:v1/ClientInfoDetail/key": key
|
||||
"/testing:v1/ClientInfoDetail/value": value
|
||||
"/testing:v1/Date": date
|
||||
"/testing:v1/Date/day": day
|
||||
"/testing:v1/Date/month": month
|
||||
"/testing:v1/Date/year": year
|
||||
"/testing:v1/DeviceFile": device_file
|
||||
"/testing:v1/DeviceFile/obbFile": obb_file
|
||||
"/testing:v1/Distribution": distribution
|
||||
"/testing:v1/Distribution/marketShare": market_share
|
||||
"/testing:v1/Distribution/measurementTime": measurement_time
|
||||
"/testing:v1/Environment": environment
|
||||
"/testing:v1/Environment/androidDevice": android_device
|
||||
"/testing:v1/EnvironmentMatrix": environment_matrix
|
||||
"/testing:v1/EnvironmentMatrix/androidDeviceList": android_device_list
|
||||
"/testing:v1/EnvironmentMatrix/androidMatrix": android_matrix
|
||||
"/testing:v1/EnvironmentVariable": environment_variable
|
||||
"/testing:v1/EnvironmentVariable/key": key
|
||||
"/testing:v1/EnvironmentVariable/value": value
|
||||
"/testing:v1/FileReference": file_reference
|
||||
"/testing:v1/FileReference/gcsPath": gcs_path
|
||||
"/testing:v1/GoogleAuto": google_auto
|
||||
"/testing:v1/GoogleCloudStorage": google_cloud_storage
|
||||
"/testing:v1/GoogleCloudStorage/gcsPath": gcs_path
|
||||
"/testing:v1/Locale": locale
|
||||
"/testing:v1/Locale/id": id
|
||||
"/testing:v1/Locale/name": name
|
||||
"/testing:v1/Locale/region": region
|
||||
"/testing:v1/Locale/tags": tags
|
||||
"/testing:v1/Locale/tags/tag": tag
|
||||
"/testing:v1/NetworkConfiguration": network_configuration
|
||||
"/testing:v1/NetworkConfiguration/downRule": down_rule
|
||||
"/testing:v1/NetworkConfiguration/id": id
|
||||
"/testing:v1/NetworkConfiguration/upRule": up_rule
|
||||
"/testing:v1/NetworkConfigurationCatalog": network_configuration_catalog
|
||||
"/testing:v1/NetworkConfigurationCatalog/configurations": configurations
|
||||
"/testing:v1/NetworkConfigurationCatalog/configurations/configuration": configuration
|
||||
"/testing:v1/ObbFile": obb_file
|
||||
"/testing:v1/ObbFile/obb": obb
|
||||
"/testing:v1/ObbFile/obbFileName": obb_file_name
|
||||
"/testing:v1/Orientation": orientation
|
||||
"/testing:v1/Orientation/id": id
|
||||
"/testing:v1/Orientation/name": name
|
||||
"/testing:v1/Orientation/tags": tags
|
||||
"/testing:v1/Orientation/tags/tag": tag
|
||||
"/testing:v1/ResultStorage": result_storage
|
||||
"/testing:v1/ResultStorage/googleCloudStorage": google_cloud_storage
|
||||
"/testing:v1/ResultStorage/toolResultsExecution": tool_results_execution
|
||||
"/testing:v1/ResultStorage/toolResultsHistory": tool_results_history
|
||||
"/testing:v1/RoboDirective": robo_directive
|
||||
"/testing:v1/RoboDirective/actionType": action_type
|
||||
"/testing:v1/RoboDirective/inputText": input_text
|
||||
"/testing:v1/RoboDirective/resourceName": resource_name
|
||||
"/testing:v1/TestDetails": test_details
|
||||
"/testing:v1/TestDetails/errorMessage": error_message
|
||||
"/testing:v1/TestDetails/progressMessages": progress_messages
|
||||
"/testing:v1/TestDetails/progressMessages/progress_message": progress_message
|
||||
"/testing:v1/TestEnvironmentCatalog": test_environment_catalog
|
||||
"/testing:v1/TestEnvironmentCatalog/androidDeviceCatalog": android_device_catalog
|
||||
"/testing:v1/TestEnvironmentCatalog/networkConfigurationCatalog": network_configuration_catalog
|
||||
"/testing:v1/TestExecution": test_execution
|
||||
"/testing:v1/TestExecution/environment": environment
|
||||
"/testing:v1/TestExecution/id": id
|
||||
"/testing:v1/TestExecution/matrixId": matrix_id
|
||||
"/testing:v1/TestExecution/projectId": project_id
|
||||
"/testing:v1/TestExecution/state": state
|
||||
"/testing:v1/TestExecution/testDetails": test_details
|
||||
"/testing:v1/TestExecution/testSpecification": test_specification
|
||||
"/testing:v1/TestExecution/timestamp": timestamp
|
||||
"/testing:v1/TestExecution/toolResultsStep": tool_results_step
|
||||
"/testing:v1/TestMatrix": test_matrix
|
||||
"/testing:v1/TestMatrix/clientInfo": client_info
|
||||
"/testing:v1/TestMatrix/environmentMatrix": environment_matrix
|
||||
"/testing:v1/TestMatrix/invalidMatrixDetails": invalid_matrix_details
|
||||
"/testing:v1/TestMatrix/projectId": project_id
|
||||
"/testing:v1/TestMatrix/resultStorage": result_storage
|
||||
"/testing:v1/TestMatrix/state": state
|
||||
"/testing:v1/TestMatrix/testExecutions": test_executions
|
||||
"/testing:v1/TestMatrix/testExecutions/test_execution": test_execution
|
||||
"/testing:v1/TestMatrix/testMatrixId": test_matrix_id
|
||||
"/testing:v1/TestMatrix/testSpecification": test_specification
|
||||
"/testing:v1/TestMatrix/timestamp": timestamp
|
||||
"/testing:v1/TestSetup": test_setup
|
||||
"/testing:v1/TestSetup/account": account
|
||||
"/testing:v1/TestSetup/directoriesToPull": directories_to_pull
|
||||
"/testing:v1/TestSetup/directoriesToPull/directories_to_pull": directories_to_pull
|
||||
"/testing:v1/TestSetup/environmentVariables": environment_variables
|
||||
"/testing:v1/TestSetup/environmentVariables/environment_variable": environment_variable
|
||||
"/testing:v1/TestSetup/filesToPush": files_to_push
|
||||
"/testing:v1/TestSetup/filesToPush/files_to_push": files_to_push
|
||||
"/testing:v1/TestSetup/networkProfile": network_profile
|
||||
"/testing:v1/TestSpecification": test_specification
|
||||
"/testing:v1/TestSpecification/androidInstrumentationTest": android_instrumentation_test
|
||||
"/testing:v1/TestSpecification/androidRoboTest": android_robo_test
|
||||
"/testing:v1/TestSpecification/androidTestLoop": android_test_loop
|
||||
"/testing:v1/TestSpecification/autoGoogleLogin": auto_google_login
|
||||
"/testing:v1/TestSpecification/disablePerformanceMetrics": disable_performance_metrics
|
||||
"/testing:v1/TestSpecification/disableVideoRecording": disable_video_recording
|
||||
"/testing:v1/TestSpecification/testSetup": test_setup
|
||||
"/testing:v1/TestSpecification/testTimeout": test_timeout
|
||||
"/testing:v1/ToolResultsExecution": tool_results_execution
|
||||
"/testing:v1/ToolResultsExecution/executionId": execution_id
|
||||
"/testing:v1/ToolResultsExecution/historyId": history_id
|
||||
"/testing:v1/ToolResultsExecution/projectId": project_id
|
||||
"/testing:v1/ToolResultsHistory": tool_results_history
|
||||
"/testing:v1/ToolResultsHistory/historyId": history_id
|
||||
"/testing:v1/ToolResultsHistory/projectId": project_id
|
||||
"/testing:v1/ToolResultsStep": tool_results_step
|
||||
"/testing:v1/ToolResultsStep/executionId": execution_id
|
||||
"/testing:v1/ToolResultsStep/historyId": history_id
|
||||
"/testing:v1/ToolResultsStep/projectId": project_id
|
||||
"/testing:v1/ToolResultsStep/stepId": step_id
|
||||
"/testing:v1/TrafficRule": traffic_rule
|
||||
"/testing:v1/TrafficRule/bandwidth": bandwidth
|
||||
"/testing:v1/TrafficRule/burst": burst
|
||||
"/testing:v1/TrafficRule/delay": delay
|
||||
"/testing:v1/TrafficRule/packetDuplicationRatio": packet_duplication_ratio
|
||||
"/testing:v1/TrafficRule/packetLossRatio": packet_loss_ratio
|
||||
"/testing:v1/fields": fields
|
||||
"/testing:v1/key": key
|
||||
"/testing:v1/quotaUser": quota_user
|
||||
"/testing:v1/testing.projects.testMatrices.cancel": cancel_project_test_matrix
|
||||
"/testing:v1/testing.projects.testMatrices.cancel/projectId": project_id
|
||||
"/testing:v1/testing.projects.testMatrices.cancel/testMatrixId": test_matrix_id
|
||||
"/testing:v1/testing.projects.testMatrices.create": create_project_test_matrix
|
||||
"/testing:v1/testing.projects.testMatrices.create/projectId": project_id
|
||||
"/testing:v1/testing.projects.testMatrices.create/requestId": request_id
|
||||
"/testing:v1/testing.projects.testMatrices.get": get_project_test_matrix
|
||||
"/testing:v1/testing.projects.testMatrices.get/projectId": project_id
|
||||
"/testing:v1/testing.projects.testMatrices.get/testMatrixId": test_matrix_id
|
||||
"/testing:v1/testing.testEnvironmentCatalog.get": get_test_environment_catalog
|
||||
"/testing:v1/testing.testEnvironmentCatalog.get/environmentType": environment_type
|
||||
"/testing:v1/testing.testEnvironmentCatalog.get/projectId": project_id
|
||||
"/toolresults:v1beta3/AndroidAppInfo": android_app_info
|
||||
"/toolresults:v1beta3/AndroidAppInfo/name": name
|
||||
"/toolresults:v1beta3/AndroidAppInfo/packageName": package_name
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20170906'
|
||||
REVISION = '20170910'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/android/management
|
||||
module AndroidmanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170828'
|
||||
REVISION = '20170905'
|
||||
|
||||
# Manage Android devices and apps for your customers
|
||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||
|
|
|
@ -1484,6 +1484,13 @@ module Google
|
|||
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
|
||||
attr_accessor :applications
|
||||
|
||||
# Whether auto time is required, which prevents the user from manually setting
|
||||
# the date and time.
|
||||
# Corresponds to the JSON property `autoTimeRequired`
|
||||
# @return [Boolean]
|
||||
attr_accessor :auto_time_required
|
||||
alias_method :auto_time_required?, :auto_time_required
|
||||
|
||||
# Whether applications other than the ones configured in applications are
|
||||
# blocked from being installed. When set, applications that were installed under
|
||||
# a previous policy but no longer appear in the policy are automatically
|
||||
|
@ -1673,6 +1680,7 @@ module Google
|
|||
@add_user_disabled = args[:add_user_disabled] if args.key?(:add_user_disabled)
|
||||
@adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled)
|
||||
@applications = args[:applications] if args.key?(:applications)
|
||||
@auto_time_required = args[:auto_time_required] if args.key?(:auto_time_required)
|
||||
@block_applications_enabled = args[:block_applications_enabled] if args.key?(:block_applications_enabled)
|
||||
@camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
|
||||
@compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
|
||||
|
|
|
@ -586,6 +586,7 @@ module Google
|
|||
property :adjust_volume_disabled, as: 'adjustVolumeDisabled'
|
||||
collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
|
||||
|
||||
property :auto_time_required, as: 'autoTimeRequired'
|
||||
property :block_applications_enabled, as: 'blockApplicationsEnabled'
|
||||
property :camera_disabled, as: 'cameraDisabled'
|
||||
collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'appsmarket/v2/')
|
||||
@batch_path = 'batch/appsmarket/v2'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
#
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20170810'
|
||||
REVISION = '20170907'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -420,7 +420,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
|
||||
attr_accessor :collection_overrides
|
||||
|
||||
# Credential used by ConfigurableResourceTypes.
|
||||
# The credential used by Deployment Manager and TypeProvider. Only one of the
|
||||
# options is permitted.
|
||||
# Corresponds to the JSON property `credential`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Credential]
|
||||
attr_accessor :credential
|
||||
|
@ -448,7 +449,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Credential used by ConfigurableResourceTypes.
|
||||
# The credential used by Deployment Manager and TypeProvider. Only one of the
|
||||
# options is permitted.
|
||||
class Credential
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -457,6 +459,17 @@ module Google
|
|||
# @return [Google::Apis::DeploymentmanagerAlpha::BasicAuth]
|
||||
attr_accessor :basic_auth
|
||||
|
||||
# Service Account used as a credential.
|
||||
# Corresponds to the JSON property `serviceAccount`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::ServiceAccount]
|
||||
attr_accessor :service_account
|
||||
|
||||
# Specify to use the project default credential, only supported by Deployment.
|
||||
# Corresponds to the JSON property `useProjectDefault`
|
||||
# @return [Boolean]
|
||||
attr_accessor :use_project_default
|
||||
alias_method :use_project_default?, :use_project_default
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -464,6 +477,8 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@basic_auth = args[:basic_auth] if args.key?(:basic_auth)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@use_project_default = args[:use_project_default] if args.key?(:use_project_default)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -530,6 +545,12 @@ module Google
|
|||
# @return [Google::Apis::DeploymentmanagerAlpha::Operation]
|
||||
attr_accessor :operation
|
||||
|
||||
# api-linter: output-only-format=disabled [Output Only] Map of outputs from the
|
||||
# last manifest that deployed successfully.
|
||||
# Corresponds to the JSON property `outputs`
|
||||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry>]
|
||||
attr_accessor :outputs
|
||||
|
||||
# [Output Only] Self link for the deployment.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
|
@ -559,6 +580,7 @@ module Google
|
|||
@manifest = args[:manifest] if args.key?(:manifest)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@operation = args[:operation] if args.key?(:operation)
|
||||
@outputs = args[:outputs] if args.key?(:outputs)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@target = args[:target] if args.key?(:target)
|
||||
@update = args[:update] if args.key?(:update)
|
||||
|
@ -590,6 +612,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DeploymentOutputsEntry
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [String]
|
||||
attr_accessor :key
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `value`
|
||||
# @return [String]
|
||||
attr_accessor :value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@value = args[:value] if args.key?(:value)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class DeploymentUpdate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1926,6 +1973,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Service Account used as a credential.
|
||||
class ServiceAccount
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The IAM service account email address like test@myproject.iam.gserviceaccount.
|
||||
# com
|
||||
# Corresponds to the JSON property `email`
|
||||
# @return [String]
|
||||
attr_accessor :email
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@email = args[:email] if args.key?(:email)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class TargetConfiguration
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2215,7 +2282,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::CollectionOverride>]
|
||||
attr_accessor :collection_overrides
|
||||
|
||||
# Credential used by ConfigurableResourceTypes.
|
||||
# The credential used by Deployment Manager and TypeProvider. Only one of the
|
||||
# options is permitted.
|
||||
# Corresponds to the JSON property `credential`
|
||||
# @return [Google::Apis::DeploymentmanagerAlpha::Credential]
|
||||
attr_accessor :credential
|
||||
|
|
|
@ -112,6 +112,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeploymentOutputsEntry
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeploymentUpdate
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -310,6 +316,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ServiceAccount
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TargetConfiguration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -518,6 +530,9 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :basic_auth, as: 'basicAuth', class: Google::Apis::DeploymentmanagerAlpha::BasicAuth, decorator: Google::Apis::DeploymentmanagerAlpha::BasicAuth::Representation
|
||||
|
||||
property :service_account, as: 'serviceAccount', class: Google::Apis::DeploymentmanagerAlpha::ServiceAccount, decorator: Google::Apis::DeploymentmanagerAlpha::ServiceAccount::Representation
|
||||
|
||||
property :use_project_default, as: 'useProjectDefault'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -534,6 +549,8 @@ module Google
|
|||
property :name, as: 'name'
|
||||
property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerAlpha::Operation, decorator: Google::Apis::DeploymentmanagerAlpha::Operation::Representation
|
||||
|
||||
collection :outputs, as: 'outputs', class: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry, decorator: Google::Apis::DeploymentmanagerAlpha::DeploymentOutputsEntry::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :target, as: 'target', class: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration, decorator: Google::Apis::DeploymentmanagerAlpha::TargetConfiguration::Representation
|
||||
|
||||
|
@ -550,6 +567,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class DeploymentOutputsEntry
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class DeploymentUpdate
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -903,6 +928,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ServiceAccount
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :email, as: 'email'
|
||||
end
|
||||
end
|
||||
|
||||
class TargetConfiguration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'deploymentmanager/alpha/projects/')
|
||||
@batch_path = 'batch/deploymentmanager/alpha'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Deletes a composite type.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20170810'
|
||||
REVISION = '20170907'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/')
|
||||
@batch_path = 'batch/deploymentmanager/v2'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Cancels and removes the preview currently associated with the deployment.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2beta
|
||||
VERSION = 'V2beta'
|
||||
REVISION = '20170810'
|
||||
REVISION = '20170907'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -129,7 +129,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>]
|
||||
attr_accessor :collection_overrides
|
||||
|
||||
# Credential used by ConfigurableResourceTypes.
|
||||
# The credential used by Deployment Manager and TypeProvider. Only one of the
|
||||
# options is permitted.
|
||||
# Corresponds to the JSON property `credential`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Credential]
|
||||
attr_accessor :credential
|
||||
|
@ -448,7 +449,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Credential used by ConfigurableResourceTypes.
|
||||
# The credential used by Deployment Manager and TypeProvider. Only one of the
|
||||
# options is permitted.
|
||||
class Credential
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -457,6 +459,17 @@ module Google
|
|||
# @return [Google::Apis::DeploymentmanagerV2beta::BasicAuth]
|
||||
attr_accessor :basic_auth
|
||||
|
||||
# Service Account used as a credential.
|
||||
# Corresponds to the JSON property `serviceAccount`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::ServiceAccount]
|
||||
attr_accessor :service_account
|
||||
|
||||
# Specify to use the project default credential, only supported by Deployment.
|
||||
# Corresponds to the JSON property `useProjectDefault`
|
||||
# @return [Boolean]
|
||||
attr_accessor :use_project_default
|
||||
alias_method :use_project_default?, :use_project_default
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -464,6 +477,8 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@basic_auth = args[:basic_auth] if args.key?(:basic_auth)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@use_project_default = args[:use_project_default] if args.key?(:use_project_default)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1930,6 +1945,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Service Account used as a credential.
|
||||
class ServiceAccount
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The IAM service account email address like test@myproject.iam.gserviceaccount.
|
||||
# com
|
||||
# Corresponds to the JSON property `email`
|
||||
# @return [String]
|
||||
attr_accessor :email
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@email = args[:email] if args.key?(:email)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class TargetConfiguration
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2219,7 +2254,8 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::CollectionOverride>]
|
||||
attr_accessor :collection_overrides
|
||||
|
||||
# Credential used by ConfigurableResourceTypes.
|
||||
# The credential used by Deployment Manager and TypeProvider. Only one of the
|
||||
# options is permitted.
|
||||
# Corresponds to the JSON property `credential`
|
||||
# @return [Google::Apis::DeploymentmanagerV2beta::Credential]
|
||||
attr_accessor :credential
|
||||
|
|
|
@ -310,6 +310,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ServiceAccount
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TargetConfiguration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -518,6 +524,9 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :basic_auth, as: 'basicAuth', class: Google::Apis::DeploymentmanagerV2beta::BasicAuth, decorator: Google::Apis::DeploymentmanagerV2beta::BasicAuth::Representation
|
||||
|
||||
property :service_account, as: 'serviceAccount', class: Google::Apis::DeploymentmanagerV2beta::ServiceAccount, decorator: Google::Apis::DeploymentmanagerV2beta::ServiceAccount::Representation
|
||||
|
||||
property :use_project_default, as: 'useProjectDefault'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -903,6 +912,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ServiceAccount
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :email, as: 'email'
|
||||
end
|
||||
end
|
||||
|
||||
class TargetConfiguration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'deploymentmanager/v2beta/projects/')
|
||||
@batch_path = 'batch/deploymentmanager/v2beta'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Deletes a composite type.
|
||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'doubleclicksearch/v2/')
|
||||
@batch_path = 'batch/doubleclicksearch/v2'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Retrieves a list of conversions from a DoubleClick Search engine account.
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170809'
|
||||
REVISION = '20170911'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -75,6 +75,59 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The entity-level sentiment analysis request message.
|
||||
class AnalyzeEntitySentimentRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# ################################################################ #
|
||||
# Represents the input to API methods.
|
||||
# Corresponds to the JSON property `document`
|
||||
# @return [Google::Apis::LanguageV1::Document]
|
||||
attr_accessor :document
|
||||
|
||||
# The encoding type used by the API to calculate offsets.
|
||||
# Corresponds to the JSON property `encodingType`
|
||||
# @return [String]
|
||||
attr_accessor :encoding_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@document = args[:document] if args.key?(:document)
|
||||
@encoding_type = args[:encoding_type] if args.key?(:encoding_type)
|
||||
end
|
||||
end
|
||||
|
||||
# The entity-level sentiment analysis response message.
|
||||
class AnalyzeEntitySentimentResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The recognized entities in the input document with associated sentiments.
|
||||
# Corresponds to the JSON property `entities`
|
||||
# @return [Array<Google::Apis::LanguageV1::Entity>]
|
||||
attr_accessor :entities
|
||||
|
||||
# The language of the text, which will be the same as the language specified
|
||||
# in the request or, if not specified, the automatically-detected language.
|
||||
# See Document.language field for more details.
|
||||
# Corresponds to the JSON property `language`
|
||||
# @return [String]
|
||||
attr_accessor :language
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@entities = args[:entities] if args.key?(:entities)
|
||||
@language = args[:language] if args.key?(:language)
|
||||
end
|
||||
end
|
||||
|
||||
# The sentiment analysis request message.
|
||||
class AnalyzeSentimentRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -392,6 +445,12 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :salience
|
||||
|
||||
# Represents the feeling associated with the entire text or entities in
|
||||
# the text.
|
||||
# Corresponds to the JSON property `sentiment`
|
||||
# @return [Google::Apis::LanguageV1::Sentiment]
|
||||
attr_accessor :sentiment
|
||||
|
||||
# The entity type.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
|
@ -407,6 +466,7 @@ module Google
|
|||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@salience = args[:salience] if args.key?(:salience)
|
||||
@sentiment = args[:sentiment] if args.key?(:sentiment)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
@ -416,6 +476,12 @@ module Google
|
|||
class EntityMention
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents the feeling associated with the entire text or entities in
|
||||
# the text.
|
||||
# Corresponds to the JSON property `sentiment`
|
||||
# @return [Google::Apis::LanguageV1::Sentiment]
|
||||
attr_accessor :sentiment
|
||||
|
||||
# Represents an output piece of text.
|
||||
# Corresponds to the JSON property `text`
|
||||
# @return [Google::Apis::LanguageV1::TextSpan]
|
||||
|
@ -432,6 +498,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@sentiment = args[:sentiment] if args.key?(:sentiment)
|
||||
@text = args[:text] if args.key?(:text)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
|
@ -454,6 +521,12 @@ module Google
|
|||
attr_accessor :extract_entities
|
||||
alias_method :extract_entities?, :extract_entities
|
||||
|
||||
# Extract entities and their associated sentiment.
|
||||
# Corresponds to the JSON property `extractEntitySentiment`
|
||||
# @return [Boolean]
|
||||
attr_accessor :extract_entity_sentiment
|
||||
alias_method :extract_entity_sentiment?, :extract_entity_sentiment
|
||||
|
||||
# Extract syntax information.
|
||||
# Corresponds to the JSON property `extractSyntax`
|
||||
# @return [Boolean]
|
||||
|
@ -468,6 +541,7 @@ module Google
|
|||
def update!(**args)
|
||||
@extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment)
|
||||
@extract_entities = args[:extract_entities] if args.key?(:extract_entities)
|
||||
@extract_entity_sentiment = args[:extract_entity_sentiment] if args.key?(:extract_entity_sentiment)
|
||||
@extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -34,6 +34,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AnalyzeEntitySentimentRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AnalyzeEntitySentimentResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AnalyzeSentimentRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -154,6 +166,24 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AnalyzeEntitySentimentRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :document, as: 'document', class: Google::Apis::LanguageV1::Document, decorator: Google::Apis::LanguageV1::Document::Representation
|
||||
|
||||
property :encoding_type, as: 'encodingType'
|
||||
end
|
||||
end
|
||||
|
||||
class AnalyzeEntitySentimentResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :entities, as: 'entities', class: Google::Apis::LanguageV1::Entity, decorator: Google::Apis::LanguageV1::Entity::Representation
|
||||
|
||||
property :language, as: 'language'
|
||||
end
|
||||
end
|
||||
|
||||
class AnalyzeSentimentRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -246,6 +276,8 @@ module Google
|
|||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
property :salience, as: 'salience'
|
||||
property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
@ -253,6 +285,8 @@ module Google
|
|||
class EntityMention
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1::Sentiment, decorator: Google::Apis::LanguageV1::Sentiment::Representation
|
||||
|
||||
property :text, as: 'text', class: Google::Apis::LanguageV1::TextSpan, decorator: Google::Apis::LanguageV1::TextSpan::Representation
|
||||
|
||||
property :type, as: 'type'
|
||||
|
@ -264,6 +298,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :extract_document_sentiment, as: 'extractDocumentSentiment'
|
||||
property :extract_entities, as: 'extractEntities'
|
||||
property :extract_entity_sentiment, as: 'extractEntitySentiment'
|
||||
property :extract_syntax, as: 'extractSyntax'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -81,6 +81,37 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Finds entities, similar to AnalyzeEntities in the text and analyzes
|
||||
# sentiment associated with each entity and its mentions.
|
||||
# @param [Google::Apis::LanguageV1::AnalyzeEntitySentimentRequest] analyze_entity_sentiment_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::LanguageV1::AnalyzeEntitySentimentResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::LanguageV1::AnalyzeEntitySentimentResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def analyze_document_entity_sentiment(analyze_entity_sentiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/documents:analyzeEntitySentiment', options)
|
||||
command.request_representation = Google::Apis::LanguageV1::AnalyzeEntitySentimentRequest::Representation
|
||||
command.request_object = analyze_entity_sentiment_request_object
|
||||
command.response_representation = Google::Apis::LanguageV1::AnalyzeEntitySentimentResponse::Representation
|
||||
command.response_class = Google::Apis::LanguageV1::AnalyzeEntitySentimentResponse
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Analyzes the sentiment of the provided text.
|
||||
# @param [Google::Apis::LanguageV1::AnalyzeSentimentRequest] analyze_sentiment_request_object
|
||||
# @param [String] fields
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20170809'
|
||||
REVISION = '20170911'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/natural-language/
|
||||
module LanguageV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20170905'
|
||||
REVISION = '20170911'
|
||||
|
||||
# Apply machine learning models to reveal the structure and meaning of text
|
||||
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170825'
|
||||
REVISION = '20170909'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -466,6 +466,7 @@ module Google
|
|||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Next ID: 18
|
||||
# LINT.IfChange
|
||||
# Corresponds to the JSON property `defaultVersion`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
attr_accessor :default_version
|
||||
|
@ -558,6 +559,7 @@ module Google
|
|||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Next ID: 18
|
||||
# LINT.IfChange
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
|
||||
attr_accessor :version
|
||||
|
@ -1214,6 +1216,7 @@ module Google
|
|||
# [projects.models.versions.list](/ml-engine/reference/rest/v1/projects.models.
|
||||
# versions/list).
|
||||
# Next ID: 18
|
||||
# LINT.IfChange
|
||||
class GoogleCloudMlV1Version
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/people/
|
||||
module PeopleV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170829'
|
||||
REVISION = '20170909'
|
||||
|
||||
# Manage your contacts
|
||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||
|
|
|
@ -1726,6 +1726,13 @@ module Google
|
|||
class Photo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# True if the photo is a default photo;
|
||||
# false if the photo is a user-provided photo.
|
||||
# Corresponds to the JSON property `default`
|
||||
# @return [Boolean]
|
||||
attr_accessor :default
|
||||
alias_method :default?, :default
|
||||
|
||||
# Metadata about a field.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
||||
|
@ -1745,6 +1752,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@default = args[:default] if args.key?(:default)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@url = args[:url] if args.key?(:url)
|
||||
end
|
||||
|
|
|
@ -763,6 +763,7 @@ module Google
|
|||
class Photo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :default, as: 'default'
|
||||
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
||||
|
||||
property :url, as: 'url'
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/testing_v1/service.rb'
|
||||
require 'google/apis/testing_v1/classes.rb'
|
||||
require 'google/apis/testing_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Testing API
|
||||
#
|
||||
# Allows developers to run automated tests for their mobile applications on
|
||||
# Google infrastructure.
|
||||
#
|
||||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170905'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
# View your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
||||
end
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,688 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'date'
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module TestingV1
|
||||
|
||||
class Account
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidDevice
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidDeviceCatalog
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidDeviceList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidInstrumentationTest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidMatrix
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidModel
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidRoboTest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidRuntimeConfiguration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidTestLoop
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidVersion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CancelTestMatrixResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClientInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClientInfoDetail
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Date
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeviceFile
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Distribution
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Environment
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EnvironmentMatrix
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EnvironmentVariable
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FileReference
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAuto
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleCloudStorage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Locale
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NetworkConfiguration
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NetworkConfigurationCatalog
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ObbFile
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Orientation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResultStorage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RoboDirective
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestDetails
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestEnvironmentCatalog
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestExecution
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestMatrix
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestSetup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestSpecification
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ToolResultsExecution
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ToolResultsHistory
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ToolResultsStep
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TrafficRule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Account
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :google_auto, as: 'googleAuto', class: Google::Apis::TestingV1::GoogleAuto, decorator: Google::Apis::TestingV1::GoogleAuto::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidDevice
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_model_id, as: 'androidModelId'
|
||||
property :android_version_id, as: 'androidVersionId'
|
||||
property :locale, as: 'locale'
|
||||
property :orientation, as: 'orientation'
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidDeviceCatalog
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :models, as: 'models', class: Google::Apis::TestingV1::AndroidModel, decorator: Google::Apis::TestingV1::AndroidModel::Representation
|
||||
|
||||
property :runtime_configuration, as: 'runtimeConfiguration', class: Google::Apis::TestingV1::AndroidRuntimeConfiguration, decorator: Google::Apis::TestingV1::AndroidRuntimeConfiguration::Representation
|
||||
|
||||
collection :versions, as: 'versions', class: Google::Apis::TestingV1::AndroidVersion, decorator: Google::Apis::TestingV1::AndroidVersion::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidDeviceList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :android_devices, as: 'androidDevices', class: Google::Apis::TestingV1::AndroidDevice, decorator: Google::Apis::TestingV1::AndroidDevice::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidInstrumentationTest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :app_apk, as: 'appApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :app_package_id, as: 'appPackageId'
|
||||
property :orchestrator_option, as: 'orchestratorOption'
|
||||
property :test_apk, as: 'testApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :test_package_id, as: 'testPackageId'
|
||||
property :test_runner_class, as: 'testRunnerClass'
|
||||
collection :test_targets, as: 'testTargets'
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidMatrix
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :android_model_ids, as: 'androidModelIds'
|
||||
collection :android_version_ids, as: 'androidVersionIds'
|
||||
collection :locales, as: 'locales'
|
||||
collection :orientations, as: 'orientations'
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidModel
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :brand, as: 'brand'
|
||||
property :codename, as: 'codename'
|
||||
property :form, as: 'form'
|
||||
property :id, as: 'id'
|
||||
property :manufacturer, as: 'manufacturer'
|
||||
property :name, as: 'name'
|
||||
property :screen_density, as: 'screenDensity'
|
||||
property :screen_x, as: 'screenX'
|
||||
property :screen_y, as: 'screenY'
|
||||
collection :supported_abis, as: 'supportedAbis'
|
||||
collection :supported_version_ids, as: 'supportedVersionIds'
|
||||
collection :tags, as: 'tags'
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidRoboTest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :app_apk, as: 'appApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :app_initial_activity, as: 'appInitialActivity'
|
||||
property :app_package_id, as: 'appPackageId'
|
||||
property :max_depth, as: 'maxDepth'
|
||||
property :max_steps, as: 'maxSteps'
|
||||
collection :robo_directives, as: 'roboDirectives', class: Google::Apis::TestingV1::RoboDirective, decorator: Google::Apis::TestingV1::RoboDirective::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidRuntimeConfiguration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :locales, as: 'locales', class: Google::Apis::TestingV1::Locale, decorator: Google::Apis::TestingV1::Locale::Representation
|
||||
|
||||
collection :orientations, as: 'orientations', class: Google::Apis::TestingV1::Orientation, decorator: Google::Apis::TestingV1::Orientation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidTestLoop
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :app_apk, as: 'appApk', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :app_package_id, as: 'appPackageId'
|
||||
collection :scenario_labels, as: 'scenarioLabels'
|
||||
collection :scenarios, as: 'scenarios'
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :api_level, as: 'apiLevel'
|
||||
property :code_name, as: 'codeName'
|
||||
property :distribution, as: 'distribution', class: Google::Apis::TestingV1::Distribution, decorator: Google::Apis::TestingV1::Distribution::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :release_date, as: 'releaseDate', class: Google::Apis::TestingV1::Date, decorator: Google::Apis::TestingV1::Date::Representation
|
||||
|
||||
collection :tags, as: 'tags'
|
||||
property :version_string, as: 'versionString'
|
||||
end
|
||||
end
|
||||
|
||||
class CancelTestMatrixResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :test_state, as: 'testState'
|
||||
end
|
||||
end
|
||||
|
||||
class ClientInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :client_info_details, as: 'clientInfoDetails', class: Google::Apis::TestingV1::ClientInfoDetail, decorator: Google::Apis::TestingV1::ClientInfoDetail::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class ClientInfoDetail
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class Date
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :day, as: 'day'
|
||||
property :month, as: 'month'
|
||||
property :year, as: 'year'
|
||||
end
|
||||
end
|
||||
|
||||
class DeviceFile
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :obb_file, as: 'obbFile', class: Google::Apis::TestingV1::ObbFile, decorator: Google::Apis::TestingV1::ObbFile::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Distribution
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :market_share, as: 'marketShare'
|
||||
property :measurement_time, as: 'measurementTime'
|
||||
end
|
||||
end
|
||||
|
||||
class Environment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_device, as: 'androidDevice', class: Google::Apis::TestingV1::AndroidDevice, decorator: Google::Apis::TestingV1::AndroidDevice::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class EnvironmentMatrix
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_device_list, as: 'androidDeviceList', class: Google::Apis::TestingV1::AndroidDeviceList, decorator: Google::Apis::TestingV1::AndroidDeviceList::Representation
|
||||
|
||||
property :android_matrix, as: 'androidMatrix', class: Google::Apis::TestingV1::AndroidMatrix, decorator: Google::Apis::TestingV1::AndroidMatrix::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class EnvironmentVariable
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
|
||||
class FileReference
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :gcs_path, as: 'gcsPath'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAuto
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleCloudStorage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :gcs_path, as: 'gcsPath'
|
||||
end
|
||||
end
|
||||
|
||||
class Locale
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
property :region, as: 'region'
|
||||
collection :tags, as: 'tags'
|
||||
end
|
||||
end
|
||||
|
||||
class NetworkConfiguration
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :down_rule, as: 'downRule', class: Google::Apis::TestingV1::TrafficRule, decorator: Google::Apis::TestingV1::TrafficRule::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :up_rule, as: 'upRule', class: Google::Apis::TestingV1::TrafficRule, decorator: Google::Apis::TestingV1::TrafficRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class NetworkConfigurationCatalog
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :configurations, as: 'configurations', class: Google::Apis::TestingV1::NetworkConfiguration, decorator: Google::Apis::TestingV1::NetworkConfiguration::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ObbFile
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :obb, as: 'obb', class: Google::Apis::TestingV1::FileReference, decorator: Google::Apis::TestingV1::FileReference::Representation
|
||||
|
||||
property :obb_file_name, as: 'obbFileName'
|
||||
end
|
||||
end
|
||||
|
||||
class Orientation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :name, as: 'name'
|
||||
collection :tags, as: 'tags'
|
||||
end
|
||||
end
|
||||
|
||||
class ResultStorage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :google_cloud_storage, as: 'googleCloudStorage', class: Google::Apis::TestingV1::GoogleCloudStorage, decorator: Google::Apis::TestingV1::GoogleCloudStorage::Representation
|
||||
|
||||
property :tool_results_execution, as: 'toolResultsExecution', class: Google::Apis::TestingV1::ToolResultsExecution, decorator: Google::Apis::TestingV1::ToolResultsExecution::Representation
|
||||
|
||||
property :tool_results_history, as: 'toolResultsHistory', class: Google::Apis::TestingV1::ToolResultsHistory, decorator: Google::Apis::TestingV1::ToolResultsHistory::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class RoboDirective
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :action_type, as: 'actionType'
|
||||
property :input_text, as: 'inputText'
|
||||
property :resource_name, as: 'resourceName'
|
||||
end
|
||||
end
|
||||
|
||||
class TestDetails
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :error_message, as: 'errorMessage'
|
||||
collection :progress_messages, as: 'progressMessages'
|
||||
end
|
||||
end
|
||||
|
||||
class TestEnvironmentCatalog
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_device_catalog, as: 'androidDeviceCatalog', class: Google::Apis::TestingV1::AndroidDeviceCatalog, decorator: Google::Apis::TestingV1::AndroidDeviceCatalog::Representation
|
||||
|
||||
property :network_configuration_catalog, as: 'networkConfigurationCatalog', class: Google::Apis::TestingV1::NetworkConfigurationCatalog, decorator: Google::Apis::TestingV1::NetworkConfigurationCatalog::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class TestExecution
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :environment, as: 'environment', class: Google::Apis::TestingV1::Environment, decorator: Google::Apis::TestingV1::Environment::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :matrix_id, as: 'matrixId'
|
||||
property :project_id, as: 'projectId'
|
||||
property :state, as: 'state'
|
||||
property :test_details, as: 'testDetails', class: Google::Apis::TestingV1::TestDetails, decorator: Google::Apis::TestingV1::TestDetails::Representation
|
||||
|
||||
property :test_specification, as: 'testSpecification', class: Google::Apis::TestingV1::TestSpecification, decorator: Google::Apis::TestingV1::TestSpecification::Representation
|
||||
|
||||
property :timestamp, as: 'timestamp'
|
||||
property :tool_results_step, as: 'toolResultsStep', class: Google::Apis::TestingV1::ToolResultsStep, decorator: Google::Apis::TestingV1::ToolResultsStep::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class TestMatrix
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :client_info, as: 'clientInfo', class: Google::Apis::TestingV1::ClientInfo, decorator: Google::Apis::TestingV1::ClientInfo::Representation
|
||||
|
||||
property :environment_matrix, as: 'environmentMatrix', class: Google::Apis::TestingV1::EnvironmentMatrix, decorator: Google::Apis::TestingV1::EnvironmentMatrix::Representation
|
||||
|
||||
property :invalid_matrix_details, as: 'invalidMatrixDetails'
|
||||
property :project_id, as: 'projectId'
|
||||
property :result_storage, as: 'resultStorage', class: Google::Apis::TestingV1::ResultStorage, decorator: Google::Apis::TestingV1::ResultStorage::Representation
|
||||
|
||||
property :state, as: 'state'
|
||||
collection :test_executions, as: 'testExecutions', class: Google::Apis::TestingV1::TestExecution, decorator: Google::Apis::TestingV1::TestExecution::Representation
|
||||
|
||||
property :test_matrix_id, as: 'testMatrixId'
|
||||
property :test_specification, as: 'testSpecification', class: Google::Apis::TestingV1::TestSpecification, decorator: Google::Apis::TestingV1::TestSpecification::Representation
|
||||
|
||||
property :timestamp, as: 'timestamp'
|
||||
end
|
||||
end
|
||||
|
||||
class TestSetup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account, as: 'account', class: Google::Apis::TestingV1::Account, decorator: Google::Apis::TestingV1::Account::Representation
|
||||
|
||||
collection :directories_to_pull, as: 'directoriesToPull'
|
||||
collection :environment_variables, as: 'environmentVariables', class: Google::Apis::TestingV1::EnvironmentVariable, decorator: Google::Apis::TestingV1::EnvironmentVariable::Representation
|
||||
|
||||
collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation
|
||||
|
||||
property :network_profile, as: 'networkProfile'
|
||||
end
|
||||
end
|
||||
|
||||
class TestSpecification
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_instrumentation_test, as: 'androidInstrumentationTest', class: Google::Apis::TestingV1::AndroidInstrumentationTest, decorator: Google::Apis::TestingV1::AndroidInstrumentationTest::Representation
|
||||
|
||||
property :android_robo_test, as: 'androidRoboTest', class: Google::Apis::TestingV1::AndroidRoboTest, decorator: Google::Apis::TestingV1::AndroidRoboTest::Representation
|
||||
|
||||
property :android_test_loop, as: 'androidTestLoop', class: Google::Apis::TestingV1::AndroidTestLoop, decorator: Google::Apis::TestingV1::AndroidTestLoop::Representation
|
||||
|
||||
property :auto_google_login, as: 'autoGoogleLogin'
|
||||
property :disable_performance_metrics, as: 'disablePerformanceMetrics'
|
||||
property :disable_video_recording, as: 'disableVideoRecording'
|
||||
property :test_setup, as: 'testSetup', class: Google::Apis::TestingV1::TestSetup, decorator: Google::Apis::TestingV1::TestSetup::Representation
|
||||
|
||||
property :test_timeout, as: 'testTimeout'
|
||||
end
|
||||
end
|
||||
|
||||
class ToolResultsExecution
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :execution_id, as: 'executionId'
|
||||
property :history_id, as: 'historyId'
|
||||
property :project_id, as: 'projectId'
|
||||
end
|
||||
end
|
||||
|
||||
class ToolResultsHistory
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :history_id, as: 'historyId'
|
||||
property :project_id, as: 'projectId'
|
||||
end
|
||||
end
|
||||
|
||||
class ToolResultsStep
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :execution_id, as: 'executionId'
|
||||
property :history_id, as: 'historyId'
|
||||
property :project_id, as: 'projectId'
|
||||
property :step_id, as: 'stepId'
|
||||
end
|
||||
end
|
||||
|
||||
class TrafficRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bandwidth, as: 'bandwidth'
|
||||
property :burst, as: 'burst'
|
||||
property :delay, as: 'delay'
|
||||
property :packet_duplication_ratio, as: 'packetDuplicationRatio'
|
||||
property :packet_loss_ratio, as: 'packetLossRatio'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,221 @@
|
|||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module TestingV1
|
||||
# Google Cloud Testing API
|
||||
#
|
||||
# Allows developers to run automated tests for their mobile applications on
|
||||
# Google infrastructure.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/testing_v1'
|
||||
#
|
||||
# Testing = Google::Apis::TestingV1 # Alias the module
|
||||
# service = Testing::TestingService.new
|
||||
#
|
||||
# @see https://developers.google.com/cloud-test-lab/
|
||||
class TestingService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://testing.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Cancels unfinished test executions in a test matrix.
|
||||
# This call returns immediately and cancellation proceeds asychronously.
|
||||
# If the matrix is already final, this operation will have no effect.
|
||||
# May return any of the following canonical error codes:
|
||||
# - PERMISSION_DENIED - if the user is not authorized to read project
|
||||
# - INVALID_ARGUMENT - if the request is malformed
|
||||
# - NOT_FOUND - if the Test Matrix does not exist
|
||||
# @param [String] project_id
|
||||
# Cloud project that owns the test.
|
||||
# @param [String] test_matrix_id
|
||||
# Test matrix that will be canceled.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TestingV1::CancelTestMatrixResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TestingV1::CancelTestMatrixResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def cancel_project_test_matrix(project_id, test_matrix_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel', options)
|
||||
command.response_representation = Google::Apis::TestingV1::CancelTestMatrixResponse::Representation
|
||||
command.response_class = Google::Apis::TestingV1::CancelTestMatrixResponse
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.params['testMatrixId'] = test_matrix_id unless test_matrix_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Request to run a matrix of tests according to the given specifications.
|
||||
# Unsupported environments will be returned in the state UNSUPPORTED.
|
||||
# Matrices are limited to at most 200 supported executions.
|
||||
# May return any of the following canonical error codes:
|
||||
# - PERMISSION_DENIED - if the user is not authorized to write to project
|
||||
# - INVALID_ARGUMENT - if the request is malformed or if the matrix expands
|
||||
# to more than 200 supported executions
|
||||
# @param [String] project_id
|
||||
# The GCE project under which this job will run.
|
||||
# @param [Google::Apis::TestingV1::TestMatrix] test_matrix_object
|
||||
# @param [String] request_id
|
||||
# A string id used to detect duplicated requests.
|
||||
# Ids are automatically scoped to a project, so
|
||||
# users should ensure the ID is unique per-project.
|
||||
# A UUID is recommended.
|
||||
# Optional, but strongly recommended.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TestingV1::TestMatrix] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TestingV1::TestMatrix]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_project_test_matrix(project_id, test_matrix_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/projects/{projectId}/testMatrices', options)
|
||||
command.request_representation = Google::Apis::TestingV1::TestMatrix::Representation
|
||||
command.request_object = test_matrix_object
|
||||
command.response_representation = Google::Apis::TestingV1::TestMatrix::Representation
|
||||
command.response_class = Google::Apis::TestingV1::TestMatrix
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Check the status of a test matrix.
|
||||
# May return any of the following canonical error codes:
|
||||
# - PERMISSION_DENIED - if the user is not authorized to read project
|
||||
# - INVALID_ARGUMENT - if the request is malformed
|
||||
# - NOT_FOUND - if the Test Matrix does not exist
|
||||
# @param [String] project_id
|
||||
# Cloud project that owns the test matrix.
|
||||
# @param [String] test_matrix_id
|
||||
# Unique test matrix id which was assigned by the service.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TestingV1::TestMatrix] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TestingV1::TestMatrix]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_test_matrix(project_id, test_matrix_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/projects/{projectId}/testMatrices/{testMatrixId}', options)
|
||||
command.response_representation = Google::Apis::TestingV1::TestMatrix::Representation
|
||||
command.response_class = Google::Apis::TestingV1::TestMatrix
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.params['testMatrixId'] = test_matrix_id unless test_matrix_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Get the catalog of supported test environments.
|
||||
# May return any of the following canonical error codes:
|
||||
# - INVALID_ARGUMENT - if the request is malformed
|
||||
# - NOT_FOUND - if the environment type does not exist
|
||||
# - INTERNAL - if an internal error occurred
|
||||
# @param [String] environment_type
|
||||
# The type of environment that should be listed.
|
||||
# Required
|
||||
# @param [String] project_id
|
||||
# For authorization, the cloud project requesting the TestEnvironmentCatalog.
|
||||
# Optional
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TestingV1::TestEnvironmentCatalog] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TestingV1::TestEnvironmentCatalog]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_test_environment_catalog(environment_type, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/testEnvironmentCatalog/{environmentType}', options)
|
||||
command.response_representation = Google::Apis::TestingV1::TestEnvironmentCatalog::Representation
|
||||
command.response_class = Google::Apis::TestingV1::TestEnvironmentCatalog
|
||||
command.params['environmentType'] = environment_type unless environment_type.nil?
|
||||
command.query['projectId'] = project_id unless project_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/test-lab/
|
||||
module ToolresultsV1beta3
|
||||
VERSION = 'V1beta3'
|
||||
REVISION = '20170906'
|
||||
REVISION = '20170911'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
|
||||
@batch_path = 'batch/toolresults/v1beta3'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Gets the Tool Results settings for a project.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/test-lab/
|
||||
module ToolresultsV1beta3firstparty
|
||||
VERSION = 'V1beta3firstparty'
|
||||
REVISION = '20170906'
|
||||
REVISION = '20170911'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'toolresults/v1beta3firstparty/projects/')
|
||||
@batch_path = 'batch/toolresults/v1beta3firstparty'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Gets the Tool Results settings for a project.
|
||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
|||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', 'youtube/partner/v1/')
|
||||
@batch_path = 'batch/youtubePartner/v1'
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Insert an asset label for an owner.
|
||||
|
|
Loading…
Reference in New Issue