From 6cb5c96af29941fa9af87a04ce19976397e048f2 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 16 Oct 2018 00:36:20 +0000 Subject: [PATCH] Autogenerated update (2018-10-16) Update: - accesscontextmanager_v1beta - androidmanagement_v1 - indexing_v3 - script_v1 - slides_v1 - vault_v1 --- api_names_out.yaml | 14 +++ .../apis/accesscontextmanager_v1beta.rb | 2 +- .../accesscontextmanager_v1beta/classes.rb | 2 +- generated/google/apis/androidmanagement_v1.rb | 2 +- .../apis/androidmanagement_v1/classes.rb | 96 +++++++++++++++++++ .../androidmanagement_v1/representations.rb | 35 +++++++ generated/google/apis/indexing_v3.rb | 5 +- generated/google/apis/indexing_v3/service.rb | 3 +- generated/google/apis/script_v1.rb | 4 +- generated/google/apis/script_v1/service.rb | 2 +- generated/google/apis/slides_v1.rb | 2 +- generated/google/apis/slides_v1/classes.rb | 7 +- generated/google/apis/vault_v1.rb | 2 +- generated/google/apis/vault_v1/classes.rb | 7 ++ .../google/apis/vault_v1/representations.rb | 1 + 15 files changed, 168 insertions(+), 16 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 185f7f6b3..b9af089c1 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6842,6 +6842,7 @@ "/androidmanagement:v1/ApplicationPolicy/lockTaskAllowed": lock_task_allowed "/androidmanagement:v1/ApplicationPolicy/managedConfiguration": managed_configuration "/androidmanagement:v1/ApplicationPolicy/managedConfiguration/managed_configuration": managed_configuration +"/androidmanagement:v1/ApplicationPolicy/managedConfigurationTemplate": managed_configuration_template "/androidmanagement:v1/ApplicationPolicy/minimumVersionCode": minimum_version_code "/androidmanagement:v1/ApplicationPolicy/packageName": package_name "/androidmanagement:v1/ApplicationPolicy/permissionGrants": permission_grants @@ -6954,6 +6955,8 @@ "/androidmanagement:v1/Enterprise/name": name "/androidmanagement:v1/Enterprise/primaryColor": primary_color "/androidmanagement:v1/Enterprise/pubsubTopic": pubsub_topic +"/androidmanagement:v1/Enterprise/signinDetails": signin_details +"/androidmanagement:v1/Enterprise/signinDetails/signin_detail": signin_detail "/androidmanagement:v1/Enterprise/termsAndConditions": terms_and_conditions "/androidmanagement:v1/Enterprise/termsAndConditions/terms_and_condition": terms_and_condition "/androidmanagement:v1/ExternalData": external_data @@ -7008,6 +7011,10 @@ "/androidmanagement:v1/ListPoliciesResponse/nextPageToken": next_page_token "/androidmanagement:v1/ListPoliciesResponse/policies": policies "/androidmanagement:v1/ListPoliciesResponse/policies/policy": policy +"/androidmanagement:v1/ManagedConfigurationTemplate": managed_configuration_template +"/androidmanagement:v1/ManagedConfigurationTemplate/configurationVariables": configuration_variables +"/androidmanagement:v1/ManagedConfigurationTemplate/configurationVariables/configuration_variable": configuration_variable +"/androidmanagement:v1/ManagedConfigurationTemplate/templateId": template_id "/androidmanagement:v1/ManagedProperty": managed_property "/androidmanagement:v1/ManagedProperty/defaultValue": default_value "/androidmanagement:v1/ManagedProperty/description": description @@ -7129,6 +7136,8 @@ "/androidmanagement:v1/Policy/openNetworkConfiguration/open_network_configuration": open_network_configuration "/androidmanagement:v1/Policy/outgoingBeamDisabled": outgoing_beam_disabled "/androidmanagement:v1/Policy/outgoingCallsDisabled": outgoing_calls_disabled +"/androidmanagement:v1/Policy/passwordPolicies": password_policies +"/androidmanagement:v1/Policy/passwordPolicies/password_policy": password_policy "/androidmanagement:v1/Policy/passwordRequirements": password_requirements "/androidmanagement:v1/Policy/permissionGrants": permission_grants "/androidmanagement:v1/Policy/permissionGrants/permission_grant": permission_grant @@ -7171,6 +7180,10 @@ "/androidmanagement:v1/ProxyInfo/host": host "/androidmanagement:v1/ProxyInfo/pacUri": pac_uri "/androidmanagement:v1/ProxyInfo/port": port +"/androidmanagement:v1/SigninDetail": signin_detail +"/androidmanagement:v1/SigninDetail/qrCode": qr_code +"/androidmanagement:v1/SigninDetail/signinEnrollmentToken": signin_enrollment_token +"/androidmanagement:v1/SigninDetail/signinUrl": signin_url "/androidmanagement:v1/SignupUrl": signup_url "/androidmanagement:v1/SignupUrl/name": name "/androidmanagement:v1/SignupUrl/url": url @@ -88672,6 +88685,7 @@ "/vault:v1/ListMattersResponse/nextPageToken": next_page_token "/vault:v1/MailExportOptions": mail_export_options "/vault:v1/MailExportOptions/exportFormat": export_format +"/vault:v1/MailExportOptions/showConfidentialModeContent": show_confidential_mode_content "/vault:v1/MailOptions": mail_options "/vault:v1/MailOptions/excludeDrafts": exclude_drafts "/vault:v1/Matter": matter diff --git a/generated/google/apis/accesscontextmanager_v1beta.rb b/generated/google/apis/accesscontextmanager_v1beta.rb index 36583546a..ba62251ce 100644 --- a/generated/google/apis/accesscontextmanager_v1beta.rb +++ b/generated/google/apis/accesscontextmanager_v1beta.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/access-context-manager/docs/reference/rest/ module AccesscontextmanagerV1beta VERSION = 'V1beta' - REVISION = '20181007' + REVISION = '20181013' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/accesscontextmanager_v1beta/classes.rb b/generated/google/apis/accesscontextmanager_v1beta/classes.rb index 843e724a3..7673fb4a5 100644 --- a/generated/google/apis/accesscontextmanager_v1beta/classes.rb +++ b/generated/google/apis/accesscontextmanager_v1beta/classes.rb @@ -102,7 +102,7 @@ module Google # @return [String] attr_accessor :parent - # Human readable title. Does not affect behavior. + # Required. Human readable title. Does not affect behavior. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 50457c423..7d80df0d1 100644 --- a/generated/google/apis/androidmanagement_v1.rb +++ b/generated/google/apis/androidmanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/management module AndroidmanagementV1 VERSION = 'V1' - REVISION = '20180910' + REVISION = '20181008' # Manage Android devices and apps for your customers AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index 0f9211a65..300859322 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -213,6 +213,14 @@ module Google # @return [Hash] attr_accessor :managed_configuration + # The formulated managed configuration with the managed configuration template + # applied to the app. To generate a web token that identifies the enterprise use + # https://developers.google.com/android/management/reference/rest/v1/enterprises. + # webTokens + # Corresponds to the JSON property `managedConfigurationTemplate` + # @return [Google::Apis::AndroidmanagementV1::ManagedConfigurationTemplate] + attr_accessor :managed_configuration_template + # 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 @@ -247,6 +255,7 @@ module Google @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) + @managed_configuration_template = args[:managed_configuration_template] if args.key?(:managed_configuration_template) @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) @@ -976,6 +985,11 @@ module Google # @return [String] attr_accessor :pubsub_topic + # Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported. + # Corresponds to the JSON property `signinDetails` + # @return [Array] + attr_accessor :signin_details + # Terms and conditions that must be accepted when provisioning a device for this # enterprise. A page of terms is generated for each value in this list. # Corresponds to the JSON property `termsAndConditions` @@ -995,6 +1009,7 @@ module Google @name = args[:name] if args.key?(:name) @primary_color = args[:primary_color] if args.key?(:primary_color) @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic) + @signin_details = args[:signin_details] if args.key?(:signin_details) @terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions) end end @@ -1264,6 +1279,35 @@ module Google end end + # The formulated managed configuration with the managed configuration template + # applied to the app. To generate a web token that identifies the enterprise use + # https://developers.google.com/android/management/reference/rest/v1/enterprises. + # webTokens + class ManagedConfigurationTemplate + include Google::Apis::Core::Hashable + + # Optional, a map containing configuration variables defined for + # the configuration. + # Corresponds to the JSON property `configurationVariables` + # @return [Hash] + attr_accessor :configuration_variables + + # The ID of the managed configurations template. + # Corresponds to the JSON property `templateId` + # @return [String] + attr_accessor :template_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @configuration_variables = args[:configuration_variables] if args.key?(:configuration_variables) + @template_id = args[:template_id] if args.key?(:template_id) + end + end + # Managed property. class ManagedProperty include Google::Apis::Core::Hashable @@ -2093,6 +2137,18 @@ module Google attr_accessor :outgoing_calls_disabled alias_method :outgoing_calls_disabled?, :outgoing_calls_disabled + # Password policy that can apply to different scope e.g. at either a device or + # profile level. 'password_requirements' is overridden if this policy is set + # with default scope or with scope explicitly applying to the scope that ' + # password_requirements' applies to. If scope is not specified then restriction + # applies to the default scope i.e. profile in a managed profile. If an entry + # exists with unspecified scope and also an entry for the default scope with + # scope explicitly specified then the explicit restriction overrides the default + # scope restriction. + # Corresponds to the JSON property `passwordPolicies` + # @return [Array] + attr_accessor :password_policies + # Requirements for the password used to unlock a device. # Corresponds to the JSON property `passwordRequirements` # @return [Google::Apis::AndroidmanagementV1::PasswordRequirements] @@ -2319,6 +2375,7 @@ module Google @open_network_configuration = args[:open_network_configuration] if args.key?(:open_network_configuration) @outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled) @outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled) + @password_policies = args[:password_policies] if args.key?(:password_policies) @password_requirements = args[:password_requirements] if args.key?(:password_requirements) @permission_grants = args[:permission_grants] if args.key?(:permission_grants) @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods) @@ -2421,6 +2478,45 @@ module Google end end + # A resource containing sign in details for an enterprise. + class SigninDetail + include Google::Apis::Core::Hashable + + # A JSON string whose UTF-8 representation can be used to generate a QR code to + # enroll a device with this enrollment token. To enroll a device using NFC, the + # NFC record must contain a serialized java.util.Properties representation of + # the properties in the JSON. This is a read-only field generated by the server. + # Corresponds to the JSON property `qrCode` + # @return [String] + attr_accessor :qr_code + + # An enterprise wide enrollment token used to trigger custom sign-in flow. This + # is a read-only field generated by the server. + # Corresponds to the JSON property `signinEnrollmentToken` + # @return [String] + attr_accessor :signin_enrollment_token + + # Sign-in URL for authentication when device is provisioned with a sign-in + # enrollment token. The sign-in endpoint should finish authentication flow with + # a URL in the form of https://enterprise.google.com/android/enroll?et= + # for a successful login, or https://enterprise.google.com/android/enroll/ + # invalid for a failed login. + # Corresponds to the JSON property `signinUrl` + # @return [String] + attr_accessor :signin_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @qr_code = args[:qr_code] if args.key?(:qr_code) + @signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token) + @signin_url = args[:signin_url] if args.key?(:signin_url) + end + end + # An enterprise signup URL. class SignupUrl include Google::Apis::Core::Hashable diff --git a/generated/google/apis/androidmanagement_v1/representations.rb b/generated/google/apis/androidmanagement_v1/representations.rb index 22b166ed0..14864f2b7 100644 --- a/generated/google/apis/androidmanagement_v1/representations.rb +++ b/generated/google/apis/androidmanagement_v1/representations.rb @@ -154,6 +154,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ManagedConfigurationTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ManagedProperty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -244,6 +250,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SigninDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SignupUrl class Representation < Google::Apis::Core::JsonRepresentation; end @@ -351,6 +363,8 @@ module Google property :install_type, as: 'installType' property :lock_task_allowed, as: 'lockTaskAllowed' hash :managed_configuration, as: 'managedConfiguration' + property :managed_configuration_template, as: 'managedConfigurationTemplate', class: Google::Apis::AndroidmanagementV1::ManagedConfigurationTemplate, decorator: Google::Apis::AndroidmanagementV1::ManagedConfigurationTemplate::Representation + 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 @@ -517,6 +531,8 @@ module Google property :name, as: 'name' property :primary_color, as: 'primaryColor' property :pubsub_topic, as: 'pubsubTopic' + collection :signin_details, as: 'signinDetails', class: Google::Apis::AndroidmanagementV1::SigninDetail, decorator: Google::Apis::AndroidmanagementV1::SigninDetail::Representation + collection :terms_and_conditions, as: 'termsAndConditions', class: Google::Apis::AndroidmanagementV1::TermsAndConditions, decorator: Google::Apis::AndroidmanagementV1::TermsAndConditions::Representation end @@ -590,6 +606,14 @@ module Google end end + class ManagedConfigurationTemplate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :configuration_variables, as: 'configurationVariables' + property :template_id, as: 'templateId' + end + end + class ManagedProperty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -767,6 +791,8 @@ module Google hash :open_network_configuration, as: 'openNetworkConfiguration' property :outgoing_beam_disabled, as: 'outgoingBeamDisabled' property :outgoing_calls_disabled, as: 'outgoingCallsDisabled' + collection :password_policies, as: 'passwordPolicies', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation + property :password_requirements, as: 'passwordRequirements', class: Google::Apis::AndroidmanagementV1::PasswordRequirements, decorator: Google::Apis::AndroidmanagementV1::PasswordRequirements::Representation collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation @@ -826,6 +852,15 @@ module Google end end + class SigninDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :qr_code, as: 'qrCode' + property :signin_enrollment_token, as: 'signinEnrollmentToken' + property :signin_url, as: 'signinUrl' + end + end + class SignupUrl # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/indexing_v3.rb b/generated/google/apis/indexing_v3.rb index 8920ef858..d744b1e1c 100644 --- a/generated/google/apis/indexing_v3.rb +++ b/generated/google/apis/indexing_v3.rb @@ -20,13 +20,12 @@ module Google module Apis # Indexing API # - # The Indexing API allows developers to share the life cycle of a Web Document - # with Google. + # Notifies Google when your web pages change. # # @see https://developers.google.com/search/apis/indexing-api/ module IndexingV3 VERSION = 'V3' - REVISION = '20180911' + REVISION = '20181012' # Submit data to Google for indexing AUTH_INDEXING = 'https://www.googleapis.com/auth/indexing' diff --git a/generated/google/apis/indexing_v3/service.rb b/generated/google/apis/indexing_v3/service.rb index fb455a103..1950fce0f 100644 --- a/generated/google/apis/indexing_v3/service.rb +++ b/generated/google/apis/indexing_v3/service.rb @@ -22,8 +22,7 @@ module Google module IndexingV3 # Indexing API # - # The Indexing API allows developers to share the life cycle of a Web Document - # with Google. + # Notifies Google when your web pages change. # # @example # require 'google/apis/indexing_v3' diff --git a/generated/google/apis/script_v1.rb b/generated/google/apis/script_v1.rb index 8714fcf26..9aaa183e7 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -20,12 +20,12 @@ module Google module Apis # Apps Script API # - # An API for managing and executing Google Apps Script projects. + # Manages and executes Google Apps Script projects. # # @see https://developers.google.com/apps-script/api/ module ScriptV1 VERSION = 'V1' - REVISION = '20180807' + REVISION = '20181013' # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' diff --git a/generated/google/apis/script_v1/service.rb b/generated/google/apis/script_v1/service.rb index 4b00a140c..fc4da72d9 100644 --- a/generated/google/apis/script_v1/service.rb +++ b/generated/google/apis/script_v1/service.rb @@ -22,7 +22,7 @@ module Google module ScriptV1 # Apps Script API # - # An API for managing and executing Google Apps Script projects. + # Manages and executes Google Apps Script projects. # # @example # require 'google/apis/script_v1' diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb index 168976fcd..6e1d970ea 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20180807' + REVISION = '20181010' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index 3bf6a95c8..8535a0831 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -3232,7 +3232,7 @@ module Google include Google::Apis::Core::Hashable # The alignment point of the shadow, that sets the origin for translate, - # scale and skew of the shadow. + # scale and skew of the shadow. This property is read-only. # Corresponds to the JSON property `alignment` # @return [String] attr_accessor :alignment @@ -3261,7 +3261,8 @@ module Google # @return [String] attr_accessor :property_state - # Whether the shadow should rotate with the shape. + # Whether the shadow should rotate with the shape. This property is + # read-only. # Corresponds to the JSON property `rotateWithShape` # @return [Boolean] attr_accessor :rotate_with_shape @@ -3280,7 +3281,7 @@ module Google # @return [Google::Apis::SlidesV1::AffineTransform] attr_accessor :transform - # The type of the shadow. + # The type of the shadow. This property is read-only. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type diff --git a/generated/google/apis/vault_v1.rb b/generated/google/apis/vault_v1.rb index 33d22dbbc..6c2e1cade 100644 --- a/generated/google/apis/vault_v1.rb +++ b/generated/google/apis/vault_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/vault module VaultV1 VERSION = 'V1' - REVISION = '20180731' + REVISION = '20180919' # Manage your eDiscovery data AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery' diff --git a/generated/google/apis/vault_v1/classes.rb b/generated/google/apis/vault_v1/classes.rb index 4a8c82664..ccf3788aa 100644 --- a/generated/google/apis/vault_v1/classes.rb +++ b/generated/google/apis/vault_v1/classes.rb @@ -930,6 +930,12 @@ module Google # @return [String] attr_accessor :export_format + # Set to true to export confidential mode content + # Corresponds to the JSON property `showConfidentialModeContent` + # @return [Boolean] + attr_accessor :show_confidential_mode_content + alias_method :show_confidential_mode_content?, :show_confidential_mode_content + def initialize(**args) update!(**args) end @@ -937,6 +943,7 @@ module Google # Update properties of this object def update!(**args) @export_format = args[:export_format] if args.key?(:export_format) + @show_confidential_mode_content = args[:show_confidential_mode_content] if args.key?(:show_confidential_mode_content) end end diff --git a/generated/google/apis/vault_v1/representations.rb b/generated/google/apis/vault_v1/representations.rb index 3d8633c8a..aff1587c4 100644 --- a/generated/google/apis/vault_v1/representations.rb +++ b/generated/google/apis/vault_v1/representations.rb @@ -583,6 +583,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :export_format, as: 'exportFormat' + property :show_confidential_mode_content, as: 'showConfidentialModeContent' end end