Autogenerated update (2020-02-20)
Update: - classroom_v1 - cloudidentity_v1 - cloudidentity_v1beta1 - cloudtasks_v2 - container_v1 - container_v1beta1 - dlp_v2 - domainsrdap_v1 - file_v1 - file_v1beta1 - firebasedynamiclinks_v1 - people_v1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - sheets_v4 - spanner_v1 - speech_v1p1beta1 - storagetransfer_v1
This commit is contained in:
parent
fd69a301d2
commit
8f389e3011
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/classroom/
|
||||
module ClassroomV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200210'
|
||||
REVISION = '20200218'
|
||||
|
||||
# View and manage announcements in Google Classroom
|
||||
AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/identity/
|
||||
module CloudidentityV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200211'
|
||||
REVISION = '20200215'
|
||||
|
||||
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
||||
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
||||
|
|
|
@ -22,40 +22,8 @@ module Google
|
|||
module Apis
|
||||
module CloudidentityV1
|
||||
|
||||
# An EntityKey uniquely identifies an Entity. Namespaces are used to provide
|
||||
# isolation for IDs. A single ID can be reused across namespaces but the
|
||||
# combination of a namespace and an ID must be unique.
|
||||
class EntityKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID of the entity within the given namespace. The ID must be unique
|
||||
# within its namespace.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
# Namespaces provide isolation for IDs, so an ID only needs to be unique
|
||||
# within its namespace.
|
||||
# Namespaces are currently only created as part of IdentitySource creation
|
||||
# from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
|
||||
# created corresponding to every Identity Source `identity_source_id`.
|
||||
# Corresponds to the JSON property `namespace`
|
||||
# @return [String]
|
||||
attr_accessor :namespace
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@namespace = args[:namespace] if args.key?(:namespace)
|
||||
end
|
||||
end
|
||||
|
||||
# Resource representing the Android specific attributes of a Device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
||||
class AndroidAttributes
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Baseband version of Android device.
|
||||
|
@ -165,12 +133,12 @@ module Google
|
|||
end
|
||||
|
||||
# Response message for approving the device to access user data.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
||||
class ApproveDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# A DeviceUser is a resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
# @return [Google::Apis::CloudidentityV1::DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
|
@ -184,12 +152,12 @@ module Google
|
|||
end
|
||||
|
||||
# Response message for blocking the device from accessing user data.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
||||
class BlockDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# A DeviceUser is a resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
# @return [Google::Apis::CloudidentityV1::DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
|
@ -203,13 +171,13 @@ module Google
|
|||
end
|
||||
|
||||
# Response message for cancelling an unfinished device wipe.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
||||
class CancelWipeDeviceResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
# Corresponds to the JSON property `device`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
|
||||
# @return [Google::Apis::CloudidentityV1::Device]
|
||||
attr_accessor :device
|
||||
|
||||
def initialize(**args)
|
||||
|
@ -223,12 +191,12 @@ module Google
|
|||
end
|
||||
|
||||
# Response message for cancelling an unfinished user account wipe.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
||||
class CancelWipeDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# A DeviceUser is a resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
# @return [Google::Apis::CloudidentityV1::DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
|
@ -243,12 +211,12 @@ module Google
|
|||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
||||
class Device
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing the Android specific attributes of a Device.
|
||||
# Corresponds to the JSON property `androidSpecificAttributes`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes]
|
||||
# @return [Google::Apis::CloudidentityV1::AndroidAttributes]
|
||||
attr_accessor :android_specific_attributes
|
||||
|
||||
# Asset tag of the device.
|
||||
|
@ -374,8 +342,8 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
||||
# A DeviceUser is a resource representing a user's use of a Device
|
||||
class DeviceUser
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Compromised State of the DeviceUser object
|
||||
|
@ -444,8 +412,9 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# An EndpointApp represents an app that is installed on a device
|
||||
# Next ID to use: 7
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
||||
class EndpointApp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Name of the app displayed to the user
|
||||
|
@ -497,46 +466,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Response message that is returned in LRO result of ListDeviceUsers Operation.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
||||
# An EntityKey uniquely identifies an Entity. Namespaces are used to provide
|
||||
# isolation for IDs. A single ID can be reused across namespaces but the
|
||||
# combination of a namespace and an ID must be unique.
|
||||
class EntityKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Devices meeting the list restrictions.
|
||||
# Corresponds to the JSON property `deviceUsers`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser>]
|
||||
attr_accessor :device_users
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# The ID of the entity within the given namespace. The ID must be unique
|
||||
# within its namespace.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
attr_accessor :id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_users = args[:device_users] if args.key?(:device_users)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message that is returned in LRO result of ListDevices Operation.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Devices meeting the list restrictions.
|
||||
# Corresponds to the JSON property `devices`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device>]
|
||||
attr_accessor :devices
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# Namespaces provide isolation for IDs, so an ID only needs to be unique
|
||||
# within its namespace.
|
||||
# Namespaces are currently only created as part of IdentitySource creation
|
||||
# from Admin Console. A namespace `"identitysources/`identity_source_id`"` is
|
||||
# created corresponding to every Identity Source `identity_source_id`.
|
||||
# Corresponds to the JSON property `namespace`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
attr_accessor :namespace
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
|
@ -544,73 +493,8 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@devices = args[:devices] if args.key?(:devices)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for listing all apps on the device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of matching EndpointApps found as a result of the request.
|
||||
# Corresponds to the JSON property `endpointApps`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp>]
|
||||
attr_accessor :endpoint_apps
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@endpoint_apps = args[:endpoint_apps] if args.key?(:endpoint_apps)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for wiping all data on the device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
# Corresponds to the JSON property `device`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device]
|
||||
attr_accessor :device
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device = args[:device] if args.key?(:device)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for wiping the user's account from the device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_user = args[:device_user] if args.key?(:device_user)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@namespace = args[:namespace] if args.key?(:namespace)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -691,6 +575,84 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Response message that is returned in LRO result of ListDeviceUsers Operation.
|
||||
class ListDeviceUsersResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Devices meeting the list restrictions.
|
||||
# Corresponds to the JSON property `deviceUsers`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::DeviceUser>]
|
||||
attr_accessor :device_users
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_users = args[:device_users] if args.key?(:device_users)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message that is returned in LRO result of ListDevices Operation.
|
||||
class ListDevicesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Devices meeting the list restrictions.
|
||||
# Corresponds to the JSON property `devices`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::Device>]
|
||||
attr_accessor :devices
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@devices = args[:devices] if args.key?(:devices)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for listing all apps on the device.
|
||||
class ListEndpointAppsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of matching EndpointApps found as a result of the request.
|
||||
# Corresponds to the JSON property `endpointApps`
|
||||
# @return [Array<Google::Apis::CloudidentityV1::EndpointApp>]
|
||||
attr_accessor :endpoint_apps
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@endpoint_apps = args[:endpoint_apps] if args.key?(:endpoint_apps)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for ListGroups operation.
|
||||
class ListGroupsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -987,6 +949,45 @@ module Google
|
|||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for wiping all data on the device.
|
||||
class WipeDeviceResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
# Corresponds to the JSON property `device`
|
||||
# @return [Google::Apis::CloudidentityV1::Device]
|
||||
attr_accessor :device
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device = args[:device] if args.key?(:device)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for wiping the user's account from the device.
|
||||
class WipeDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A DeviceUser is a resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1::DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_user = args[:device_user] if args.key?(:device_user)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,96 +22,84 @@ module Google
|
|||
module Apis
|
||||
module CloudidentityV1
|
||||
|
||||
class AndroidAttributes
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ApproveDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BlockDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CancelWipeDeviceResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CancelWipeDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Device
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeviceUser
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EndpointApp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EntityKey
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Group
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListDeviceUsersResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListDevicesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListEndpointAppsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListGroupsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -166,15 +154,19 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class EntityKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
property :namespace, as: 'namespace'
|
||||
end
|
||||
class WipeDeviceResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
||||
class WipeDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidAttributes
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :baseband_version, as: 'basebandVersion'
|
||||
|
@ -194,42 +186,42 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
||||
class ApproveDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
||||
class BlockDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
||||
class CancelWipeDeviceResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device, as: 'device', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
||||
property :device, as: 'device', class: Google::Apis::CloudidentityV1::Device, decorator: Google::Apis::CloudidentityV1::Device::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
||||
class CancelWipeDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
||||
class Device
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes::Representation
|
||||
property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1::AndroidAttributes, decorator: Google::Apis::CloudidentityV1::AndroidAttributes::Representation
|
||||
|
||||
property :asset_tag, as: 'assetTag'
|
||||
property :brand, as: 'brand'
|
||||
|
@ -252,7 +244,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
||||
class DeviceUser
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :compromised_state, as: 'compromisedState'
|
||||
|
@ -267,7 +259,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
||||
class EndpointApp
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
|
@ -279,46 +271,11 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
||||
class EntityKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :endpoint_apps, as: 'endpointApps', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device, as: 'device', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
property :id, as: 'id'
|
||||
property :namespace, as: 'namespace'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -337,6 +294,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ListDeviceUsersResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListDevicesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1::Device, decorator: Google::Apis::CloudidentityV1::Device::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListEndpointAppsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :endpoint_apps, as: 'endpointApps', class: Google::Apis::CloudidentityV1::EndpointApp, decorator: Google::Apis::CloudidentityV1::EndpointApp::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListGroupsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -418,6 +402,22 @@ module Google
|
|||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
|
||||
class WipeDeviceResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device, as: 'device', class: Google::Apis::CloudidentityV1::Device, decorator: Google::Apis::CloudidentityV1::Device::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class WipeDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1::DeviceUser, decorator: Google::Apis::CloudidentityV1::DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/identity/
|
||||
module CloudidentityV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200211'
|
||||
REVISION = '20200215'
|
||||
|
||||
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
||||
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
||||
|
|
|
@ -60,566 +60,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Resource representing the Android specific attributes of a Device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Baseband version of Android device.
|
||||
# Corresponds to the JSON property `basebandVersion`
|
||||
# @return [String]
|
||||
attr_accessor :baseband_version
|
||||
|
||||
# Device bootloader version. Example: 0.6.7.
|
||||
# Corresponds to the JSON property `bootloaderVersion`
|
||||
# @return [String]
|
||||
attr_accessor :bootloader_version
|
||||
|
||||
# Build number of Android device.
|
||||
# Corresponds to the JSON property `buildNumber`
|
||||
# @return [String]
|
||||
attr_accessor :build_number
|
||||
|
||||
# Whether developer options is enabled on device.
|
||||
# Corresponds to the JSON property `enabledDeveloperOptions`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enabled_developer_options
|
||||
alias_method :enabled_developer_options?, :enabled_developer_options
|
||||
|
||||
# Whether applications from unknown sources can be installed on device.
|
||||
# Corresponds to the JSON property `enabledUnknownSources`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enabled_unknown_sources
|
||||
alias_method :enabled_unknown_sources?, :enabled_unknown_sources
|
||||
|
||||
# Whether adb (USB debugging) is enabled on device.
|
||||
# Corresponds to the JSON property `enabledUsbDebugging`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enabled_usb_debugging
|
||||
alias_method :enabled_usb_debugging?, :enabled_usb_debugging
|
||||
|
||||
# Device encryption state.
|
||||
# Corresponds to the JSON property `encryptionState`
|
||||
# @return [String]
|
||||
attr_accessor :encryption_state
|
||||
|
||||
# Device hardware. Example: Sprout.
|
||||
# Corresponds to the JSON property `hardware`
|
||||
# @return [String]
|
||||
attr_accessor :hardware
|
||||
|
||||
# Kernel version of Android device.
|
||||
# Corresponds to the JSON property `kernelVersion`
|
||||
# @return [String]
|
||||
attr_accessor :kernel_version
|
||||
|
||||
# Domain name for Google accounts on device. Type for other accounts on
|
||||
# device. Will only be populated if |ownership_privilege| is
|
||||
# |PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in
|
||||
# to the device policy app if that account's domain has only one account.
|
||||
# Examples: "com.example", "xyz.com".
|
||||
# Corresponds to the JSON property `otherAccounts`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :other_accounts
|
||||
|
||||
# Whether this account is on an owner/primary profile.
|
||||
# For phones, only true for owner profiles. Android 4+ devices
|
||||
# can have secondary or restricted user profiles.
|
||||
# Corresponds to the JSON property `ownerProfileAccount`
|
||||
# @return [Boolean]
|
||||
attr_accessor :owner_profile_account
|
||||
alias_method :owner_profile_account?, :owner_profile_account
|
||||
|
||||
# Ownership privileges on device.
|
||||
# Corresponds to the JSON property `ownershipPrivilege`
|
||||
# @return [String]
|
||||
attr_accessor :ownership_privilege
|
||||
|
||||
# OS security patch update time on device.
|
||||
# Corresponds to the JSON property `securityPatchTime`
|
||||
# @return [String]
|
||||
attr_accessor :security_patch_time
|
||||
|
||||
# Whether device supports Android work profiles. If false, this service
|
||||
# will not block access to corp data even if an administrator turns on the
|
||||
# "Enforce Work Profile" policy.
|
||||
# Corresponds to the JSON property `supportsWorkProfile`
|
||||
# @return [Boolean]
|
||||
attr_accessor :supports_work_profile
|
||||
alias_method :supports_work_profile?, :supports_work_profile
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@baseband_version = args[:baseband_version] if args.key?(:baseband_version)
|
||||
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
|
||||
@build_number = args[:build_number] if args.key?(:build_number)
|
||||
@enabled_developer_options = args[:enabled_developer_options] if args.key?(:enabled_developer_options)
|
||||
@enabled_unknown_sources = args[:enabled_unknown_sources] if args.key?(:enabled_unknown_sources)
|
||||
@enabled_usb_debugging = args[:enabled_usb_debugging] if args.key?(:enabled_usb_debugging)
|
||||
@encryption_state = args[:encryption_state] if args.key?(:encryption_state)
|
||||
@hardware = args[:hardware] if args.key?(:hardware)
|
||||
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
||||
@other_accounts = args[:other_accounts] if args.key?(:other_accounts)
|
||||
@owner_profile_account = args[:owner_profile_account] if args.key?(:owner_profile_account)
|
||||
@ownership_privilege = args[:ownership_privilege] if args.key?(:ownership_privilege)
|
||||
@security_patch_time = args[:security_patch_time] if args.key?(:security_patch_time)
|
||||
@supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for approving the device to access user data.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_user = args[:device_user] if args.key?(:device_user)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for blocking the device from accessing user data.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_user = args[:device_user] if args.key?(:device_user)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for cancelling an unfinished device wipe.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
# Corresponds to the JSON property `device`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device]
|
||||
attr_accessor :device
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device = args[:device] if args.key?(:device)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for cancelling an unfinished user account wipe.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_user = args[:device_user] if args.key?(:device_user)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing the Android specific attributes of a Device.
|
||||
# Corresponds to the JSON property `androidSpecificAttributes`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes]
|
||||
attr_accessor :android_specific_attributes
|
||||
|
||||
# Asset tag of the device.
|
||||
# Corresponds to the JSON property `assetTag`
|
||||
# @return [String]
|
||||
attr_accessor :asset_tag
|
||||
|
||||
# Output only. Device brand. Example: Samsung.
|
||||
# Corresponds to the JSON property `brand`
|
||||
# @return [String]
|
||||
attr_accessor :brand
|
||||
|
||||
# Output only. Represents whether the Device is compromised.
|
||||
# Corresponds to the JSON property `compromisedState`
|
||||
# @return [String]
|
||||
attr_accessor :compromised_state
|
||||
|
||||
# Output only. When the Company-Owned device was imported. This field is empty
|
||||
# for BYOD
|
||||
# devices.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Output only. Type of device.
|
||||
# Corresponds to the JSON property `deviceType`
|
||||
# @return [String]
|
||||
attr_accessor :device_type
|
||||
|
||||
# Output only. IMEI number of device if GSM device; empty otherwise.
|
||||
# Corresponds to the JSON property `imei`
|
||||
# @return [String]
|
||||
attr_accessor :imei
|
||||
|
||||
# Most recent time when device synced with this service.
|
||||
# Corresponds to the JSON property `lastSyncTime`
|
||||
# @return [String]
|
||||
attr_accessor :last_sync_time
|
||||
|
||||
# Output only. Management state of the device
|
||||
# Corresponds to the JSON property `managementState`
|
||||
# @return [String]
|
||||
attr_accessor :management_state
|
||||
|
||||
# Output only. Device manufacturer. Example: Motorola.
|
||||
# Corresponds to the JSON property `manufacturer`
|
||||
# @return [String]
|
||||
attr_accessor :manufacturer
|
||||
|
||||
# Output only. MEID number of device if CDMA device; empty otherwise.
|
||||
# Corresponds to the JSON property `meid`
|
||||
# @return [String]
|
||||
attr_accessor :meid
|
||||
|
||||
# Output only. Model name of device. Example: Pixel 3.
|
||||
# Corresponds to the JSON property `model`
|
||||
# @return [String]
|
||||
attr_accessor :model
|
||||
|
||||
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
||||
# resource_names)
|
||||
# of the Device in format: `devices/`device_id``, where device_id is
|
||||
# the unique id assigned to the Device.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Output only. Mobile or network operator of device, if available.
|
||||
# Corresponds to the JSON property `networkOperator`
|
||||
# @return [String]
|
||||
attr_accessor :network_operator
|
||||
|
||||
# Output only. OS version of the device. Example: Android 8.1.0.
|
||||
# Corresponds to the JSON property `osVersion`
|
||||
# @return [String]
|
||||
attr_accessor :os_version
|
||||
|
||||
# Whether the device is owned by the company or an individual
|
||||
# Corresponds to the JSON property `ownerType`
|
||||
# @return [String]
|
||||
attr_accessor :owner_type
|
||||
|
||||
# Output only. OS release version. Example: 6.0.
|
||||
# Corresponds to the JSON property `releaseVersion`
|
||||
# @return [String]
|
||||
attr_accessor :release_version
|
||||
|
||||
# Serial Number of device. Example: HT82V1A01076.
|
||||
# Corresponds to the JSON property `serialNumber`
|
||||
# @return [String]
|
||||
attr_accessor :serial_number
|
||||
|
||||
# WiFi MAC addresses of device.
|
||||
# Corresponds to the JSON property `wifiMacAddresses`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :wifi_mac_addresses
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@android_specific_attributes = args[:android_specific_attributes] if args.key?(:android_specific_attributes)
|
||||
@asset_tag = args[:asset_tag] if args.key?(:asset_tag)
|
||||
@brand = args[:brand] if args.key?(:brand)
|
||||
@compromised_state = args[:compromised_state] if args.key?(:compromised_state)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@device_type = args[:device_type] if args.key?(:device_type)
|
||||
@imei = args[:imei] if args.key?(:imei)
|
||||
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
||||
@management_state = args[:management_state] if args.key?(:management_state)
|
||||
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
||||
@meid = args[:meid] if args.key?(:meid)
|
||||
@model = args[:model] if args.key?(:model)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@network_operator = args[:network_operator] if args.key?(:network_operator)
|
||||
@os_version = args[:os_version] if args.key?(:os_version)
|
||||
@owner_type = args[:owner_type] if args.key?(:owner_type)
|
||||
@release_version = args[:release_version] if args.key?(:release_version)
|
||||
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
||||
@wifi_mac_addresses = args[:wifi_mac_addresses] if args.key?(:wifi_mac_addresses)
|
||||
end
|
||||
end
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Compromised State of the DeviceUser object
|
||||
# Corresponds to the JSON property `compromisedState`
|
||||
# @return [String]
|
||||
attr_accessor :compromised_state
|
||||
|
||||
# Output only. Most recent time when user registered with this service.
|
||||
# Corresponds to the JSON property `firstSyncTime`
|
||||
# @return [String]
|
||||
attr_accessor :first_sync_time
|
||||
|
||||
# Output only. Default locale used on device, in IETF BCP-47 format.
|
||||
# Corresponds to the JSON property `languageCode`
|
||||
# @return [String]
|
||||
attr_accessor :language_code
|
||||
|
||||
# Output only. Last time when user synced with policies.
|
||||
# Corresponds to the JSON property `lastSyncTime`
|
||||
# @return [String]
|
||||
attr_accessor :last_sync_time
|
||||
|
||||
# Output only. Management state of the user on the device.
|
||||
# Corresponds to the JSON property `managementState`
|
||||
# @return [String]
|
||||
attr_accessor :management_state
|
||||
|
||||
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
||||
# resource_names) of
|
||||
# the DeviceUser in format: `devices/`device_id`/deviceUsers/`user_id``,
|
||||
# where user_id is the ID of the user associated with the user session.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Password state of the DeviceUser object
|
||||
# Corresponds to the JSON property `passwordState`
|
||||
# @return [String]
|
||||
attr_accessor :password_state
|
||||
|
||||
# Output only. User agent on the device for this specific user
|
||||
# Corresponds to the JSON property `userAgent`
|
||||
# @return [String]
|
||||
attr_accessor :user_agent
|
||||
|
||||
# Email address of the user registered on the device.
|
||||
# Corresponds to the JSON property `userEmail`
|
||||
# @return [String]
|
||||
attr_accessor :user_email
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@compromised_state = args[:compromised_state] if args.key?(:compromised_state)
|
||||
@first_sync_time = args[:first_sync_time] if args.key?(:first_sync_time)
|
||||
@language_code = args[:language_code] if args.key?(:language_code)
|
||||
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
||||
@management_state = args[:management_state] if args.key?(:management_state)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@password_state = args[:password_state] if args.key?(:password_state)
|
||||
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
||||
@user_email = args[:user_email] if args.key?(:user_email)
|
||||
end
|
||||
end
|
||||
|
||||
# Next ID to use: 7
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Output only. Name of the app displayed to the user
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
||||
# resource_names) of
|
||||
# the EndpointApp in format:
|
||||
# `devices/`device`/deviceUsers/`device_user`/endpointApps/`endpoint_app``,
|
||||
# where client_app_id is the ID of the app associated with the Device.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Output only. Full package name of the installed app
|
||||
# Corresponds to the JSON property `packageName`
|
||||
# @return [String]
|
||||
attr_accessor :package_name
|
||||
|
||||
# Output only. Names of all permissions granted to the installed app
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
# Output only. Version code of the installed app
|
||||
# Corresponds to the JSON property `versionCode`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version_code
|
||||
|
||||
# Output only. Version name of the installed app
|
||||
# Corresponds to the JSON property `versionName`
|
||||
# @return [String]
|
||||
attr_accessor :version_name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@package_name = args[:package_name] if args.key?(:package_name)
|
||||
@permissions = args[:permissions] if args.key?(:permissions)
|
||||
@version_code = args[:version_code] if args.key?(:version_code)
|
||||
@version_name = args[:version_name] if args.key?(:version_name)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message that is returned in LRO result of ListDeviceUsers Operation.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Devices meeting the list restrictions.
|
||||
# Corresponds to the JSON property `deviceUsers`
|
||||
# @return [Array<Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser>]
|
||||
attr_accessor :device_users
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_users = args[:device_users] if args.key?(:device_users)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message that is returned in LRO result of ListDevices Operation.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Devices meeting the list restrictions.
|
||||
# Corresponds to the JSON property `devices`
|
||||
# @return [Array<Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device>]
|
||||
attr_accessor :devices
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@devices = args[:devices] if args.key?(:devices)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for listing all apps on the device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The list of matching EndpointApps found as a result of the request.
|
||||
# Corresponds to the JSON property `endpointApps`
|
||||
# @return [Array<Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp>]
|
||||
attr_accessor :endpoint_apps
|
||||
|
||||
# Token to retrieve the next page of results. Empty if there are no more
|
||||
# results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@endpoint_apps = args[:endpoint_apps] if args.key?(:endpoint_apps)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for wiping all data on the device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a Device known to Google Cloud, independent of the device
|
||||
# ownership, type, and whether it is assigned or in use by a user.
|
||||
# Corresponds to the JSON property `device`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device]
|
||||
attr_accessor :device
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device = args[:device] if args.key?(:device)
|
||||
end
|
||||
end
|
||||
|
||||
# Response message for wiping the user's account from the device.
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Resource representing a user's use of a Device
|
||||
# Corresponds to the JSON property `deviceUser`
|
||||
# @return [Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser]
|
||||
attr_accessor :device_user
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@device_user = args[:device_user] if args.key?(:device_user)
|
||||
end
|
||||
end
|
||||
|
||||
# A group within the Cloud Identity Groups API.
|
||||
# A `Group` is a collection of entities, where each entity is either a user or
|
||||
# another group.
|
||||
|
|
|
@ -28,84 +28,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Group
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -192,154 +114,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :baseband_version, as: 'basebandVersion'
|
||||
property :bootloader_version, as: 'bootloaderVersion'
|
||||
property :build_number, as: 'buildNumber'
|
||||
property :enabled_developer_options, as: 'enabledDeveloperOptions'
|
||||
property :enabled_unknown_sources, as: 'enabledUnknownSources'
|
||||
property :enabled_usb_debugging, as: 'enabledUsbDebugging'
|
||||
property :encryption_state, as: 'encryptionState'
|
||||
property :hardware, as: 'hardware'
|
||||
property :kernel_version, as: 'kernelVersion'
|
||||
collection :other_accounts, as: 'otherAccounts'
|
||||
property :owner_profile_account, as: 'ownerProfileAccount'
|
||||
property :ownership_privilege, as: 'ownershipPrivilege'
|
||||
property :security_patch_time, as: 'securityPatchTime'
|
||||
property :supports_work_profile, as: 'supportsWorkProfile'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ApproveDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1BlockDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1CancelWipeDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1Device
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :android_specific_attributes, as: 'androidSpecificAttributes', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes::Representation
|
||||
|
||||
property :asset_tag, as: 'assetTag'
|
||||
property :brand, as: 'brand'
|
||||
property :compromised_state, as: 'compromisedState'
|
||||
property :create_time, as: 'createTime'
|
||||
property :device_type, as: 'deviceType'
|
||||
property :imei, as: 'imei'
|
||||
property :last_sync_time, as: 'lastSyncTime'
|
||||
property :management_state, as: 'managementState'
|
||||
property :manufacturer, as: 'manufacturer'
|
||||
property :meid, as: 'meid'
|
||||
property :model, as: 'model'
|
||||
property :name, as: 'name'
|
||||
property :network_operator, as: 'networkOperator'
|
||||
property :os_version, as: 'osVersion'
|
||||
property :owner_type, as: 'ownerType'
|
||||
property :release_version, as: 'releaseVersion'
|
||||
property :serial_number, as: 'serialNumber'
|
||||
collection :wifi_mac_addresses, as: 'wifiMacAddresses'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1DeviceUser
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :compromised_state, as: 'compromisedState'
|
||||
property :first_sync_time, as: 'firstSyncTime'
|
||||
property :language_code, as: 'languageCode'
|
||||
property :last_sync_time, as: 'lastSyncTime'
|
||||
property :management_state, as: 'managementState'
|
||||
property :name, as: 'name'
|
||||
property :password_state, as: 'passwordState'
|
||||
property :user_agent, as: 'userAgent'
|
||||
property :user_email, as: 'userEmail'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1EndpointApp
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
property :name, as: 'name'
|
||||
property :package_name, as: 'packageName'
|
||||
collection :permissions, as: 'permissions'
|
||||
property :version_code, as: 'versionCode'
|
||||
property :version_name, as: 'versionName'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDeviceUsersResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListDevicesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1ListEndpointAppsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :endpoint_apps, as: 'endpointApps', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1EndpointApp::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device, as: 'device', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1Device::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GoogleAppsCloudidentityDevicesV1alpha1WipeDeviceUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :device_user, as: 'deviceUser', class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser, decorator: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1DeviceUser::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Group
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tasks/
|
||||
module CloudtasksV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200117'
|
||||
REVISION = '20200210'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200128'
|
||||
REVISION = '20200214'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1302,8 +1302,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
||||
# When enabled, it ensures that a Heapster pod is running in the cluster,
|
||||
# which is also used by the Cloud Monitoring service.
|
||||
# When enabled, it ensures that metrics are collected into Stackdriver
|
||||
# Monitoring.
|
||||
# Corresponds to the JSON property `disabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :disabled
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200128'
|
||||
REVISION = '20200214'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1552,8 +1552,8 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
|
||||
# When enabled, it ensures that a Heapster pod is running in the cluster,
|
||||
# which is also used by the Cloud Monitoring service.
|
||||
# When enabled, it ensures that metrics are collected into Stackdriver
|
||||
# Monitoring.
|
||||
# Corresponds to the JSON property `disabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :disabled
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200212'
|
||||
REVISION = '20200215'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -2510,7 +2510,7 @@ module Google
|
|||
attr_accessor :max_findings_per_info_type
|
||||
|
||||
# Max number of findings that will be returned for each item scanned.
|
||||
# When set within `InspectDataSourceRequest`,
|
||||
# When set within `InspectJobConfig`,
|
||||
# the maximum returned is 2000 regardless if this is set higher.
|
||||
# When set within `InspectContentRequest`, this field is ignored.
|
||||
# Corresponds to the JSON property `maxFindingsPerItem`
|
||||
|
@ -4133,6 +4133,7 @@ module Google
|
|||
# If unspecified, then all available columns will be used for a new table or
|
||||
# an (existing) table with no schema, and no changes will be made to an
|
||||
# existing table that has a schema.
|
||||
# Only for use with external storage.
|
||||
# Corresponds to the JSON property `outputSchema`
|
||||
# @return [String]
|
||||
attr_accessor :output_schema
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/domains/rdap/
|
||||
module DomainsrdapV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190826'
|
||||
REVISION = '20200218'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/filestore/
|
||||
module FileV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200109'
|
||||
REVISION = '20200219'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -106,22 +106,6 @@ module Google
|
|||
# "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
|
||||
# policy",
|
||||
# `
|
||||
# "rollout_metadata": `
|
||||
# "projects/cloud-sql/locations/global/rolloutTypes/software_update": `
|
||||
# "release":
|
||||
# "projects/cloud-sql/locations/global/releases/cloud-sql-09-28-2018",
|
||||
# "rollout":
|
||||
# "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-
|
||||
# canary",
|
||||
# `,
|
||||
# "projects/cloud-sql/locations/global/rolloutTypes/instance_restart": `
|
||||
# "release":
|
||||
# "projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair",
|
||||
# "rollout":
|
||||
# "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-20-repair-
|
||||
# 100-percent",
|
||||
# `
|
||||
# `
|
||||
# "tenant_project_id": "cloud-sql-test-tenant",
|
||||
# "producer_metadata": `
|
||||
# "cloud-sql-tier": "basic",
|
||||
|
@ -367,6 +351,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This message has been deprecated.
|
||||
# NotificationMetadata is the notification state for an instance.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -438,10 +423,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This message has been deprecated.
|
||||
# RolloutMetadata for an actuation instance. It maps to a single RolloutType.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# This message has been deprecated.
|
||||
# NotificationMetadata is the notification state for an instance.
|
||||
# Corresponds to the JSON property `notification`
|
||||
# @return [Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata]
|
||||
|
@ -574,7 +561,7 @@ module Google
|
|||
# @return [Array<Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
||||
attr_accessor :exclusions
|
||||
|
||||
# Optional: list of nodes.
|
||||
# Optional. List of nodes.
|
||||
# Some producers need to use per-node metadata to calculate SLO.
|
||||
# This field allows such producers to publish per-node SLO meta data,
|
||||
# which will be consumed by SSA Eligibility Exporter and published in the
|
||||
|
@ -612,7 +599,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Optional. A description of the instance (2048 characters or less).
|
||||
# Optional. The description of the instance (2048 characters or less).
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
@ -635,7 +622,7 @@ module Google
|
|||
attr_accessor :labels
|
||||
|
||||
# Output only. The resource name of the instance, in the format
|
||||
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
||||
# projects/`project`/locations/`location`/instances/`instance`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
|
|
@ -272,7 +272,7 @@ module Google
|
|||
# Updates the settings of a specific instance.
|
||||
# @param [String] name
|
||||
# Output only. The resource name of the instance, in the format
|
||||
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
||||
# projects/`project`/locations/`location`/instances/`instance`.
|
||||
# @param [Google::Apis::FileV1::Instance] instance_object
|
||||
# @param [String] update_mask
|
||||
# Mask of fields to update. At least one path must be supplied in this
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/filestore/
|
||||
module FileV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20200205'
|
||||
REVISION = '20200219'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -106,22 +106,6 @@ module Google
|
|||
# "projects/snapchat/locations/us-east1/maintenancePolicies/prod-update-
|
||||
# policy",
|
||||
# `
|
||||
# "rollout_metadata": `
|
||||
# "projects/cloud-sql/locations/global/rolloutTypes/software_update": `
|
||||
# "release":
|
||||
# "projects/cloud-sql/locations/global/releases/cloud-sql-09-28-2018",
|
||||
# "rollout":
|
||||
# "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-28-2018-
|
||||
# canary",
|
||||
# `,
|
||||
# "projects/cloud-sql/locations/global/rolloutTypes/instance_restart": `
|
||||
# "release":
|
||||
# "projects/cloud-sql/locations/global/releases/cloud-sql-09-20-repair",
|
||||
# "rollout":
|
||||
# "projects/cloud-sql/locations/us-east1/rollouts/cloud-sql-09-20-repair-
|
||||
# 100-percent",
|
||||
# `
|
||||
# `
|
||||
# "tenant_project_id": "cloud-sql-test-tenant",
|
||||
# "producer_metadata": `
|
||||
# "cloud-sql-tier": "basic",
|
||||
|
@ -367,6 +351,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This message has been deprecated.
|
||||
# NotificationMetadata is the notification state for an instance.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -438,10 +423,12 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# This message has been deprecated.
|
||||
# RolloutMetadata for an actuation instance. It maps to a single RolloutType.
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1RolloutMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# This message has been deprecated.
|
||||
# NotificationMetadata is the notification state for an instance.
|
||||
# Corresponds to the JSON property `notification`
|
||||
# @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NotificationMetadata]
|
||||
|
@ -574,7 +561,7 @@ module Google
|
|||
# @return [Array<Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion>]
|
||||
attr_accessor :exclusions
|
||||
|
||||
# Optional: list of nodes.
|
||||
# Optional. List of nodes.
|
||||
# Some producers need to use per-node metadata to calculate SLO.
|
||||
# This field allows such producers to publish per-node SLO meta data,
|
||||
# which will be consumed by SSA Eligibility Exporter and published in the
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/dynamic-links/
|
||||
module FirebasedynamiclinksV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200212'
|
||||
REVISION = '20200218'
|
||||
|
||||
# View and administer all your Firebase data and settings
|
||||
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/people/
|
||||
module PeopleV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200212'
|
||||
REVISION = '20200215'
|
||||
|
||||
# See, edit, download, and permanently delete your contacts
|
||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200211'
|
||||
REVISION = '20200218'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV1alpha
|
||||
VERSION = 'V1alpha'
|
||||
REVISION = '20200211'
|
||||
REVISION = '20200218'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20200211'
|
||||
REVISION = '20200218'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20200131'
|
||||
REVISION = '20200211'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/spanner/
|
||||
module SpannerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200206'
|
||||
REVISION = '20200208'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20200102'
|
||||
REVISION = '20200212'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/storage-transfer/docs
|
||||
module StoragetransferV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20200210'
|
||||
REVISION = '20200215'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -24,7 +24,7 @@ module Google
|
|||
|
||||
# AWS access key (see
|
||||
# [AWS Security
|
||||
# Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-
|
||||
# Credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-
|
||||
# credentials.html)).
|
||||
class AwsAccessKey
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -58,7 +58,7 @@ module Google
|
|||
|
||||
# AWS access key (see
|
||||
# [AWS Security
|
||||
# Credentials](http://docs.aws.amazon.com/general/latest/gr/aws-security-
|
||||
# Credentials](https://docs.aws.amazon.com/general/latest/gr/aws-security-
|
||||
# credentials.html)).
|
||||
# Corresponds to the JSON property `awsAccessKey`
|
||||
# @return [Google::Apis::StoragetransferV1::AwsAccessKey]
|
||||
|
@ -66,7 +66,7 @@ module Google
|
|||
|
||||
# Required. S3 Bucket name (see
|
||||
# [Creating a
|
||||
# bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-
|
||||
# bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-
|
||||
# location-example.html)).
|
||||
# Corresponds to the JSON property `bucketName`
|
||||
# @return [String]
|
||||
|
@ -205,8 +205,9 @@ module Google
|
|||
end
|
||||
|
||||
# In a GcsData resource, an object's name is the Cloud Storage object's
|
||||
# name and its `lastModificationTime` refers to the object's updated time,
|
||||
# which changes when the content or the metadata of the object is updated.
|
||||
# name and its "last modification time" refers to the object's `updated`
|
||||
# property of Cloud Storage objects, which changes when the content or the
|
||||
# metadata of the object is updated.
|
||||
class GcsData
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -249,15 +250,15 @@ module Google
|
|||
# An HttpData resource specifies a list of objects on the web to be transferred
|
||||
# over HTTP. The information of the objects to be transferred is contained in
|
||||
# a file referenced by a URL. The first line in the file must be
|
||||
# "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
|
||||
# specify the information of the list of objects, one object per list entry.
|
||||
# Each entry has the following tab-delimited fields:
|
||||
# * HTTP URL - The location of the object.
|
||||
# * Length - The size of the object in bytes.
|
||||
# * MD5 - The base64-encoded MD5 hash of the object.
|
||||
# `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent
|
||||
# lines specify the information of the list of objects, one object per list
|
||||
# entry. Each entry has the following tab-delimited fields:
|
||||
# * **HTTP URL** — The location of the object.
|
||||
# * **Length** — The size of the object in bytes.
|
||||
# * **MD5** — The base64-encoded MD5 hash of the object.
|
||||
# For an example of a valid TSV file, see
|
||||
# [Transferring data from
|
||||
# URLs](https://cloud.google.com/storage/transfer/create-url-list).
|
||||
# URLs](https://cloud.google.com/storage-transfer/docs/create-url-list).
|
||||
# When transferring data based on a URL list, keep the following in mind:
|
||||
# * When an object located at `http(s)://hostname:port/<URL-path>` is
|
||||
# transferred to a data sink, the name of the object at the data sink is
|
||||
|
@ -266,7 +267,8 @@ module Google
|
|||
# object fetched, the object will not be transferred.
|
||||
# * If the specified MD5 does not match the MD5 computed from the transferred
|
||||
# bytes, the object transfer will fail. For more information, see
|
||||
# [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
|
||||
# [Generating MD5
|
||||
# hashes](https://cloud.google.com/storage-transfer/docs/create-url-list#md5)
|
||||
# * Ensure that each URL you specify is publicly accessible. For
|
||||
# example, in Cloud Storage you can
|
||||
# [share an object publicly]
|
||||
|
@ -275,8 +277,7 @@ module Google
|
|||
# * Storage Transfer Service obeys `robots.txt` rules and requires the source
|
||||
# HTTP server to support `Range` requests and to return a `Content-Length`
|
||||
# header in each response.
|
||||
# * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
|
||||
# to transfer.
|
||||
# * ObjectConditions have no effect when filtering objects to transfer.
|
||||
class HttpData
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -349,26 +350,30 @@ module Google
|
|||
|
||||
# Conditions that determine which objects will be transferred. Applies only
|
||||
# to S3 and Cloud Storage objects.
|
||||
# The "last modification time" refers to the time of the
|
||||
# last change to the object's content or metadata — specifically, this is
|
||||
# the `updated` property of Cloud Storage objects and the `LastModified`
|
||||
# field of S3 objects.
|
||||
class ObjectConditions
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# `excludePrefixes` must follow the requirements described for
|
||||
# `includePrefixes`.
|
||||
# The max size of `excludePrefixes` is 1000.
|
||||
# `exclude_prefixes` must follow the requirements described for
|
||||
# include_prefixes.
|
||||
# The max size of `exclude_prefixes` is 1000.
|
||||
# Corresponds to the JSON property `excludePrefixes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :exclude_prefixes
|
||||
|
||||
# If `includePrefixes` is specified, objects that satisfy the object
|
||||
# conditions must have names that start with one of the `includePrefixes`
|
||||
# and that do not start with any of the `excludePrefixes`. If
|
||||
# `includePrefixes` is not specified, all objects except those that have
|
||||
# names starting with one of the `excludePrefixes` must satisfy the object
|
||||
# If `include_prefixes` is specified, objects that satisfy the object
|
||||
# conditions must have names that start with one of the `include_prefixes`
|
||||
# and that do not start with any of the exclude_prefixes. If
|
||||
# `include_prefixes` is not specified, all objects except those that have
|
||||
# names starting with one of the `exclude_prefixes` must satisfy the object
|
||||
# conditions.
|
||||
# Requirements:
|
||||
# * Each include-prefix and exclude-prefix can contain any sequence of
|
||||
# Unicode characters, of max length 1024 bytes when UTF8-encoded, and
|
||||
# must not contain Carriage Return or Line Feed characters. Wildcard
|
||||
# Unicode characters, to a max length of 1024 bytes when UTF8-encoded,
|
||||
# and must not contain Carriage Return or Line Feed characters. Wildcard
|
||||
# matching and regular expression matching are not supported.
|
||||
# * Each include-prefix and exclude-prefix must omit the leading slash.
|
||||
# For example, to include the `requests.gz` object in a transfer from
|
||||
|
@ -377,40 +382,34 @@ module Google
|
|||
# * None of the include-prefix or the exclude-prefix values can be empty,
|
||||
# if specified.
|
||||
# * Each include-prefix must include a distinct portion of the object
|
||||
# namespace, i.e., no include-prefix may be a prefix of another
|
||||
# namespace. No include-prefix may be a prefix of another
|
||||
# include-prefix.
|
||||
# * Each exclude-prefix must exclude a distinct portion of the object
|
||||
# namespace, i.e., no exclude-prefix may be a prefix of another
|
||||
# namespace. No exclude-prefix may be a prefix of another
|
||||
# exclude-prefix.
|
||||
# * If `includePrefixes` is specified, then each exclude-prefix must start
|
||||
# with the value of a path explicitly included by `includePrefixes`.
|
||||
# The max size of `includePrefixes` is 1000.
|
||||
# * If `include_prefixes` is specified, then each exclude-prefix must start
|
||||
# with the value of a path explicitly included by `include_prefixes`.
|
||||
# The max size of `include_prefixes` is 1000.
|
||||
# Corresponds to the JSON property `includePrefixes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :include_prefixes
|
||||
|
||||
# If specified, only objects with a `lastModificationTime` on or after
|
||||
# `NOW` - `maxTimeElapsedSinceLastModification` and objects that don't have
|
||||
# a `lastModificationTime` are transferred.
|
||||
# Note that, for each `TransferOperation` started by this `TransferJob`,
|
||||
# `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
|
||||
# `lastModificationTime` refers to the time of the last change to the
|
||||
# object's content or metadata - specifically, this would be the `updated`
|
||||
# property of Cloud Storage objects and the `LastModified` field of S3
|
||||
# objects.
|
||||
# If specified, only objects with a "last modification time" on or after
|
||||
# `NOW` - `max_time_elapsed_since_last_modification` and objects that don't
|
||||
# have a "last modification time" are transferred.
|
||||
# For each TransferOperation started by this TransferJob,
|
||||
# `NOW` refers to the start_time of the
|
||||
# `TransferOperation`.
|
||||
# Corresponds to the JSON property `maxTimeElapsedSinceLastModification`
|
||||
# @return [String]
|
||||
attr_accessor :max_time_elapsed_since_last_modification
|
||||
|
||||
# If specified, only objects with a `lastModificationTime` before
|
||||
# `NOW` - `minTimeElapsedSinceLastModification` and objects that don't have a
|
||||
# `lastModificationTime` are transferred.
|
||||
# Note that, for each `TransferOperation` started by this `TransferJob`,
|
||||
# `NOW` refers to the `start_time` of the 'TransferOperation`. Also,
|
||||
# `lastModificationTime` refers to the time of the last change to the
|
||||
# object's content or metadata - specifically, this would be the `updated`
|
||||
# property of Cloud Storage objects and the `LastModified` field of S3
|
||||
# objects.
|
||||
# If specified, only objects with a "last modification time" before
|
||||
# `NOW` - `min_time_elapsed_since_last_modification` and objects that don't
|
||||
# have a "last modification time" are transferred.
|
||||
# For each TransferOperation started by this TransferJob, `NOW`
|
||||
# refers to the start_time of the
|
||||
# `TransferOperation`.
|
||||
# Corresponds to the JSON property `minTimeElapsedSinceLastModification`
|
||||
# @return [String]
|
||||
attr_accessor :min_time_elapsed_since_last_modification
|
||||
|
@ -787,16 +786,16 @@ module Google
|
|||
|
||||
# A unique name (within the transfer project) assigned when the job is
|
||||
# created.
|
||||
# If this field is left empty in a CreateTransferJobRequest,
|
||||
# Storage Transfer Service will assign a unique name. Otherwise, the supplied
|
||||
# name is used as the unique name for this job.
|
||||
# This name must start with "transferJobs/" prefix and end with a letter or a
|
||||
# number, and should be no more than 128 characters.
|
||||
# Example of a valid format : "transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"
|
||||
# **NOTE:**
|
||||
# If the supplied name is already in use, the creation request results in an
|
||||
# `ALREADY_EXISTS` error and the transfer job will not be created.
|
||||
# Invalid job names will return an 'INVALID_ARGUMENT' error and the job will
|
||||
# If this field is left empty in a CreateTransferJobRequest, Storage Transfer
|
||||
# Service will assign a unique name. Otherwise, the supplied name is used as
|
||||
# the unique name for this job.
|
||||
# This name must start with `"transferJobs/"` prefix and end with a letter or
|
||||
# a number, and should be no more than 128 characters.
|
||||
# Example of a valid format : `"transferJobs/[A-Za-z0-9-._~]*[A-Za-z0-9]$"`
|
||||
# **Note:** If the supplied name is already in use, the creation request
|
||||
# results in an ALREADY_EXISTS error and
|
||||
# the transfer job will not be created. Invalid job names will return an
|
||||
# INVALID_ARGUMENT error and the job will
|
||||
# not be created.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
|
@ -814,10 +813,11 @@ module Google
|
|||
|
||||
# Status of the job. This value MUST be specified for
|
||||
# `CreateTransferJobRequests`.
|
||||
# NOTE: The effect of the new job status takes place during a subsequent job
|
||||
# run. For example, if you change the job status from `ENABLED` to
|
||||
# `DISABLED`, and an operation spawned by the transfer is running, the status
|
||||
# change would not affect the current operation.
|
||||
# **Note:** The effect of the new job status takes place during a subsequent
|
||||
# job run. For example, if you change the job status from
|
||||
# ENABLED to DISABLED, and an operation
|
||||
# spawned by the transfer is running, the status change would not affect the
|
||||
# current operation.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
attr_accessor :status
|
||||
|
@ -918,16 +918,17 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Whether objects should be deleted from the source after they are
|
||||
# transferred to the sink. Note that this option and
|
||||
# `deleteObjectsUniqueInSink` are mutually exclusive.
|
||||
# transferred to the sink.
|
||||
# **Note:** This option and delete_objects_unique_in_sink are mutually
|
||||
# exclusive.
|
||||
# Corresponds to the JSON property `deleteObjectsFromSourceAfterTransfer`
|
||||
# @return [Boolean]
|
||||
attr_accessor :delete_objects_from_source_after_transfer
|
||||
alias_method :delete_objects_from_source_after_transfer?, :delete_objects_from_source_after_transfer
|
||||
|
||||
# Whether objects that exist only in the sink should be deleted. Note that
|
||||
# this option and `deleteObjectsFromSourceAfterTransfer` are mutually
|
||||
# exclusive.
|
||||
# Whether objects that exist only in the sink should be deleted.
|
||||
# **Note:** This option and delete_objects_from_source_after_transfer are
|
||||
# mutually exclusive.
|
||||
# Corresponds to the JSON property `deleteObjectsUniqueInSink`
|
||||
# @return [Boolean]
|
||||
attr_accessor :delete_objects_unique_in_sink
|
||||
|
@ -962,15 +963,17 @@ module Google
|
|||
attr_accessor :aws_s3_data_source
|
||||
|
||||
# In a GcsData resource, an object's name is the Cloud Storage object's
|
||||
# name and its `lastModificationTime` refers to the object's updated time,
|
||||
# which changes when the content or the metadata of the object is updated.
|
||||
# name and its "last modification time" refers to the object's `updated`
|
||||
# property of Cloud Storage objects, which changes when the content or the
|
||||
# metadata of the object is updated.
|
||||
# Corresponds to the JSON property `gcsDataSink`
|
||||
# @return [Google::Apis::StoragetransferV1::GcsData]
|
||||
attr_accessor :gcs_data_sink
|
||||
|
||||
# In a GcsData resource, an object's name is the Cloud Storage object's
|
||||
# name and its `lastModificationTime` refers to the object's updated time,
|
||||
# which changes when the content or the metadata of the object is updated.
|
||||
# name and its "last modification time" refers to the object's `updated`
|
||||
# property of Cloud Storage objects, which changes when the content or the
|
||||
# metadata of the object is updated.
|
||||
# Corresponds to the JSON property `gcsDataSource`
|
||||
# @return [Google::Apis::StoragetransferV1::GcsData]
|
||||
attr_accessor :gcs_data_source
|
||||
|
@ -978,15 +981,15 @@ module Google
|
|||
# An HttpData resource specifies a list of objects on the web to be transferred
|
||||
# over HTTP. The information of the objects to be transferred is contained in
|
||||
# a file referenced by a URL. The first line in the file must be
|
||||
# "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
|
||||
# specify the information of the list of objects, one object per list entry.
|
||||
# Each entry has the following tab-delimited fields:
|
||||
# * HTTP URL - The location of the object.
|
||||
# * Length - The size of the object in bytes.
|
||||
# * MD5 - The base64-encoded MD5 hash of the object.
|
||||
# `"TsvHttpData-1.0"`, which specifies the format of the file. Subsequent
|
||||
# lines specify the information of the list of objects, one object per list
|
||||
# entry. Each entry has the following tab-delimited fields:
|
||||
# * **HTTP URL** — The location of the object.
|
||||
# * **Length** — The size of the object in bytes.
|
||||
# * **MD5** — The base64-encoded MD5 hash of the object.
|
||||
# For an example of a valid TSV file, see
|
||||
# [Transferring data from
|
||||
# URLs](https://cloud.google.com/storage/transfer/create-url-list).
|
||||
# URLs](https://cloud.google.com/storage-transfer/docs/create-url-list).
|
||||
# When transferring data based on a URL list, keep the following in mind:
|
||||
# * When an object located at `http(s)://hostname:port/<URL-path>` is
|
||||
# transferred to a data sink, the name of the object at the data sink is
|
||||
|
@ -995,7 +998,8 @@ module Google
|
|||
# object fetched, the object will not be transferred.
|
||||
# * If the specified MD5 does not match the MD5 computed from the transferred
|
||||
# bytes, the object transfer will fail. For more information, see
|
||||
# [Generating MD5 hashes](https://cloud.google.com/storage/transfer/#md5)
|
||||
# [Generating MD5
|
||||
# hashes](https://cloud.google.com/storage-transfer/docs/create-url-list#md5)
|
||||
# * Ensure that each URL you specify is publicly accessible. For
|
||||
# example, in Cloud Storage you can
|
||||
# [share an object publicly]
|
||||
|
@ -1004,14 +1008,17 @@ module Google
|
|||
# * Storage Transfer Service obeys `robots.txt` rules and requires the source
|
||||
# HTTP server to support `Range` requests and to return a `Content-Length`
|
||||
# header in each response.
|
||||
# * [ObjectConditions](#ObjectConditions) have no effect when filtering objects
|
||||
# to transfer.
|
||||
# * ObjectConditions have no effect when filtering objects to transfer.
|
||||
# Corresponds to the JSON property `httpDataSource`
|
||||
# @return [Google::Apis::StoragetransferV1::HttpData]
|
||||
attr_accessor :http_data_source
|
||||
|
||||
# Conditions that determine which objects will be transferred. Applies only
|
||||
# to S3 and Cloud Storage objects.
|
||||
# The "last modification time" refers to the time of the
|
||||
# last change to the object's content or metadata — specifically, this is
|
||||
# the `updated` property of Cloud Storage objects and the `LastModified`
|
||||
# field of S3 objects.
|
||||
# Corresponds to the JSON property `objectConditions`
|
||||
# @return [Google::Apis::StoragetransferV1::ObjectConditions]
|
||||
attr_accessor :object_conditions
|
||||
|
@ -1055,10 +1062,12 @@ module Google
|
|||
|
||||
# The field mask of the fields in `transferJob` that are to be updated in
|
||||
# this request. Fields in `transferJob` that can be updated are:
|
||||
# `description`, `transferSpec`, and `status`. To update the `transferSpec`
|
||||
# of the job, a complete transfer specification has to be provided. An
|
||||
# incomplete specification which misses any required fields will be rejected
|
||||
# with the error `INVALID_ARGUMENT`.
|
||||
# description,
|
||||
# transfer_spec, and
|
||||
# status. To update the `transfer_spec` of the job, a
|
||||
# complete transfer specification must be provided. An incomplete
|
||||
# specification missing any required fields will be rejected with the error
|
||||
# INVALID_ARGUMENT.
|
||||
# Corresponds to the JSON property `updateTransferJobFieldMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_transfer_job_field_mask
|
||||
|
|
|
@ -153,13 +153,16 @@ module Google
|
|||
# Lists transfer jobs.
|
||||
# @param [String] filter
|
||||
# Required. A list of query parameters specified as JSON text in the form of:
|
||||
# `"project_id":"my_project_id",
|
||||
# `"project<span>_</span>id":"my_project_id",
|
||||
# "job_names":["jobid1","jobid2",...],
|
||||
# "job_statuses":["status1","status2",...]`.
|
||||
# Since `job_names` and `job_statuses` support multiple values, their values
|
||||
# must be specified with array notation. `project_id` is required.
|
||||
# `job_names` and `job_statuses` are optional. The valid values for
|
||||
# `job_statuses` are case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
|
||||
# must be specified with array notation. `project`<span>`_`</span>`id` is
|
||||
# required. `job_names` and `job_statuses` are optional. The valid values
|
||||
# for `job_statuses` are case-insensitive:
|
||||
# ENABLED,
|
||||
# DISABLED, and
|
||||
# DELETED.
|
||||
# @param [Fixnum] page_size
|
||||
# The list page size. The max allowed value is 256.
|
||||
# @param [String] page_token
|
||||
|
@ -196,8 +199,11 @@ module Google
|
|||
# Updates a transfer job. Updating a job's transfer spec does not affect
|
||||
# transfer operations that are running already. Updating a job's schedule
|
||||
# is not allowed.
|
||||
# Note: The job's `status` field can be modified using this RPC (for example,
|
||||
# to set a job's status to `DELETED`, `DISABLED`, or `ENABLED`).
|
||||
# **Note:** The job's status field can be modified
|
||||
# using this RPC (for example, to set a job's status to
|
||||
# DELETED,
|
||||
# DISABLED, or
|
||||
# ENABLED).
|
||||
# @param [String] job_name
|
||||
# Required. The name of job to update.
|
||||
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
|
||||
|
@ -298,15 +304,15 @@ module Google
|
|||
# Required. The value `transferOperations`.
|
||||
# @param [String] filter
|
||||
# Required. A list of query parameters specified as JSON text in the form of: `"
|
||||
# project_id":"my_project_id",
|
||||
# project<span>_</span>id":"my_project_id",
|
||||
# "job_names":["jobid1","jobid2",...],
|
||||
# "operation_names":["opid1","opid2",...],
|
||||
# "transfer_statuses":["status1","status2",...]`.
|
||||
# Since `job_names`, `operation_names`, and `transfer_statuses` support multiple
|
||||
# values, they must be specified with array notation. `project_id` is required. `
|
||||
# job_names`, `operation_names`, and `transfer_statuses` are optional. The valid
|
||||
# values for `transfer_statuses` are case-insensitive: `IN_PROGRESS`, `PAUSED`, `
|
||||
# SUCCESS`, `FAILED`, and `ABORTED`.
|
||||
# values, they must be specified with array notation. `project`<span>`_`</span>`
|
||||
# id` is required. `job_names`, `operation_names`, and `transfer_statuses` are
|
||||
# optional. The valid values for `transfer_statuses` are case-insensitive:
|
||||
# IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED.
|
||||
# @param [Fixnum] page_size
|
||||
# The list page size. The max allowed value is 256.
|
||||
# @param [String] page_token
|
||||
|
|
Loading…
Reference in New Issue