Autogenerated update (2018-05-22)
Update: - androidmanagement_v1 - androidpublisher_v3 - cloudkms_v1 - serviceconsumermanagement_v1 - serviceusage_v1beta1
This commit is contained in:
parent
035d1a2e21
commit
1ae8f5e5f2
|
@ -6163,6 +6163,9 @@
|
||||||
"/androidmanagement:v1/Application/permissions": permissions
|
"/androidmanagement:v1/Application/permissions": permissions
|
||||||
"/androidmanagement:v1/Application/permissions/permission": permission
|
"/androidmanagement:v1/Application/permissions/permission": permission
|
||||||
"/androidmanagement:v1/Application/title": title
|
"/androidmanagement:v1/Application/title": title
|
||||||
|
"/androidmanagement:v1/ApplicationEvent": application_event
|
||||||
|
"/androidmanagement:v1/ApplicationEvent/createTime": create_time
|
||||||
|
"/androidmanagement:v1/ApplicationEvent/eventType": event_type
|
||||||
"/androidmanagement:v1/ApplicationPermission": application_permission
|
"/androidmanagement:v1/ApplicationPermission": application_permission
|
||||||
"/androidmanagement:v1/ApplicationPermission/description": description
|
"/androidmanagement:v1/ApplicationPermission/description": description
|
||||||
"/androidmanagement:v1/ApplicationPermission/name": name
|
"/androidmanagement:v1/ApplicationPermission/name": name
|
||||||
|
@ -6179,6 +6182,24 @@
|
||||||
"/androidmanagement:v1/ApplicationPolicy/packageName": package_name
|
"/androidmanagement:v1/ApplicationPolicy/packageName": package_name
|
||||||
"/androidmanagement:v1/ApplicationPolicy/permissionGrants": permission_grants
|
"/androidmanagement:v1/ApplicationPolicy/permissionGrants": permission_grants
|
||||||
"/androidmanagement:v1/ApplicationPolicy/permissionGrants/permission_grant": permission_grant
|
"/androidmanagement:v1/ApplicationPolicy/permissionGrants/permission_grant": permission_grant
|
||||||
|
"/androidmanagement:v1/ApplicationReport": application_report
|
||||||
|
"/androidmanagement:v1/ApplicationReport/applicationSource": application_source
|
||||||
|
"/androidmanagement:v1/ApplicationReport/displayName": display_name
|
||||||
|
"/androidmanagement:v1/ApplicationReport/events": events
|
||||||
|
"/androidmanagement:v1/ApplicationReport/events/event": event
|
||||||
|
"/androidmanagement:v1/ApplicationReport/installerPackageName": installer_package_name
|
||||||
|
"/androidmanagement:v1/ApplicationReport/packageName": package_name
|
||||||
|
"/androidmanagement:v1/ApplicationReport/packageSha256Hash": package_sha256_hash
|
||||||
|
"/androidmanagement:v1/ApplicationReport/signingKeyCertFingerprints": signing_key_cert_fingerprints
|
||||||
|
"/androidmanagement:v1/ApplicationReport/signingKeyCertFingerprints/signing_key_cert_fingerprint": signing_key_cert_fingerprint
|
||||||
|
"/androidmanagement:v1/ApplicationReport/state": state
|
||||||
|
"/androidmanagement:v1/ApplicationReport/versionCode": version_code
|
||||||
|
"/androidmanagement:v1/ApplicationReport/versionName": version_name
|
||||||
|
"/androidmanagement:v1/ChoosePrivateKeyRule": choose_private_key_rule
|
||||||
|
"/androidmanagement:v1/ChoosePrivateKeyRule/packageNames": package_names
|
||||||
|
"/androidmanagement:v1/ChoosePrivateKeyRule/packageNames/package_name": package_name
|
||||||
|
"/androidmanagement:v1/ChoosePrivateKeyRule/privateKeyAlias": private_key_alias
|
||||||
|
"/androidmanagement:v1/ChoosePrivateKeyRule/urlPattern": url_pattern
|
||||||
"/androidmanagement:v1/Command": command
|
"/androidmanagement:v1/Command": command
|
||||||
"/androidmanagement:v1/Command/createTime": create_time
|
"/androidmanagement:v1/Command/createTime": create_time
|
||||||
"/androidmanagement:v1/Command/duration": duration
|
"/androidmanagement:v1/Command/duration": duration
|
||||||
|
@ -6192,8 +6213,12 @@
|
||||||
"/androidmanagement:v1/ComplianceRule/apiLevelCondition": api_level_condition
|
"/androidmanagement:v1/ComplianceRule/apiLevelCondition": api_level_condition
|
||||||
"/androidmanagement:v1/ComplianceRule/disableApps": disable_apps
|
"/androidmanagement:v1/ComplianceRule/disableApps": disable_apps
|
||||||
"/androidmanagement:v1/ComplianceRule/nonComplianceDetailCondition": non_compliance_detail_condition
|
"/androidmanagement:v1/ComplianceRule/nonComplianceDetailCondition": non_compliance_detail_condition
|
||||||
|
"/androidmanagement:v1/ComplianceRule/packageNamesToDisable": package_names_to_disable
|
||||||
|
"/androidmanagement:v1/ComplianceRule/packageNamesToDisable/package_names_to_disable": package_names_to_disable
|
||||||
"/androidmanagement:v1/Device": device
|
"/androidmanagement:v1/Device": device
|
||||||
"/androidmanagement:v1/Device/apiLevel": api_level
|
"/androidmanagement:v1/Device/apiLevel": api_level
|
||||||
|
"/androidmanagement:v1/Device/applicationReports": application_reports
|
||||||
|
"/androidmanagement:v1/Device/applicationReports/application_report": application_report
|
||||||
"/androidmanagement:v1/Device/appliedPolicyName": applied_policy_name
|
"/androidmanagement:v1/Device/appliedPolicyName": applied_policy_name
|
||||||
"/androidmanagement:v1/Device/appliedPolicyVersion": applied_policy_version
|
"/androidmanagement:v1/Device/appliedPolicyVersion": applied_policy_version
|
||||||
"/androidmanagement:v1/Device/appliedState": applied_state
|
"/androidmanagement:v1/Device/appliedState": applied_state
|
||||||
|
@ -6401,6 +6426,8 @@
|
||||||
"/androidmanagement:v1/Policy/bluetoothDisabled": bluetooth_disabled
|
"/androidmanagement:v1/Policy/bluetoothDisabled": bluetooth_disabled
|
||||||
"/androidmanagement:v1/Policy/cameraDisabled": camera_disabled
|
"/androidmanagement:v1/Policy/cameraDisabled": camera_disabled
|
||||||
"/androidmanagement:v1/Policy/cellBroadcastsConfigDisabled": cell_broadcasts_config_disabled
|
"/androidmanagement:v1/Policy/cellBroadcastsConfigDisabled": cell_broadcasts_config_disabled
|
||||||
|
"/androidmanagement:v1/Policy/choosePrivateKeyRules": choose_private_key_rules
|
||||||
|
"/androidmanagement:v1/Policy/choosePrivateKeyRules/choose_private_key_rule": choose_private_key_rule
|
||||||
"/androidmanagement:v1/Policy/complianceRules": compliance_rules
|
"/androidmanagement:v1/Policy/complianceRules": compliance_rules
|
||||||
"/androidmanagement:v1/Policy/complianceRules/compliance_rule": compliance_rule
|
"/androidmanagement:v1/Policy/complianceRules/compliance_rule": compliance_rule
|
||||||
"/androidmanagement:v1/Policy/createWindowsDisabled": create_windows_disabled
|
"/androidmanagement:v1/Policy/createWindowsDisabled": create_windows_disabled
|
||||||
|
@ -6438,6 +6465,7 @@
|
||||||
"/androidmanagement:v1/Policy/permittedInputMethods": permitted_input_methods
|
"/androidmanagement:v1/Policy/permittedInputMethods": permitted_input_methods
|
||||||
"/androidmanagement:v1/Policy/persistentPreferredActivities": persistent_preferred_activities
|
"/androidmanagement:v1/Policy/persistentPreferredActivities": persistent_preferred_activities
|
||||||
"/androidmanagement:v1/Policy/persistentPreferredActivities/persistent_preferred_activity": persistent_preferred_activity
|
"/androidmanagement:v1/Policy/persistentPreferredActivities/persistent_preferred_activity": persistent_preferred_activity
|
||||||
|
"/androidmanagement:v1/Policy/privateKeySelectionEnabled": private_key_selection_enabled
|
||||||
"/androidmanagement:v1/Policy/recommendedGlobalProxy": recommended_global_proxy
|
"/androidmanagement:v1/Policy/recommendedGlobalProxy": recommended_global_proxy
|
||||||
"/androidmanagement:v1/Policy/removeUserDisabled": remove_user_disabled
|
"/androidmanagement:v1/Policy/removeUserDisabled": remove_user_disabled
|
||||||
"/androidmanagement:v1/Policy/safeBootDisabled": safe_boot_disabled
|
"/androidmanagement:v1/Policy/safeBootDisabled": safe_boot_disabled
|
||||||
|
@ -6492,6 +6520,7 @@
|
||||||
"/androidmanagement:v1/Status/details/detail/detail": detail
|
"/androidmanagement:v1/Status/details/detail/detail": detail
|
||||||
"/androidmanagement:v1/Status/message": message
|
"/androidmanagement:v1/Status/message": message
|
||||||
"/androidmanagement:v1/StatusReportingSettings": status_reporting_settings
|
"/androidmanagement:v1/StatusReportingSettings": status_reporting_settings
|
||||||
|
"/androidmanagement:v1/StatusReportingSettings/applicationReportsEnabled": application_reports_enabled
|
||||||
"/androidmanagement:v1/StatusReportingSettings/deviceSettingsEnabled": device_settings_enabled
|
"/androidmanagement:v1/StatusReportingSettings/deviceSettingsEnabled": device_settings_enabled
|
||||||
"/androidmanagement:v1/StatusReportingSettings/displayInfoEnabled": display_info_enabled
|
"/androidmanagement:v1/StatusReportingSettings/displayInfoEnabled": display_info_enabled
|
||||||
"/androidmanagement:v1/StatusReportingSettings/hardwareStatusEnabled": hardware_status_enabled
|
"/androidmanagement:v1/StatusReportingSettings/hardwareStatusEnabled": hardware_status_enabled
|
||||||
|
@ -7553,6 +7582,10 @@
|
||||||
"/androidpublisher:v3/androidpublisher.inappproducts.update/autoConvertMissingPrices": auto_convert_missing_prices
|
"/androidpublisher:v3/androidpublisher.inappproducts.update/autoConvertMissingPrices": auto_convert_missing_prices
|
||||||
"/androidpublisher:v3/androidpublisher.inappproducts.update/packageName": package_name
|
"/androidpublisher:v3/androidpublisher.inappproducts.update/packageName": package_name
|
||||||
"/androidpublisher:v3/androidpublisher.inappproducts.update/sku": sku
|
"/androidpublisher:v3/androidpublisher.inappproducts.update/sku": sku
|
||||||
|
"/androidpublisher:v3/androidpublisher.orders.refund": refund_order
|
||||||
|
"/androidpublisher:v3/androidpublisher.orders.refund/orderId": order_id
|
||||||
|
"/androidpublisher:v3/androidpublisher.orders.refund/packageName": package_name
|
||||||
|
"/androidpublisher:v3/androidpublisher.orders.refund/revoke": revoke
|
||||||
"/androidpublisher:v3/androidpublisher.purchases.products.get": get_purchase_product
|
"/androidpublisher:v3/androidpublisher.purchases.products.get": get_purchase_product
|
||||||
"/androidpublisher:v3/androidpublisher.purchases.products.get/packageName": package_name
|
"/androidpublisher:v3/androidpublisher.purchases.products.get/packageName": package_name
|
||||||
"/androidpublisher:v3/androidpublisher.purchases.products.get/productId": product_id
|
"/androidpublisher:v3/androidpublisher.purchases.products.get/productId": product_id
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/management
|
# @see https://developers.google.com/android/management
|
||||||
module AndroidmanagementV1
|
module AndroidmanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180423'
|
REVISION = '20180514'
|
||||||
|
|
||||||
# Manage Android devices and apps for your customers
|
# Manage Android devices and apps for your customers
|
||||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||||
|
|
|
@ -109,6 +109,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# An app-related event.
|
||||||
|
class ApplicationEvent
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The creation time of the event.
|
||||||
|
# Corresponds to the JSON property `createTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :create_time
|
||||||
|
|
||||||
|
# App event type.
|
||||||
|
# Corresponds to the JSON property `eventType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :event_type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@create_time = args[:create_time] if args.key?(:create_time)
|
||||||
|
@event_type = args[:event_type] if args.key?(:event_type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A permission required by the app.
|
# A permission required by the app.
|
||||||
class ApplicationPermission
|
class ApplicationPermission
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -221,6 +246,123 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Information reported about an installed app.
|
||||||
|
class ApplicationReport
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The source of the package.
|
||||||
|
# Corresponds to the JSON property `applicationSource`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :application_source
|
||||||
|
|
||||||
|
# The display name of the app.
|
||||||
|
# Corresponds to the JSON property `displayName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :display_name
|
||||||
|
|
||||||
|
# List of app events. The most recent 20 events are stored in the list.
|
||||||
|
# Corresponds to the JSON property `events`
|
||||||
|
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationEvent>]
|
||||||
|
attr_accessor :events
|
||||||
|
|
||||||
|
# The package name of the app that installed this app.
|
||||||
|
# Corresponds to the JSON property `installerPackageName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :installer_package_name
|
||||||
|
|
||||||
|
# Package name of the app.
|
||||||
|
# Corresponds to the JSON property `packageName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :package_name
|
||||||
|
|
||||||
|
# The SHA-256 hash of the app's APK file, which can be used to verify the app
|
||||||
|
# hasn't been modified. Each byte of the hash value is represented as a two-
|
||||||
|
# digit hexadecimal number.
|
||||||
|
# Corresponds to the JSON property `packageSha256Hash`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :package_sha256_hash
|
||||||
|
|
||||||
|
# The SHA-1 hash of each android.content.pm.Signature (https://developer.android.
|
||||||
|
# com/reference/android/content/pm/Signature.html) associated with the app
|
||||||
|
# package. Each byte of each hash value is represented as a two-digit
|
||||||
|
# hexadecimal number.
|
||||||
|
# Corresponds to the JSON property `signingKeyCertFingerprints`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :signing_key_cert_fingerprints
|
||||||
|
|
||||||
|
# Application state.
|
||||||
|
# Corresponds to the JSON property `state`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :state
|
||||||
|
|
||||||
|
# The app version code, which can be used to determine whether one version is
|
||||||
|
# more recent than another.
|
||||||
|
# Corresponds to the JSON property `versionCode`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :version_code
|
||||||
|
|
||||||
|
# The app version as displayed to the user.
|
||||||
|
# Corresponds to the JSON property `versionName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :version_name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@application_source = args[:application_source] if args.key?(:application_source)
|
||||||
|
@display_name = args[:display_name] if args.key?(:display_name)
|
||||||
|
@events = args[:events] if args.key?(:events)
|
||||||
|
@installer_package_name = args[:installer_package_name] if args.key?(:installer_package_name)
|
||||||
|
@package_name = args[:package_name] if args.key?(:package_name)
|
||||||
|
@package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
|
||||||
|
@signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
|
||||||
|
@state = args[:state] if args.key?(:state)
|
||||||
|
@version_code = args[:version_code] if args.key?(:version_code)
|
||||||
|
@version_name = args[:version_name] if args.key?(:version_name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# A rule for automatically choosing a private key and certificate to
|
||||||
|
# authenticate the device to a server.
|
||||||
|
class ChoosePrivateKeyRule
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The package names for which outgoing requests are subject to this rule. If no
|
||||||
|
# package names are specified, then the rule applies to all packages. For each
|
||||||
|
# package name listed, the rule applies to that package and all other packages
|
||||||
|
# that shared the same Android UID. The SHA256 hash of the signing key
|
||||||
|
# signatures of each package_name will be verified against those provided by
|
||||||
|
# Play
|
||||||
|
# Corresponds to the JSON property `packageNames`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :package_names
|
||||||
|
|
||||||
|
# The alias of the private key to be used.
|
||||||
|
# Corresponds to the JSON property `privateKeyAlias`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :private_key_alias
|
||||||
|
|
||||||
|
# The URL pattern to match against the URL of the outgoing request. The pattern
|
||||||
|
# may contain asterisk (*) wildcards. Any URL is matched if unspecified.
|
||||||
|
# Corresponds to the JSON property `urlPattern`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :url_pattern
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@package_names = args[:package_names] if args.key?(:package_names)
|
||||||
|
@private_key_alias = args[:private_key_alias] if args.key?(:private_key_alias)
|
||||||
|
@url_pattern = args[:url_pattern] if args.key?(:url_pattern)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# A command.
|
# A command.
|
||||||
class Command
|
class Command
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -316,6 +458,12 @@ module Google
|
||||||
# @return [Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition]
|
# @return [Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition]
|
||||||
attr_accessor :non_compliance_detail_condition
|
attr_accessor :non_compliance_detail_condition
|
||||||
|
|
||||||
|
# If set, the rule includes a mitigating action to disable apps specified in the
|
||||||
|
# list, but app data is preserved.
|
||||||
|
# Corresponds to the JSON property `packageNamesToDisable`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :package_names_to_disable
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -325,6 +473,7 @@ module Google
|
||||||
@api_level_condition = args[:api_level_condition] if args.key?(:api_level_condition)
|
@api_level_condition = args[:api_level_condition] if args.key?(:api_level_condition)
|
||||||
@disable_apps = args[:disable_apps] if args.key?(:disable_apps)
|
@disable_apps = args[:disable_apps] if args.key?(:disable_apps)
|
||||||
@non_compliance_detail_condition = args[:non_compliance_detail_condition] if args.key?(:non_compliance_detail_condition)
|
@non_compliance_detail_condition = args[:non_compliance_detail_condition] if args.key?(:non_compliance_detail_condition)
|
||||||
|
@package_names_to_disable = args[:package_names_to_disable] if args.key?(:package_names_to_disable)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -338,6 +487,12 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :api_level
|
attr_accessor :api_level
|
||||||
|
|
||||||
|
# Reports for apps installed on the device. This information is only available
|
||||||
|
# when application_reports_enabled is true in the device's policy.
|
||||||
|
# Corresponds to the JSON property `applicationReports`
|
||||||
|
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationReport>]
|
||||||
|
attr_accessor :application_reports
|
||||||
|
|
||||||
# The name of the policy currently applied to the device.
|
# The name of the policy currently applied to the device.
|
||||||
# Corresponds to the JSON property `appliedPolicyName`
|
# Corresponds to the JSON property `appliedPolicyName`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -500,6 +655,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@api_level = args[:api_level] if args.key?(:api_level)
|
@api_level = args[:api_level] if args.key?(:api_level)
|
||||||
|
@application_reports = args[:application_reports] if args.key?(:application_reports)
|
||||||
@applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name)
|
@applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name)
|
||||||
@applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version)
|
@applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version)
|
||||||
@applied_state = args[:applied_state] if args.key?(:applied_state)
|
@applied_state = args[:applied_state] if args.key?(:applied_state)
|
||||||
|
@ -1707,6 +1863,14 @@ module Google
|
||||||
attr_accessor :cell_broadcasts_config_disabled
|
attr_accessor :cell_broadcasts_config_disabled
|
||||||
alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
|
alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
|
||||||
|
|
||||||
|
# Rules for automatically choosing a private key and certificate to authenticate
|
||||||
|
# the device to a server. The rules are ordered by increasing precedence, so if
|
||||||
|
# an outgoing request matches more than one rule, the last rule defines which
|
||||||
|
# private key to use.
|
||||||
|
# Corresponds to the JSON property `choosePrivateKeyRules`
|
||||||
|
# @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
|
||||||
|
attr_accessor :choose_private_key_rules
|
||||||
|
|
||||||
# Rules declaring which mitigating actions to take when a device is not
|
# Rules declaring which mitigating actions to take when a device is not
|
||||||
# compliant with its policy. When the conditions for multiple rules are
|
# compliant with its policy. When the conditions for multiple rules are
|
||||||
# satisfied, all of the mitigating actions for the rules are taken. There is a
|
# satisfied, all of the mitigating actions for the rules are taken. There is a
|
||||||
|
@ -1909,6 +2073,14 @@ module Google
|
||||||
# @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
|
# @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
|
||||||
attr_accessor :persistent_preferred_activities
|
attr_accessor :persistent_preferred_activities
|
||||||
|
|
||||||
|
# Allows showing UI on a device for a user to choose a private key alias if
|
||||||
|
# there are no matching rules in ChoosePrivateKeyRules. For devices below
|
||||||
|
# Android P, setting this may leave enterprise keys vulnerable.
|
||||||
|
# Corresponds to the JSON property `privateKeySelectionEnabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :private_key_selection_enabled
|
||||||
|
alias_method :private_key_selection_enabled?, :private_key_selection_enabled
|
||||||
|
|
||||||
# Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
|
# Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
|
||||||
# and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
|
# and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
|
||||||
# Corresponds to the JSON property `recommendedGlobalProxy`
|
# Corresponds to the JSON property `recommendedGlobalProxy`
|
||||||
|
@ -2071,6 +2243,7 @@ module Google
|
||||||
@bluetooth_disabled = args[:bluetooth_disabled] if args.key?(:bluetooth_disabled)
|
@bluetooth_disabled = args[:bluetooth_disabled] if args.key?(:bluetooth_disabled)
|
||||||
@camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
|
@camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
|
||||||
@cell_broadcasts_config_disabled = args[:cell_broadcasts_config_disabled] if args.key?(:cell_broadcasts_config_disabled)
|
@cell_broadcasts_config_disabled = args[:cell_broadcasts_config_disabled] if args.key?(:cell_broadcasts_config_disabled)
|
||||||
|
@choose_private_key_rules = args[:choose_private_key_rules] if args.key?(:choose_private_key_rules)
|
||||||
@compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
|
@compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
|
||||||
@create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
|
@create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
|
||||||
@credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
|
@credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
|
||||||
|
@ -2103,6 +2276,7 @@ module Google
|
||||||
@password_requirements = args[:password_requirements] if args.key?(:password_requirements)
|
@password_requirements = args[:password_requirements] if args.key?(:password_requirements)
|
||||||
@permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
|
@permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
|
||||||
@persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
|
@persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
|
||||||
|
@private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
|
||||||
@recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
|
@recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
|
||||||
@remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
|
@remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
|
||||||
@safe_boot_disabled = args[:safe_boot_disabled] if args.key?(:safe_boot_disabled)
|
@safe_boot_disabled = args[:safe_boot_disabled] if args.key?(:safe_boot_disabled)
|
||||||
|
@ -2368,6 +2542,12 @@ module Google
|
||||||
class StatusReportingSettings
|
class StatusReportingSettings
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Whether app reports are enabled.
|
||||||
|
# Corresponds to the JSON property `applicationReportsEnabled`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :application_reports_enabled
|
||||||
|
alias_method :application_reports_enabled?, :application_reports_enabled
|
||||||
|
|
||||||
# Whether device settings reporting is enabled.
|
# Whether device settings reporting is enabled.
|
||||||
# Corresponds to the JSON property `deviceSettingsEnabled`
|
# Corresponds to the JSON property `deviceSettingsEnabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
@ -2416,6 +2596,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled)
|
||||||
@device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
|
@device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
|
||||||
@display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
|
@display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
|
||||||
@hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled)
|
@hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled)
|
||||||
|
|
|
@ -40,6 +40,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ApplicationEvent
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ApplicationPermission
|
class ApplicationPermission
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -52,6 +58,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ApplicationReport
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ChoosePrivateKeyRule
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Command
|
class Command
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -301,6 +319,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ApplicationEvent
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :create_time, as: 'createTime'
|
||||||
|
property :event_type, as: 'eventType'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ApplicationPermission
|
class ApplicationPermission
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -325,6 +351,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ApplicationReport
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :application_source, as: 'applicationSource'
|
||||||
|
property :display_name, as: 'displayName'
|
||||||
|
collection :events, as: 'events', class: Google::Apis::AndroidmanagementV1::ApplicationEvent, decorator: Google::Apis::AndroidmanagementV1::ApplicationEvent::Representation
|
||||||
|
|
||||||
|
property :installer_package_name, as: 'installerPackageName'
|
||||||
|
property :package_name, as: 'packageName'
|
||||||
|
property :package_sha256_hash, as: 'packageSha256Hash'
|
||||||
|
collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :version_code, as: 'versionCode'
|
||||||
|
property :version_name, as: 'versionName'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ChoosePrivateKeyRule
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :package_names, as: 'packageNames'
|
||||||
|
property :private_key_alias, as: 'privateKeyAlias'
|
||||||
|
property :url_pattern, as: 'urlPattern'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Command
|
class Command
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -346,6 +398,7 @@ module Google
|
||||||
property :disable_apps, as: 'disableApps'
|
property :disable_apps, as: 'disableApps'
|
||||||
property :non_compliance_detail_condition, as: 'nonComplianceDetailCondition', class: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition::Representation
|
property :non_compliance_detail_condition, as: 'nonComplianceDetailCondition', class: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetailCondition::Representation
|
||||||
|
|
||||||
|
collection :package_names_to_disable, as: 'packageNamesToDisable'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -353,6 +406,8 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :api_level, as: 'apiLevel'
|
property :api_level, as: 'apiLevel'
|
||||||
|
collection :application_reports, as: 'applicationReports', class: Google::Apis::AndroidmanagementV1::ApplicationReport, decorator: Google::Apis::AndroidmanagementV1::ApplicationReport::Representation
|
||||||
|
|
||||||
property :applied_policy_name, as: 'appliedPolicyName'
|
property :applied_policy_name, as: 'appliedPolicyName'
|
||||||
property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
|
property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
|
||||||
property :applied_state, as: 'appliedState'
|
property :applied_state, as: 'appliedState'
|
||||||
|
@ -665,6 +720,8 @@ module Google
|
||||||
property :bluetooth_disabled, as: 'bluetoothDisabled'
|
property :bluetooth_disabled, as: 'bluetoothDisabled'
|
||||||
property :camera_disabled, as: 'cameraDisabled'
|
property :camera_disabled, as: 'cameraDisabled'
|
||||||
property :cell_broadcasts_config_disabled, as: 'cellBroadcastsConfigDisabled'
|
property :cell_broadcasts_config_disabled, as: 'cellBroadcastsConfigDisabled'
|
||||||
|
collection :choose_private_key_rules, as: 'choosePrivateKeyRules', class: Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule, decorator: Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule::Representation
|
||||||
|
|
||||||
collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation
|
collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation
|
||||||
|
|
||||||
property :create_windows_disabled, as: 'createWindowsDisabled'
|
property :create_windows_disabled, as: 'createWindowsDisabled'
|
||||||
|
@ -703,6 +760,7 @@ module Google
|
||||||
|
|
||||||
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
|
collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
|
||||||
|
|
||||||
|
property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
|
||||||
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
|
property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
|
||||||
|
|
||||||
property :remove_user_disabled, as: 'removeUserDisabled'
|
property :remove_user_disabled, as: 'removeUserDisabled'
|
||||||
|
@ -787,6 +845,7 @@ module Google
|
||||||
class StatusReportingSettings
|
class StatusReportingSettings
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :application_reports_enabled, as: 'applicationReportsEnabled'
|
||||||
property :device_settings_enabled, as: 'deviceSettingsEnabled'
|
property :device_settings_enabled, as: 'deviceSettingsEnabled'
|
||||||
property :display_info_enabled, as: 'displayInfoEnabled'
|
property :display_info_enabled, as: 'displayInfoEnabled'
|
||||||
property :hardware_status_enabled, as: 'hardwareStatusEnabled'
|
property :hardware_status_enabled, as: 'hardwareStatusEnabled'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/android-publisher
|
# @see https://developers.google.com/android-publisher
|
||||||
module AndroidpublisherV3
|
module AndroidpublisherV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20180504'
|
REVISION = '20180516'
|
||||||
|
|
||||||
# View and manage your Google Play Developer account
|
# View and manage your Google Play Developer account
|
||||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||||
|
|
|
@ -1779,6 +1779,48 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Refund a user's subscription or in-app purchase order.
|
||||||
|
# @param [String] package_name
|
||||||
|
# The package name of the application for which this subscription or in-app item
|
||||||
|
# was purchased (for example, 'com.some.thing').
|
||||||
|
# @param [String] order_id
|
||||||
|
# The order ID provided to the user when the subscription or in-app order was
|
||||||
|
# purchased.
|
||||||
|
# @param [Boolean] revoke
|
||||||
|
# Whether to revoke the purchased item. If set to true, access to the
|
||||||
|
# subscription or in-app item will be terminated immediately. If the item is a
|
||||||
|
# recurring subscription, all future payments will also be terminated. Consumed
|
||||||
|
# in-app items need to be handled by developer's app. (optional)
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||||
|
# characters.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# Deprecated. Please use quotaUser instead.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [NilClass] No result returned for this method
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [void]
|
||||||
|
#
|
||||||
|
# @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 refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
|
||||||
|
command.params['packageName'] = package_name unless package_name.nil?
|
||||||
|
command.params['orderId'] = order_id unless order_id.nil?
|
||||||
|
command.query['revoke'] = revoke unless revoke.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Checks the purchase and consumption status of an inapp item.
|
# Checks the purchase and consumption status of an inapp item.
|
||||||
# @param [String] package_name
|
# @param [String] package_name
|
||||||
# The package name of the application the inapp product was sold in (for example,
|
# The package name of the application the inapp product was sold in (for example,
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/kms/
|
# @see https://cloud.google.com/kms/
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180425'
|
REVISION = '20180518'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -885,7 +885,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Restore a CryptoKeyVersion in the
|
# Restore a CryptoKeyVersion in the
|
||||||
# DESTROY_SCHEDULED,
|
# DESTROY_SCHEDULED
|
||||||
# state.
|
# state.
|
||||||
# Upon restoration of the CryptoKeyVersion, state
|
# Upon restoration of the CryptoKeyVersion, state
|
||||||
# will be set to DISABLED,
|
# will be set to DISABLED,
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||||
module ServiceconsumermanagementV1
|
module ServiceconsumermanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180330'
|
REVISION = '20180520'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -302,11 +302,6 @@ module Google
|
||||||
attr_accessor :allow_without_credential
|
attr_accessor :allow_without_credential
|
||||||
alias_method :allow_without_credential?, :allow_without_credential
|
alias_method :allow_without_credential?, :allow_without_credential
|
||||||
|
|
||||||
# Configuration for a custom authentication provider.
|
|
||||||
# Corresponds to the JSON property `customAuth`
|
|
||||||
# @return [Google::Apis::ServiceconsumermanagementV1::CustomAuthRequirements]
|
|
||||||
attr_accessor :custom_auth
|
|
||||||
|
|
||||||
# OAuth scopes are a way to define data and permissions on data. For example,
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
||||||
# there are scopes defined for "Read-only access to Google Calendar" and
|
# there are scopes defined for "Read-only access to Google Calendar" and
|
||||||
# "Access to Cloud Platform". Users can consent to a scope for an application,
|
# "Access to Cloud Platform". Users can consent to a scope for an application,
|
||||||
|
@ -343,7 +338,6 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential)
|
@allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential)
|
||||||
@custom_auth = args[:custom_auth] if args.key?(:custom_auth)
|
|
||||||
@oauth = args[:oauth] if args.key?(:oauth)
|
@oauth = args[:oauth] if args.key?(:oauth)
|
||||||
@requirements = args[:requirements] if args.key?(:requirements)
|
@requirements = args[:requirements] if args.key?(:requirements)
|
||||||
@selector = args[:selector] if args.key?(:selector)
|
@selector = args[:selector] if args.key?(:selector)
|
||||||
|
@ -721,27 +715,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Configuration for a custom authentication provider.
|
|
||||||
class CustomAuthRequirements
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# A configuration string containing connection information for the
|
|
||||||
# authentication provider, typically formatted as a SmartService string
|
|
||||||
# (go/smartservice).
|
|
||||||
# Corresponds to the JSON property `provider`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :provider
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@provider = args[:provider] if args.key?(:provider)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Customize service error responses. For example, list any service
|
# Customize service error responses. For example, list any service
|
||||||
# specific protobuf types that can appear in error detail lists of
|
# specific protobuf types that can appear in error detail lists of
|
||||||
# error responses.
|
# error responses.
|
||||||
|
|
|
@ -130,12 +130,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CustomAuthRequirements
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class CustomError
|
class CustomError
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -507,8 +501,6 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :allow_without_credential, as: 'allowWithoutCredential'
|
property :allow_without_credential, as: 'allowWithoutCredential'
|
||||||
property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceconsumermanagementV1::CustomAuthRequirements, decorator: Google::Apis::ServiceconsumermanagementV1::CustomAuthRequirements::Representation
|
|
||||||
|
|
||||||
property :oauth, as: 'oauth', class: Google::Apis::ServiceconsumermanagementV1::OAuthRequirements, decorator: Google::Apis::ServiceconsumermanagementV1::OAuthRequirements::Representation
|
property :oauth, as: 'oauth', class: Google::Apis::ServiceconsumermanagementV1::OAuthRequirements, decorator: Google::Apis::ServiceconsumermanagementV1::OAuthRequirements::Representation
|
||||||
|
|
||||||
collection :requirements, as: 'requirements', class: Google::Apis::ServiceconsumermanagementV1::AuthRequirement, decorator: Google::Apis::ServiceconsumermanagementV1::AuthRequirement::Representation
|
collection :requirements, as: 'requirements', class: Google::Apis::ServiceconsumermanagementV1::AuthRequirement, decorator: Google::Apis::ServiceconsumermanagementV1::AuthRequirement::Representation
|
||||||
|
@ -612,13 +604,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CustomAuthRequirements
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :provider, as: 'provider'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class CustomError
|
class CustomError
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-usage/
|
# @see https://cloud.google.com/service-usage/
|
||||||
module ServiceusageV1beta1
|
module ServiceusageV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20180503'
|
REVISION = '20180520'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -272,11 +272,6 @@ module Google
|
||||||
attr_accessor :allow_without_credential
|
attr_accessor :allow_without_credential
|
||||||
alias_method :allow_without_credential?, :allow_without_credential
|
alias_method :allow_without_credential?, :allow_without_credential
|
||||||
|
|
||||||
# Configuration for a custom authentication provider.
|
|
||||||
# Corresponds to the JSON property `customAuth`
|
|
||||||
# @return [Google::Apis::ServiceusageV1beta1::CustomAuthRequirements]
|
|
||||||
attr_accessor :custom_auth
|
|
||||||
|
|
||||||
# OAuth scopes are a way to define data and permissions on data. For example,
|
# OAuth scopes are a way to define data and permissions on data. For example,
|
||||||
# there are scopes defined for "Read-only access to Google Calendar" and
|
# there are scopes defined for "Read-only access to Google Calendar" and
|
||||||
# "Access to Cloud Platform". Users can consent to a scope for an application,
|
# "Access to Cloud Platform". Users can consent to a scope for an application,
|
||||||
|
@ -313,7 +308,6 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential)
|
@allow_without_credential = args[:allow_without_credential] if args.key?(:allow_without_credential)
|
||||||
@custom_auth = args[:custom_auth] if args.key?(:custom_auth)
|
|
||||||
@oauth = args[:oauth] if args.key?(:oauth)
|
@oauth = args[:oauth] if args.key?(:oauth)
|
||||||
@requirements = args[:requirements] if args.key?(:requirements)
|
@requirements = args[:requirements] if args.key?(:requirements)
|
||||||
@selector = args[:selector] if args.key?(:selector)
|
@selector = args[:selector] if args.key?(:selector)
|
||||||
|
@ -689,27 +683,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Configuration for a custom authentication provider.
|
|
||||||
class CustomAuthRequirements
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# A configuration string containing connection information for the
|
|
||||||
# authentication provider, typically formatted as a SmartService string
|
|
||||||
# (go/smartservice).
|
|
||||||
# Corresponds to the JSON property `provider`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :provider
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@provider = args[:provider] if args.key?(:provider)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Customize service error responses. For example, list any service
|
# Customize service error responses. For example, list any service
|
||||||
# specific protobuf types that can appear in error detail lists of
|
# specific protobuf types that can appear in error detail lists of
|
||||||
# error responses.
|
# error responses.
|
||||||
|
|
|
@ -118,12 +118,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CustomAuthRequirements
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class CustomError
|
class CustomError
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -498,8 +492,6 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :allow_without_credential, as: 'allowWithoutCredential'
|
property :allow_without_credential, as: 'allowWithoutCredential'
|
||||||
property :custom_auth, as: 'customAuth', class: Google::Apis::ServiceusageV1beta1::CustomAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::CustomAuthRequirements::Representation
|
|
||||||
|
|
||||||
property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1beta1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::OAuthRequirements::Representation
|
property :oauth, as: 'oauth', class: Google::Apis::ServiceusageV1beta1::OAuthRequirements, decorator: Google::Apis::ServiceusageV1beta1::OAuthRequirements::Representation
|
||||||
|
|
||||||
collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1beta1::AuthRequirement, decorator: Google::Apis::ServiceusageV1beta1::AuthRequirement::Representation
|
collection :requirements, as: 'requirements', class: Google::Apis::ServiceusageV1beta1::AuthRequirement, decorator: Google::Apis::ServiceusageV1beta1::AuthRequirement::Representation
|
||||||
|
@ -600,13 +592,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class CustomAuthRequirements
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :provider, as: 'provider'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class CustomError
|
class CustomError
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
Loading…
Reference in New Issue