Autogenerated update (2018-02-13)

Update:
- androidmanagement_v1
- slides_v1
This commit is contained in:
Google APIs 2018-02-13 00:35:58 +00:00
parent 6f96104e4f
commit 7d31a91417
11 changed files with 5995 additions and 10 deletions

View File

@ -6111,10 +6111,13 @@
"/androidmanagement:v1/ApplicationPermission/permissionId": permission_id
"/androidmanagement:v1/ApplicationPolicy": application_policy
"/androidmanagement:v1/ApplicationPolicy/defaultPermissionPolicy": default_permission_policy
"/androidmanagement:v1/ApplicationPolicy/delegatedScopes": delegated_scopes
"/androidmanagement:v1/ApplicationPolicy/delegatedScopes/delegated_scope": delegated_scope
"/androidmanagement:v1/ApplicationPolicy/installType": install_type
"/androidmanagement:v1/ApplicationPolicy/lockTaskAllowed": lock_task_allowed
"/androidmanagement:v1/ApplicationPolicy/managedConfiguration": managed_configuration
"/androidmanagement:v1/ApplicationPolicy/managedConfiguration/managed_configuration": managed_configuration
"/androidmanagement:v1/ApplicationPolicy/minimumVersionCode": minimum_version_code
"/androidmanagement:v1/ApplicationPolicy/packageName": package_name
"/androidmanagement:v1/ApplicationPolicy/permissionGrants": permission_grants
"/androidmanagement:v1/ApplicationPolicy/permissionGrants/permission_grant": permission_grant
@ -6171,6 +6174,7 @@
"/androidmanagement:v1/DeviceSettings/isDeviceSecure": is_device_secure
"/androidmanagement:v1/DeviceSettings/isEncrypted": is_encrypted
"/androidmanagement:v1/DeviceSettings/unknownSourcesEnabled": unknown_sources_enabled
"/androidmanagement:v1/DeviceSettings/verifyAppsEnabled": verify_apps_enabled
"/androidmanagement:v1/Display": display_prop
"/androidmanagement:v1/Display/density": density
"/androidmanagement:v1/Display/displayId": display_id
@ -6272,6 +6276,7 @@
"/androidmanagement:v1/NetworkInfo": network_info
"/androidmanagement:v1/NetworkInfo/imei": imei
"/androidmanagement:v1/NetworkInfo/meid": meid
"/androidmanagement:v1/NetworkInfo/networkOperatorName": network_operator_name
"/androidmanagement:v1/NetworkInfo/wifiMacAddress": wifi_mac_address
"/androidmanagement:v1/NonComplianceDetail": non_compliance_detail
"/androidmanagement:v1/NonComplianceDetail/currentValue": current_value
@ -6322,6 +6327,8 @@
"/androidmanagement:v1/Policy/addUserDisabled": add_user_disabled
"/androidmanagement:v1/Policy/adjustVolumeDisabled": adjust_volume_disabled
"/androidmanagement:v1/Policy/alwaysOnVpnPackage": always_on_vpn_package
"/androidmanagement:v1/Policy/androidDevicePolicyTracks": android_device_policy_tracks
"/androidmanagement:v1/Policy/androidDevicePolicyTracks/android_device_policy_track": android_device_policy_track
"/androidmanagement:v1/Policy/applications": applications
"/androidmanagement:v1/Policy/applications/application": application
"/androidmanagement:v1/Policy/autoTimeRequired": auto_time_required
@ -6406,6 +6413,7 @@
"/androidmanagement:v1/SoftwareInfo/androidDevicePolicyVersionName": android_device_policy_version_name
"/androidmanagement:v1/SoftwareInfo/androidVersion": android_version
"/androidmanagement:v1/SoftwareInfo/bootloaderVersion": bootloader_version
"/androidmanagement:v1/SoftwareInfo/deviceBuildSignature": device_build_signature
"/androidmanagement:v1/SoftwareInfo/deviceKernelVersion": device_kernel_version
"/androidmanagement:v1/SoftwareInfo/securityPatchLevel": security_patch_level
"/androidmanagement:v1/Status": status
@ -60676,6 +60684,417 @@
"/servicemanagement:v1/servicemanagement.services.testIamPermissions/resource": resource
"/servicemanagement:v1/servicemanagement.services.undelete": undelete_service
"/servicemanagement:v1/servicemanagement.services.undelete/serviceName": service_name
"/serviceusage:v1/Api": api
"/serviceusage:v1/Api/methods": methods_prop
"/serviceusage:v1/Api/methods/methods_prop": methods_prop
"/serviceusage:v1/Api/mixins": mixins
"/serviceusage:v1/Api/mixins/mixin": mixin
"/serviceusage:v1/Api/name": name
"/serviceusage:v1/Api/options": options
"/serviceusage:v1/Api/options/option": option
"/serviceusage:v1/Api/sourceContext": source_context
"/serviceusage:v1/Api/syntax": syntax
"/serviceusage:v1/Api/version": version
"/serviceusage:v1/AuthProvider": auth_provider
"/serviceusage:v1/AuthProvider/audiences": audiences
"/serviceusage:v1/AuthProvider/authorizationUrl": authorization_url
"/serviceusage:v1/AuthProvider/id": id
"/serviceusage:v1/AuthProvider/issuer": issuer
"/serviceusage:v1/AuthProvider/jwksUri": jwks_uri
"/serviceusage:v1/AuthRequirement": auth_requirement
"/serviceusage:v1/AuthRequirement/audiences": audiences
"/serviceusage:v1/AuthRequirement/providerId": provider_id
"/serviceusage:v1/Authentication": authentication
"/serviceusage:v1/Authentication/providers": providers
"/serviceusage:v1/Authentication/providers/provider": provider
"/serviceusage:v1/Authentication/rules": rules
"/serviceusage:v1/Authentication/rules/rule": rule
"/serviceusage:v1/AuthenticationRule": authentication_rule
"/serviceusage:v1/AuthenticationRule/allowWithoutCredential": allow_without_credential
"/serviceusage:v1/AuthenticationRule/customAuth": custom_auth
"/serviceusage:v1/AuthenticationRule/oauth": oauth
"/serviceusage:v1/AuthenticationRule/requirements": requirements
"/serviceusage:v1/AuthenticationRule/requirements/requirement": requirement
"/serviceusage:v1/AuthenticationRule/selector": selector
"/serviceusage:v1/AuthorizationConfig": authorization_config
"/serviceusage:v1/AuthorizationConfig/provider": provider
"/serviceusage:v1/AuthorizationRule": authorization_rule
"/serviceusage:v1/AuthorizationRule/permissions": permissions
"/serviceusage:v1/AuthorizationRule/selector": selector
"/serviceusage:v1/Backend": backend
"/serviceusage:v1/Backend/rules": rules
"/serviceusage:v1/Backend/rules/rule": rule
"/serviceusage:v1/BackendRule": backend_rule
"/serviceusage:v1/BackendRule/address": address
"/serviceusage:v1/BackendRule/deadline": deadline
"/serviceusage:v1/BackendRule/minDeadline": min_deadline
"/serviceusage:v1/BackendRule/selector": selector
"/serviceusage:v1/Billing": billing
"/serviceusage:v1/Billing/consumerDestinations": consumer_destinations
"/serviceusage:v1/Billing/consumerDestinations/consumer_destination": consumer_destination
"/serviceusage:v1/BillingDestination": billing_destination
"/serviceusage:v1/BillingDestination/metrics": metrics
"/serviceusage:v1/BillingDestination/metrics/metric": metric
"/serviceusage:v1/BillingDestination/monitoredResource": monitored_resource
"/serviceusage:v1/CancelOperationRequest": cancel_operation_request
"/serviceusage:v1/Context": context
"/serviceusage:v1/Context/rules": rules
"/serviceusage:v1/Context/rules/rule": rule
"/serviceusage:v1/ContextRule": context_rule
"/serviceusage:v1/ContextRule/allowedRequestExtensions": allowed_request_extensions
"/serviceusage:v1/ContextRule/allowedRequestExtensions/allowed_request_extension": allowed_request_extension
"/serviceusage:v1/ContextRule/allowedResponseExtensions": allowed_response_extensions
"/serviceusage:v1/ContextRule/allowedResponseExtensions/allowed_response_extension": allowed_response_extension
"/serviceusage:v1/ContextRule/provided": provided
"/serviceusage:v1/ContextRule/provided/provided": provided
"/serviceusage:v1/ContextRule/requested": requested
"/serviceusage:v1/ContextRule/requested/requested": requested
"/serviceusage:v1/ContextRule/selector": selector
"/serviceusage:v1/Control": control
"/serviceusage:v1/Control/environment": environment
"/serviceusage:v1/CustomAuthRequirements": custom_auth_requirements
"/serviceusage:v1/CustomAuthRequirements/provider": provider
"/serviceusage:v1/CustomError": custom_error
"/serviceusage:v1/CustomError/rules": rules
"/serviceusage:v1/CustomError/rules/rule": rule
"/serviceusage:v1/CustomError/types": types
"/serviceusage:v1/CustomError/types/type": type
"/serviceusage:v1/CustomErrorRule": custom_error_rule
"/serviceusage:v1/CustomErrorRule/isErrorType": is_error_type
"/serviceusage:v1/CustomErrorRule/selector": selector
"/serviceusage:v1/CustomHttpPattern": custom_http_pattern
"/serviceusage:v1/CustomHttpPattern/kind": kind
"/serviceusage:v1/CustomHttpPattern/path": path
"/serviceusage:v1/DisableServiceRequest": disable_service_request
"/serviceusage:v1/Documentation": documentation
"/serviceusage:v1/Documentation/documentationRootUrl": documentation_root_url
"/serviceusage:v1/Documentation/overview": overview
"/serviceusage:v1/Documentation/pages": pages
"/serviceusage:v1/Documentation/pages/page": page
"/serviceusage:v1/Documentation/rules": rules
"/serviceusage:v1/Documentation/rules/rule": rule
"/serviceusage:v1/Documentation/summary": summary
"/serviceusage:v1/DocumentationRule": documentation_rule
"/serviceusage:v1/DocumentationRule/deprecationDescription": deprecation_description
"/serviceusage:v1/DocumentationRule/description": description
"/serviceusage:v1/DocumentationRule/selector": selector
"/serviceusage:v1/Empty": empty
"/serviceusage:v1/EnableServiceRequest": enable_service_request
"/serviceusage:v1/EnabledState": enabled_state
"/serviceusage:v1/EnabledState/state": state
"/serviceusage:v1/Endpoint": endpoint
"/serviceusage:v1/Endpoint/aliases": aliases
"/serviceusage:v1/Endpoint/aliases/alias": alias
"/serviceusage:v1/Endpoint/allowCors": allow_cors
"/serviceusage:v1/Endpoint/features": features
"/serviceusage:v1/Endpoint/features/feature": feature
"/serviceusage:v1/Endpoint/name": name
"/serviceusage:v1/Endpoint/target": target
"/serviceusage:v1/Enum": enum
"/serviceusage:v1/Enum/enumvalue": enumvalue
"/serviceusage:v1/Enum/enumvalue/enumvalue": enumvalue
"/serviceusage:v1/Enum/name": name
"/serviceusage:v1/Enum/options": options
"/serviceusage:v1/Enum/options/option": option
"/serviceusage:v1/Enum/sourceContext": source_context
"/serviceusage:v1/Enum/syntax": syntax
"/serviceusage:v1/EnumValue": enum_value
"/serviceusage:v1/EnumValue/name": name
"/serviceusage:v1/EnumValue/number": number
"/serviceusage:v1/EnumValue/options": options
"/serviceusage:v1/EnumValue/options/option": option
"/serviceusage:v1/Experimental": experimental
"/serviceusage:v1/Experimental/authorization": authorization
"/serviceusage:v1/Field": field
"/serviceusage:v1/Field/cardinality": cardinality
"/serviceusage:v1/Field/defaultValue": default_value
"/serviceusage:v1/Field/jsonName": json_name
"/serviceusage:v1/Field/kind": kind
"/serviceusage:v1/Field/name": name
"/serviceusage:v1/Field/number": number
"/serviceusage:v1/Field/oneofIndex": oneof_index
"/serviceusage:v1/Field/options": options
"/serviceusage:v1/Field/options/option": option
"/serviceusage:v1/Field/packed": packed
"/serviceusage:v1/Field/typeUrl": type_url
"/serviceusage:v1/GoogleApiService": google_api_service
"/serviceusage:v1/GoogleApiService/apis": apis
"/serviceusage:v1/GoogleApiService/apis/api": api
"/serviceusage:v1/GoogleApiService/authentication": authentication
"/serviceusage:v1/GoogleApiService/backend": backend
"/serviceusage:v1/GoogleApiService/billing": billing
"/serviceusage:v1/GoogleApiService/configVersion": config_version
"/serviceusage:v1/GoogleApiService/context": context
"/serviceusage:v1/GoogleApiService/control": control
"/serviceusage:v1/GoogleApiService/customError": custom_error
"/serviceusage:v1/GoogleApiService/documentation": documentation
"/serviceusage:v1/GoogleApiService/endpoints": endpoints
"/serviceusage:v1/GoogleApiService/endpoints/endpoint": endpoint
"/serviceusage:v1/GoogleApiService/enums": enums
"/serviceusage:v1/GoogleApiService/enums/enum": enum
"/serviceusage:v1/GoogleApiService/experimental": experimental
"/serviceusage:v1/GoogleApiService/http": http
"/serviceusage:v1/GoogleApiService/id": id
"/serviceusage:v1/GoogleApiService/logging": logging
"/serviceusage:v1/GoogleApiService/logs": logs
"/serviceusage:v1/GoogleApiService/logs/log": log
"/serviceusage:v1/GoogleApiService/metrics": metrics
"/serviceusage:v1/GoogleApiService/metrics/metric": metric
"/serviceusage:v1/GoogleApiService/monitoredResources": monitored_resources
"/serviceusage:v1/GoogleApiService/monitoredResources/monitored_resource": monitored_resource
"/serviceusage:v1/GoogleApiService/monitoring": monitoring
"/serviceusage:v1/GoogleApiService/name": name
"/serviceusage:v1/GoogleApiService/producerProjectId": producer_project_id
"/serviceusage:v1/GoogleApiService/quota": quota
"/serviceusage:v1/GoogleApiService/sourceInfo": source_info
"/serviceusage:v1/GoogleApiService/systemParameters": system_parameters
"/serviceusage:v1/GoogleApiService/systemTypes": system_types
"/serviceusage:v1/GoogleApiService/systemTypes/system_type": system_type
"/serviceusage:v1/GoogleApiService/title": title
"/serviceusage:v1/GoogleApiService/types": types
"/serviceusage:v1/GoogleApiService/types/type": type
"/serviceusage:v1/GoogleApiService/usage": usage
"/serviceusage:v1/GoogleApiService/visibility": visibility
"/serviceusage:v1/Http": http
"/serviceusage:v1/Http/fullyDecodeReservedExpansion": fully_decode_reserved_expansion
"/serviceusage:v1/Http/rules": rules
"/serviceusage:v1/Http/rules/rule": rule
"/serviceusage:v1/HttpRule": http_rule
"/serviceusage:v1/HttpRule/additionalBindings": additional_bindings
"/serviceusage:v1/HttpRule/additionalBindings/additional_binding": additional_binding
"/serviceusage:v1/HttpRule/authorizations": authorizations
"/serviceusage:v1/HttpRule/authorizations/authorization": authorization
"/serviceusage:v1/HttpRule/body": body
"/serviceusage:v1/HttpRule/custom": custom
"/serviceusage:v1/HttpRule/delete": delete
"/serviceusage:v1/HttpRule/get": get
"/serviceusage:v1/HttpRule/mediaDownload": media_download
"/serviceusage:v1/HttpRule/mediaUpload": media_upload
"/serviceusage:v1/HttpRule/patch": patch
"/serviceusage:v1/HttpRule/post": post
"/serviceusage:v1/HttpRule/put": put
"/serviceusage:v1/HttpRule/restCollection": rest_collection
"/serviceusage:v1/HttpRule/restMethodName": rest_method_name
"/serviceusage:v1/HttpRule/selector": selector
"/serviceusage:v1/LabelDescriptor": label_descriptor
"/serviceusage:v1/LabelDescriptor/description": description
"/serviceusage:v1/LabelDescriptor/key": key
"/serviceusage:v1/LabelDescriptor/valueType": value_type
"/serviceusage:v1/ListEnabledServicesResponse": list_enabled_services_response
"/serviceusage:v1/ListEnabledServicesResponse/nextPageToken": next_page_token
"/serviceusage:v1/ListEnabledServicesResponse/services": services
"/serviceusage:v1/ListEnabledServicesResponse/services/service": service
"/serviceusage:v1/ListOperationsResponse": list_operations_response
"/serviceusage:v1/ListOperationsResponse/nextPageToken": next_page_token
"/serviceusage:v1/ListOperationsResponse/operations": operations
"/serviceusage:v1/ListOperationsResponse/operations/operation": operation
"/serviceusage:v1/LogDescriptor": log_descriptor
"/serviceusage:v1/LogDescriptor/description": description
"/serviceusage:v1/LogDescriptor/displayName": display_name
"/serviceusage:v1/LogDescriptor/labels": labels
"/serviceusage:v1/LogDescriptor/labels/label": label
"/serviceusage:v1/LogDescriptor/name": name
"/serviceusage:v1/Logging": logging
"/serviceusage:v1/Logging/consumerDestinations": consumer_destinations
"/serviceusage:v1/Logging/consumerDestinations/consumer_destination": consumer_destination
"/serviceusage:v1/Logging/producerDestinations": producer_destinations
"/serviceusage:v1/Logging/producerDestinations/producer_destination": producer_destination
"/serviceusage:v1/LoggingDestination": logging_destination
"/serviceusage:v1/LoggingDestination/logs": logs
"/serviceusage:v1/LoggingDestination/logs/log": log
"/serviceusage:v1/LoggingDestination/monitoredResource": monitored_resource
"/serviceusage:v1/MediaDownload": media_download
"/serviceusage:v1/MediaDownload/completeNotification": complete_notification
"/serviceusage:v1/MediaDownload/downloadService": download_service
"/serviceusage:v1/MediaDownload/dropzone": dropzone
"/serviceusage:v1/MediaDownload/enabled": enabled
"/serviceusage:v1/MediaDownload/maxDirectDownloadSize": max_direct_download_size
"/serviceusage:v1/MediaDownload/useDirectDownload": use_direct_download
"/serviceusage:v1/MediaUpload": media_upload
"/serviceusage:v1/MediaUpload/completeNotification": complete_notification
"/serviceusage:v1/MediaUpload/dropzone": dropzone
"/serviceusage:v1/MediaUpload/enabled": enabled
"/serviceusage:v1/MediaUpload/maxSize": max_size
"/serviceusage:v1/MediaUpload/mimeTypes": mime_types
"/serviceusage:v1/MediaUpload/mimeTypes/mime_type": mime_type
"/serviceusage:v1/MediaUpload/progressNotification": progress_notification
"/serviceusage:v1/MediaUpload/startNotification": start_notification
"/serviceusage:v1/MediaUpload/uploadService": upload_service
"/serviceusage:v1/Method": method_prop
"/serviceusage:v1/Method/name": name
"/serviceusage:v1/Method/options": options
"/serviceusage:v1/Method/options/option": option
"/serviceusage:v1/Method/requestStreaming": request_streaming
"/serviceusage:v1/Method/requestTypeUrl": request_type_url
"/serviceusage:v1/Method/responseStreaming": response_streaming
"/serviceusage:v1/Method/responseTypeUrl": response_type_url
"/serviceusage:v1/Method/syntax": syntax
"/serviceusage:v1/MetricDescriptor": metric_descriptor
"/serviceusage:v1/MetricDescriptor/description": description
"/serviceusage:v1/MetricDescriptor/displayName": display_name
"/serviceusage:v1/MetricDescriptor/labels": labels
"/serviceusage:v1/MetricDescriptor/labels/label": label
"/serviceusage:v1/MetricDescriptor/metricKind": metric_kind
"/serviceusage:v1/MetricDescriptor/name": name
"/serviceusage:v1/MetricDescriptor/type": type
"/serviceusage:v1/MetricDescriptor/unit": unit
"/serviceusage:v1/MetricDescriptor/valueType": value_type
"/serviceusage:v1/MetricRule": metric_rule
"/serviceusage:v1/MetricRule/metricCosts": metric_costs
"/serviceusage:v1/MetricRule/metricCosts/metric_cost": metric_cost
"/serviceusage:v1/MetricRule/selector": selector
"/serviceusage:v1/Mixin": mixin
"/serviceusage:v1/Mixin/name": name
"/serviceusage:v1/Mixin/root": root
"/serviceusage:v1/MonitoredResourceDescriptor": monitored_resource_descriptor
"/serviceusage:v1/MonitoredResourceDescriptor/description": description
"/serviceusage:v1/MonitoredResourceDescriptor/displayName": display_name
"/serviceusage:v1/MonitoredResourceDescriptor/labels": labels
"/serviceusage:v1/MonitoredResourceDescriptor/labels/label": label
"/serviceusage:v1/MonitoredResourceDescriptor/name": name
"/serviceusage:v1/MonitoredResourceDescriptor/type": type
"/serviceusage:v1/Monitoring": monitoring
"/serviceusage:v1/Monitoring/consumerDestinations": consumer_destinations
"/serviceusage:v1/Monitoring/consumerDestinations/consumer_destination": consumer_destination
"/serviceusage:v1/Monitoring/producerDestinations": producer_destinations
"/serviceusage:v1/Monitoring/producerDestinations/producer_destination": producer_destination
"/serviceusage:v1/MonitoringDestination": monitoring_destination
"/serviceusage:v1/MonitoringDestination/metrics": metrics
"/serviceusage:v1/MonitoringDestination/metrics/metric": metric
"/serviceusage:v1/MonitoringDestination/monitoredResource": monitored_resource
"/serviceusage:v1/OAuthRequirements": o_auth_requirements
"/serviceusage:v1/OAuthRequirements/canonicalScopes": canonical_scopes
"/serviceusage:v1/Operation": operation
"/serviceusage:v1/Operation/done": done
"/serviceusage:v1/Operation/error": error
"/serviceusage:v1/Operation/metadata": metadata
"/serviceusage:v1/Operation/metadata/metadatum": metadatum
"/serviceusage:v1/Operation/name": name
"/serviceusage:v1/Operation/response": response
"/serviceusage:v1/Operation/response/response": response
"/serviceusage:v1/OperationMetadata": operation_metadata
"/serviceusage:v1/OperationMetadata/progressPercentage": progress_percentage
"/serviceusage:v1/OperationMetadata/resourceNames": resource_names
"/serviceusage:v1/OperationMetadata/resourceNames/resource_name": resource_name
"/serviceusage:v1/OperationMetadata/startTime": start_time
"/serviceusage:v1/OperationMetadata/steps": steps
"/serviceusage:v1/OperationMetadata/steps/step": step
"/serviceusage:v1/Option": option
"/serviceusage:v1/Option/name": name
"/serviceusage:v1/Option/value": value
"/serviceusage:v1/Option/value/value": value
"/serviceusage:v1/Page": page
"/serviceusage:v1/Page/content": content
"/serviceusage:v1/Page/name": name
"/serviceusage:v1/Page/subpages": subpages
"/serviceusage:v1/Page/subpages/subpage": subpage
"/serviceusage:v1/PublishedService": published_service
"/serviceusage:v1/PublishedService/name": name
"/serviceusage:v1/PublishedService/service": service
"/serviceusage:v1/Quota": quota
"/serviceusage:v1/Quota/limits": limits
"/serviceusage:v1/Quota/limits/limit": limit
"/serviceusage:v1/Quota/metricRules": metric_rules
"/serviceusage:v1/Quota/metricRules/metric_rule": metric_rule
"/serviceusage:v1/QuotaLimit": quota_limit
"/serviceusage:v1/QuotaLimit/defaultLimit": default_limit
"/serviceusage:v1/QuotaLimit/description": description
"/serviceusage:v1/QuotaLimit/displayName": display_name
"/serviceusage:v1/QuotaLimit/duration": duration
"/serviceusage:v1/QuotaLimit/freeTier": free_tier
"/serviceusage:v1/QuotaLimit/maxLimit": max_limit
"/serviceusage:v1/QuotaLimit/metric": metric
"/serviceusage:v1/QuotaLimit/name": name
"/serviceusage:v1/QuotaLimit/unit": unit
"/serviceusage:v1/QuotaLimit/values": values
"/serviceusage:v1/QuotaLimit/values/value": value
"/serviceusage:v1/SearchServicesResponse": search_services_response
"/serviceusage:v1/SearchServicesResponse/nextPageToken": next_page_token
"/serviceusage:v1/SearchServicesResponse/services": services
"/serviceusage:v1/SearchServicesResponse/services/service": service
"/serviceusage:v1/ServiceState": service_state
"/serviceusage:v1/ServiceState/enabled": enabled
"/serviceusage:v1/ServiceState/name": name
"/serviceusage:v1/ServiceState/service": service
"/serviceusage:v1/SourceContext": source_context
"/serviceusage:v1/SourceContext/fileName": file_name
"/serviceusage:v1/SourceInfo": source_info
"/serviceusage:v1/SourceInfo/sourceFiles": source_files
"/serviceusage:v1/SourceInfo/sourceFiles/source_file": source_file
"/serviceusage:v1/SourceInfo/sourceFiles/source_file/source_file": source_file
"/serviceusage:v1/Status": status
"/serviceusage:v1/Status/code": code
"/serviceusage:v1/Status/details": details
"/serviceusage:v1/Status/details/detail": detail
"/serviceusage:v1/Status/details/detail/detail": detail
"/serviceusage:v1/Status/message": message
"/serviceusage:v1/Step": step
"/serviceusage:v1/Step/description": description
"/serviceusage:v1/Step/status": status
"/serviceusage:v1/SystemParameter": system_parameter
"/serviceusage:v1/SystemParameter/httpHeader": http_header
"/serviceusage:v1/SystemParameter/name": name
"/serviceusage:v1/SystemParameter/urlQueryParameter": url_query_parameter
"/serviceusage:v1/SystemParameterRule": system_parameter_rule
"/serviceusage:v1/SystemParameterRule/parameters": parameters
"/serviceusage:v1/SystemParameterRule/parameters/parameter": parameter
"/serviceusage:v1/SystemParameterRule/selector": selector
"/serviceusage:v1/SystemParameters": system_parameters
"/serviceusage:v1/SystemParameters/rules": rules
"/serviceusage:v1/SystemParameters/rules/rule": rule
"/serviceusage:v1/Type": type
"/serviceusage:v1/Type/fields": fields
"/serviceusage:v1/Type/fields/field": field
"/serviceusage:v1/Type/name": name
"/serviceusage:v1/Type/oneofs": oneofs
"/serviceusage:v1/Type/oneofs/oneof": oneof
"/serviceusage:v1/Type/options": options
"/serviceusage:v1/Type/options/option": option
"/serviceusage:v1/Type/sourceContext": source_context
"/serviceusage:v1/Type/syntax": syntax
"/serviceusage:v1/Usage": usage
"/serviceusage:v1/Usage/producerNotificationChannel": producer_notification_channel
"/serviceusage:v1/Usage/requirements": requirements
"/serviceusage:v1/Usage/requirements/requirement": requirement
"/serviceusage:v1/Usage/rules": rules
"/serviceusage:v1/Usage/rules/rule": rule
"/serviceusage:v1/UsageRule": usage_rule
"/serviceusage:v1/UsageRule/allowUnregisteredCalls": allow_unregistered_calls
"/serviceusage:v1/UsageRule/selector": selector
"/serviceusage:v1/UsageRule/skipServiceControl": skip_service_control
"/serviceusage:v1/Visibility": visibility
"/serviceusage:v1/Visibility/rules": rules
"/serviceusage:v1/Visibility/rules/rule": rule
"/serviceusage:v1/VisibilityRule": visibility_rule
"/serviceusage:v1/VisibilityRule/restriction": restriction
"/serviceusage:v1/VisibilityRule/selector": selector
"/serviceusage:v1/fields": fields
"/serviceusage:v1/key": key
"/serviceusage:v1/quotaUser": quota_user
"/serviceusage:v1/serviceusage.operations.cancel": cancel_operation
"/serviceusage:v1/serviceusage.operations.cancel/name": name
"/serviceusage:v1/serviceusage.operations.delete": delete_operation
"/serviceusage:v1/serviceusage.operations.delete/name": name
"/serviceusage:v1/serviceusage.operations.get": get_operation
"/serviceusage:v1/serviceusage.operations.get/name": name
"/serviceusage:v1/serviceusage.operations.list": list_operations
"/serviceusage:v1/serviceusage.operations.list/filter": filter
"/serviceusage:v1/serviceusage.operations.list/name": name
"/serviceusage:v1/serviceusage.operations.list/pageSize": page_size
"/serviceusage:v1/serviceusage.operations.list/pageToken": page_token
"/serviceusage:v1/serviceusage.services.disable": disable_service
"/serviceusage:v1/serviceusage.services.disable/name": name
"/serviceusage:v1/serviceusage.services.enable": enable_service
"/serviceusage:v1/serviceusage.services.enable/name": name
"/serviceusage:v1/serviceusage.services.get": get_service
"/serviceusage:v1/serviceusage.services.get/name": name
"/serviceusage:v1/serviceusage.services.listEnabled": list_service_enabled
"/serviceusage:v1/serviceusage.services.listEnabled/pageSize": page_size
"/serviceusage:v1/serviceusage.services.listEnabled/pageToken": page_token
"/serviceusage:v1/serviceusage.services.listEnabled/parent": parent
"/serviceusage:v1/serviceusage.services.search": search_services
"/serviceusage:v1/serviceusage.services.search/pageSize": page_size
"/serviceusage:v1/serviceusage.services.search/pageToken": page_token
"/serviceuser:v1/Api": api
"/serviceuser:v1/Api/methods": methods_prop
"/serviceuser:v1/Api/methods/methods_prop": methods_prop
@ -62042,6 +62461,7 @@
"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id
"/slides:v1/BatchUpdatePresentationResponse/replies": replies
"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply
"/slides:v1/BatchUpdatePresentationResponse/writeControl": write_control
"/slides:v1/Bullet": bullet
"/slides:v1/Bullet/bulletStyle": bullet_style
"/slides:v1/Bullet/glyph": glyph
@ -62150,6 +62570,7 @@
"/slides:v1/Image": image
"/slides:v1/Image/contentUrl": content_url
"/slides:v1/Image/imageProperties": image_properties
"/slides:v1/Image/sourceUrl": source_url
"/slides:v1/ImageProperties": image_properties
"/slides:v1/ImageProperties/brightness": brightness
"/slides:v1/ImageProperties/contrast": contrast

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/android/management
module AndroidmanagementV1
VERSION = 'V1'
REVISION = '20180129'
REVISION = '20180207'
# Manage Android devices and apps for your customers
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'

View File

@ -152,6 +152,11 @@ module Google
# @return [String]
attr_accessor :default_permission_policy
# The scopes delegated to the app from Android Device Policy.
# Corresponds to the JSON property `delegatedScopes`
# @return [Array<String>]
attr_accessor :delegated_scopes
# The type of installation to perform.
# Corresponds to the JSON property `installType`
# @return [String]
@ -177,6 +182,16 @@ module Google
# @return [Hash<String,Object>]
attr_accessor :managed_configuration
# The minimum version of the app that runs on the device. If set, the device
# attempts to update the app to at least this version code. If the app is not up-
# to-date, the device will contain a NonComplianceDetail with
# non_compliance_reason set to APP_NOT_UPDATED. The app must already be
# published to Google Play with a version code greater than or equal to this
# value. At most 20 apps may specify a minimum version code per policy.
# Corresponds to the JSON property `minimumVersionCode`
# @return [Fixnum]
attr_accessor :minimum_version_code
# The package name of the app. For example, com.google.android.youtube for the
# YouTube app.
# Corresponds to the JSON property `packageName`
@ -196,9 +211,11 @@ module Google
# Update properties of this object
def update!(**args)
@default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
@install_type = args[:install_type] if args.key?(:install_type)
@lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
@managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code)
@package_name = args[:package_name] if args.key?(:package_name)
@permission_grants = args[:permission_grants] if args.key?(:permission_grants)
end
@ -501,13 +518,14 @@ module Google
class DeviceSettings
include Google::Apis::Core::Hashable
# If the ADB is enabled Settings.Global.ADB_ENABLED.
# Whether ADB (https://developer.android.com/studio/command-line/adb.html) is
# enabled on the device.
# Corresponds to the JSON property `adbEnabled`
# @return [Boolean]
attr_accessor :adb_enabled
alias_method :adb_enabled?, :adb_enabled
# If the developer mode is enabled Settings.Global.DEVELOPMENT_SETTINGS_ENABLED.
# Whether developer mode is enabled on the device.
# Corresponds to the JSON property `developmentSettingsEnabled`
# @return [Boolean]
attr_accessor :development_settings_enabled
@ -518,27 +536,31 @@ module Google
# @return [String]
attr_accessor :encryption_status
# Device secured with PIN/password.
# Whether the device is secured with PIN/password.
# Corresponds to the JSON property `isDeviceSecure`
# @return [Boolean]
attr_accessor :is_device_secure
alias_method :is_device_secure?, :is_device_secure
# Whether the storage encryption is enabled DevicePolicyManager.
# ENCRYPTION_STATUS_ACTIVE or DevicePolicyManager.
# ENCRYPTION_STATUS_ACTIVE_PER_USER in N+ devices.
# Whether the storage encryption is enabled.
# Corresponds to the JSON property `isEncrypted`
# @return [Boolean]
attr_accessor :is_encrypted
alias_method :is_encrypted?, :is_encrypted
# If installing apps from unknown sources is enabled. Settings.Secure.
# INSTALL_NON_MARKET_APPS.
# Whether installing apps from unknown sources is enabled.
# Corresponds to the JSON property `unknownSourcesEnabled`
# @return [Boolean]
attr_accessor :unknown_sources_enabled
alias_method :unknown_sources_enabled?, :unknown_sources_enabled
# Whether Verify Apps (Google Play Protect (https://support.google.com/
# googleplay/answer/2812853)) is enabled on the device.
# Corresponds to the JSON property `verifyAppsEnabled`
# @return [Boolean]
attr_accessor :verify_apps_enabled
alias_method :verify_apps_enabled?, :verify_apps_enabled
def initialize(**args)
update!(**args)
end
@ -551,6 +573,7 @@ module Google
@is_device_secure = args[:is_device_secure] if args.key?(:is_device_secure)
@is_encrypted = args[:is_encrypted] if args.key?(:is_encrypted)
@unknown_sources_enabled = args[:unknown_sources_enabled] if args.key?(:unknown_sources_enabled)
@verify_apps_enabled = args[:verify_apps_enabled] if args.key?(:verify_apps_enabled)
end
end
@ -1187,6 +1210,11 @@ module Google
# @return [String]
attr_accessor :meid
# Alphabetic name of current registered operator. For example, Vodafone.
# Corresponds to the JSON property `networkOperatorName`
# @return [String]
attr_accessor :network_operator_name
# Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11.
# Corresponds to the JSON property `wifiMacAddress`
# @return [String]
@ -1200,6 +1228,7 @@ module Google
def update!(**args)
@imei = args[:imei] if args.key?(:imei)
@meid = args[:meid] if args.key?(:meid)
@network_operator_name = args[:network_operator_name] if args.key?(:network_operator_name)
@wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address)
end
end
@ -1592,6 +1621,13 @@ module Google
# @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
attr_accessor :always_on_vpn_package
# The app tracks for Android Device Policy the device can access. The device
# receives the latest version among all accessible tracks. If no tracks are
# specified, then the device only uses the production track.
# Corresponds to the JSON property `androidDevicePolicyTracks`
# @return [Array<String>]
attr_accessor :android_device_policy_tracks
# Policy applied to apps.
# Corresponds to the JSON property `applications`
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
@ -1961,6 +1997,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)
@always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
@android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks)
@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)
@ -2153,6 +2190,14 @@ module Google
# @return [String]
attr_accessor :bootloader_version
# SHA-256 hash of android.content.pm.Signature (https://developer.android.com/
# reference/android/content/pm/Signature.html) associated with the system
# package, which can be used to verify that the system build hasn't been
# modified.
# Corresponds to the JSON property `deviceBuildSignature`
# @return [String]
attr_accessor :device_build_signature
# Kernel version, for example, 2.6.32.9-g103d848.
# Corresponds to the JSON property `deviceKernelVersion`
# @return [String]
@ -2175,6 +2220,7 @@ module Google
@android_device_policy_version_name = args[:android_device_policy_version_name] if args.key?(:android_device_policy_version_name)
@android_version = args[:android_version] if args.key?(:android_version)
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
@device_build_signature = args[:device_build_signature] if args.key?(:device_build_signature)
@device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version)
@security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level)
end

View File

@ -308,9 +308,11 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :default_permission_policy, as: 'defaultPermissionPolicy'
collection :delegated_scopes, as: 'delegatedScopes'
property :install_type, as: 'installType'
property :lock_task_allowed, as: 'lockTaskAllowed'
hash :managed_configuration, as: 'managedConfiguration'
property :minimum_version_code, as: 'minimumVersionCode'
property :package_name, as: 'packageName'
collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
@ -392,6 +394,7 @@ module Google
property :is_device_secure, as: 'isDeviceSecure'
property :is_encrypted, as: 'isEncrypted'
property :unknown_sources_enabled, as: 'unknownSourcesEnabled'
property :verify_apps_enabled, as: 'verifyAppsEnabled'
end
end
@ -554,6 +557,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :imei, as: 'imei'
property :meid, as: 'meid'
property :network_operator_name, as: 'networkOperatorName'
property :wifi_mac_address, as: 'wifiMacAddress'
end
end
@ -640,6 +644,7 @@ module Google
property :adjust_volume_disabled, as: 'adjustVolumeDisabled'
property :always_on_vpn_package, as: 'alwaysOnVpnPackage', class: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage, decorator: Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage::Representation
collection :android_device_policy_tracks, as: 'androidDevicePolicyTracks'
collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
property :auto_time_required, as: 'autoTimeRequired'
@ -746,6 +751,7 @@ module Google
property :android_device_policy_version_name, as: 'androidDevicePolicyVersionName'
property :android_version, as: 'androidVersion'
property :bootloader_version, as: 'bootloaderVersion'
property :device_build_signature, as: 'deviceBuildSignature'
property :device_kernel_version, as: 'deviceKernelVersion'
property :security_patch_level, as: 'securityPatchLevel'
end

View File

@ -0,0 +1,42 @@
# 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/serviceusage_v1/service.rb'
require 'google/apis/serviceusage_v1/classes.rb'
require 'google/apis/serviceusage_v1/representations.rb'
module Google
module Apis
# Service Usage API
#
# Enables services that service consumers want to use on Google Cloud Platform,
# lists the available or enabled services, or disables services that service
# consumers no longer use.
#
# @see https://cloud.google.com/service-usage/
module ServiceusageV1
VERSION = 'V1'
REVISION = '20180210'
# 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'
# Manage your Google API service configuration
AUTH_SERVICE_MANAGEMENT = 'https://www.googleapis.com/auth/service.management'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,406 @@
# 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 ServiceusageV1
# Service Usage API
#
# Enables services that service consumers want to use on Google Cloud Platform,
# lists the available or enabled services, or disables services that service
# consumers no longer use.
#
# @example
# require 'google/apis/serviceusage_v1'
#
# Serviceusage = Google::Apis::ServiceusageV1 # Alias the module
# service = Serviceusage::ServiceUsageService.new
#
# @see https://cloud.google.com/service-usage/
class ServiceUsageService < 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://serviceusage.googleapis.com/', '')
@batch_path = 'batch'
end
# Starts asynchronous cancellation on a long-running operation. The server
# makes a best effort to cancel the operation, but success is not
# guaranteed. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
# Operations.GetOperation or
# other methods to check whether the cancellation succeeded or whether the
# operation completed despite cancellation. On successful cancellation,
# the operation is not deleted; instead, it becomes an operation with
# an Operation.error value with a google.rpc.Status.code of 1,
# corresponding to `Code.CANCELLED`.
# @param [String] name
# The name of the operation resource to be cancelled.
# @param [Google::Apis::ServiceusageV1::CancelOperationRequest] cancel_operation_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::ServiceusageV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::Empty]
#
# @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_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
command.request_representation = Google::Apis::ServiceusageV1::CancelOperationRequest::Representation
command.request_object = cancel_operation_request_object
command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation
command.response_class = Google::Apis::ServiceusageV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Deletes a long-running operation. This method indicates that the client is
# no longer interested in the operation result. It does not cancel the
# operation. If the server doesn't support this method, it returns
# `google.rpc.Code.UNIMPLEMENTED`.
# @param [String] name
# The name of the operation resource to be deleted.
# @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::ServiceusageV1::Empty] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::Empty]
#
# @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 delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:delete, 'v1/{+name}', options)
command.response_representation = Google::Apis::ServiceusageV1::Empty::Representation
command.response_class = Google::Apis::ServiceusageV1::Empty
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the latest state of a long-running operation. Clients can use this
# method to poll the operation result at intervals as recommended by the API
# service.
# @param [String] name
# The name of the operation resource.
# @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::ServiceusageV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::Operation]
#
# @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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
command.response_class = Google::Apis::ServiceusageV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Lists operations that match the specified filter in the request. If the
# server doesn't support this method, it returns `UNIMPLEMENTED`.
# NOTE: the `name` binding allows API services to override the binding
# to use different resource name schemes, such as `users/*/operations`. To
# override the binding, API services can add a binding such as
# `"/v1/`name=users/*`/operations"` to their service configuration.
# For backwards compatibility, the default name includes the operations
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# @param [String] filter
# The standard list filter.
# @param [String] name
# The name of the operation's parent resource.
# @param [Fixnum] page_size
# The standard list page size.
# @param [String] page_token
# The standard list page token.
# @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::ServiceusageV1::ListOperationsResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::ListOperationsResponse]
#
# @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 list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/operations', options)
command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation
command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse
command.query['filter'] = filter unless filter.nil?
command.query['name'] = name unless name.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Disable a service so it can no longer be used with a
# project. This prevents unintended usage that may cause unexpected billing
# charges or security leaks.
# It is not valid to call the disable method on a service that is not
# currently enabled. Callers will receive a FAILED_PRECONDITION status if
# the target service is not currently enabled.
# Operation<response: google.protobuf.Empty>
# @param [String] name
# Name of the consumer and service to disable the service on.
# The enable and disable methods currently only support projects.
# An example name would be:
# projects/123/services/serviceusage.googleapis.com
# @param [Google::Apis::ServiceusageV1::DisableServiceRequest] disable_service_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::ServiceusageV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::Operation]
#
# @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 disable_service(name, disable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:disable', options)
command.request_representation = Google::Apis::ServiceusageV1::DisableServiceRequest::Representation
command.request_object = disable_service_request_object
command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
command.response_class = Google::Apis::ServiceusageV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Enable a service so it can be used with a project.
# See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for
# more information.
# Operation<response: google.protobuf.Empty>
# @param [String] name
# Name of the consumer and service to enable the service on.
# The enable and disable methods currently only support projects.
# Enabling a service requires that the service is public or is shared with
# the user enabling the service.
# An example name would be:
# projects/123/services/serviceusage.googleapis.com
# @param [Google::Apis::ServiceusageV1::EnableServiceRequest] enable_service_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::ServiceusageV1::Operation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::Operation]
#
# @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 enable_service(name, enable_service_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1/{+name}:enable', options)
command.request_representation = Google::Apis::ServiceusageV1::EnableServiceRequest::Representation
command.request_object = enable_service_request_object
command.response_representation = Google::Apis::ServiceusageV1::Operation::Representation
command.response_class = Google::Apis::ServiceusageV1::Operation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Returns the service definition and EnabledState for a given service.
# @param [String] name
# Name of the consumer and service to get the ConsumerState for.
# An example name would be:
# projects/123/services/serviceusage.googleapis.com
# @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::ServiceusageV1::ServiceState] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::ServiceState]
#
# @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_service(name, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+name}', options)
command.response_representation = Google::Apis::ServiceusageV1::ServiceState::Representation
command.response_class = Google::Apis::ServiceusageV1::ServiceState
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# List enabled services.
# @param [String] parent
# Parent to search for services on.
# An example name would be:
# projects/123
# @param [Fixnum] page_size
# Requested size of the next page of data.
# @param [String] page_token
# Token identifying which result to start with; returned by a previous list
# call.
# @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::ServiceusageV1::ListEnabledServicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::ListEnabledServicesResponse]
#
# @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 list_service_enabled(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/{+parent}/services:enabled', options)
command.response_representation = Google::Apis::ServiceusageV1::ListEnabledServicesResponse::Representation
command.response_class = Google::Apis::ServiceusageV1::ListEnabledServicesResponse
command.params['parent'] = parent unless parent.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Search available services.
# When no filter is specified, returns all accessible services. This includes
# public services and services for which the calling user has the
# "servicemanagement.services.bind" permission.
# @param [Fixnum] page_size
# Requested size of the next page of data.
# @param [String] page_token
# Token identifying which result to start with; returned by a previous search
# call.
# @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::ServiceusageV1::SearchServicesResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ServiceusageV1::SearchServicesResponse]
#
# @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 search_services(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/services:search', options)
command.response_representation = Google::Apis::ServiceusageV1::SearchServicesResponse::Representation
command.response_class = Google::Apis::ServiceusageV1::SearchServicesResponse
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.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

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/slides/
module SlidesV1
VERSION = 'V1'
REVISION = '20180201'
REVISION = '20180208'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -170,6 +170,11 @@ module Google
# @return [Array<Google::Apis::SlidesV1::Response>]
attr_accessor :replies
# Provides control over how write requests are executed.
# Corresponds to the JSON property `writeControl`
# @return [Google::Apis::SlidesV1::WriteControl]
attr_accessor :write_control
def initialize(**args)
update!(**args)
end
@ -178,6 +183,7 @@ module Google
def update!(**args)
@presentation_id = args[:presentation_id] if args.key?(:presentation_id)
@replies = args[:replies] if args.key?(:replies)
@write_control = args[:write_control] if args.key?(:write_control)
end
end
@ -1189,6 +1195,12 @@ module Google
# @return [Google::Apis::SlidesV1::ImageProperties]
attr_accessor :image_properties
# The source URL is the URL used to insert the image. The source URL can be
# empty.
# Corresponds to the JSON property `sourceUrl`
# @return [String]
attr_accessor :source_url
def initialize(**args)
update!(**args)
end
@ -1197,6 +1209,7 @@ module Google
def update!(**args)
@content_url = args[:content_url] if args.key?(:content_url)
@image_properties = args[:image_properties] if args.key?(:image_properties)
@source_url = args[:source_url] if args.key?(:source_url)
end
end

View File

@ -823,6 +823,8 @@ module Google
property :presentation_id, as: 'presentationId'
collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation
property :write_control, as: 'writeControl', class: Google::Apis::SlidesV1::WriteControl, decorator: Google::Apis::SlidesV1::WriteControl::Representation
end
end
@ -1102,6 +1104,7 @@ module Google
property :content_url, as: 'contentUrl'
property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation
property :source_url, as: 'sourceUrl'
end
end