Autogenerated update (2017-12-14)
Update: - adexchangebuyer2_v2beta1 - androidmanagement_v1 - bigquerydatatransfer_v1 - calendar_v3 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2beta1 - cloudtasks_v2beta2 - drive_v2 - drive_v3 - speech_v1beta1
This commit is contained in:
1 parent
5451b7230d
commit
808ddace3e
31 files changed
+10753
-80
No files matched your search
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
|
||||
module Adexchangebuyer2V2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20171201'
|
||||
REVISION = '20171208'
|
||||
|
||||
# Manage your Ad Exchange buyer account configuration
|
||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||
|
||||
@@ -871,11 +871,19 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :environment
|
||||
|
||||
# DEPRECATED: use repeated formats field instead.
|
||||
# The format on which to filter; optional.
|
||||
# Corresponds to the JSON property `format`
|
||||
# @return [String]
|
||||
attr_accessor :format
|
||||
|
||||
# The list of formats on which to filter; may be empty. The filters
|
||||
# represented by multiple formats are ORed together (i.e. if non-empty,
|
||||
# results must match any one of the formats).
|
||||
# Corresponds to the JSON property `formats`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :formats
|
||||
|
||||
# A user-defined name of the filter set. Filter set names must be unique
|
||||
# globally and match one of the patterns:
|
||||
# - `bidders/*/filterSets/*` (for accessing bidder-level troubleshooting
|
||||
@@ -939,6 +947,7 @@ module Google
|
||||
@deal_id = args[:deal_id] if args.key?(:deal_id)
|
||||
@environment = args[:environment] if args.key?(:environment)
|
||||
@format = args[:format] if args.key?(:format)
|
||||
@formats = args[:formats] if args.key?(:formats)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@platforms = args[:platforms] if args.key?(:platforms)
|
||||
@realtime_time_range = args[:realtime_time_range] if args.key?(:realtime_time_range)
|
||||
|
||||
@@ -571,6 +571,7 @@ module Google
|
||||
property :deal_id, :numeric_string => true, as: 'dealId'
|
||||
property :environment, as: 'environment'
|
||||
property :format, as: 'format'
|
||||
collection :formats, as: 'formats'
|
||||
property :name, as: 'name'
|
||||
collection :platforms, as: 'platforms'
|
||||
property :realtime_time_range, as: 'realtimeTimeRange', class: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange, decorator: Google::Apis::Adexchangebuyer2V2beta1::RealtimeTimeRange::Representation
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/android/management
|
||||
module AndroidmanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171127'
|
||||
REVISION = '20171204'
|
||||
|
||||
# Manage Android devices and apps for your customers
|
||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||
|
||||
@@ -2191,6 +2191,12 @@ module Google
|
||||
class StatusReportingSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether device settings reporting is enabled.
|
||||
# Corresponds to the JSON property `deviceSettingsEnabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :device_settings_enabled
|
||||
alias_method :device_settings_enabled?, :device_settings_enabled
|
||||
|
||||
# Whether displays reporting is enabled.
|
||||
# Corresponds to the JSON property `displayInfoEnabled`
|
||||
# @return [Boolean]
|
||||
@@ -2233,6 +2239,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
|
||||
@display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
|
||||
@hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled)
|
||||
@memory_info_enabled = args[:memory_info_enabled] if args.key?(:memory_info_enabled)
|
||||
|
||||
@@ -740,6 +740,7 @@ module Google
|
||||
class StatusReportingSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_settings_enabled, as: 'deviceSettingsEnabled'
|
||||
property :display_info_enabled, as: 'displayInfoEnabled'
|
||||
property :hardware_status_enabled, as: 'hardwareStatusEnabled'
|
||||
property :memory_info_enabled, as: 'memoryInfoEnabled'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/bigquery/
|
||||
module BigquerydatatransferV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171203'
|
||||
REVISION = '20171210'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
||||
@@ -126,7 +126,7 @@ module Google
|
||||
attr_accessor :manual_runs_disabled
|
||||
alias_method :manual_runs_disabled?, :manual_runs_disabled
|
||||
|
||||
# The minimum interval between two consecutive scheduled runs.
|
||||
# The minimum interval for scheduler to schedule runs.
|
||||
# Corresponds to the JSON property `minimumScheduleInterval`
|
||||
# @return [String]
|
||||
attr_accessor :minimum_schedule_interval
|
||||
@@ -788,7 +788,7 @@ module Google
|
||||
end
|
||||
|
||||
# Represents a data transfer run.
|
||||
# Next id: 25
|
||||
# Next id: 27
|
||||
class TransferRun
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20171010'
|
||||
REVISION = '20171210'
|
||||
|
||||
# Manage your calendars
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
||||
@@ -155,6 +155,12 @@ module Google
|
||||
class Calendar
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Conferencing properties for this calendar, for example what types of
|
||||
# conferences are allowed.
|
||||
# Corresponds to the JSON property `conferenceProperties`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceProperties]
|
||||
attr_accessor :conference_properties
|
||||
|
||||
# Description of the calendar. Optional.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
@@ -198,6 +204,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@conference_properties = args[:conference_properties] if args.key?(:conference_properties)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@@ -288,6 +295,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :color_id
|
||||
|
||||
# Conferencing properties for this calendar, for example what types of
|
||||
# conferences are allowed.
|
||||
# Corresponds to the JSON property `conferenceProperties`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceProperties]
|
||||
attr_accessor :conference_properties
|
||||
|
||||
# The default reminders that the authenticated user has for this calendar.
|
||||
# Corresponds to the JSON property `defaultReminders`
|
||||
# @return [Array<Google::Apis::CalendarV3::EventReminder>]
|
||||
@@ -383,6 +396,7 @@ module Google
|
||||
@access_role = args[:access_role] if args.key?(:access_role)
|
||||
@background_color = args[:background_color] if args.key?(:background_color)
|
||||
@color_id = args[:color_id] if args.key?(:color_id)
|
||||
@conference_properties = args[:conference_properties] if args.key?(:conference_properties)
|
||||
@default_reminders = args[:default_reminders] if args.key?(:default_reminders)
|
||||
@deleted = args[:deleted] if args.key?(:deleted)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@@ -599,6 +613,311 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ConferenceData
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the conference.
|
||||
# Can be used by developers to keep track of conferences, should not be
|
||||
# displayed to users.
|
||||
# Values for solution types:
|
||||
# - "eventHangout": unset
|
||||
# - "eventNamedHangout": the name of the Hangout.
|
||||
# - "hangoutsMeet": the 10-letter meeting code, for example "aaa-bbbb-ccc".
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `conferenceId`
|
||||
# @return [String]
|
||||
attr_accessor :conference_id
|
||||
|
||||
# The conference solution, such as Hangouts or Hangouts Meet.
|
||||
# Unset for a conference with failed create request.
|
||||
# Either conferenceSolution and at least one entryPoint, or createRequest is
|
||||
# required.
|
||||
# Corresponds to the JSON property `conferenceSolution`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceSolution]
|
||||
attr_accessor :conference_solution
|
||||
|
||||
# A request to generate a new conference and attach it to the event. The data is
|
||||
# generated asynchronously. To see whether the data is present check the status
|
||||
# field.
|
||||
# Either conferenceSolution and at least one entryPoint, or createRequest is
|
||||
# required.
|
||||
# Corresponds to the JSON property `createRequest`
|
||||
# @return [Google::Apis::CalendarV3::CreateConferenceRequest]
|
||||
attr_accessor :create_request
|
||||
|
||||
# Information about individual conference entry points, such as URLs or phone
|
||||
# numbers.
|
||||
# All of them must belong to the same conference.
|
||||
# Either conferenceSolution and at least one entryPoint, or createRequest is
|
||||
# required.
|
||||
# Corresponds to the JSON property `entryPoints`
|
||||
# @return [Array<Google::Apis::CalendarV3::EntryPoint>]
|
||||
attr_accessor :entry_points
|
||||
|
||||
# The signature of the conference data.
|
||||
# Genereated on server side. Must be preserved while copying the conference data
|
||||
# between events, otherwise the conference data will not be copied.
|
||||
# Unset for a conference with failed create request.
|
||||
# Optional for a conference with a pending create request.
|
||||
# Corresponds to the JSON property `signature`
|
||||
# @return [String]
|
||||
attr_accessor :signature
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@conference_id = args[:conference_id] if args.key?(:conference_id)
|
||||
@conference_solution = args[:conference_solution] if args.key?(:conference_solution)
|
||||
@create_request = args[:create_request] if args.key?(:create_request)
|
||||
@entry_points = args[:entry_points] if args.key?(:entry_points)
|
||||
@signature = args[:signature] if args.key?(:signature)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ConferenceProperties
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The types of conference solutions that are supported for this calendar.
|
||||
# The possible values are:
|
||||
# - "eventHangout"
|
||||
# - "eventNamedHangout"
|
||||
# - "hangoutsMeet" Optional.
|
||||
# Corresponds to the JSON property `allowedConferenceSolutionTypes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :allowed_conference_solution_types
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@allowed_conference_solution_types = args[:allowed_conference_solution_types] if args.key?(:allowed_conference_solution_types)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ConferenceRequestStatus
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The current status of the conference create request. Read-only.
|
||||
# The possible values are:
|
||||
# - "pending": the conference create request is still being processed.
|
||||
# - "success": the conference create request succeeded, the entry points are
|
||||
# populated.
|
||||
# - "failure": the conference create request failed, there are no entry points.
|
||||
# Corresponds to the JSON property `statusCode`
|
||||
# @return [String]
|
||||
attr_accessor :status_code
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@status_code = args[:status_code] if args.key?(:status_code)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ConferenceSolution
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The user-visible icon for this solution. Read-only.
|
||||
# Corresponds to the JSON property `iconUri`
|
||||
# @return [String]
|
||||
attr_accessor :icon_uri
|
||||
|
||||
# The key which can uniquely identify the conference solution for this event.
|
||||
# Corresponds to the JSON property `key`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceSolutionKey]
|
||||
attr_accessor :key
|
||||
|
||||
# The user-visible name of this solution. Not localized. Read-only.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@icon_uri = args[:icon_uri] if args.key?(:icon_uri)
|
||||
@key = args[:key] if args.key?(:key)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class ConferenceSolutionKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The conference solution type.
|
||||
# If a client encounters an unfamiliar or empty type, it should still be able to
|
||||
# display the entry points. However, it should disallow modifications.
|
||||
# The possible values are:
|
||||
# - "eventHangout"
|
||||
# - "eventNamedHangout"
|
||||
# - "hangoutsMeet"
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class CreateConferenceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The conference solution, such as Hangouts or Hangouts Meet.
|
||||
# Corresponds to the JSON property `conferenceSolutionKey`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceSolutionKey]
|
||||
attr_accessor :conference_solution_key
|
||||
|
||||
# The client-generated unique ID for this request.
|
||||
# Clients should regenerate this ID for every new request. If an ID provided is
|
||||
# the same as for the previous request, the request is ignored.
|
||||
# Corresponds to the JSON property `requestId`
|
||||
# @return [String]
|
||||
attr_accessor :request_id
|
||||
|
||||
# The status of the conference create request.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceRequestStatus]
|
||||
attr_accessor :status
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@conference_solution_key = args[:conference_solution_key] if args.key?(:conference_solution_key)
|
||||
@request_id = args[:request_id] if args.key?(:request_id)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class EntryPoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The Access Code to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `accessCode`
|
||||
# @return [String]
|
||||
attr_accessor :access_code
|
||||
|
||||
# The type of the conference entry point.
|
||||
# Possible values are:
|
||||
# - "video" - joining a conference over HTTP. A conference can have zero or one
|
||||
# video entry point.
|
||||
# - "phone" - joining a conference by dialing a phone number. A conference can
|
||||
# have zero or more phone entry points.
|
||||
# - "sip" - joining a conference over SIP. A conference can have zero or one sip
|
||||
# entry point.
|
||||
# - "more" - further conference joining instructions, for example additional
|
||||
# phone numbers. A conference can have zero or one more entry point. A
|
||||
# conference with only a more entry point is not a valid conference.
|
||||
# Corresponds to the JSON property `entryPointType`
|
||||
# @return [String]
|
||||
attr_accessor :entry_point_type
|
||||
|
||||
# The label for the URI.Visible to end users. Not localized. The maximum length
|
||||
# is 512 characters.
|
||||
# Examples:
|
||||
# - for video: meet.google.com/aaa-bbbb-ccc
|
||||
# - for phone: +1 123 268 2601
|
||||
# - for sip: sip:12345678@myprovider.com
|
||||
# - for more: should not be filled
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `label`
|
||||
# @return [String]
|
||||
attr_accessor :label
|
||||
|
||||
# The Meeting Code to access the conference. The maximum length is 128
|
||||
# characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `meetingCode`
|
||||
# @return [String]
|
||||
attr_accessor :meeting_code
|
||||
|
||||
# The Passcode to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
# Corresponds to the JSON property `passcode`
|
||||
# @return [String]
|
||||
attr_accessor :passcode
|
||||
|
||||
# The Password to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `password`
|
||||
# @return [String]
|
||||
attr_accessor :password
|
||||
|
||||
# The PIN to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `pin`
|
||||
# @return [String]
|
||||
attr_accessor :pin
|
||||
|
||||
# The "URI" of the entry point. The maximum length is 1300 characters.
|
||||
# Format:
|
||||
# - for video, http: or https: schema is required.
|
||||
# - for phone, tel: schema is required. The URI should include the entire dial
|
||||
# sequence (e.g., tel:+12345678900,,,123456789;1234).
|
||||
# - for sip, sip: schema is required, e.g., sip:12345678@myprovider.com.
|
||||
# - for more, http: or https: schema is required.
|
||||
# Corresponds to the JSON property `uri`
|
||||
# @return [String]
|
||||
attr_accessor :uri
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@access_code = args[:access_code] if args.key?(:access_code)
|
||||
@entry_point_type = args[:entry_point_type] if args.key?(:entry_point_type)
|
||||
@label = args[:label] if args.key?(:label)
|
||||
@meeting_code = args[:meeting_code] if args.key?(:meeting_code)
|
||||
@passcode = args[:passcode] if args.key?(:passcode)
|
||||
@password = args[:password] if args.key?(:password)
|
||||
@pin = args[:pin] if args.key?(:pin)
|
||||
@uri = args[:uri] if args.key?(:uri)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class Error
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -673,6 +992,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :color_id
|
||||
|
||||
# The conference-related information, such as details of a Hangouts Meet
|
||||
# conference. To create new conference details use the createRequest field.
|
||||
# Corresponds to the JSON property `conferenceData`
|
||||
# @return [Google::Apis::CalendarV3::ConferenceData]
|
||||
attr_accessor :conference_data
|
||||
|
||||
# Creation time of the event (as a RFC3339 timestamp). Read-only.
|
||||
# Corresponds to the JSON property `created`
|
||||
# @return [DateTime]
|
||||
@@ -906,6 +1231,7 @@ module Google
|
||||
@attendees = args[:attendees] if args.key?(:attendees)
|
||||
@attendees_omitted = args[:attendees_omitted] if args.key?(:attendees_omitted)
|
||||
@color_id = args[:color_id] if args.key?(:color_id)
|
||||
@conference_data = args[:conference_data] if args.key?(:conference_data)
|
||||
@created = args[:created] if args.key?(:created)
|
||||
@creator = args[:creator] if args.key?(:creator)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
|
||||
@@ -88,6 +88,48 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ConferenceData
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ConferenceProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ConferenceRequestStatus
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ConferenceSolution
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ConferenceSolutionKey
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateConferenceRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EntryPoint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Error
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -249,6 +291,8 @@ module Google
|
||||
class Calendar
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :etag, as: 'etag'
|
||||
property :id, as: 'id'
|
||||
@@ -277,6 +321,8 @@ module Google
|
||||
property :access_role, as: 'accessRole'
|
||||
property :background_color, as: 'backgroundColor'
|
||||
property :color_id, as: 'colorId'
|
||||
property :conference_properties, as: 'conferenceProperties', class: Google::Apis::CalendarV3::ConferenceProperties, decorator: Google::Apis::CalendarV3::ConferenceProperties::Representation
|
||||
|
||||
collection :default_reminders, as: 'defaultReminders', class: Google::Apis::CalendarV3::EventReminder, decorator: Google::Apis::CalendarV3::EventReminder::Representation
|
||||
|
||||
property :deleted, as: 'deleted'
|
||||
@@ -350,6 +396,76 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ConferenceData
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :conference_id, as: 'conferenceId'
|
||||
property :conference_solution, as: 'conferenceSolution', class: Google::Apis::CalendarV3::ConferenceSolution, decorator: Google::Apis::CalendarV3::ConferenceSolution::Representation
|
||||
|
||||
property :create_request, as: 'createRequest', class: Google::Apis::CalendarV3::CreateConferenceRequest, decorator: Google::Apis::CalendarV3::CreateConferenceRequest::Representation
|
||||
|
||||
collection :entry_points, as: 'entryPoints', class: Google::Apis::CalendarV3::EntryPoint, decorator: Google::Apis::CalendarV3::EntryPoint::Representation
|
||||
|
||||
property :signature, as: 'signature'
|
||||
end
|
||||
end
|
||||
|
||||
class ConferenceProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :allowed_conference_solution_types, as: 'allowedConferenceSolutionTypes'
|
||||
end
|
||||
end
|
||||
|
||||
class ConferenceRequestStatus
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :status_code, as: 'statusCode'
|
||||
end
|
||||
end
|
||||
|
||||
class ConferenceSolution
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :icon_uri, as: 'iconUri'
|
||||
property :key, as: 'key', class: Google::Apis::CalendarV3::ConferenceSolutionKey, decorator: Google::Apis::CalendarV3::ConferenceSolutionKey::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class ConferenceSolutionKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateConferenceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :conference_solution_key, as: 'conferenceSolutionKey', class: Google::Apis::CalendarV3::ConferenceSolutionKey, decorator: Google::Apis::CalendarV3::ConferenceSolutionKey::Representation
|
||||
|
||||
property :request_id, as: 'requestId'
|
||||
property :status, as: 'status', class: Google::Apis::CalendarV3::ConferenceRequestStatus, decorator: Google::Apis::CalendarV3::ConferenceRequestStatus::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class EntryPoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :access_code, as: 'accessCode'
|
||||
property :entry_point_type, as: 'entryPointType'
|
||||
property :label, as: 'label'
|
||||
property :meeting_code, as: 'meetingCode'
|
||||
property :passcode, as: 'passcode'
|
||||
property :password, as: 'password'
|
||||
property :pin, as: 'pin'
|
||||
property :uri, as: 'uri'
|
||||
end
|
||||
end
|
||||
|
||||
class Error
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -368,6 +484,8 @@ module Google
|
||||
|
||||
property :attendees_omitted, as: 'attendeesOmitted'
|
||||
property :color_id, as: 'colorId'
|
||||
property :conference_data, as: 'conferenceData', class: Google::Apis::CalendarV3::ConferenceData, decorator: Google::Apis::CalendarV3::ConferenceData::Representation
|
||||
|
||||
property :created, as: 'created', type: DateTime
|
||||
|
||||
property :creator, as: 'creator', class: Google::Apis::CalendarV3::Event::Creator, decorator: Google::Apis::CalendarV3::Event::Creator::Representation
|
||||
|
||||
@@ -1129,6 +1129,11 @@ module Google
|
||||
# method. If you want to access the primary calendar of the currently logged in
|
||||
# user, use the "primary" keyword.
|
||||
# @param [Google::Apis::CalendarV3::Event] event_object
|
||||
# @param [Fixnum] conference_data_version
|
||||
# Version number of conference data supported by the API client. Version 0
|
||||
# assumes no conference data support and ignores conference data in the event's
|
||||
# body. Version 1 enables support for copying of ConferenceData as well as for
|
||||
# creating new conferences using the CreateConferenceRequest. The default is 0.
|
||||
# @param [Boolean] supports_attachments
|
||||
# Whether API client performing operation supports event attachments. Optional.
|
||||
# The default is False.
|
||||
@@ -1153,13 +1158,14 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def import_event(calendar_id, event_object = nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def import_event(calendar_id, event_object = nil, conference_data_version: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'calendars/{calendarId}/events/import', options)
|
||||
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.request_object = event_object
|
||||
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.response_class = Google::Apis::CalendarV3::Event
|
||||
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
||||
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
||||
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
@@ -1173,6 +1179,11 @@ module Google
|
||||
# method. If you want to access the primary calendar of the currently logged in
|
||||
# user, use the "primary" keyword.
|
||||
# @param [Google::Apis::CalendarV3::Event] event_object
|
||||
# @param [Fixnum] conference_data_version
|
||||
# Version number of conference data supported by the API client. Version 0
|
||||
# assumes no conference data support and ignores conference data in the event's
|
||||
# body. Version 1 enables support for copying of ConferenceData as well as for
|
||||
# creating new conferences using the CreateConferenceRequest. The default is 0.
|
||||
# @param [Fixnum] max_attendees
|
||||
# The maximum number of attendees to include in the response. If there are more
|
||||
# than the specified number of attendees, only the participant is returned.
|
||||
@@ -1204,13 +1215,14 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def insert_event(calendar_id, event_object = nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def insert_event(calendar_id, event_object = nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'calendars/{calendarId}/events', options)
|
||||
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.request_object = event_object
|
||||
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.response_class = Google::Apis::CalendarV3::Event
|
||||
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
||||
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
||||
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
||||
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
||||
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
||||
@@ -1504,6 +1516,11 @@ module Google
|
||||
# non-working value will be provided). The use of this option is discouraged and
|
||||
# should only be used by clients which cannot handle the absence of an email
|
||||
# address value in the mentioned places. Optional. The default is False.
|
||||
# @param [Fixnum] conference_data_version
|
||||
# Version number of conference data supported by the API client. Version 0
|
||||
# assumes no conference data support and ignores conference data in the event's
|
||||
# body. Version 1 enables support for copying of ConferenceData as well as for
|
||||
# creating new conferences using the CreateConferenceRequest. The default is 0.
|
||||
# @param [Fixnum] max_attendees
|
||||
# The maximum number of attendees to include in the response. If there are more
|
||||
# than the specified number of attendees, only the participant is returned.
|
||||
@@ -1535,7 +1552,7 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def patch_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'calendars/{calendarId}/events/{eventId}', options)
|
||||
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.request_object = event_object
|
||||
@@ -1544,6 +1561,7 @@ module Google
|
||||
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
||||
command.params['eventId'] = event_id unless event_id.nil?
|
||||
command.query['alwaysIncludeEmail'] = always_include_email unless always_include_email.nil?
|
||||
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
||||
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
||||
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
||||
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
||||
@@ -1611,6 +1629,11 @@ module Google
|
||||
# non-working value will be provided). The use of this option is discouraged and
|
||||
# should only be used by clients which cannot handle the absence of an email
|
||||
# address value in the mentioned places. Optional. The default is False.
|
||||
# @param [Fixnum] conference_data_version
|
||||
# Version number of conference data supported by the API client. Version 0
|
||||
# assumes no conference data support and ignores conference data in the event's
|
||||
# body. Version 1 enables support for copying of ConferenceData as well as for
|
||||
# creating new conferences using the CreateConferenceRequest. The default is 0.
|
||||
# @param [Fixnum] max_attendees
|
||||
# The maximum number of attendees to include in the response. If there are more
|
||||
# than the specified number of attendees, only the participant is returned.
|
||||
@@ -1642,7 +1665,7 @@ module Google
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def update_event(calendar_id, event_id, event_object = nil, always_include_email: nil, conference_data_version: nil, max_attendees: nil, send_notifications: nil, supports_attachments: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'calendars/{calendarId}/events/{eventId}', options)
|
||||
command.request_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.request_object = event_object
|
||||
@@ -1651,6 +1674,7 @@ module Google
|
||||
command.params['calendarId'] = calendar_id unless calendar_id.nil?
|
||||
command.params['eventId'] = event_id unless event_id.nil?
|
||||
command.query['alwaysIncludeEmail'] = always_include_email unless always_include_email.nil?
|
||||
command.query['conferenceDataVersion'] = conference_data_version unless conference_data_version.nil?
|
||||
command.query['maxAttendees'] = max_attendees unless max_attendees.nil?
|
||||
command.query['sendNotifications'] = send_notifications unless send_notifications.nil?
|
||||
command.query['supportsAttachments'] = supports_attachments unless supports_attachments.nil?
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20170821'
|
||||
REVISION = '20171211'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -468,7 +468,10 @@ module Google
|
||||
|
||||
# Lists Projects that are visible to the user and satisfy the
|
||||
# specified filter. This method returns Projects in an unspecified order.
|
||||
# New Projects do not necessarily appear at the end of the list.
|
||||
# This method is eventually consistent with project mutations; this means
|
||||
# that a newly created project may not appear in the results or recent
|
||||
# updates to an existing project may not be reflected in the results. To
|
||||
# retrieve the latest state of a project, use the GetProjectmethod.
|
||||
# @param [String] filter
|
||||
# An expression for filtering the results of the request. Filter rules are
|
||||
# case insensitive. The fields eligible for filtering are:
|
||||
@@ -533,7 +536,7 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the IAM access control policy for the specified Project. Replaces
|
||||
# Sets the IAM access control policy for the specified Project. Overwrites
|
||||
# any existing policy.
|
||||
# The following constraints apply when using `setIamPolicy()`:
|
||||
# + Project does not support `allUsers` and `allAuthenticatedUsers` as
|
||||
@@ -556,7 +559,8 @@ module Google
|
||||
# projects that no longer have owners who have accepted the ToS. Edits to
|
||||
# IAM policies will be rejected until the lack of a ToS-accepting owner is
|
||||
# rectified.
|
||||
# + Calling this method requires enabling the App Engine Admin API.
|
||||
# + This method will replace the existing policy, and cannot be used to
|
||||
# append additional IAM settings.
|
||||
# Note: Removing service accounts from policies or changing their roles
|
||||
# can render services completely inoperable. It is important to understand
|
||||
# how the service account is being used before removing or updating its
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20170828'
|
||||
REVISION = '20171211'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -202,7 +202,8 @@ module Google
|
||||
|
||||
# Output only. The lifecycle state of the folder.
|
||||
# Updates to the lifecycle_state must be performed via
|
||||
# [DeleteFolder] and [UndeleteFolder].
|
||||
# DeleteFolder and
|
||||
# UndeleteFolder.
|
||||
# Corresponds to the JSON property `lifecycleState`
|
||||
# @return [String]
|
||||
attr_accessor :lifecycle_state
|
||||
@@ -214,7 +215,8 @@ module Google
|
||||
attr_accessor :name
|
||||
|
||||
# The Folder’s parent's resource name.
|
||||
# Updates to the folder's parent must be performed via [MoveFolders].
|
||||
# Updates to the folder's parent must be performed via
|
||||
# MoveFolder.
|
||||
# Corresponds to the JSON property `parent`
|
||||
# @return [String]
|
||||
attr_accessor :parent
|
||||
@@ -583,13 +585,13 @@ module Google
|
||||
# lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR`
|
||||
# can be used along with the suffix wildcard symbol `*`.
|
||||
# Some example queries are:
|
||||
# |Query|Description|
|
||||
# |------|-----------|
|
||||
# |Query | Description|
|
||||
# |----- | -----------|
|
||||
# |displayName=Test*|Folders whose display name starts with "Test".|
|
||||
# |lifecycleState=ACTIVE|Folders whose lifecycleState is ACTIVE.|
|
||||
# |parent=folders/123|Folders whose parent is "folders/123".|
|
||||
# |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose
|
||||
# parent is "folders/123".|
|
||||
# |parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose parent is "
|
||||
# folders/123".|
|
||||
# Corresponds to the JSON property `query`
|
||||
# @return [String]
|
||||
attr_accessor :query
|
||||
|
||||
@@ -105,10 +105,12 @@ module Google
|
||||
end
|
||||
|
||||
# Requests deletion of a Folder. The Folder is moved into the
|
||||
# [DELETE_REQUESTED] state immediately, and is deleted approximately 30 days
|
||||
# later. This method may only be called on an empty Folder in the [ACTIVE]
|
||||
# state, where a Folder is empty if it doesn't contain any Folders or
|
||||
# Projects in the [ACTIVE] state.
|
||||
# DELETE_REQUESTED state
|
||||
# immediately, and is deleted approximately 30 days later. This method may
|
||||
# only be called on an empty Folder in the
|
||||
# ACTIVE state, where a Folder is empty if
|
||||
# it doesn't contain any Folders or Projects in the
|
||||
# ACTIVE state.
|
||||
# The caller must have `resourcemanager.folders.delete` permission on the
|
||||
# identified folder.
|
||||
# @param [String] name
|
||||
@@ -235,8 +237,9 @@ module Google
|
||||
# Access to this method is controlled by checking the
|
||||
# `resourcemanager.folders.list` permission on the `parent`.
|
||||
# @param [Boolean] show_deleted
|
||||
# Controls whether Folders in the [DELETE_REQUESTED` state should
|
||||
# be returned.
|
||||
# Controls whether Folders in the
|
||||
# DELETE_REQUESTED
|
||||
# state should be returned.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -280,7 +283,8 @@ module Google
|
||||
# In addition, the Operation.metadata field will be populated with a
|
||||
# FolderOperation message as an aid to stateless clients.
|
||||
# Folder moves will be rejected if they violate either the naming, height
|
||||
# or fanout constraints described in the [CreateFolder] documentation.
|
||||
# or fanout constraints described in the
|
||||
# CreateFolder documentation.
|
||||
# The caller must have `resourcemanager.folders.move` permission on the
|
||||
# folder's current and proposed new parent.
|
||||
# @param [String] name
|
||||
@@ -318,9 +322,9 @@ module Google
|
||||
|
||||
# Updates a Folder, changing its display_name.
|
||||
# Changes to the folder display_name will be rejected if they violate either
|
||||
# the display_name formatting rules or naming constraints described in
|
||||
# the [CreateFolder] documentation.
|
||||
# + The Folder's display name must start and end with a letter or digit,
|
||||
# the display_name formatting rules or naming constraints described in the
|
||||
# CreateFolder documentation.
|
||||
# The Folder's display name must start and end with a letter or digit,
|
||||
# may contain letters, digits, spaces, hyphens and underscores and can be
|
||||
# no longer than 30 characters. This is captured by the regular expression:
|
||||
# [\p`L`\p`N`](`\p`L`\p`N`_- ]`0,28`[\p`L`\p`N`])?.
|
||||
@@ -476,11 +480,13 @@ module Google
|
||||
end
|
||||
|
||||
# Cancels the deletion request for a Folder. This method may only be
|
||||
# called on a Folder in the [DELETE_REQUESTED] state.
|
||||
# In order to succeed, the Folder's parent must be in the [ACTIVE] state.
|
||||
# called on a Folder in the
|
||||
# DELETE_REQUESTED state.
|
||||
# In order to succeed, the Folder's parent must be in the
|
||||
# ACTIVE state.
|
||||
# In addition, reintroducing the folder into the tree must not violate
|
||||
# folder naming, height and fanout constraints described in the
|
||||
# [CreateFolder] documentation.
|
||||
# CreateFolder documentation.
|
||||
# The caller must have `resourcemanager.folders.undelete` permission on the
|
||||
# identified folder.
|
||||
# @param [String] name
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/cloud-tasks/
|
||||
module CloudtasksV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20171208'
|
||||
REVISION = '20171213'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -30,8 +30,8 @@ module Google
|
||||
# Required.
|
||||
# The task's current schedule time, available in the Task.schedule_time
|
||||
# returned in PullTasksResponse.tasks or
|
||||
# CloudTasks.RenewLease. This restriction is to check that
|
||||
# the caller is acknowledging the correct task.
|
||||
# CloudTasks.RenewLease. This restriction is to ensure that your task
|
||||
# worker currently holds the lease.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
@@ -465,8 +465,8 @@ module Google
|
||||
# Required.
|
||||
# The task's current schedule time, available in the Task.schedule_time
|
||||
# returned in PullTasksResponse.tasks or
|
||||
# CloudTasks.RenewLease. This restriction is to check that
|
||||
# the caller is canceling the correct task.
|
||||
# CloudTasks.RenewLease. This restriction is to ensure that your task
|
||||
# worker currently holds the lease.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
@@ -830,12 +830,12 @@ module Google
|
||||
# PullTasksResponse is leased -- that task will not be
|
||||
# returned in a different PullTasksResponse before the
|
||||
# Task.schedule_time.
|
||||
# After the lease holder has successfully finished the work
|
||||
# associated with the task, the lease holder must call
|
||||
# After the pull worker has successfully finished the work
|
||||
# associated with the task, the pull worker must call
|
||||
# CloudTasks.AcknowledgeTask. If the task is not acknowledged
|
||||
# via CloudTasks.AcknowledgeTask before the
|
||||
# Task.schedule_time then it will be returned in a later
|
||||
# PullTasksResponse so that another lease holder can process
|
||||
# PullTasksResponse so that another pull worker can process
|
||||
# it.
|
||||
# The maximum lease duration is 1 week.
|
||||
# `lease_duration` will be truncated to the nearest second.
|
||||
@@ -1101,8 +1101,8 @@ module Google
|
||||
# Required.
|
||||
# The task's current schedule time, available in the Task.schedule_time
|
||||
# returned in PullTasksResponse.tasks or
|
||||
# CloudTasks.RenewLease. This restriction is to check that
|
||||
# the caller is renewing the correct task.
|
||||
# CloudTasks.RenewLease. This restriction is to ensure that your task
|
||||
# worker currently holds the lease.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
@@ -1457,20 +1457,20 @@ module Google
|
||||
attr_accessor :pull_message
|
||||
|
||||
# The time when the task is scheduled to be attempted.
|
||||
# For App Engine queues, this is when the task will be attempted or retried.
|
||||
# For pull queues, this is the time when the task is available to
|
||||
# be leased; if a task is currently leased, this is the time when
|
||||
# the current lease expires, that is, the time that the task was
|
||||
# leased plus the PullTasksRequest.lease_duration.
|
||||
# For App Engine queues, this is when the task will be attempted or retried.
|
||||
# `schedule_time` will be truncated to the nearest microsecond.
|
||||
# Corresponds to the JSON property `scheduleTime`
|
||||
# @return [String]
|
||||
attr_accessor :schedule_time
|
||||
|
||||
# Status of the task.
|
||||
# Corresponds to the JSON property `taskStatus`
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [Google::Apis::CloudtasksV2beta2::TaskStatus]
|
||||
attr_accessor :task_status
|
||||
attr_accessor :status
|
||||
|
||||
# Output only. The view specifies which subset of the Task has
|
||||
# been returned.
|
||||
@@ -1489,7 +1489,7 @@ module Google
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@pull_message = args[:pull_message] if args.key?(:pull_message)
|
||||
@schedule_time = args[:schedule_time] if args.key?(:schedule_time)
|
||||
@task_status = args[:task_status] if args.key?(:task_status)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@view = args[:view] if args.key?(:view)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -483,7 +483,7 @@ module Google
|
||||
property :pull_message, as: 'pullMessage', class: Google::Apis::CloudtasksV2beta2::PullMessage, decorator: Google::Apis::CloudtasksV2beta2::PullMessage::Representation
|
||||
|
||||
property :schedule_time, as: 'scheduleTime'
|
||||
property :task_status, as: 'taskStatus', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
|
||||
property :status, as: 'status', class: Google::Apis::CloudtasksV2beta2::TaskStatus, decorator: Google::Apis::CloudtasksV2beta2::TaskStatus::Representation
|
||||
|
||||
property :view, as: 'view'
|
||||
end
|
||||
|
||||
@@ -593,10 +593,10 @@ module Google
|
||||
end
|
||||
|
||||
# Acknowledges a pull task.
|
||||
# The lease holder, that is, the entity that received this task in
|
||||
# The pull worker, that is, the entity that received this task in
|
||||
# a PullTasksResponse, must call this method to indicate that
|
||||
# the work associated with the task has finished.
|
||||
# The lease holder must acknowledge a task within the
|
||||
# The pull worker must acknowledge a task within the
|
||||
# PullTasksRequest.lease_duration or the lease will expire and
|
||||
# the task will become ready to be returned in a different
|
||||
# PullTasksResponse. After the task is acknowledged, it will
|
||||
@@ -641,7 +641,7 @@ module Google
|
||||
end
|
||||
|
||||
# Cancel a pull task's lease.
|
||||
# The lease holder can use this method to cancel a task's lease
|
||||
# The pull worker can use this method to cancel a task's lease
|
||||
# by setting Task.schedule_time to now. This will make the task
|
||||
# available to be leased to the next caller of CloudTasks.PullTasks.
|
||||
# @param [String] name
|
||||
@@ -874,11 +874,11 @@ module Google
|
||||
|
||||
# Pulls tasks from a pull queue and acquires a lease on them for a
|
||||
# specified PullTasksRequest.lease_duration.
|
||||
# This method is invoked by the lease holder to obtain the
|
||||
# lease. The lease holder must acknowledge the task via
|
||||
# This method is invoked by the pull worker to obtain the
|
||||
# lease. The pull worker must acknowledge the task via
|
||||
# CloudTasks.AcknowledgeTask after they have performed the work
|
||||
# associated with the task.
|
||||
# The payload is intended to store data that the lease holder needs
|
||||
# The payload is intended to store data that the pull worker needs
|
||||
# to perform the work associated with the task. To return the
|
||||
# payloads in the PullTasksResponse, set
|
||||
# PullTasksRequest.response_view to Task.View.FULL.
|
||||
@@ -921,7 +921,7 @@ module Google
|
||||
end
|
||||
|
||||
# Renew the current lease of a pull task.
|
||||
# The lease holder can use this method to extend the lease by a new
|
||||
# The pull worker can use this method to extend the lease by a new
|
||||
# duration, starting from now. The new task lease will be
|
||||
# returned in Task.schedule_time.
|
||||
# @param [String] name
|
||||
@@ -966,7 +966,7 @@ module Google
|
||||
# When this method is called, Cloud Tasks will dispatch the task to its
|
||||
# target, even if the queue is Queue.State.PAUSED.
|
||||
# The dispatched task is returned. That is, the task that is returned
|
||||
# contains the Task.task_status after the task is dispatched but
|
||||
# contains the Task.status after the task is dispatched but
|
||||
# before the task is received by its target.
|
||||
# If Cloud Tasks receives a successful response from the task's
|
||||
# handler, then the task will be deleted; otherwise the task's
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/dlp_v2beta2/service.rb'
|
||||
require 'google/apis/dlp_v2beta2/classes.rb'
|
||||
require 'google/apis/dlp_v2beta2/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# DLP API
|
||||
#
|
||||
# The Google Data Loss Prevention API provides methods for detection of privacy-
|
||||
# sensitive fragments in text, images, and Google Cloud Platform storage
|
||||
# repositories.
|
||||
#
|
||||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20171212'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20171020'
|
||||
REVISION = '20171208'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
@@ -56,10 +56,10 @@ module Google
|
||||
|
||||
# Gets the information about the current user along with Drive API settings
|
||||
# @param [Boolean] include_subscribed
|
||||
# When calculating the number of remaining change IDs, whether to include public
|
||||
# files the user has opened and shared files. When set to false, this counts
|
||||
# only change IDs for owned files and any shared or public files that the user
|
||||
# has explicitly added to a folder they own.
|
||||
# Whether to count changes outside the My Drive hierarchy. When set to false,
|
||||
# changes to files such as those in the Application Data folder or shared files
|
||||
# which have not been added to My Drive will be omitted from the
|
||||
# maxChangeIdCount.
|
||||
# @param [Fixnum] max_change_id_count
|
||||
# Maximum number of remaining change IDs to count
|
||||
# @param [Fixnum] start_change_id
|
||||
@@ -182,7 +182,8 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets a specific change.
|
||||
# Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent
|
||||
# changes.
|
||||
# @param [String] change_id
|
||||
# The ID of the change.
|
||||
# @param [Boolean] supports_team_drives
|
||||
@@ -272,9 +273,10 @@ module Google
|
||||
# Whether to include changes indicating that items have been removed from the
|
||||
# list of changes, for example by deletion or loss of access.
|
||||
# @param [Boolean] include_subscribed
|
||||
# Whether to include public files the user has opened and shared files. When set
|
||||
# to false, the list only includes owned files plus any shared or public files
|
||||
# the user has explicitly added to a folder they own.
|
||||
# Whether to include changes outside the My Drive hierarchy in the result. When
|
||||
# set to false, changes to files such as those in the Application Data folder or
|
||||
# shared files which have not been added to My Drive will be omitted from the
|
||||
# result.
|
||||
# @param [Boolean] include_team_drive_items
|
||||
# Whether Team Drive files or changes should be included in results.
|
||||
# @param [Fixnum] max_results
|
||||
@@ -287,7 +289,7 @@ module Google
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
||||
# appDataFolder' and 'photos'.
|
||||
# @param [Fixnum] start_change_id
|
||||
# Change ID to start listing changes from.
|
||||
# Deprecated - use pageToken instead.
|
||||
# @param [Boolean] supports_team_drives
|
||||
# Whether the requesting application supports Team Drives.
|
||||
# @param [String] team_drive_id
|
||||
@@ -346,9 +348,10 @@ module Google
|
||||
# Whether to include changes indicating that items have been removed from the
|
||||
# list of changes, for example by deletion or loss of access.
|
||||
# @param [Boolean] include_subscribed
|
||||
# Whether to include public files the user has opened and shared files. When set
|
||||
# to false, the list only includes owned files plus any shared or public files
|
||||
# the user has explicitly added to a folder they own.
|
||||
# Whether to include changes outside the My Drive hierarchy in the result. When
|
||||
# set to false, changes to files such as those in the Application Data folder or
|
||||
# shared files which have not been added to My Drive will be omitted from the
|
||||
# result.
|
||||
# @param [Boolean] include_team_drive_items
|
||||
# Whether Team Drive files or changes should be included in results.
|
||||
# @param [Fixnum] max_results
|
||||
@@ -361,7 +364,7 @@ module Google
|
||||
# A comma-separated list of spaces to query. Supported values are 'drive', '
|
||||
# appDataFolder' and 'photos'.
|
||||
# @param [Fixnum] start_change_id
|
||||
# Change ID to start listing changes from.
|
||||
# Deprecated - use pageToken instead.
|
||||
# @param [Boolean] supports_team_drives
|
||||
# Whether the requesting application supports Team Drives.
|
||||
# @param [String] team_drive_id
|
||||
@@ -1315,7 +1318,10 @@ module Google
|
||||
# @param [String] remove_parents
|
||||
# Comma-separated list of parent IDs to remove.
|
||||
# @param [Boolean] set_modified_date
|
||||
# Whether to set the modified date with the supplied modified date.
|
||||
# Whether to set the modified date using the value supplied in the request body.
|
||||
# Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow,
|
||||
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
||||
# to the modified date set modifiedDateBehavior=noChange.
|
||||
# @param [Boolean] supports_team_drives
|
||||
# Whether the requesting application supports Team Drives.
|
||||
# @param [String] timed_text_language
|
||||
@@ -1517,7 +1523,10 @@ module Google
|
||||
# @param [String] remove_parents
|
||||
# Comma-separated list of parent IDs to remove.
|
||||
# @param [Boolean] set_modified_date
|
||||
# Whether to set the modified date with the supplied modified date.
|
||||
# Whether to set the modified date using the value supplied in the request body.
|
||||
# Setting this field to true is equivalent to modifiedDateBehavior=fromBodyOrNow,
|
||||
# and false is equivalent to modifiedDateBehavior=now. To prevent any changes
|
||||
# to the modified date set modifiedDateBehavior=noChange.
|
||||
# @param [Boolean] supports_team_drives
|
||||
# Whether the requesting application supports Team Drives.
|
||||
# @param [String] timed_text_language
|
||||
@@ -1929,7 +1938,7 @@ module Google
|
||||
# The ID for the file or Team Drive.
|
||||
# @param [Google::Apis::DriveV2::Permission] permission_object
|
||||
# @param [String] email_message
|
||||
# A custom message to include in notification emails.
|
||||
# A plain text custom message to include in notification emails.
|
||||
# @param [Boolean] send_notification_emails
|
||||
# Whether to send notification emails when sharing to users or groups. This
|
||||
# parameter is ignored and an email is sent if the role is owner.
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/drive/
|
||||
module DriveV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20171020'
|
||||
REVISION = '20171208'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
@@ -1027,7 +1027,7 @@ module Google
|
||||
# The ID of the file or Team Drive.
|
||||
# @param [Google::Apis::DriveV3::Permission] permission_object
|
||||
# @param [String] email_message
|
||||
# A custom message to include in the notification email.
|
||||
# A plain text custom message to include in the notification email.
|
||||
# @param [Boolean] send_notification_email
|
||||
# Whether to send a notification email when sharing to users or groups. This
|
||||
# defaults to true for users and groups, and is not allowed for other requests.
|
||||
|
||||
@@ -25,13 +25,10 @@ module Google
|
||||
# @see https://cloud.google.com/speech/
|
||||
module SpeechV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20171129'
|
||||
REVISION = '20171213'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
# Convert speech to text using Google speech recognition technology
|
||||
AUTH_CLOUD_SPEECH = 'https://www.googleapis.com/auth/cloud-speech'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user