From 369a2f29f11172d3a3253652edd5dadcfdc3b786 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Thu, 8 Feb 2018 00:36:11 +0000 Subject: [PATCH] Autogenerated update (2018-02-08) Update: - androidmanagement_v1 - bigquerydatatransfer_v1 - iam_v1 - manufacturers_v1 - testing_v1 - youtube_v3 --- api_names_out.yaml | 18 ++ generated/google/apis/androidmanagement_v1.rb | 2 +- .../apis/androidmanagement_v1/classes.rb | 281 +++++++++--------- .../apis/androidmanagement_v1/service.rb | 47 +-- .../google/apis/bigquerydatatransfer_v1.rb | 2 +- .../apis/bigquerydatatransfer_v1/classes.rb | 2 +- generated/google/apis/iam_v1.rb | 2 +- generated/google/apis/iam_v1/classes.rb | 133 +++++++++ .../google/apis/iam_v1/representations.rb | 32 ++ generated/google/apis/manufacturers_v1.rb | 2 +- .../google/apis/manufacturers_v1/classes.rb | 2 +- generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/youtube_v3.rb | 2 +- generated/google/apis/youtube_v3/classes.rb | 57 ++++ .../google/apis/youtube_v3/representations.rb | 31 ++ 15 files changed, 442 insertions(+), 173 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 83483ab91..2f1d3262d 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -51541,8 +51541,16 @@ "/groupssettings:v1/quotaUser": quota_user "/groupssettings:v1/userIp": user_ip "/groupssettings:v1?force_alt_json": true +"/iam:v1/AuditConfig": audit_config +"/iam:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/iam:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/iam:v1/AuditConfig/service": service "/iam:v1/AuditData": audit_data "/iam:v1/AuditData/policyDelta": policy_delta +"/iam:v1/AuditLogConfig": audit_log_config +"/iam:v1/AuditLogConfig/exemptedMembers": exempted_members +"/iam:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/iam:v1/AuditLogConfig/logType": log_type "/iam:v1/AuditableService": auditable_service "/iam:v1/AuditableService/name": name "/iam:v1/Binding": binding @@ -51590,6 +51598,8 @@ "/iam:v1/Permission/stage": stage "/iam:v1/Permission/title": title "/iam:v1/Policy": policy +"/iam:v1/Policy/auditConfigs": audit_configs +"/iam:v1/Policy/auditConfigs/audit_config": audit_config "/iam:v1/Policy/bindings": bindings "/iam:v1/Policy/bindings/binding": binding "/iam:v1/Policy/etag": etag @@ -51646,6 +51656,7 @@ "/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time "/iam:v1/SetIamPolicyRequest": set_iam_policy_request "/iam:v1/SetIamPolicyRequest/policy": policy +"/iam:v1/SetIamPolicyRequest/updateMask": update_mask "/iam:v1/SignBlobRequest": sign_blob_request "/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign "/iam:v1/SignBlobResponse": sign_blob_response @@ -69786,6 +69797,11 @@ "/youtube:v3/MonitorStreamInfo/broadcastStreamDelayMs": broadcast_stream_delay_ms "/youtube:v3/MonitorStreamInfo/embedHtml": embed_html "/youtube:v3/MonitorStreamInfo/enableMonitorStream": enable_monitor_stream +"/youtube:v3/Nonprofit": nonprofit +"/youtube:v3/Nonprofit/nonprofitId": nonprofit_id +"/youtube:v3/Nonprofit/nonprofitLegalName": nonprofit_legal_name +"/youtube:v3/NonprofitId": nonprofit_id +"/youtube:v3/NonprofitId/value": value "/youtube:v3/PageInfo": page_info "/youtube:v3/PageInfo/resultsPerPage": results_per_page "/youtube:v3/PageInfo/totalResults": total_results @@ -69985,7 +70001,9 @@ "/youtube:v3/SuperChatEventSnippet/createdAt": created_at "/youtube:v3/SuperChatEventSnippet/currency": currency "/youtube:v3/SuperChatEventSnippet/displayString": display_string +"/youtube:v3/SuperChatEventSnippet/isSuperChatForGood": is_super_chat_for_good "/youtube:v3/SuperChatEventSnippet/messageType": message_type +"/youtube:v3/SuperChatEventSnippet/nonprofit": nonprofit "/youtube:v3/SuperChatEventSnippet/supporterDetails": supporter_details "/youtube:v3/Thumbnail": thumbnail "/youtube:v3/Thumbnail/height": height diff --git a/generated/google/apis/androidmanagement_v1.rb b/generated/google/apis/androidmanagement_v1.rb index 03f2f1ae3..980844218 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 = '20180108' + REVISION = '20180129' # 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 2b166aa3a..f8d838d96 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -49,12 +49,12 @@ module Google end # A compliance rule condition which is satisfied if the Android Framework API - # level on the device does not meet a minimum requirement. There can only be one + # level on the device doesn't meet a minimum requirement. There can only be one # rule with this type of condition per policy. class ApiLevelCondition include Google::Apis::Core::Hashable - # The minimum desired Android Framework API level. If the device does not meet + # The minimum desired Android Framework API level. If the device doesn't meet # the minimum requirement, this condition is satisfied. Must be greater than # zero. # Corresponds to the JSON property `minApiLevel` @@ -71,18 +71,17 @@ module Google end end - # Application information. + # Information about an app. class Application include Google::Apis::Core::Hashable - # The set of managed properties available to be pre-configured for the - # application. + # The set of managed properties available to be pre-configured for the app. # Corresponds to the JSON property `managedProperties` # @return [Array] attr_accessor :managed_properties - # The name of the application in the form enterprises/`enterpriseId`/ - # applications/`package_name` + # The name of the app in the form enterprises/`enterpriseId`/applications/` + # package_name`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -92,7 +91,7 @@ module Google # @return [Array] attr_accessor :permissions - # The title of the application. Localized. + # The title of the app. Localized. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title @@ -110,12 +109,12 @@ module Google end end - # Application permission. + # A permission required by the app. class ApplicationPermission include Google::Apis::Core::Hashable - # A longer description of the permission, giving more details of what it affects. - # Localized. + # A longer description of the permission, providing more detail on what it + # affects. Localized. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -158,7 +157,7 @@ module Google # @return [String] attr_accessor :install_type - # Whether the application is allowed to lock itself in full-screen mode. + # Whether the app is allowed to lock itself in full-screen mode. # Corresponds to the JSON property `lockTaskAllowed` # @return [Boolean] attr_accessor :lock_task_allowed @@ -178,8 +177,8 @@ module Google # @return [Hash] attr_accessor :managed_configuration - # The package name of the app, e.g. com.google.android.youtube for the YouTube - # app. + # The package name of the app. For example, com.google.android.youtube for the + # YouTube app. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name @@ -261,16 +260,16 @@ module Google include Google::Apis::Core::Hashable # A compliance rule condition which is satisfied if the Android Framework API - # level on the device does not meet a minimum requirement. There can only be one + # level on the device doesn't meet a minimum requirement. There can only be one # rule with this type of condition per policy. # Corresponds to the JSON property `apiLevelCondition` # @return [Google::Apis::AndroidmanagementV1::ApiLevelCondition] attr_accessor :api_level_condition - # If set to true, the rule includes a mitigating action to disable applications - # so that the device is effectively disabled, but application data is preserved. - # If the device is running an app in locked task mode, the app will be closed - # and a UI showing the reason for non-compliance will be displayed. + # If set to true, the rule includes a mitigating action to disable apps so that + # the device is effectively disabled, but app data is preserved. If the device + # is running an app in locked task mode, the app will be closed and a UI showing + # the reason for non-compliance will be displayed. # Corresponds to the JSON property `disableApps` # @return [Boolean] attr_accessor :disable_apps @@ -298,7 +297,7 @@ module Google end # A device owned by an enterprise. Unless otherwise noted, all fields are read- - # only and cannot be modified by an update device request. + # only and can't be modified by enterprises.devices.patch. class Device include Google::Apis::Core::Hashable @@ -307,17 +306,17 @@ module Google # @return [Fixnum] attr_accessor :api_level - # The name of the policy that is currently applied by the device. + # The name of the policy currently applied to the device. # Corresponds to the JSON property `appliedPolicyName` # @return [String] attr_accessor :applied_policy_name - # The version of the policy that is currently applied by the device. + # The version of the policy currently applied to the device. # Corresponds to the JSON property `appliedPolicyVersion` # @return [Fixnum] attr_accessor :applied_policy_version - # The state that is currently applied by the device. + # The state currently applied to the device. # Corresponds to the JSON property `appliedState` # @return [String] attr_accessor :applied_state @@ -327,14 +326,14 @@ module Google # @return [Google::Apis::AndroidmanagementV1::DeviceSettings] attr_accessor :device_settings - # Provides user facing message with locale info. The maximum message length is + # Provides a user-facing message with locale info. The maximum message length is # 4096 characters. # Corresponds to the JSON property `disabledReason` # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage] attr_accessor :disabled_reason - # Displays on the device. This information is only available when - # displayInfoEnabled is true in the device's policy. + # Detailed information about displays on the device. This information is only + # available if displayInfoEnabled is true in the device's policy. # Corresponds to the JSON property `displays` # @return [Array] attr_accessor :displays @@ -344,27 +343,27 @@ module Google # @return [String] attr_accessor :enrollment_time - # If this device was enrolled with an enrollment token with additional data + # If the device was enrolled with an enrollment token with additional data # provided, this field contains that data. # Corresponds to the JSON property `enrollmentTokenData` # @return [String] attr_accessor :enrollment_token_data - # If this device was enrolled with an enrollment token, this field contains the + # If the device was enrolled with an enrollment token, this field contains the # name of the token. # Corresponds to the JSON property `enrollmentTokenName` # @return [String] attr_accessor :enrollment_token_name # Information about device hardware. The fields related to temperature - # thresholds are only available when hardwareStatusEnabled is true in the device' - # s policy. + # thresholds are only available if hardwareStatusEnabled is true in the device's + # policy. # Corresponds to the JSON property `hardwareInfo` # @return [Google::Apis::AndroidmanagementV1::HardwareInfo] attr_accessor :hardware_info # Hardware status samples in chronological order. This information is only - # available when hardwareStatusEnabled is true in the device's policy. + # available if hardwareStatusEnabled is true in the device's policy. # Corresponds to the JSON property `hardwareStatusSamples` # @return [Array] attr_accessor :hardware_status_samples @@ -385,7 +384,7 @@ module Google attr_accessor :last_status_report_time # Events related to memory and storage measurements in chronological order. This - # information is only available when memoryInfoEnabled is true in the device's + # information is only available if memoryInfoEnabled is true in the device's # policy. # Corresponds to the JSON property `memoryEvents` # @return [Array] @@ -397,7 +396,7 @@ module Google attr_accessor :memory_info # The name of the device in the form enterprises/`enterpriseId`/devices/` - # deviceId` + # deviceId`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -407,7 +406,7 @@ module Google # @return [Google::Apis::AndroidmanagementV1::NetworkInfo] attr_accessor :network_info - # Details about policy settings for which the device is not in compliance. + # Details about policy settings that the device is not compliant with. # Corresponds to the JSON property `nonComplianceDetails` # @return [Array] attr_accessor :non_compliance_details @@ -418,27 +417,27 @@ module Google attr_accessor :policy_compliant alias_method :policy_compliant?, :policy_compliant - # The name of the policy that is intended to be applied to the device. If empty, - # the policy_name for the user that owns this device is applied. This field may - # be modified by an update request. The name of the policy is in the form - # enterprises/`enterpriseId`/policies/`policyId`. It is also permissible to only - # specify the policyId when updating this field as long as the policyId contains - # no slashes since the rest of the policy name can be inferred from context. + # The name of the policy applied to the device, in the form enterprises/` + # enterpriseId`/policies/`policyId`. If not specified, the policy_name for the + # device's user is applied. This field can be modified by a patch request. You + # can specify only the policyId when calling enterprises.devices.patch, as long + # as the policyId doesn’t contain any slashes. The rest of the policy name is + # inferred. # Corresponds to the JSON property `policyName` # @return [String] attr_accessor :policy_name # Power management events on the device in chronological order. This information - # is only available when powerManagementEventsEnabled is true in the device's + # is only available if powerManagementEventsEnabled is true in the device's # policy. # Corresponds to the JSON property `powerManagementEvents` # @return [Array] attr_accessor :power_management_events - # The previous device names used for the same physical device when it has been - # enrolled multiple times. The serial number is used as the unique identifier to - # determine if the same physical device has enrolled previously. The names are - # in chronological order. + # If the same physical device has been enrolled multiple times, this field + # contains its previous device names. The serial number is used as the unique + # identifier to determine if the same physical device has enrolled previously. + # The names are in chronological order. # Corresponds to the JSON property `previousDeviceNames` # @return [Array] attr_accessor :previous_device_names @@ -448,10 +447,10 @@ module Google # @return [Google::Apis::AndroidmanagementV1::SoftwareInfo] attr_accessor :software_info - # The state that is intended to be applied to the device. This field may be - # modified by an update request. Note that UpdateDevice only handles toggling - # between ACTIVE and DISABLED states. Use the delete device method to cause the - # device to enter the DELETED state. + # The state to be applied to the device. This field can be modified by a patch + # request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED + # are the only allowable values. To enter the device into a DELETED state, call + # enterprises.devices.delete. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -634,16 +633,16 @@ module Google include Google::Apis::Core::Hashable # Optional, arbitrary data associated with the enrollment token. This could - # contain, for example, the id of an org unit to which the device is assigned - # after enrollment. After a device enrolls with the token, this data will be - # exposed in the enrollment_token_data field of the Device resource. The data - # must be 1024 characters or less; otherwise, the creation request will fail. + # contain, for example, the ID of an org unit the device is assigned to after + # enrollment. After a device enrolls with the token, this data will be exposed + # in the enrollment_token_data field of the Device resource. The data must be + # 1024 characters or less; otherwise, the creation request will fail. # Corresponds to the JSON property `additionalData` # @return [String] attr_accessor :additional_data - # The duration of the token. If not specified, the duration will be 1 hour. The - # allowed range is 1 minute to 30 days. + # The length of time the enrollment token is valid, ranging from 1 minute to 30 + # days. If not specified, the default duration is 1 hour. # Corresponds to the JSON property `duration` # @return [String] attr_accessor :duration @@ -656,18 +655,18 @@ module Google # The name of the enrollment token, which is generated by the server during # creation, in the form enterprises/`enterpriseId`/enrollmentTokens/` - # enrollmentTokenId` + # enrollmentTokenId`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The name of the policy that will be initially applied to the enrolled device - # in the form enterprises/`enterpriseId`/policies/`policyId`. If not specified, - # the policy_name for the user that owns the device is applied. If user_name - # also isn't specified, the policy defaults to enterprises/`enterpriseId`/ - # policies/default. It is permissible to only specify the policyId when updating - # this field as long as the policyId contains no slashes since the rest of the - # policy name can be inferred from context. + # The name of the policy initially applied to the enrolled device, in the form + # enterprises/`enterpriseId`/policies/`policyId`. If not specified, the + # policy_name for the device’s user is applied. If user_name is also not + # specified, enterprises/`enterpriseId`/policies/default is applied by default. + # When updating this field, you can specify only the policyId as long as the + # policyId doesn’t contain any slashes. The rest of the policy name will be + # inferred. # Corresponds to the JSON property `policyName` # @return [String] attr_accessor :policy_name @@ -680,7 +679,7 @@ module Google # @return [String] attr_accessor :qr_code - # The token value which is passed to the device and authorizes the device to + # The token value that's passed to the device and authorizes the device to # enroll. This is a read-only field generated by the server. # Corresponds to the JSON property `value` # @return [String] @@ -706,21 +705,20 @@ module Google class Enterprise include Google::Apis::Core::Hashable - # Whether app auto-approval is enabled. When enabled, apps installed via policy - # for this enterprise have all permissions automatically approved. When enabled, - # it is the caller's responsibility to display the permissions required by an - # app to the enterprise admin before setting the app to be installed in a policy. + # Whether permissions for apps installed via policy are automatically approved. + # If enabled, you must display an app's permissions to the enterprise admin + # before setting the app to be installed in a policy. # Corresponds to the JSON property `appAutoApprovalEnabled` # @return [Boolean] attr_accessor :app_auto_approval_enabled alias_method :app_auto_approval_enabled?, :app_auto_approval_enabled - # The notification types to enable via Google Cloud Pub/Sub. + # The types of Google Pub/Sub notifications enabled for the enterprise. # Corresponds to the JSON property `enabledNotificationTypes` # @return [Array] attr_accessor :enabled_notification_types - # The name of the enterprise as it will appear to users. + # The name of the enterprise displayed to users. # Corresponds to the JSON property `enterpriseDisplayName` # @return [String] attr_accessor :enterprise_display_name @@ -732,24 +730,22 @@ module Google attr_accessor :logo # The name of the enterprise which is generated by the server during creation, - # in the form enterprises/`enterpriseId` + # in the form enterprises/`enterpriseId`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # A color in RGB format indicating the predominant color to display in the + # A color in RGB format that indicates the predominant color to display in the # device management app UI. The color components are stored as follows: (red << - # 16) | (green << 8) | blue, where each component may take a value between 0 and - # 255 inclusive. + # 16) | (green << 8) | blue, where the value of each component is between 0 and + # 255, inclusive. # Corresponds to the JSON property `primaryColor` # @return [Fixnum] attr_accessor :primary_color - # When Cloud Pub/Sub notifications are enabled, this field is required to - # indicate the topic to which the notifications will be published. The format of - # this field is projects/`project`/topics/`topic`. You must have granted the - # publish permission on this topic to android-cloud-policy@system. - # gserviceaccount.com + # The topic that Cloud Pub/Sub notifications are published to, in the form + # projects/`project`/topics/`topic`. This field is only required if Pub/Sub + # notifications are enabled. # Corresponds to the JSON property `pubsubTopic` # @return [String] attr_accessor :pubsub_topic @@ -776,13 +772,13 @@ module Google include Google::Apis::Core::Hashable # The base-64 encoded SHA-256 hash of the content hosted at url. If the content - # does not match this hash, Android Device Policy will not use the data. + # doesn't match this hash, Android Device Policy won't use the data. # Corresponds to the JSON property `sha256Hash` # @return [String] attr_accessor :sha256_hash # The absolute URL to the data, which must use either the http or https scheme. - # Android Device Policy does not provide any credentials in the GET request, so + # Android Device Policy doesn't provide any credentials in the GET request, so # the URL must be publicly accessible. Including a long, random component in the # URL may be used to prevent attackers from discovering the URL. # Corresponds to the JSON property `url` @@ -801,8 +797,8 @@ module Google end # Information about device hardware. The fields related to temperature - # thresholds are only available when hardwareStatusEnabled is true in the device' - # s policy. + # thresholds are only available if hardwareStatusEnabled is true in the device's + # policy. class HardwareInfo include Google::Apis::Core::Hashable @@ -818,7 +814,7 @@ module Google # @return [Array] attr_accessor :battery_throttling_temperatures - # Brand of the device, e.g. Google. + # Brand of the device. For example, Google. # Corresponds to the JSON property `brand` # @return [String] attr_accessor :brand @@ -833,7 +829,7 @@ module Google # @return [Array] attr_accessor :cpu_throttling_temperatures - # Baseband version, e.g. MDM9625_104662.22.05.34p. + # Baseband version. For example, MDM9625_104662.22.05.34p. # Corresponds to the JSON property `deviceBasebandVersion` # @return [String] attr_accessor :device_baseband_version @@ -848,17 +844,17 @@ module Google # @return [Array] attr_accessor :gpu_throttling_temperatures - # Name of the hardware, e.g. Angler. + # Name of the hardware. For example, Angler. # Corresponds to the JSON property `hardware` # @return [String] attr_accessor :hardware - # Manufacturer, e.g. Motorola. + # Manufacturer. For example, Motorola. # Corresponds to the JSON property `manufacturer` # @return [String] attr_accessor :manufacturer - # The model of the device, e.g. Asus Nexus 7. + # The model of the device. For example, Asus Nexus 7. # Corresponds to the JSON property `model` # @return [String] attr_accessor :model @@ -1039,13 +1035,13 @@ module Google class ManagedProperty include Google::Apis::Core::Hashable - # The default value of the properties. BUNDLE_ARRAY properties never have a + # The default value of the property. BUNDLE_ARRAY properties don't have a # default value. # Corresponds to the JSON property `defaultValue` # @return [Object] attr_accessor :default_value - # A longer description of the property, giving more detail of what it affects. + # A longer description of the property, providing more detail of what it affects. # Localized. # Corresponds to the JSON property `description` # @return [String] @@ -1056,8 +1052,8 @@ module Google # @return [Array] attr_accessor :entries - # The unique key that the application uses to identify the property, e.g. "com. - # google.android.gm.fieldname". + # The unique key that the app uses to identify the property, e.g. "com.google. + # android.gm.fieldname". # Corresponds to the JSON property `key` # @return [String] attr_accessor :key @@ -1181,17 +1177,17 @@ module Google class NetworkInfo include Google::Apis::Core::Hashable - # IMEI number of the GSM device, e.g. A1000031212. + # IMEI number of the GSM device. For example, A1000031212. # Corresponds to the JSON property `imei` # @return [String] attr_accessor :imei - # MEID number of the CDMA device, e.g. A00000292788E1. + # MEID number of the CDMA device. For example, A00000292788E1. # Corresponds to the JSON property `meid` # @return [String] attr_accessor :meid - # WiFi MAC address of the device, e.g. 7c:11:11:11:11:11. + # Wi-Fi MAC address of the device. For example, 7c:11:11:11:11:11. # Corresponds to the JSON property `wifiMacAddress` # @return [String] attr_accessor :wifi_mac_address @@ -1231,7 +1227,7 @@ module Google attr_accessor :field_path # If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or - # APP_NOT_UPDATED, the detailed reason the app cannot be installed or updated. + # APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. # Corresponds to the JSON property `installationFailureReason` # @return [String] attr_accessor :installation_failure_reason @@ -1241,8 +1237,7 @@ module Google # @return [String] attr_accessor :non_compliance_reason - # The package name indicating which application is out of compliance, if - # applicable. + # The package name indicating which app is out of compliance, if applicable. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name @@ -1282,8 +1277,8 @@ module Google # @return [String] attr_accessor :non_compliance_reason - # The package name indicating which application is out of compliance. If not set, - # then this condition matches any package name. + # The package name of the app that's out of compliance. If not set, then this + # condition matches any package name. # Corresponds to the JSON property `packageName` # @return [String] attr_accessor :package_name @@ -1419,8 +1414,8 @@ module Google class PasswordRequirements include Google::Apis::Core::Hashable - # A device will be wiped after too many incorrect device-unlock passwords have - # been entered. A value of 0 means there is no restriction. + # Number of incorrect device-unlock passwords that can be entered before a + # device is wiped. A value of 0 means there is no restriction. # Corresponds to the JSON property `maximumFailedPasswordsForWipe` # @return [Fixnum] attr_accessor :maximum_failed_passwords_for_wipe @@ -1430,9 +1425,9 @@ module Google # @return [String] attr_accessor :password_expiration_timeout - # The length of the password history. After setting this, the user will not be - # able to enter a new password that is the same as any password in the history. - # A value of 0 means there is no restriction. + # The length of the password history. After setting this field, the user won't + # be able to enter a new password that is the same as any password in the + # history. A value of 0 means there is no restriction. # Corresponds to the JSON property `passwordHistoryLength` # @return [Fixnum] attr_accessor :password_history_length @@ -1570,11 +1565,12 @@ module Google end end - # A policy, which governs behavior for a device. + # A policy resources represents a group settings that govern the behavior of a + # managed device and the apps installed on it. class Policy include Google::Apis::Core::Hashable - # Account types that cannot be managed by the user. + # Account types that can't be managed by the user. # Corresponds to the JSON property `accountTypesWithManagementDisabled` # @return [Array] attr_accessor :account_types_with_management_disabled @@ -1681,12 +1677,12 @@ module Google attr_accessor :debugging_features_allowed alias_method :debugging_features_allowed?, :debugging_features_allowed - # The default permission policy for requests for runtime permissions. + # The default permission policy for runtime permission requests. # Corresponds to the JSON property `defaultPermissionPolicy` # @return [String] attr_accessor :default_permission_policy - # Whether application verification is forced to be enabled. + # Whether app verification is force-enabled. # Corresponds to the JSON property `ensureVerifyAppsEnabled` # @return [Boolean] attr_accessor :ensure_verify_apps_enabled @@ -1701,7 +1697,7 @@ module Google # Email addresses of device administrators for factory reset protection. When # the device is factory reset, it will require one of these admins to log in # with the Google account email and password to unlock the device. If no admins - # are specified, the device will not provide factory reset protection. + # are specified, the device won't provide factory reset protection. # Corresponds to the JSON property `frpAdminEmails` # @return [Array] attr_accessor :frp_admin_emails @@ -1747,14 +1743,14 @@ module Google attr_accessor :kiosk_custom_launcher_enabled alias_method :kiosk_custom_launcher_enabled?, :kiosk_custom_launcher_enabled - # Provides user facing message with locale info. The maximum message length is + # Provides a user-facing message with locale info. The maximum message length is # 4096 characters. # Corresponds to the JSON property `longSupportMessage` # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage] attr_accessor :long_support_message - # Maximum time in milliseconds for user activity until the device will lock. A - # value of 0 means there is no restriction. + # Maximum time in milliseconds for user activity until the device locks. A value + # of 0 means there is no restriction. # Corresponds to the JSON property `maximumTimeToLock` # @return [Fixnum] attr_accessor :maximum_time_to_lock @@ -1778,7 +1774,7 @@ module Google alias_method :mount_physical_media_disabled?, :mount_physical_media_disabled # The name of the policy in the form enterprises/`enterpriseId`/policies/` - # policyId` + # policyId`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1807,7 +1803,7 @@ module Google # @return [Hash] attr_accessor :open_network_configuration - # Whether using NFC to beam out data from apps is disabled. + # Whether using NFC to beam data from apps is disabled. # Corresponds to the JSON property `outgoingBeamDisabled` # @return [Boolean] attr_accessor :outgoing_beam_disabled @@ -1870,20 +1866,20 @@ module Google attr_accessor :set_wallpaper_disabled alias_method :set_wallpaper_disabled?, :set_wallpaper_disabled - # Provides user facing message with locale info. The maximum message length is + # Provides a user-facing message with locale info. The maximum message length is # 4096 characters. # Corresponds to the JSON property `shortSupportMessage` # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage] attr_accessor :short_support_message - # Whether sending or receiving SMS messages is disabled. + # Whether sending and receiving SMS messages is disabled. # Corresponds to the JSON property `smsDisabled` # @return [Boolean] attr_accessor :sms_disabled alias_method :sms_disabled?, :sms_disabled # Whether the status bar is disabled. This disables notifications, quick - # settings and other screen overlays that allow escape from full-screen mode. + # settings, and other screen overlays that allow escape from full-screen mode. # Corresponds to the JSON property `statusBarDisabled` # @return [Boolean] attr_accessor :status_bar_disabled @@ -1942,14 +1938,14 @@ module Google attr_accessor :vpn_config_disabled alias_method :vpn_config_disabled?, :vpn_config_disabled - # Whether configuring WiFi access points is disabled. + # Whether configuring Wi-Fi access points is disabled. # Corresponds to the JSON property `wifiConfigDisabled` # @return [Boolean] attr_accessor :wifi_config_disabled alias_method :wifi_config_disabled?, :wifi_config_disabled - # Whether WiFi networks defined in Open Network Configuration are locked so they - # cannot be edited by the user. + # Whether Wi-Fi networks defined in Open Network Configuration are locked so + # they can't be edited by the user. # Corresponds to the JSON property `wifiConfigsLockdownEnabled` # @return [Boolean] attr_accessor :wifi_configs_lockdown_enabled @@ -2099,14 +2095,14 @@ module Google class SignupUrl include Google::Apis::Core::Hashable - # The name of the resource. This must be included in the create enterprise - # request at the end of the signup flow. + # The name of the resource. Use this value in the signupUrl field when calling + # enterprises.create to complete the enterprise signup flow. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # A URL under which the Admin can sign up for an enterprise. The page pointed to - # cannot be rendered in an iframe. + # A URL where an enterprise admin can register their enterprise. The page can't + # be rendered in an iframe. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url @@ -2126,8 +2122,8 @@ module Google class SoftwareInfo include Google::Apis::Core::Hashable - # Android build Id string meant for displaying to the user, e.g. shamu-userdebug - # 6.0.1 MOB30I 2756745 dev-keys. + # Android build ID string meant for displaying to the user. For example, shamu- + # userdebug 6.0.1 MOB30I 2756745 dev-keys. # Corresponds to the JSON property `androidBuildNumber` # @return [String] attr_accessor :android_build_number @@ -2147,7 +2143,7 @@ module Google # @return [String] attr_accessor :android_device_policy_version_name - # The user visible Android version string, e.g. 6.0.1. + # The user-visible Android version string. For example, 6.0.1. # Corresponds to the JSON property `androidVersion` # @return [String] attr_accessor :android_version @@ -2157,7 +2153,7 @@ module Google # @return [String] attr_accessor :bootloader_version - # Kernel version, e.g. 2.6.32.9-g103d848. + # Kernel version, for example, 2.6.32.9-g103d848. # Corresponds to the JSON property `deviceKernelVersion` # @return [String] attr_accessor :device_kernel_version @@ -2318,7 +2314,7 @@ module Google include Google::Apis::Core::Hashable # If the type is WINDOWED, the end of the maintenance window, measured as the - # number of minutes after midnight in device local time. This value must be + # number of minutes after midnight in device's local time. This value must be # between 0 and 1439, inclusive. If this value is less than start_minutes, then # the maintenance window spans midnight. If the maintenance window specified is # smaller than 30 minutes, the actual window is extended to 30 minutes beyond @@ -2328,8 +2324,8 @@ module Google attr_accessor :end_minutes # If the type is WINDOWED, the start of the maintenance window, measured as the - # number of minutes after midnight in device local time. This value must be - # between 0 and 1439, inclusive. + # number of minutes after midnight in the device's local time. This value must + # be between 0 and 1439, inclusive. # Corresponds to the JSON property `startMinutes` # @return [Fixnum] attr_accessor :start_minutes @@ -2351,20 +2347,21 @@ module Google end end - # Provides user facing message with locale info. The maximum message length is + # Provides a user-facing message with locale info. The maximum message length is # 4096 characters. class UserFacingMessage include Google::Apis::Core::Hashable - # The default message that gets displayed if no localized message is specified, - # or the user's locale does not match with any of the localized messages. A - # default message must be provided if any localized messages are provided. + # The default message displayed if no localized message is specified or the user' + # s locale doesn't match with any of the localized messages. A default message + # must be provided if any localized messages are provided. # Corresponds to the JSON property `defaultMessage` # @return [String] attr_accessor :default_message - # A map which contains pairs. The locale is a BCP 47 language - # code, e.g. en-US, es-ES, fr. + # A map containing pairs, where locale is a well-formed BCP 47 + # language (https://www.w3.org/International/articles/language-tags/) code, such + # as en-US, es-ES, or fr. # Corresponds to the JSON property `localizedMessages` # @return [Hash] attr_accessor :localized_messages @@ -2380,12 +2377,12 @@ module Google end end - # A web token used to access an embeddable managed Google Play web UI. + # A web token used to access the managed Google Play iframe. class WebToken include Google::Apis::Core::Hashable - # The name of the web token, which is generated by the server during creation, - # in the form enterprises/`enterpriseId`/webTokens/`webTokenId`. + # The name of the web token, which is generated by the server during creation in + # the form enterprises/`enterpriseId`/webTokens/`webTokenId`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -2397,7 +2394,7 @@ module Google # @return [String] attr_accessor :parent_frame_url - # Permissions the admin may exercise in the embedded UI. The admin must have all + # Permissions available to an admin in the embedded UI. An admin must have all # of these permissions in order to view the UI. # Corresponds to the JSON property `permissions` # @return [Array] diff --git a/generated/google/apis/androidmanagement_v1/service.rb b/generated/google/apis/androidmanagement_v1/service.rb index 67a685246..4aff286f7 100644 --- a/generated/google/apis/androidmanagement_v1/service.rb +++ b/generated/google/apis/androidmanagement_v1/service.rb @@ -48,12 +48,12 @@ module Google @batch_path = 'batch' end - # Creates an enterprise by completing the enterprise signup flow. + # Creates an enterprise. This is the last step in the enterprise signup flow. # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object # @param [String] enterprise_token # The enterprise token appended to the callback URL. # @param [String] project_id - # The id of the Google Cloud Platform project which will own the enterprise. + # The ID of the Google Cloud Platform project which will own the enterprise. # @param [String] signup_url_name # The name of the SignupUrl used to sign up for the enterprise. # @param [String] fields @@ -89,7 +89,7 @@ module Google # Gets an enterprise. # @param [String] name - # The name of the enterprise in the form enterprises/`enterpriseId` + # The name of the enterprise in the form enterprises/`enterpriseId`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -119,7 +119,7 @@ module Google # Updates an enterprise. # @param [String] name - # The name of the enterprise in the form enterprises/`enterpriseId` + # The name of the enterprise in the form enterprises/`enterpriseId`. # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object # @param [String] update_mask # The field mask indicating the fields to update. If not set, all modifiable @@ -157,7 +157,7 @@ module Google # Gets info about an application. # @param [String] name # The name of the application in the form enterprises/`enterpriseId`/ - # applications/`package_name` + # applications/`package_name`. # @param [String] language_code # The preferred language for localized application info, as a BCP47 tag (e.g. " # en-US", "de"). If not specified the default language of the application will @@ -190,10 +190,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a device, which causes the device to be wiped. + # Deletes a device. This operation wipes the device. # @param [String] name # The name of the device in the form enterprises/`enterpriseId`/devices/` - # deviceId` + # deviceId`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -224,7 +224,7 @@ module Google # Gets a device. # @param [String] name # The name of the device in the form enterprises/`enterpriseId`/devices/` - # deviceId` + # deviceId`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -257,7 +257,7 @@ module Google # of the command. # @param [String] name # The name of the device in the form enterprises/`enterpriseId`/devices/` - # deviceId` + # deviceId`. # @param [Google::Apis::AndroidmanagementV1::Command] command_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -290,12 +290,12 @@ module Google # Lists devices for a given enterprise. # @param [String] parent - # The name of the enterprise in the form enterprises/`enterpriseId` + # The name of the enterprise in the form enterprises/`enterpriseId`. # @param [Fixnum] page_size # The requested page size. The actual page size may be fixed to a min or max # value. # @param [String] page_token - # A token identifying a page of results the server should return. + # A token identifying a page of results returned by the server. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -328,7 +328,7 @@ module Google # Updates a device. # @param [String] name # The name of the device in the form enterprises/`enterpriseId`/devices/` - # deviceId` + # deviceId`. # @param [Google::Apis::AndroidmanagementV1::Device] device_object # @param [String] update_mask # The field mask indicating the fields to update. If not set, all modifiable @@ -512,7 +512,7 @@ module Google # Creates an enrollment token for a given enterprise. # @param [String] parent - # The name of the enterprise in the form enterprises/`enterpriseId` + # The name of the enterprise in the form enterprises/`enterpriseId`. # @param [Google::Apis::AndroidmanagementV1::EnrollmentToken] enrollment_token_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -543,10 +543,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an enrollment token, which prevents future use of the token. + # Deletes an enrollment token. This operation invalidates the token, preventing + # its future use. # @param [String] name # The name of the enrollment token in the form enterprises/`enterpriseId`/ - # enrollmentTokens/`enrollmentTokenId` + # enrollmentTokens/`enrollmentTokenId`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -578,7 +579,7 @@ module Google # referencing the policy. # @param [String] name # The name of the policy in the form enterprises/`enterpriseId`/policies/` - # policyId` + # policyId`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -609,7 +610,7 @@ module Google # Gets a policy. # @param [String] name # The name of the policy in the form enterprises/`enterpriseId`/policies/` - # policyId` + # policyId`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -639,12 +640,12 @@ module Google # Lists policies for a given enterprise. # @param [String] parent - # The name of the enterprise in the form enterprises/`enterpriseId` + # The name of the enterprise in the form enterprises/`enterpriseId`. # @param [Fixnum] page_size # The requested page size. The actual page size may be fixed to a min or max # value. # @param [String] page_token - # A token identifying a page of results the server should return. + # A token identifying a page of results returned by the server. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -677,7 +678,7 @@ module Google # Updates or creates a policy. # @param [String] name # The name of the policy in the form enterprises/`enterpriseId`/policies/` - # policyId` + # policyId`. # @param [Google::Apis::AndroidmanagementV1::Policy] policy_object # @param [String] update_mask # The field mask indicating the fields to update. If not set, all modifiable @@ -715,7 +716,7 @@ module Google # Creates a web token to access an embeddable managed Google Play web UI for a # given enterprise. # @param [String] parent - # The name of the enterprise in the form enterprises/`enterpriseId` + # The name of the enterprise in the form enterprises/`enterpriseId`. # @param [Google::Apis::AndroidmanagementV1::WebToken] web_token_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -748,14 +749,14 @@ module Google # Creates an enterprise signup URL. # @param [String] callback_url - # The callback URL to which the admin will be redirected after successfully + # The callback URL that the admin will be redirected to after successfully # creating an enterprise. Before redirecting there the system will add a query # parameter to this URL named enterpriseToken which will contain an opaque token # to be used for the create enterprise request. The URL will be parsed then # reformatted in order to add the enterpriseToken parameter, so there may be # some minor formatting changes. # @param [String] project_id - # The id of the Google Cloud Platform project which will own the enterprise. + # The ID of the Google Cloud Platform project which will own the enterprise. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index 5d56a7b1c..bb6f0aab9 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20180128' + REVISION = '20180202' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index f6a598d51..e16174132 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -638,7 +638,7 @@ module Google # When a new transfer configuration is created, the specified # `destination_dataset_id` is created when needed and shared with the # appropriate data source service account. - # Next id: 20 + # Next id: 21 class TransferConfig include Google::Apis::Core::Hashable diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index ccb9bced4..586adb1b3 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20180118' + REVISION = '20180202' # 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/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 585ef1598..ceeeddb53 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -22,6 +22,80 @@ module Google module Apis module IamV1 + # Specifies the audit configuration for a service. + # The configuration determines which permission types are logged, and what + # identities, if any, are exempted from logging. + # An AuditConfig must have one or more AuditLogConfigs. + # If there are AuditConfigs for both `allServices` and a specific service, + # the union of the two AuditConfigs is used for that service: the log_types + # specified in each AuditConfig are enabled, and the exempted_members in each + # AuditLogConfig are exempted. + # Example Policy with multiple AuditConfigs: + # ` + # "audit_configs": [ + # ` + # "service": "allServices" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # `, + # ` + # "log_type": "ADMIN_READ", + # ` + # ] + # `, + # ` + # "service": "fooservice.googleapis.com" + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # `, + # ` + # "log_type": "DATA_WRITE", + # "exempted_members": [ + # "user:bar@gmail.com" + # ] + # ` + # ] + # ` + # ] + # ` + # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ + # logging. It also exempts foo@gmail.com from DATA_READ logging, and + # bar@gmail.com from DATA_WRITE logging. + class AuditConfig + include Google::Apis::Core::Hashable + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # Specifies a service that will be enabled for audit logging. + # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. + # `allServices` is a special value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @service = args[:service] if args.key?(:service) + end + end + # Audit log information specific to Cloud IAM. This message is serialized # as an `Any` type in the `ServiceData` message of an # `AuditLog` message. @@ -43,6 +117,49 @@ module Google end end + # Provides the configuration for logging a type of permissions. + # Example: + # ` + # "audit_log_configs": [ + # ` + # "log_type": "DATA_READ", + # "exempted_members": [ + # "user:foo@gmail.com" + # ] + # `, + # ` + # "log_type": "DATA_WRITE", + # ` + # ] + # ` + # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting + # foo@gmail.com from DATA_READ logging. + class AuditLogConfig + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + # Contains information about an auditable service. class AuditableService include Google::Apis::Core::Hashable @@ -411,6 +528,11 @@ module Google class Policy include Google::Apis::Core::Hashable + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + # Associates a list of `members` to a `role`. # `bindings` with no members will result in an error. # Corresponds to the JSON property `bindings` @@ -442,6 +564,7 @@ module Google # Update properties of this object def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) @bindings = args[:bindings] if args.key?(:bindings) @etag = args[:etag] if args.key?(:etag) @version = args[:version] if args.key?(:version) @@ -891,6 +1014,15 @@ module Google # @return [Google::Apis::IamV1::Policy] attr_accessor :policy + # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + # the fields in the mask will be modified. If no mask is provided, the + # following default mask is used: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + def initialize(**args) update!(**args) end @@ -898,6 +1030,7 @@ module Google # Update properties of this object def update!(**args) @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) end end diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index 2d17c30f1..5912328e2 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -22,12 +22,24 @@ module Google module Apis module IamV1 + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AuditData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AuditableService class Representation < Google::Apis::Core::JsonRepresentation; end @@ -208,6 +220,15 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::IamV1::AuditLogConfig, decorator: Google::Apis::IamV1::AuditLogConfig::Representation + + property :service, as: 'service' + end + end + class AuditData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -216,6 +237,14 @@ module Google end end + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + class AuditableService # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -314,6 +343,8 @@ module Google class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::IamV1::AuditConfig, decorator: Google::Apis::IamV1::AuditConfig::Representation + collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation property :etag, :base64 => true, as: 'etag' @@ -425,6 +456,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation + property :update_mask, as: 'updateMask' end end diff --git a/generated/google/apis/manufacturers_v1.rb b/generated/google/apis/manufacturers_v1.rb index 1e390327f..48798f9f2 100644 --- a/generated/google/apis/manufacturers_v1.rb +++ b/generated/google/apis/manufacturers_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/manufacturers/ module ManufacturersV1 VERSION = 'V1' - REVISION = '20171009' + REVISION = '20180207' # Manage your product listings for Google Manufacturer Center AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter' diff --git a/generated/google/apis/manufacturers_v1/classes.rb b/generated/google/apis/manufacturers_v1/classes.rb index 90d7d7c9f..67ecb39d4 100644 --- a/generated/google/apis/manufacturers_v1/classes.rb +++ b/generated/google/apis/manufacturers_v1/classes.rb @@ -415,7 +415,7 @@ module Google # @return [String] attr_accessor :attribute - # Description of the issue. + # Longer description of the issue focused on how to resolve it. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index cc15d8aa0..824574467 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20180202' + REVISION = '20180207' # 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/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index aa3ea3555..4211fb5d5 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/v3 module YoutubeV3 VERSION = 'V3' - REVISION = '20180125' + REVISION = '20180205' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb index f26a5d39c..4aee8df01 100644 --- a/generated/google/apis/youtube_v3/classes.rb +++ b/generated/google/apis/youtube_v3/classes.rb @@ -5329,6 +5329,50 @@ module Google end end + # Nonprofit information. + class Nonprofit + include Google::Apis::Core::Hashable + + # Id of the nonprofit. + # Corresponds to the JSON property `nonprofitId` + # @return [Google::Apis::YoutubeV3::NonprofitId] + attr_accessor :nonprofit_id + + # Legal name of the nonprofit. + # Corresponds to the JSON property `nonprofitLegalName` + # @return [String] + attr_accessor :nonprofit_legal_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nonprofit_id = args[:nonprofit_id] if args.key?(:nonprofit_id) + @nonprofit_legal_name = args[:nonprofit_legal_name] if args.key?(:nonprofit_legal_name) + end + end + + # + class NonprofitId + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + end + end + # Paging details for lists of resources, including total number of items # available and number of resources returned in a single page. class PageInfo @@ -6798,12 +6842,23 @@ module Google # @return [String] attr_accessor :display_string + # True if this event is a Super Chat for Good purchase. + # Corresponds to the JSON property `isSuperChatForGood` + # @return [Boolean] + attr_accessor :is_super_chat_for_good + alias_method :is_super_chat_for_good?, :is_super_chat_for_good + # The tier for the paid message, which is based on the amount of money spent to # purchase the message. # Corresponds to the JSON property `messageType` # @return [Fixnum] attr_accessor :message_type + # Nonprofit information. + # Corresponds to the JSON property `nonprofit` + # @return [Google::Apis::YoutubeV3::Nonprofit] + attr_accessor :nonprofit + # Details about the supporter. # Corresponds to the JSON property `supporterDetails` # @return [Google::Apis::YoutubeV3::ChannelProfileDetails] @@ -6821,7 +6876,9 @@ module Google @created_at = args[:created_at] if args.key?(:created_at) @currency = args[:currency] if args.key?(:currency) @display_string = args[:display_string] if args.key?(:display_string) + @is_super_chat_for_good = args[:is_super_chat_for_good] if args.key?(:is_super_chat_for_good) @message_type = args[:message_type] if args.key?(:message_type) + @nonprofit = args[:nonprofit] if args.key?(:nonprofit) @supporter_details = args[:supporter_details] if args.key?(:supporter_details) end end diff --git a/generated/google/apis/youtube_v3/representations.rb b/generated/google/apis/youtube_v3/representations.rb index 5f62957dd..e9856bfa2 100644 --- a/generated/google/apis/youtube_v3/representations.rb +++ b/generated/google/apis/youtube_v3/representations.rb @@ -664,6 +664,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Nonprofit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NonprofitId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2457,6 +2469,22 @@ module Google end end + class Nonprofit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nonprofit_id, as: 'nonprofitId', class: Google::Apis::YoutubeV3::NonprofitId, decorator: Google::Apis::YoutubeV3::NonprofitId::Representation + + property :nonprofit_legal_name, as: 'nonprofitLegalName' + end + end + + class NonprofitId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + end + end + class PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2851,7 +2879,10 @@ module Google property :currency, as: 'currency' property :display_string, as: 'displayString' + property :is_super_chat_for_good, as: 'isSuperChatForGood' property :message_type, as: 'messageType' + property :nonprofit, as: 'nonprofit', class: Google::Apis::YoutubeV3::Nonprofit, decorator: Google::Apis::YoutubeV3::Nonprofit::Representation + property :supporter_details, as: 'supporterDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation end