diff --git a/api_names_out.yaml b/api_names_out.yaml index 96633d660..5377a8695 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb index 1b1ba3fae..33cae02ea 100644 --- a/generated/google/apis/appsactivity_v1.rb +++ b/generated/google/apis/appsactivity_v1.rb @@ -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 diff --git a/generated/google/apis/deploymentmanager_alpha.rb b/generated/google/apis/deploymentmanager_alpha.rb index 7d41f7665..389c27301 100644 --- a/generated/google/apis/deploymentmanager_alpha.rb +++ b/generated/google/apis/deploymentmanager_alpha.rb @@ -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' diff --git a/generated/google/apis/deploymentmanager_alpha/classes.rb b/generated/google/apis/deploymentmanager_alpha/classes.rb index 427e75631..aa9cd69e9 100644 --- a/generated/google/apis/deploymentmanager_alpha/classes.rb +++ b/generated/google/apis/deploymentmanager_alpha/classes.rb @@ -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] attr_accessor :rules - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version diff --git a/generated/google/apis/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index 8a6dab5e7..34521c908 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -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' diff --git a/generated/google/apis/deploymentmanager_v2/classes.rb b/generated/google/apis/deploymentmanager_v2/classes.rb index f104896b9..5c7941735 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -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] attr_accessor :rules - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version diff --git a/generated/google/apis/deploymentmanager_v2beta.rb b/generated/google/apis/deploymentmanager_v2beta.rb index 8a6dbd1dc..40744b2e9 100644 --- a/generated/google/apis/deploymentmanager_v2beta.rb +++ b/generated/google/apis/deploymentmanager_v2beta.rb @@ -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' diff --git a/generated/google/apis/deploymentmanager_v2beta/classes.rb b/generated/google/apis/deploymentmanager_v2beta/classes.rb index 25f14ef73..c6b4932e2 100644 --- a/generated/google/apis/deploymentmanager_v2beta/classes.rb +++ b/generated/google/apis/deploymentmanager_v2beta/classes.rb @@ -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] attr_accessor :rules - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb index 1778c88a1..933b5db6c 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -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' diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb index 468cf2570..0dcc682df 100644 --- a/generated/google/apis/drive_v2/classes.rb +++ b/generated/google/apis/drive_v2/classes.rb @@ -32,6 +32,12 @@ module Google # @return [Array] 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) diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb index 7c70008cb..2d95bebf1 100644 --- a/generated/google/apis/drive_v2/representations.rb +++ b/generated/google/apis/drive_v2/representations.rb @@ -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 diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index 9bb16bcda..5bcf98c01 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -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' diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index 101c3c96c..092dcdf07 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -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>] @@ -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) diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb index 5b8d41764..ace2efb00 100644 --- a/generated/google/apis/drive_v3/representations.rb +++ b/generated/google/apis/drive_v3/representations.rb @@ -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 diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 58e4f7a37..85426241a 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -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'