Autogenerated update (2018-01-26)
Update: - appsactivity_v1 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - drive_v2 - drive_v3 - youtube_partner_v1
This commit is contained in:
parent
f98c7fa96a
commit
4c84380b0a
|
@ -46155,6 +46155,7 @@
|
|||
"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/additionalRoles/additional_role": additional_role
|
||||
"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/primaryRole": primary_role
|
||||
"/drive:v2/About/additionalRoleInfo/additional_role_info/type": type
|
||||
"/drive:v2/About/canCreateTeamDrives": can_create_team_drives
|
||||
"/drive:v2/About/domainSharingPolicy": domain_sharing_policy
|
||||
"/drive:v2/About/etag": etag
|
||||
"/drive:v2/About/exportFormats": export_formats
|
||||
|
@ -46916,6 +46917,7 @@
|
|||
"/drive:v2/userIp": user_ip
|
||||
"/drive:v3/About": about
|
||||
"/drive:v3/About/appInstalled": app_installed
|
||||
"/drive:v3/About/canCreateTeamDrives": can_create_team_drives
|
||||
"/drive:v3/About/exportFormats": export_formats
|
||||
"/drive:v3/About/exportFormats/export_format": export_format
|
||||
"/drive:v3/About/exportFormats/export_format/export_format": export_format
|
||||
|
|
|
@ -25,22 +25,10 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/activity/
|
||||
module AppsactivityV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170619'
|
||||
REVISION = '20180123'
|
||||
|
||||
# View the activity history of your Google apps
|
||||
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
# View and manage metadata of files in your Google Drive
|
||||
AUTH_DRIVE_METADATA = 'https://www.googleapis.com/auth/drive.metadata'
|
||||
|
||||
# View metadata for files in your Google Drive
|
||||
AUTH_DRIVE_METADATA_READONLY = 'https://www.googleapis.com/auth/drive.metadata.readonly'
|
||||
|
||||
# View the files in your Google Drive
|
||||
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20171214'
|
||||
REVISION = '20180119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -53,7 +53,7 @@ module Google
|
|||
# If there are AuditConfigs for both `allServices` and a specific service, the
|
||||
# union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditConfig are exempted.
|
||||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
|
@ -1318,7 +1318,9 @@ module Google
|
|||
attr_accessor :progress
|
||||
|
||||
# [Output Only] The URL of the region where the operation resides. Only
|
||||
# available when performing regional operations.
|
||||
# available when performing regional operations. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
@ -1371,7 +1373,8 @@ module Google
|
|||
attr_accessor :warnings
|
||||
|
||||
# [Output Only] The URL of the zone where the operation resides. Only available
|
||||
# when performing per-zone operations.
|
||||
# when performing per-zone operations. You must specify this field as part of
|
||||
# the HTTP request URL. It is not settable as a field in the request body.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
@ -1601,7 +1604,7 @@ module Google
|
|||
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam).
|
||||
# https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1647,7 +1650,7 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Version of the `Policy`. The default version is 0.
|
||||
# Deprecated.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20171201'
|
||||
REVISION = '20180119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -28,7 +28,7 @@ module Google
|
|||
# If there are AuditConfigs for both `allServices` and a specific service, the
|
||||
# union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditConfig are exempted.
|
||||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
|
@ -881,7 +881,9 @@ module Google
|
|||
attr_accessor :progress
|
||||
|
||||
# [Output Only] The URL of the region where the operation resides. Only
|
||||
# available when performing regional operations.
|
||||
# available when performing regional operations. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
@ -934,7 +936,8 @@ module Google
|
|||
attr_accessor :warnings
|
||||
|
||||
# [Output Only] The URL of the zone where the operation resides. Only available
|
||||
# when performing per-zone operations.
|
||||
# when performing per-zone operations. You must specify this field as part of
|
||||
# the HTTP request URL. It is not settable as a field in the request body.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
@ -1125,7 +1128,7 @@ module Google
|
|||
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam).
|
||||
# https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1171,7 +1174,7 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Version of the `Policy`. The default version is 0.
|
||||
# Deprecated.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2beta
|
||||
VERSION = 'V2beta'
|
||||
REVISION = '20171201'
|
||||
REVISION = '20180119'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -28,7 +28,7 @@ module Google
|
|||
# If there are AuditConfigs for both `allServices` and a specific service, the
|
||||
# union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditConfig are exempted.
|
||||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
||||
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
||||
|
@ -1170,7 +1170,9 @@ module Google
|
|||
attr_accessor :progress
|
||||
|
||||
# [Output Only] The URL of the region where the operation resides. Only
|
||||
# available when performing regional operations.
|
||||
# available when performing regional operations. You must specify this field as
|
||||
# part of the HTTP request URL. It is not settable as a field in the request
|
||||
# body.
|
||||
# Corresponds to the JSON property `region`
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
@ -1223,7 +1225,8 @@ module Google
|
|||
attr_accessor :warnings
|
||||
|
||||
# [Output Only] The URL of the zone where the operation resides. Only available
|
||||
# when performing per-zone operations.
|
||||
# when performing per-zone operations. You must specify this field as part of
|
||||
# the HTTP request URL. It is not settable as a field in the request body.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [String]
|
||||
attr_accessor :zone
|
||||
|
@ -1451,7 +1454,7 @@ module Google
|
|||
# appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user:
|
||||
# sean@example.com"] ` ] `
|
||||
# For a description of IAM and its features, see the [IAM developer's guide](
|
||||
# https://cloud.google.com/iam).
|
||||
# https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1497,7 +1500,7 @@ module Google
|
|||
# @return [Array<Google::Apis::DeploymentmanagerV2beta::Rule>]
|
||||
attr_accessor :rules
|
||||
|
||||
# Version of the `Policy`. The default version is 0.
|
||||
# Deprecated.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180105'
|
||||
REVISION = '20180112'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -32,6 +32,12 @@ module Google
|
|||
# @return [Array<Google::Apis::DriveV2::About::AdditionalRoleInfo>]
|
||||
attr_accessor :additional_role_info
|
||||
|
||||
# Whether the user can create Team Drives.
|
||||
# Corresponds to the JSON property `canCreateTeamDrives`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_create_team_drives
|
||||
alias_method :can_create_team_drives?, :can_create_team_drives
|
||||
|
||||
# The domain sharing policy for the current user. Possible values are:
|
||||
# - allowed
|
||||
# - allowedWithWarning
|
||||
|
@ -169,6 +175,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@additional_role_info = args[:additional_role_info] if args.key?(:additional_role_info)
|
||||
@can_create_team_drives = args[:can_create_team_drives] if args.key?(:can_create_team_drives)
|
||||
@domain_sharing_policy = args[:domain_sharing_policy] if args.key?(:domain_sharing_policy)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@export_formats = args[:export_formats] if args.key?(:export_formats)
|
||||
|
|
|
@ -321,6 +321,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :additional_role_info, as: 'additionalRoleInfo', class: Google::Apis::DriveV2::About::AdditionalRoleInfo, decorator: Google::Apis::DriveV2::About::AdditionalRoleInfo::Representation
|
||||
|
||||
property :can_create_team_drives, as: 'canCreateTeamDrives'
|
||||
property :domain_sharing_policy, as: 'domainSharingPolicy'
|
||||
property :etag, as: 'etag'
|
||||
collection :export_formats, as: 'exportFormats', class: Google::Apis::DriveV2::About::ExportFormat, decorator: Google::Apis::DriveV2::About::ExportFormat::Representation
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/drive/
|
||||
module DriveV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20180105'
|
||||
REVISION = '20180112'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -32,6 +32,12 @@ module Google
|
|||
attr_accessor :app_installed
|
||||
alias_method :app_installed?, :app_installed
|
||||
|
||||
# Whether the user can create Team Drives.
|
||||
# Corresponds to the JSON property `canCreateTeamDrives`
|
||||
# @return [Boolean]
|
||||
attr_accessor :can_create_team_drives
|
||||
alias_method :can_create_team_drives?, :can_create_team_drives
|
||||
|
||||
# A map of source MIME type to possible targets for all supported exports.
|
||||
# Corresponds to the JSON property `exportFormats`
|
||||
# @return [Hash<String,Array<String>>]
|
||||
|
@ -85,6 +91,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@app_installed = args[:app_installed] if args.key?(:app_installed)
|
||||
@can_create_team_drives = args[:can_create_team_drives] if args.key?(:can_create_team_drives)
|
||||
@export_formats = args[:export_formats] if args.key?(:export_formats)
|
||||
@folder_color_palette = args[:folder_color_palette] if args.key?(:folder_color_palette)
|
||||
@import_formats = args[:import_formats] if args.key?(:import_formats)
|
||||
|
|
|
@ -212,6 +212,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :app_installed, as: 'appInstalled'
|
||||
property :can_create_team_drives, as: 'canCreateTeamDrives'
|
||||
hash :export_formats, as: 'exportFormats', :class => Array do
|
||||
include Representable::JSON::Collection
|
||||
items
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180115'
|
||||
REVISION = '20180122'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
|
Loading…
Reference in New Issue