Autogenerated update (2019-08-06)

Update:
- adexchangebuyer2_v2beta1
- admin_directory_v1
- androidenterprise_v1
- androidpublisher_v2
- androidpublisher_v3
- binaryauthorization_v1beta1
- cloudbilling_v1
- doubleclickbidmanager_v1
- games_management_v1management
- games_v1
- groupssettings_v1
- iap_v1
- iap_v1beta1
- pagespeedonline_v5
- securitycenter_v1
- securitycenter_v1beta1
- sheets_v4
- spanner_v1
- toolresults_v1beta3
- youtube_partner_v1
- youtube_v3
This commit is contained in:
Google APIs 2019-08-06 00:38:19 +00:00
parent 9bb6979900
commit 2099860e5a
50 changed files with 649 additions and 239 deletions

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20190529'
REVISION = '20190802'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/admin-sdk/directory/
module AdminDirectoryV1
VERSION = 'DirectoryV1'
REVISION = '20190214'
REVISION = '20190708'
# View and manage customer related information
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'

View File

@ -685,6 +685,12 @@ module Google
# @return [String]
attr_accessor :annotated_user
# (Read-only) The timestamp after which the device will stop receiving Chrome
# updates or support
# Corresponds to the JSON property `autoUpdateExpiration`
# @return [Fixnum]
attr_accessor :auto_update_expiration
# Chromebook boot mode (Read-only)
# Corresponds to the JSON property `bootMode`
# @return [String]
@ -710,6 +716,17 @@ module Google
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport>]
attr_accessor :disk_volume_reports
# (Read-only) Built-in MAC address for the docking station that the device
# connected to. Factory sets Media access control address (MAC address) assigned
# for use by a dock. Currently this is only supported on the Dell Arcada /
# Sarien devices and the Dell WD19 / WD19TB Docking Station. It is reserved
# specifically for MAC pass through device policy. The format is twelve (12)
# hexadecimal digits without any delimiter (uppercase letters). This is only
# relevant for Dell devices.
# Corresponds to the JSON property `dockMacAddress`
# @return [String]
attr_accessor :dock_mac_address
# ETag of the resource.
# Corresponds to the JSON property `etag`
# @return [String]
@ -720,6 +737,14 @@ module Google
# @return [String]
attr_accessor :ethernet_mac_address
# (Read-only) MAC address used by the Chromebooks internal ethernet port, and
# for onboard network (ethernet) interface. The format is twelve (12)
# hexadecimal digits without any delimiter (uppercase letters). This is only
# relevant for Dell devices.
# Corresponds to the JSON property `ethernetMacAddress0`
# @return [String]
attr_accessor :ethernet_mac_address0
# Chromebook firmware version (Read-only)
# Corresponds to the JSON property `firmwareVersion`
# @return [String]
@ -746,6 +771,11 @@ module Google
# @return [String]
attr_accessor :mac_address
# (Read-only) The date the device was manufactured in yyyy-mm-dd format.
# Corresponds to the JSON property `manufactureDate`
# @return [String]
attr_accessor :manufacture_date
# Mobile Equipment identifier for the 3G mobile card in the Chromebook (Read-
# only)
# Corresponds to the JSON property `meid`
@ -833,18 +863,22 @@ module Google
@annotated_asset_id = args[:annotated_asset_id] if args.key?(:annotated_asset_id)
@annotated_location = args[:annotated_location] if args.key?(:annotated_location)
@annotated_user = args[:annotated_user] if args.key?(:annotated_user)
@auto_update_expiration = args[:auto_update_expiration] if args.key?(:auto_update_expiration)
@boot_mode = args[:boot_mode] if args.key?(:boot_mode)
@cpu_status_reports = args[:cpu_status_reports] if args.key?(:cpu_status_reports)
@device_files = args[:device_files] if args.key?(:device_files)
@device_id = args[:device_id] if args.key?(:device_id)
@disk_volume_reports = args[:disk_volume_reports] if args.key?(:disk_volume_reports)
@dock_mac_address = args[:dock_mac_address] if args.key?(:dock_mac_address)
@etag = args[:etag] if args.key?(:etag)
@ethernet_mac_address = args[:ethernet_mac_address] if args.key?(:ethernet_mac_address)
@ethernet_mac_address0 = args[:ethernet_mac_address0] if args.key?(:ethernet_mac_address0)
@firmware_version = args[:firmware_version] if args.key?(:firmware_version)
@kind = args[:kind] if args.key?(:kind)
@last_enrollment_time = args[:last_enrollment_time] if args.key?(:last_enrollment_time)
@last_sync = args[:last_sync] if args.key?(:last_sync)
@mac_address = args[:mac_address] if args.key?(:mac_address)
@manufacture_date = args[:manufacture_date] if args.key?(:manufacture_date)
@meid = args[:meid] if args.key?(:meid)
@model = args[:model] if args.key?(:model)
@notes = args[:notes] if args.key?(:notes)
@ -1762,8 +1796,9 @@ module Google
# @return [String]
attr_accessor :etag
# Unique identifier of customer member (Read-only) Unique identifier of group (
# Read-only) Unique identifier of member (Read-only)
# The unique ID of the group member. A member id can be used as a member request
# URI's memberKey. Unique identifier of group (Read-only) Unique identifier of
# member (Read-only)
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
@ -2460,7 +2495,8 @@ module Google
# @return [String]
attr_accessor :privilege_name
# The obfuscated ID of the service this privilege is for.
# The obfuscated ID of the service this privilege is for. This value is returned
# with Privileges.list().
# Corresponds to the JSON property `serviceId`
# @return [String]
attr_accessor :service_id
@ -2588,7 +2624,8 @@ module Google
# @return [String]
attr_accessor :privilege_name
# The obfuscated ID of the service this privilege is for.
# The obfuscated ID of the service this privilege is for. This value is returned
# with Privileges.list().
# Corresponds to the JSON property `serviceId`
# @return [String]
attr_accessor :service_id
@ -3878,7 +3915,7 @@ module Google
# @return [String]
attr_accessor :domain
# The full-time equivalent percent within the organization (100000 = 100%).
# The full-time equivalent millipercent within the organization (100000 = 100%).
# Corresponds to the JSON property `fullTimeEquivalent`
# @return [Fixnum]
attr_accessor :full_time_equivalent

View File

@ -699,6 +699,7 @@ module Google
property :annotated_asset_id, as: 'annotatedAssetId'
property :annotated_location, as: 'annotatedLocation'
property :annotated_user, as: 'annotatedUser'
property :auto_update_expiration, :numeric_string => true, as: 'autoUpdateExpiration'
property :boot_mode, as: 'bootMode'
collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
@ -707,8 +708,10 @@ module Google
property :device_id, as: 'deviceId'
collection :disk_volume_reports, as: 'diskVolumeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::Representation
property :dock_mac_address, as: 'dockMacAddress'
property :etag, as: 'etag'
property :ethernet_mac_address, as: 'ethernetMacAddress'
property :ethernet_mac_address0, as: 'ethernetMacAddress0'
property :firmware_version, as: 'firmwareVersion'
property :kind, as: 'kind'
property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
@ -716,6 +719,7 @@ module Google
property :last_sync, as: 'lastSync', type: DateTime
property :mac_address, as: 'macAddress'
property :manufacture_date, as: 'manufactureDate'
property :meid, as: 'meid'
property :model, as: 'model'
property :notes, as: 'notes'

View File

@ -269,7 +269,7 @@ module Google
# @param [String] customer_id
# Immutable ID of the G Suite account
# @param [Fixnum] max_results
# Maximum number of results to return. Default is 100
# Maximum number of results to return.
# @param [String] order_by
# Column to use for sorting results
# @param [String] org_unit_path
@ -933,7 +933,7 @@ module Google
# Name of the domain. Fill this field to get groups from only this domain. To
# return all groups in a multi-domain fill customer field instead.
# @param [Fixnum] max_results
# Maximum number of results to return. Default is 200
# Maximum number of results to return.
# @param [String] order_by
# Column to use for sorting results
# @param [String] page_token
@ -945,8 +945,9 @@ module Google
# Whether to return results in ascending or descending order. Only of use when
# orderBy is also used
# @param [String] user_key
# Email or immutable Id of the user if only those groups are to be listed, the
# given user is a member of. If Id, it should match with id of user object
# Email or immutable ID of the user if only those groups are to be listed, the
# given user is a member of. If it's an ID, it should match with the ID of the
# user object.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -1312,7 +1313,7 @@ module Google
# @param [Boolean] include_derived_membership
# Whether to list indirect memberships. Default: false.
# @param [Fixnum] max_results
# Maximum number of results to return. Default is 200
# Maximum number of results to return.
# @param [String] page_token
# Token to specify next page in the list
# @param [String] roles
@ -1548,7 +1549,7 @@ module Google
# @param [String] customer_id
# Immutable ID of the G Suite account
# @param [Fixnum] max_results
# Maximum number of results to return. Default is 100
# Maximum number of results to return.
# @param [String] order_by
# Column to use for sorting results
# @param [String] page_token
@ -3682,7 +3683,7 @@ module Google
# @param [String] event
# Event on which subscription is intended (if subscribing)
# @param [Fixnum] max_results
# Maximum number of results to return. Default is 100. Max allowed is 500
# Maximum number of results to return.
# @param [String] order_by
# Column to use for sorting results
# @param [String] page_token
@ -3693,7 +3694,7 @@ module Google
# Query string search. Should be of the form "". Complete documentation is at
# https://developers.google.com/admin-sdk/directory/v1/guides/search-users
# @param [String] show_deleted
# If set to true retrieves the list of deleted users. Default is false
# If set to true, retrieves the list of deleted users. (Default: false)
# @param [String] sort_order
# Whether to return results in ascending or descending order.
# @param [String] view_type
@ -3895,7 +3896,7 @@ module Google
# @param [String] event
# Event on which subscription is intended (if subscribing)
# @param [Fixnum] max_results
# Maximum number of results to return. Default is 100. Max allowed is 500
# Maximum number of results to return.
# @param [String] order_by
# Column to use for sorting results
# @param [String] page_token
@ -3906,7 +3907,7 @@ module Google
# Query string search. Should be of the form "". Complete documentation is at
# https://developers.google.com/admin-sdk/directory/v1/guides/search-users
# @param [String] show_deleted
# If set to true retrieves the list of deleted users. Default is false
# If set to true, retrieves the list of deleted users. (Default: false)
# @param [String] sort_order
# Whether to return results in ascending or descending order.
# @param [String] view_type

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20190530'
REVISION = '20190731'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -86,7 +86,8 @@ module Google
attr_accessor :managed_configurations
# The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may
# not be hosted at other URIs. This URI must be https.
# not be hosted at other URIs. This URI must be https. Use whitespaces to
# separate multiple parent URIs.
# Corresponds to the JSON property `parent`
# @return [String]
attr_accessor :parent

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV2
VERSION = 'V2'
REVISION = '20190618'
REVISION = '20190804'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -679,6 +679,11 @@ module Google
# @return [String]
attr_accessor :sha1
# A sha256 hash of the image that was uploaded.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
# A URL that will serve a preview of the image.
# Corresponds to the JSON property `url`
# @return [String]
@ -692,6 +697,7 @@ module Google
def update!(**args)
@id = args[:id] if args.key?(:id)
@sha1 = args[:sha1] if args.key?(:sha1)
@sha256 = args[:sha256] if args.key?(:sha256)
@url = args[:url] if args.key?(:url)
end
end

View File

@ -543,6 +543,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :sha1, as: 'sha1'
property :sha256, as: 'sha256'
property :url, as: 'url'
end
end

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher
module AndroidpublisherV3
VERSION = 'V3'
REVISION = '20190702'
REVISION = '20190804'
# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -654,6 +654,11 @@ module Google
# @return [String]
attr_accessor :sha1
# A sha256 hash of the image that was uploaded.
# Corresponds to the JSON property `sha256`
# @return [String]
attr_accessor :sha256
# A URL that will serve a preview of the image.
# Corresponds to the JSON property `url`
# @return [String]
@ -667,6 +672,7 @@ module Google
def update!(**args)
@id = args[:id] if args.key?(:id)
@sha1 = args[:sha1] if args.key?(:sha1)
@sha256 = args[:sha256] if args.key?(:sha256)
@url = args[:url] if args.key?(:url)
end
end

View File

@ -564,6 +564,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :sha1, as: 'sha1'
property :sha256, as: 'sha256'
property :url, as: 'url'
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/binary-authorization/
module BinaryauthorizationV1beta1
VERSION = 'V1beta1'
REVISION = '20190628'
REVISION = '20190802'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -201,7 +201,7 @@ module Google
# * `allAuthenticatedUsers`: A special identifier that represents anyone
# who is authenticated with a Google account or a service account.
# * `user:`emailid``: An email address that represents a specific Google
# account. For example, `alice@gmail.com` .
# account. For example, `alice@example.com` .
# * `serviceAccount:`emailid``: An email address that represents a service
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
# * `group:`emailid``: An email address that represents a Google group.
@ -350,7 +350,7 @@ module Google
# systems are expected to put that etag in the request to `setIamPolicy` to
# ensure that their change will be applied to the same version of the policy.
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
# policy is overwritten blindly.
# policy is overwritten.
# Corresponds to the JSON property `etag`
# NOTE: Values are automatically base64 encoded/decoded in the client library.
# @return [String]

View File

@ -233,7 +233,7 @@ module Google
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields
@ -422,7 +422,7 @@ module Google
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/billing/
module CloudbillingV1
VERSION = 'V1'
REVISION = '20190709'
REVISION = '20190805'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -129,7 +129,7 @@ module Google
# See the operation documentation for the appropriate value for this field.
# @param [Fixnum] options_requested_policy_version
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# @param [String] fields

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/bid-manager/
module DoubleclickbidmanagerV1
VERSION = 'V1'
REVISION = '20190618'
REVISION = '20190715'
# View and manage your reports in DoubleClick Bid Manager
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20190222'
REVISION = '20190725'
# Create, edit, and delete your Google Play Games activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'

View File

@ -493,8 +493,7 @@ module Google
# @return [String]
attr_accessor :kind
# The player's current profile visibility. This field is visible to both 1P and
# 3P APIs.
#
# Corresponds to the JSON property `profileVisible`
# @return [Boolean]
attr_accessor :profile_visible

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20190516'
REVISION = '20190725'
# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'

View File

@ -2662,8 +2662,7 @@ module Google
# @return [String]
attr_accessor :kind
# The player's current profile visibility. This field is visible to both 1P and
# 3P APIs.
#
# Corresponds to the JSON property `profileVisible`
# @return [Boolean]
attr_accessor :profile_visible

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/google-apps/groups-settings/get_started
module GroupssettingsV1
VERSION = 'V1'
REVISION = '20190315'
REVISION = '20190725'
# View and manage the settings of a G Suite group
AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'

View File

@ -26,352 +26,620 @@ module Google
class Groups
include Google::Apis::Core::Hashable
# Are external members allowed to join the group.
# Identifies whether members external to your organization can join the group.
# Possible values are:
# - true: G Suite users external to your organization can become members of this
# group.
# - false: Users not belonging to the organization are not allowed to become
# members of this group.
# Corresponds to the JSON property `allowExternalMembers`
# @return [String]
attr_accessor :allow_external_members
# Is google allowed to contact admins.
# Deprecated. Allows Google to contact administrator of the group.
# - true: Allow Google to contact managers of this group. Occasionally Google
# may send updates on the latest features, ask for input on new features, or ask
# for permission to highlight your group.
# - false: Google can not contact managers of this group.
# Corresponds to the JSON property `allowGoogleCommunication`
# @return [String]
attr_accessor :allow_google_communication
# If posting from web is allowed.
# Allows posting from web. Possible values are:
# - true: Allows any member to post to the group forum.
# - false: Members only use Gmail to communicate with the group.
# Corresponds to the JSON property `allowWebPosting`
# @return [String]
attr_accessor :allow_web_posting
# If the group is archive only
# Allows the group to be archived only. Possible values are:
# - true: Group is archived and the group is inactive. New messages to this
# group are rejected. The older archived messages are browseable and searchable.
#
# - If true, the whoCanPostMessage property is set to NONE_CAN_POST.
# - If reverted from true to false, whoCanPostMessages is set to
# ALL_MANAGERS_CAN_POST.
# - false: The group is active and can receive messages.
# - When false, updating whoCanPostMessage to NONE_CAN_POST, results in an error.
# Corresponds to the JSON property `archiveOnly`
# @return [String]
attr_accessor :archive_only
# Custom footer text.
# Set the content of custom footer text. The maximum number of characters is 1,
# 000.
# Corresponds to the JSON property `customFooterText`
# @return [String]
attr_accessor :custom_footer_text
# Default email to which reply to any message should go.
# An email address used when replying to a message if the replyTo property is
# set to REPLY_TO_CUSTOM. This address is defined by an account administrator.
# - When the group's ReplyTo property is set to REPLY_TO_CUSTOM, the
# customReplyTo property holds a custom email address used when replying to a
# message.
# - If the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
# property must have a text value or an error is returned.
# Corresponds to the JSON property `customReplyTo`
# @return [String]
attr_accessor :custom_reply_to
# If any of the settings that will be merged have custom roles which is anything
# other than owners, managers, or group scopes.
# Specifies whether the group has a custom role that's included in one of the
# settings being merged. This field is read-only and update/patch requests to it
# are ignored. Possible values are:
# - true
# - false
# Corresponds to the JSON property `customRolesEnabledForSettingsToBeMerged`
# @return [String]
attr_accessor :custom_roles_enabled_for_settings_to_be_merged
# Default message deny notification message
# When a message is rejected, this is text for the rejection notification sent
# to the message's author. By default, this property is empty and has no value
# in the API's response body. The maximum notification text size is 10,000
# characters. Note: Requires sendMessageDenyNotification property to be true.
# Corresponds to the JSON property `defaultMessageDenyNotificationText`
# @return [String]
attr_accessor :default_message_deny_notification_text
# Description of the group
# Description of the group. This property value may be an empty string if no
# group description has been entered. If entered, the maximum group description
# is no more than 300 characters.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
# Email id of the group
# The group's email address. This property can be updated using the Directory
# API. Note: Only a group owner can change a group's email address. A group
# manager can't do this.
# When you change your group's address using the Directory API or the control
# panel, you are changing the address your subscribers use to send email and the
# web address people use to access your group. People can't reach your group by
# visiting the old address.
# Corresponds to the JSON property `email`
# @return [String]
attr_accessor :email
# If a primary Collab Inbox feature is enabled.
# Specifies whether a collaborative inbox will remain turned on for the group.
# Possible values are:
# - true
# - false
# Corresponds to the JSON property `enableCollaborativeInbox`
# @return [String]
attr_accessor :enable_collaborative_inbox
# If favorite replies should be displayed above other replies.
# Indicates if favorite replies should be displayed above other replies.
# - true: Favorite replies will be displayed above other replies.
# - false: Favorite replies will not be displayed above other replies.
# Corresponds to the JSON property `favoriteRepliesOnTop`
# @return [String]
attr_accessor :favorite_replies_on_top
# Whether to include custom footer.
# Whether to include custom footer. Possible values are:
# - true
# - false
# Corresponds to the JSON property `includeCustomFooter`
# @return [String]
attr_accessor :include_custom_footer
# If this groups should be included in global address list or not.
# Enables the group to be included in the Global Address List. For more
# information, see the help center. Possible values are:
# - true: Group is included in the Global Address List.
# - false: Group is not included in the Global Address List.
# Corresponds to the JSON property `includeInGlobalAddressList`
# @return [String]
attr_accessor :include_in_global_address_list
# If the contents of the group are archived.
# Allows the Group contents to be archived. Possible values are:
# - true: Archive messages sent to the group.
# - false: Do not keep an archive of messages sent to this group. If false,
# previously archived messages remain in the archive.
# Corresponds to the JSON property `isArchived`
# @return [String]
attr_accessor :is_archived
# The type of the resource.
# The type of the resource. It is always groupsSettings#groups.
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
# Maximum message size allowed.
# Deprecated. The maximum size of a message is 25Mb.
# Corresponds to the JSON property `maxMessageBytes`
# @return [Fixnum]
attr_accessor :max_message_bytes
# Can members post using the group email address.
# Enables members to post messages as the group. Possible values are:
# - true: Group member can post messages using the group's email address instead
# of their own email address. Message appear to originate from the group itself.
# Note: When true, any message moderation settings on individual users or new
# members do not apply to posts made on behalf of the group.
# - false: Members can not post in behalf of the group's email address.
# Corresponds to the JSON property `membersCanPostAsTheGroup`
# @return [String]
attr_accessor :members_can_post_as_the_group
# Default message display font. Possible values are: DEFAULT_FONT
# FIXED_WIDTH_FONT
# Deprecated. The default message display font always has a value of "
# DEFAULT_FONT".
# Corresponds to the JSON property `messageDisplayFont`
# @return [String]
attr_accessor :message_display_font
# Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES
# MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE
# Moderation level of incoming messages. Possible values are:
# - MODERATE_ALL_MESSAGES: All messages are sent to the group owner's email
# address for approval. If approved, the message is sent to the group.
# - MODERATE_NON_MEMBERS: All messages from non group members are sent to the
# group owner's email address for approval. If approved, the message is sent to
# the group.
# - MODERATE_NEW_MEMBERS: All messages from new members are sent to the group
# owner's email address for approval. If approved, the message is sent to the
# group.
# - MODERATE_NONE: No moderator approval is required. Messages are delivered
# directly to the group. Note: When the whoCanPostMessage is set to
# ANYONE_CAN_POST, we recommend the messageModerationLevel be set to
# MODERATE_NON_MEMBERS to protect the group from possible spam.
# When memberCanPostAsTheGroup is true, any message moderation settings on
# individual users or new members will not apply to posts made on behalf of the
# group.
# Corresponds to the JSON property `messageModerationLevel`
# @return [String]
attr_accessor :message_moderation_level
# Name of the Group
# Name of the group, which has a maximum size of 75 characters.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Primary language for the group.
# The primary language for group. For a group's primary language use the
# language tags from the G Suite languages found at G Suite Email Settings API
# Email Language Tags.
# Corresponds to the JSON property `primaryLanguage`
# @return [String]
attr_accessor :primary_language
# Whome should the default reply to a message go to. Possible values are:
# REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER REPLY_TO_IGNORE
# REPLY_TO_MANAGERS
# Specifies who should the default reply go to. Possible values are:
# - REPLY_TO_CUSTOM: For replies to messages, use the group's custom email
# address.
# When the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
# property holds the custom email address used when replying to a message. If
# the group's ReplyTo property is set to REPLY_TO_CUSTOM, the customReplyTo
# property must have a value. Otherwise an error is returned.
#
# - REPLY_TO_SENDER: The reply sent to author of message.
# - REPLY_TO_LIST: This reply message is sent to the group.
# - REPLY_TO_OWNER: The reply is sent to the owner(s) of the group. This does
# not include the group's managers.
# - REPLY_TO_IGNORE: Group users individually decide where the message reply is
# sent.
# - REPLY_TO_MANAGERS: This reply message is sent to the group's managers, which
# includes all managers and the group owner.
# Corresponds to the JSON property `replyTo`
# @return [String]
attr_accessor :reply_to
# Should the member be notified if his message is denied by owner.
# Allows a member to be notified if the member's message to the group is denied
# by the group owner. Possible values are:
# - true: When a message is rejected, send the deny message notification to the
# message author.
# The defaultMessageDenyNotificationText property is dependent on the
# sendMessageDenyNotification property being true.
#
# - false: When a message is rejected, no notification is sent.
# Corresponds to the JSON property `sendMessageDenyNotification`
# @return [String]
attr_accessor :send_message_deny_notification
# Is the group listed in groups directory
# Deprecated. This is merged into the new whoCanDiscoverGroup setting. Allows
# the group to be visible in the Groups Directory. Possible values are:
# - true: All groups in the account are listed in the Groups directory.
# - false: All groups in the account are not listed in the directory.
# Corresponds to the JSON property `showInGroupDirectory`
# @return [String]
attr_accessor :show_in_group_directory
# Moderation level for messages detected as spam. Possible values are: ALLOW
# MODERATE SILENTLY_MODERATE REJECT
# Specifies moderation levels for messages detected as spam. Possible values are:
#
# - ALLOW: Post the message to the group.
# - MODERATE: Send the message to the moderation queue. This is the default.
# - SILENTLY_MODERATE: Send the message to the moderation queue, but do not send
# notification to moderators.
# - REJECT: Immediately reject the message.
# Corresponds to the JSON property `spamModerationLevel`
# @return [String]
attr_accessor :spam_moderation_level
# Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD
# ALL_OWNERS_CAN_ADD ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
# Deprecated. This is merged into the new whoCanModerateMembers setting.
# Permissions to add members. Possible values are:
# - ALL_MEMBERS_CAN_ADD: Managers and members can directly add new members.
# - ALL_MANAGERS_CAN_ADD: Only managers can directly add new members. this
# includes the group's owner.
# - ALL_OWNERS_CAN_ADD: Only owners can directly add new members.
# - NONE_CAN_ADD: No one can directly add new members.
# Corresponds to the JSON property `whoCanAdd`
# @return [String]
attr_accessor :who_can_add
# Permission to add references to a topic. Possible values are: NONE OWNERS_ONLY
# MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This functionality is no longer supported in the Google Groups UI.
# The value is always "NONE".
# Corresponds to the JSON property `whoCanAddReferences`
# @return [String]
attr_accessor :who_can_add_references
# Permission to approve members. Possible values are: ALL_OWNERS_CAN_APPROVE
# ALL_MANAGERS_CAN_APPROVE ALL_MEMBERS_CAN_APPROVE NONE_CAN_APPROVE
# Specifies who can approve members who ask to join groups. This permission will
# be deprecated once it is merged into the new whoCanModerateMembers setting.
# Possible values are:
# - ALL_MEMBERS_CAN_APPROVE
# - ALL_MANAGERS_CAN_APPROVE
# - ALL_OWNERS_CAN_APPROVE
# - NONE_CAN_APPROVE
# Corresponds to the JSON property `whoCanApproveMembers`
# @return [String]
attr_accessor :who_can_approve_members
# Permission to approve pending messages in the moderation queue. Possible
# values are: NONE OWNERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can approve pending messages in the moderation queue. Possible
# values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanApproveMessages`
# @return [String]
attr_accessor :who_can_approve_messages
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to assign topics in a forum to another user. Possible values are:
# NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanAssignTopics`
# @return [String]
attr_accessor :who_can_assign_topics
# Permission for content assistants. Possible values are: Possible values are:
# NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Specifies who can moderate metadata. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanAssistContent`
# @return [String]
attr_accessor :who_can_assist_content
# Permission to ban users. Possible values are: NONE OWNERS_ONLY
# OWNERS_AND_MANAGERS ALL_MEMBERS
# Specifies who can deny membership to users. This permission will be deprecated
# once it is merged into the new whoCanModerateMembers setting. Possible values
# are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanBanUsers`
# @return [String]
attr_accessor :who_can_ban_users
# Permission to contact owner of the group via web UI. Possible values are:
# ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT
# ALL_MANAGERS_CAN_CONTACT
# - ALL_IN_DOMAIN_CAN_CONTACT
# - ALL_MANAGERS_CAN_CONTACT
# - ALL_MEMBERS_CAN_CONTACT
# - ANYONE_CAN_CONTACT
# Corresponds to the JSON property `whoCanContactOwner`
# @return [String]
attr_accessor :who_can_contact_owner
# Permission to delete replies to topics. Possible values are: NONE OWNERS_ONLY
# OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can delete replies to topics. (Authors can always delete their
# own posts). Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanDeleteAnyPost`
# @return [String]
attr_accessor :who_can_delete_any_post
# Permission to delete topics. Possible values are: NONE OWNERS_ONLY
# OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can delete topics. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanDeleteTopics`
# @return [String]
attr_accessor :who_can_delete_topics
# Permission for who can discover the group. Possible values are:
# ALL_MEMBERS_CAN_DISCOVER ALL_IN_DOMAIN_CAN_DISCOVER ANYONE_CAN_DISCOVER
# Specifies the set of users for whom this group is discoverable. Possible
# values are:
# - ANYONE_CAN_DISCOVER
# - ALL_IN_DOMAIN_CAN_DISCOVER
# - ALL_MEMBERS_CAN_DISCOVER
# Corresponds to the JSON property `whoCanDiscoverGroup`
# @return [String]
attr_accessor :who_can_discover_group
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to enter free form tags for topics in a forum. Possible values are:
# NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
#
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanEnterFreeFormTags`
# @return [String]
attr_accessor :who_can_enter_free_form_tags
# Permission to hide posts by reporting them as abuse. Possible values are: NONE
# OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can hide posts by reporting them as abuse. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanHideAbuse`
# @return [String]
attr_accessor :who_can_hide_abuse
# Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE
# ALL_MANAGERS_CAN_INVITE ALL_OWNERS_CAN_INVITE NONE_CAN_INVITE
# Deprecated. This is merged into the new whoCanModerateMembers setting.
# Permissions to invite new members. Possible values are:
# - ALL_MEMBERS_CAN_INVITE: Managers and members can invite a new member
# candidate.
# - ALL_MANAGERS_CAN_INVITE: Only managers can invite a new member. This
# includes the group's owner.
# - ALL_OWNERS_CAN_INVITE: Only owners can invite a new member.
# - NONE_CAN_INVITE: No one can invite a new member candidate.
# Corresponds to the JSON property `whoCanInvite`
# @return [String]
attr_accessor :who_can_invite
# Permissions to join the group. Possible values are: ANYONE_CAN_JOIN
# ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
# Permission to join group. Possible values are:
# - ANYONE_CAN_JOIN: Anyone in the account domain can join. This includes
# accounts with multiple domains.
# - ALL_IN_DOMAIN_CAN_JOIN: Any Internet user who is outside your domain can
# access your Google Groups service and view the list of groups in your Groups
# directory. Warning: Group owners can add external addresses, outside of the
# domain to their groups. They can also allow people outside your domain to join
# their groups. If you later disable this option, any external addresses already
# added to users' groups remain in those groups.
# - INVITED_CAN_JOIN: Candidates for membership can be invited to join.
# - CAN_REQUEST_TO_JOIN: Non members can request an invitation to join.
# Corresponds to the JSON property `whoCanJoin`
# @return [String]
attr_accessor :who_can_join
# Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE
# ALL_OWNERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
# Permission to leave the group. Possible values are:
# - ALL_MANAGERS_CAN_LEAVE
# - ALL_MEMBERS_CAN_LEAVE
# - NONE_CAN_LEAVE
# Corresponds to the JSON property `whoCanLeaveGroup`
# @return [String]
attr_accessor :who_can_leave_group
# Permission to lock topics. Possible values are: NONE OWNERS_ONLY
# OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can prevent users from posting replies to topics. Possible
# values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanLockTopics`
# @return [String]
attr_accessor :who_can_lock_topics
# Permission to make topics appear at the top of the topic list. Possible values
# are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can make topics appear at the top of the topic list. Possible
# values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMakeTopicsSticky`
# @return [String]
attr_accessor :who_can_make_topics_sticky
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to mark a topic as a duplicate of another topic. Possible values
# are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMarkDuplicate`
# @return [String]
attr_accessor :who_can_mark_duplicate
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to mark any other user's post as a favorite reply. Possible values
# are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMarkFavoriteReplyOnAnyTopic`
# @return [String]
attr_accessor :who_can_mark_favorite_reply_on_any_topic
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to mark a post for a topic they started as a favorite reply.
# Possible values are: NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS
# ALL_MEMBERS
# Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMarkFavoriteReplyOnOwnTopic`
# @return [String]
attr_accessor :who_can_mark_favorite_reply_on_own_topic
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to mark a topic as not needing a response. Possible values are:
# NONE OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMarkNoResponseNeeded`
# @return [String]
attr_accessor :who_can_mark_no_response_needed
# Permission for content moderation. Possible values are: NONE OWNERS_ONLY
# OWNERS_AND_MANAGERS ALL_MEMBERS
# Specifies who can moderate content. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanModerateContent`
# @return [String]
attr_accessor :who_can_moderate_content
# Permission for membership moderation. Possible values are: NONE OWNERS_ONLY
# OWNERS_AND_MANAGERS ALL_MEMBERS
# Specifies who can manage members. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanModerateMembers`
# @return [String]
attr_accessor :who_can_moderate_members
# Permission to modify members (change member roles). Possible values are: NONE
# OWNERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateMembers setting.
# Specifies who can change group members' roles. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanModifyMembers`
# @return [String]
attr_accessor :who_can_modify_members
# Permission to change tags and categories. Possible values are: NONE
# OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to change tags and categories. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanModifyTagsAndCategories`
# @return [String]
attr_accessor :who_can_modify_tags_and_categories
# Permission to move topics into the group or forum. Possible values are: NONE
# OWNERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can move topics into the group or forum. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMoveTopicsIn`
# @return [String]
attr_accessor :who_can_move_topics_in
# Permission to move topics out of the group or forum. Possible values are: NONE
# OWNERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can move topics out of the group or forum. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanMoveTopicsOut`
# @return [String]
attr_accessor :who_can_move_topics_out
# Permission to post announcements, a special topic type. Possible values are:
# NONE OWNERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanModerateContent setting.
# Specifies who can post announcements, a special topic type. Possible values
# are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanPostAnnouncements`
# @return [String]
attr_accessor :who_can_post_announcements
# Permissions to post messages to the group. Possible values are: NONE_CAN_POST
# ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST
# ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
# Permissions to post messages. Possible values are:
# - NONE_CAN_POST: The group is disabled and archived. No one can post a message
# to this group.
# - When archiveOnly is false, updating whoCanPostMessage to NONE_CAN_POST,
# results in an error.
# - If archiveOnly is reverted from true to false, whoCanPostMessages is set to
# ALL_MANAGERS_CAN_POST.
# - ALL_MANAGERS_CAN_POST: Managers, including group owners, can post messages.
# - ALL_MEMBERS_CAN_POST: Any group member can post a message.
# - ALL_OWNERS_CAN_POST: Only group owners can post a message.
# - ALL_IN_DOMAIN_CAN_POST: Anyone in the account can post a message.
# - ANYONE_CAN_POST: Any Internet user who outside your account can access your
# Google Groups service and post a message. Note: When whoCanPostMessage is set
# to ANYONE_CAN_POST, we recommend the messageModerationLevel be set to
# MODERATE_NON_MEMBERS to protect the group from possible spam.
# Corresponds to the JSON property `whoCanPostMessage`
# @return [String]
attr_accessor :who_can_post_message
# Permission to take topics in a forum. Possible values are: NONE OWNERS_ONLY
# MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to take topics in a forum. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanTakeTopics`
# @return [String]
attr_accessor :who_can_take_topics
# Permission to unassign any topic in a forum. Possible values are: NONE
# OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to unassign any topic in a forum. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanUnassignTopic`
# @return [String]
attr_accessor :who_can_unassign_topic
# Permission to unmark any post from a favorite reply. Possible values are: NONE
# OWNERS_ONLY MANAGERS_ONLY OWNERS_AND_MANAGERS ALL_MEMBERS
# Deprecated. This is merged into the new whoCanAssistContent setting.
# Permission to unmark any post from a favorite reply. Possible values are:
# - ALL_MEMBERS
# - OWNERS_AND_MANAGERS
# - MANAGERS_ONLY
# - OWNERS_ONLY
# - NONE
# Corresponds to the JSON property `whoCanUnmarkFavoriteReplyOnAnyTopic`
# @return [String]
attr_accessor :who_can_unmark_favorite_reply_on_any_topic
# Permissions to view group. Possible values are: ANYONE_CAN_VIEW
# ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
# ALL_OWNERS_CAN_VIEW
# Permissions to view group messages. Possible values are:
# - ANYONE_CAN_VIEW: Any Internet user can view the group's messages.
# - ALL_IN_DOMAIN_CAN_VIEW: Anyone in your account can view this group's
# messages.
# - ALL_MEMBERS_CAN_VIEW: All group members can view the group's messages.
# - ALL_MANAGERS_CAN_VIEW: Any group manager can view this group's messages.
# Corresponds to the JSON property `whoCanViewGroup`
# @return [String]
attr_accessor :who_can_view_group
# Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW
# ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW ALL_OWNERS_CAN_VIEW
# Permissions to view membership. Possible values are:
# - ALL_IN_DOMAIN_CAN_VIEW: Anyone in the account can view the group members
# list.
# If a group already has external members, those members can still send email to
# this group.
#
# - ALL_MEMBERS_CAN_VIEW: The group members can view the group members list.
# - ALL_MANAGERS_CAN_VIEW: The group managers can view group members list.
# Corresponds to the JSON property `whoCanViewMembership`
# @return [String]
attr_accessor :who_can_view_membership

View File

@ -53,7 +53,7 @@ module Google
# Gets one resource by id.
# @param [String] group_unique_id
# The resource ID
# The group's email address.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -87,7 +87,7 @@ module Google
# Updates an existing resource. This method supports patch semantics.
# @param [String] group_unique_id
# The resource ID
# The group's email address.
# @param [Google::Apis::GroupssettingsV1::Groups] groups_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -124,7 +124,7 @@ module Google
# Updates an existing resource.
# @param [String] group_unique_id
# The resource ID
# The group's email address.
# @param [Google::Apis::GroupssettingsV1::Groups] groups_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap
module IapV1
VERSION = 'V1'
REVISION = '20190704'
REVISION = '20190802'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -141,7 +141,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/iap
module IapV1beta1
VERSION = 'V1beta1'
REVISION = '20190704'
REVISION = '20190802'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -141,7 +141,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/speed/docs/insights/v5/get-started
module PagespeedonlineV5
VERSION = 'V5'
REVISION = '20190507'
REVISION = '20190725'
end
end
end

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1
VERSION = 'V1'
REVISION = '20190726'
REVISION = '20190802'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -479,7 +479,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1beta1
VERSION = 'V1beta1'
REVISION = '20190704'
REVISION = '20190802'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -484,7 +484,7 @@ module Google
include Google::Apis::Core::Hashable
# Optional. The policy format version to be returned.
# Acceptable values are 0 and 1.
# Acceptable values are 0, 1, and 3.
# If the value is 0, or the field is omitted, policy format version 1 will be
# returned.
# Corresponds to the JSON property `requestedPolicyVersion`

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/
module SheetsV4
VERSION = 'V4'
REVISION = '20190715'
REVISION = '20190730'
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -1075,6 +1075,12 @@ module Google
# @return [Google::Apis::SheetsV4::TextPosition]
attr_accessor :title_text_position
# The options that define a "view window" for a chart (such as the visible
# values in an axis).
# Corresponds to the JSON property `viewWindowOptions`
# @return [Google::Apis::SheetsV4::ChartAxisViewWindowOptions]
attr_accessor :view_window_options
def initialize(**args)
update!(**args)
end
@ -1085,6 +1091,7 @@ module Google
@position = args[:position] if args.key?(:position)
@title = args[:title] if args.key?(:title)
@title_text_position = args[:title_text_position] if args.key?(:title_text_position)
@view_window_options = args[:view_window_options] if args.key?(:view_window_options)
end
end
@ -2703,6 +2710,40 @@ module Google
end
end
# The options that define a "view window" for a chart (such as the visible
# values in an axis).
class ChartAxisViewWindowOptions
include Google::Apis::Core::Hashable
# The maximum numeric value to be shown in this view window. If unset, will
# automatically determine a maximum value that looks good for the data.
# Corresponds to the JSON property `viewWindowMax`
# @return [Float]
attr_accessor :view_window_max
# The minimum numeric value to be shown in this view window. If unset, will
# automatically determine a minimum value that looks good for the data.
# Corresponds to the JSON property `viewWindowMin`
# @return [Float]
attr_accessor :view_window_min
# The view window's mode.
# Corresponds to the JSON property `viewWindowMode`
# @return [String]
attr_accessor :view_window_mode
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@view_window_max = args[:view_window_max] if args.key?(:view_window_max)
@view_window_min = args[:view_window_min] if args.key?(:view_window_min)
@view_window_mode = args[:view_window_mode] if args.key?(:view_window_mode)
end
end
# The data included in a domain or series.
class ChartData
include Google::Apis::Core::Hashable

View File

@ -328,6 +328,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ChartAxisViewWindowOptions
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ChartData
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1367,6 +1373,8 @@ module Google
property :title, as: 'title'
property :title_text_position, as: 'titleTextPosition', class: Google::Apis::SheetsV4::TextPosition, decorator: Google::Apis::SheetsV4::TextPosition::Representation
property :view_window_options, as: 'viewWindowOptions', class: Google::Apis::SheetsV4::ChartAxisViewWindowOptions, decorator: Google::Apis::SheetsV4::ChartAxisViewWindowOptions::Representation
end
end
@ -1711,6 +1719,15 @@ module Google
end
end
class ChartAxisViewWindowOptions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :view_window_max, as: 'viewWindowMax'
property :view_window_min, as: 'viewWindowMin'
property :view_window_mode, as: 'viewWindowMode'
end
end
class ChartData
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/spanner/
module SpannerV1
VERSION = 'V1'
REVISION = '20190613'
REVISION = '20190723'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -830,23 +830,26 @@ module Google
end
end
# The request for ExecuteBatchDml
# The request for ExecuteBatchDml.
class ExecuteBatchDmlRequest
include Google::Apis::Core::Hashable
# A per-transaction sequence number used to identify this request. This is
# used in the same space as the seqno in
# ExecuteSqlRequest. See more details
# in ExecuteSqlRequest.
# A per-transaction sequence number used to identify this request. This field
# makes each request idempotent such that if the request is received multiple
# times, at most one will succeed.
# The sequence number must be monotonically increasing within the
# transaction. If a request arrives for the first time with an out-of-order
# sequence number, the transaction may be aborted. Replays of previously
# handled requests will yield the same response as the first execution.
# Corresponds to the JSON property `seqno`
# @return [Fixnum]
attr_accessor :seqno
# The list of statements to execute in this batch. Statements are executed
# serially, such that the effects of statement i are visible to statement
# i+1. Each statement must be a DML statement. Execution will stop at the
# first failed statement; the remaining statements will not run.
# REQUIRES: `statements_size()` > 0.
# serially, such that the effects of statement `i` are visible to statement
# `i+1`. Each statement must be a DML statement. Execution stops at the
# first failed statement; the remaining statements are not executed.
# Callers must provide at least one statement.
# Corresponds to the JSON property `statements`
# @return [Array<Google::Apis::SpannerV1::Statement>]
attr_accessor :statements
@ -872,29 +875,31 @@ module Google
end
# The response for ExecuteBatchDml. Contains a list
# of ResultSet, one for each DML statement that has successfully executed.
# If a statement fails, the error is returned as part of the response payload.
# Clients can determine whether all DML statements have run successfully, or if
# a statement failed, using one of the following approaches:
# 1. Check if `'status'` field is `OkStatus`.
# 2. Check if `result_sets_size()` equals the number of statements in
# ExecuteBatchDmlRequest.
# Example 1: A request with 5 DML statements, all executed successfully.
# Result: A response with 5 ResultSets, one for each statement in the same
# order, and an `OkStatus`.
# Example 2: A request with 5 DML statements. The 3rd statement has a syntax
# error.
# Result: A response with 2 ResultSets, for the first 2 statements that
# run successfully, and a syntax error (`INVALID_ARGUMENT`) status. From
# `result_set_size()` client can determine that the 3rd statement has failed.
# of ResultSet messages, one for each DML statement that has successfully
# executed, in the same order as the statements in the request. If a statement
# fails, the status in the response body identifies the cause of the failure.
# To check for DML statements that failed, use the following approach:
# 1. Check the status in the response message. The google.rpc.Code enum
# value `OK` indicates that all statements were executed successfully.
# 2. If the status was not `OK`, check the number of result sets in the
# response. If the response contains `N` ResultSet messages, then
# statement `N+1` in the request failed.
# Example 1:
# * Request: 5 DML statements, all executed successfully.
# * Response: 5 ResultSet messages, with the status `OK`.
# Example 2:
# * Request: 5 DML statements. The third statement has a syntax error.
# * Response: 2 ResultSet messages, and a syntax error (`INVALID_ARGUMENT`)
# status. The number of ResultSet messages indicates that the third
# statement failed, and the fourth and fifth statements were not executed.
class ExecuteBatchDmlResponse
include Google::Apis::Core::Hashable
# ResultSets, one for each statement in the request that ran successfully, in
# the same order as the statements in the request. Each ResultSet will
# not contain any rows. The ResultSetStats in each ResultSet will
# contain the number of rows modified by the statement.
# Only the first ResultSet in the response contains a valid
# One ResultSet for each statement in the request that ran successfully,
# in the same order as the statements in the request. Each ResultSet does
# not contain any rows. The ResultSetStats in each ResultSet contain
# the number of rows modified by the statement.
# Only the first ResultSet in the response contains valid
# ResultSetMetadata.
# Corresponds to the JSON property `resultSets`
# @return [Array<Google::Apis::SpannerV1::ResultSet>]
@ -937,17 +942,14 @@ module Google
# @return [Hash<String,Google::Apis::SpannerV1::Type>]
attr_accessor :param_types
# The SQL string can contain parameter placeholders. A parameter
# placeholder consists of `'@'` followed by the parameter
# name. Parameter names consist of any combination of letters,
# numbers, and underscores.
# Parameter names and values that bind to placeholders in the SQL string.
# A parameter placeholder consists of the `@` character followed by the
# parameter name (for example, `@firstName`). Parameter names can contain
# letters, numbers, and underscores.
# Parameters can appear anywhere that a literal value is expected. The same
# parameter name can be used more than once, for example:
# `"WHERE id > @msg_id AND id < @msg_id + 100"`
# It is an error to execute an SQL statement with unbound parameters.
# Parameter values are specified using `params`, which is a JSON
# object whose keys are parameter names, and whose values are the
# corresponding parameter values.
# It is an error to execute a SQL statement with unbound parameters.
# Corresponds to the JSON property `params`
# @return [Hash<String,Object>]
attr_accessor :params
@ -979,7 +981,7 @@ module Google
# @return [String]
attr_accessor :resume_token
# A per-transaction sequence number used to identify this request. This
# A per-transaction sequence number used to identify this request. This field
# makes each request idempotent such that if the request is received multiple
# times, at most one will succeed.
# The sequence number must be monotonically increasing within the
@ -1823,17 +1825,14 @@ module Google
# @return [Hash<String,Google::Apis::SpannerV1::Type>]
attr_accessor :param_types
# The SQL query string can contain parameter placeholders. A parameter
# placeholder consists of `'@'` followed by the parameter
# name. Parameter names consist of any combination of letters,
# numbers, and underscores.
# Parameter names and values that bind to placeholders in the SQL string.
# A parameter placeholder consists of the `@` character followed by the
# parameter name (for example, `@firstName`). Parameter names can contain
# letters, numbers, and underscores.
# Parameters can appear anywhere that a literal value is expected. The same
# parameter name can be used more than once, for example:
# `"WHERE id > @msg_id AND id < @msg_id + 100"`
# It is an error to execute an SQL query with unbound parameters.
# Parameter values are specified using `params`, which is a JSON
# object whose keys are parameter names, and whose values are the
# corresponding parameter values.
# It is an error to execute a SQL statement with unbound parameters.
# Corresponds to the JSON property `params`
# @return [Hash<String,Object>]
attr_accessor :params
@ -2638,17 +2637,14 @@ module Google
# @return [Hash<String,Google::Apis::SpannerV1::Type>]
attr_accessor :param_types
# The DML string can contain parameter placeholders. A parameter
# placeholder consists of `'@'` followed by the parameter
# name. Parameter names consist of any combination of letters,
# numbers, and underscores.
# Parameter names and values that bind to placeholders in the DML string.
# A parameter placeholder consists of the `@` character followed by the
# parameter name (for example, `@firstName`). Parameter names can contain
# letters, numbers, and underscores.
# Parameters can appear anywhere that a literal value is expected. The
# same parameter name can be used more than once, for example:
# `"WHERE id > @msg_id AND id < @msg_id + 100"`
# It is an error to execute an SQL statement with unbound parameters.
# Parameter values are specified using `params`, which is a JSON
# object whose keys are parameter names, and whose values are the
# corresponding parameter values.
# It is an error to execute a SQL statement with unbound parameters.
# Corresponds to the JSON property `params`
# @return [Hash<String,Object>]
attr_accessor :params

View File

@ -1058,8 +1058,8 @@ module Google
# multiple sessions. Note that standalone reads and queries use a
# transaction internally, and count toward the one transaction
# limit.
# Cloud Spanner limits the number of sessions that can exist at any given
# time; thus, it is a good idea to delete idle and/or unneeded sessions.
# Active sessions use additional server resources, so it is a good idea to
# delete idle and unneeded sessions.
# Aside from explicit deletes, Cloud Spanner can delete sessions for which no
# operations are sent for more than an hour. If a session is deleted,
# requests to it return `NOT_FOUND`.
@ -1132,19 +1132,12 @@ module Google
# Executes a batch of SQL DML statements. This method allows many statements
# to be run with lower latency than submitting them sequentially with
# ExecuteSql.
# Statements are executed in order, sequentially.
# ExecuteBatchDmlResponse will contain a
# ResultSet for each DML statement that has successfully executed. If a
# statement fails, its error status will be returned as part of the
# ExecuteBatchDmlResponse. Execution will
# stop at the first failed statement; the remaining statements will not run.
# ExecuteBatchDml is expected to return an OK status with a response even if
# there was an error while processing one of the DML statements. Clients must
# inspect response.status to determine if there were any errors while
# processing the request.
# See more details in
# ExecuteBatchDmlRequest and
# ExecuteBatchDmlResponse.
# Statements are executed in sequential order. A request can succeed even if
# a statement fails. The ExecuteBatchDmlResponse.status field in the
# response provides information about the statement that failed. Clients must
# inspect this field to determine whether an error occurred.
# Execution stops after the first failed statement; the remaining statements
# are not executed.
# @param [String] session
# Required. The session in which the DML statements should be performed.
# @param [Google::Apis::SpannerV1::ExecuteBatchDmlRequest] execute_batch_dml_request_object

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/test-lab/
module ToolresultsV1beta3
VERSION = 'V1beta3'
REVISION = '20190702'
REVISION = '20190801'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -182,7 +182,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -307,7 +307,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -341,7 +341,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -487,7 +487,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -1050,7 +1050,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -2029,7 +2029,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -2132,7 +2132,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -2285,6 +2285,40 @@ module Google
class TestCase
include Google::Apis::Core::Hashable
# A Duration represents a signed, fixed-length span of time represented as a
# count of seconds and fractions of seconds at nanosecond resolution. It is
# independent of any calendar and concepts like "day" or "month". It is related
# to Timestamp in that the difference between two Timestamp values is a Duration
# and it can be added or subtracted from a Timestamp. Range is approximately +-
# 10,000 years.
# # Examples
# Example 1: Compute Duration from two Timestamps in pseudo code.
# Timestamp start = ...; Timestamp end = ...; Duration duration = ...;
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
# end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos +
# duration.nanos;
# if (end.nanos = 1000000000) ` end.seconds += 1; end.nanos -= 1000000000; `
# Example 3: Compute Duration from datetime.timedelta in Python.
# td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.
# FromTimedelta(td)
# # JSON Mapping
# In JSON format, the Duration type is encoded as a string rather than an object,
# where the string ends in the suffix "s" (indicating seconds) and is preceded
# by the number of seconds, with nanoseconds expressed as fractional seconds.
# For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "
# 3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.
# 000000001s", and 3 seconds and 1 microsecond should be expressed in JSON
# format as "3.000001s".
# Corresponds to the JSON property `elapsedTime`
# @return [Google::Apis::ToolresultsV1beta3::Duration]
attr_accessor :elapsed_time
# A Timestamp represents a point in time independent of any time zone or local
# calendar, encoded as a count of seconds and fractions of seconds at nanosecond
# resolution. The count is relative to an epoch at UTC midnight on January 1,
@ -2443,6 +2477,7 @@ module Google
# Update properties of this object
def update!(**args)
@elapsed_time = args[:elapsed_time] if args.key?(:elapsed_time)
@end_time = args[:end_time] if args.key?(:end_time)
@skipped_message = args[:skipped_message] if args.key?(:skipped_message)
@stack_traces = args[:stack_traces] if args.key?(:stack_traces)
@ -2638,7 +2673,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;
@ -2730,7 +2765,7 @@ module Google
# duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos -
# start.nanos;
# if (duration.seconds 0) ` duration.seconds += 1; duration.nanos -= 1000000000;
# ` else if (durations.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# ` else if (duration.seconds > 0 && duration.nanos < 0) ` duration.seconds -=
# 1; duration.nanos += 1000000000; `
# Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
# Timestamp start = ...; Duration duration = ...; Timestamp end = ...;

View File

@ -881,6 +881,8 @@ module Google
class TestCase
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :elapsed_time, as: 'elapsedTime', class: Google::Apis::ToolresultsV1beta3::Duration, decorator: Google::Apis::ToolresultsV1beta3::Duration::Representation
property :end_time, as: 'endTime', class: Google::Apis::ToolresultsV1beta3::Timestamp, decorator: Google::Apis::ToolresultsV1beta3::Timestamp::Representation
property :skipped_message, as: 'skippedMessage'

View File

@ -589,14 +589,11 @@ module Google
# step is too large (more than 10Mib) - NOT_FOUND - if the containing Execution
# does not exist
# @param [String] project_id
# A Project id.
# Required.
# Required. A Project id.
# @param [String] history_id
# A History id.
# Required.
# Required. A History id.
# @param [String] execution_id
# A Execution id.
# Required.
# Required. An Execution id.
# @param [Google::Apis::ToolresultsV1beta3::Step] step_object
# @param [String] request_id
# A unique request ID for server to detect duplicated requests. For example, a

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20190701'
REVISION = '20190802'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'

View File

@ -699,11 +699,10 @@ module Google
execute_or_queue_command(command, &block)
end
# Updates the metadata for the specified asset. This method supports patch
# semantics.
# Patches the metadata for the specified asset.
# @param [String] asset_id
# The assetId parameter specifies the YouTube asset ID of the asset being
# updated.
# patched.
# @param [Google::Apis::YoutubePartnerV1::Asset] asset_object
# @param [String] on_behalf_of_content_owner
# The onBehalfOfContentOwner parameter identifies the content owner that the

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/v3
module YoutubeV3
VERSION = 'V3'
REVISION = '20190513'
REVISION = '20190722'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'

View File

@ -3786,6 +3786,11 @@ module Google
# @return [DateTime]
attr_accessor :actual_start_time
#
# Corresponds to the JSON property `broadcastType`
# @return [String]
attr_accessor :broadcast_type
# The ID that YouTube uses to uniquely identify the channel that is publishing
# the broadcast.
# Corresponds to the JSON property `channelId`
@ -3848,6 +3853,7 @@ module Google
def update!(**args)
@actual_end_time = args[:actual_end_time] if args.key?(:actual_end_time)
@actual_start_time = args[:actual_start_time] if args.key?(:actual_start_time)
@broadcast_type = args[:broadcast_type] if args.key?(:broadcast_type)
@channel_id = args[:channel_id] if args.key?(:channel_id)
@description = args[:description] if args.key?(:description)
@is_default_broadcast = args[:is_default_broadcast] if args.key?(:is_default_broadcast)

View File

@ -2039,6 +2039,7 @@ module Google
property :actual_start_time, as: 'actualStartTime', type: DateTime
property :broadcast_type, as: 'broadcastType'
property :channel_id, as: 'channelId'
property :description, as: 'description'
property :is_default_broadcast, as: 'isDefaultBroadcast'