Autogenerated update (2017-11-17)
Update: - admin_directory_v1 - appengine_v1 - appengine_v1beta - logging_v2beta1 - youtube_partner_v1
This commit is contained in:
1 parent
de77a320ee
commit
e22b24204b
18 files changed
+5703
-61
No files matched your search
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/admin-sdk/directory/
|
||||
module AdminDirectoryV1
|
||||
VERSION = 'DirectoryV1'
|
||||
REVISION = '20171006'
|
||||
REVISION = '20171113'
|
||||
|
||||
# View and manage customer related information
|
||||
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
||||
|
||||
@@ -1248,6 +1248,26 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# JSON template for Has Member response in Directory API.
|
||||
class MembersHasMember
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies whether given user is a member or not.
|
||||
# Corresponds to the JSON property `isMember`
|
||||
# @return [Boolean]
|
||||
attr_accessor :is_member
|
||||
alias_method :is_member?, :is_member
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@is_member = args[:is_member] if args.key?(:is_member)
|
||||
end
|
||||
end
|
||||
|
||||
# JSON template for Mobile Device resource in Directory API.
|
||||
class MobileDevice
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -3412,6 +3432,11 @@ module Google
|
||||
class UserPosixAccount
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A POSIX account field identifier. (Read-only)
|
||||
# Corresponds to the JSON property `accountId`
|
||||
# @return [String]
|
||||
attr_accessor :account_id
|
||||
|
||||
# The GECOS (user information) for this account.
|
||||
# Corresponds to the JSON property `gecos`
|
||||
# @return [String]
|
||||
@@ -3459,6 +3484,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_id = args[:account_id] if args.key?(:account_id)
|
||||
@gecos = args[:gecos] if args.key?(:gecos)
|
||||
@gid = args[:gid] if args.key?(:gid)
|
||||
@home_directory = args[:home_directory] if args.key?(:home_directory)
|
||||
|
||||
@@ -166,6 +166,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MembersHasMember
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MobileDevice
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -748,6 +754,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class MembersHasMember
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :is_member, as: 'isMember'
|
||||
end
|
||||
end
|
||||
|
||||
class MobileDevice
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1263,6 +1276,7 @@ module Google
|
||||
class UserPosixAccount
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, as: 'accountId'
|
||||
property :gecos, as: 'gecos'
|
||||
property :gid, :numeric_string => true, as: 'gid'
|
||||
property :home_directory, as: 'homeDirectory'
|
||||
|
||||
@@ -287,7 +287,7 @@ module Google
|
||||
# @param [String] order_by
|
||||
# Column to use for sorting results
|
||||
# @param [String] org_unit_path
|
||||
# Full path of the organization unit or its Id
|
||||
# Full path of the organizational unit or its ID
|
||||
# @param [String] page_token
|
||||
# Token to specify next page in the list
|
||||
# @param [String] projection
|
||||
@@ -337,11 +337,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Move or insert multiple Chrome OS Devices to Organization Unit
|
||||
# Move or insert multiple Chrome OS Devices to organizational unit
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [String] org_unit_path
|
||||
# Full path of the target organization unit or its Id
|
||||
# Full path of the target organizational unit or its ID
|
||||
# @param [Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu] chrome_os_move_devices_to_ou_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -874,7 +874,7 @@ module Google
|
||||
|
||||
# Delete Group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -907,7 +907,7 @@ module Google
|
||||
|
||||
# Retrieve Group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -987,8 +987,8 @@ module Google
|
||||
# @param [String] page_token
|
||||
# Token to specify next page in the list
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user if only those groups are to be listed, the
|
||||
# given user is a member of. If Id, it should match with id of user object
|
||||
# Email or immutable ID of the user if only those groups are to be listed, the
|
||||
# given user is a member of. If ID, it should match with id of user object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1027,7 +1027,7 @@ module Google
|
||||
|
||||
# Update Group. This method supports patch semantics.
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group. If Id, it should match with id of group
|
||||
# Email or immutable ID of the group. If ID, it should match with id of group
|
||||
# object
|
||||
# @param [Google::Apis::AdminDirectoryV1::Group] group_object
|
||||
# @param [String] fields
|
||||
@@ -1066,7 +1066,7 @@ module Google
|
||||
|
||||
# Update Group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group. If Id, it should match with id of group
|
||||
# Email or immutable ID of the group. If ID, it should match with id of group
|
||||
# object
|
||||
# @param [Google::Apis::AdminDirectoryV1::Group] group_object
|
||||
# @param [String] fields
|
||||
@@ -1105,7 +1105,7 @@ module Google
|
||||
|
||||
# Remove a alias for the group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [String] group_alias
|
||||
# The alias to be removed
|
||||
# @param [String] fields
|
||||
@@ -1141,7 +1141,7 @@ module Google
|
||||
|
||||
# Add a alias for the group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [Google::Apis::AdminDirectoryV1::Alias] alias_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -1179,7 +1179,7 @@ module Google
|
||||
|
||||
# List all aliases for a group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1214,9 +1214,9 @@ module Google
|
||||
|
||||
# Remove membership.
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [String] member_key
|
||||
# Email or immutable Id of the member
|
||||
# Email or immutable ID of the member
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1250,9 +1250,9 @@ module Google
|
||||
|
||||
# Retrieve Group Member
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [String] member_key
|
||||
# Email or immutable Id of the member
|
||||
# Email or immutable ID of the member
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1286,9 +1286,47 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Add user to the specified group.
|
||||
# Checks Membership of an user within a Group
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# @param [String] member_key
|
||||
# Email or immutable Id of the member
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# Overrides userIp if both are provided.
|
||||
# @param [String] user_ip
|
||||
# IP address of the site where the request originates. Use this if you want to
|
||||
# enforce per-user limits.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::AdminDirectoryV1::MembersHasMember] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AdminDirectoryV1::MembersHasMember]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def has_member_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'groups/{groupKey}/hasMember/{memberKey}', options)
|
||||
command.response_representation = Google::Apis::AdminDirectoryV1::MembersHasMember::Representation
|
||||
command.response_class = Google::Apis::AdminDirectoryV1::MembersHasMember
|
||||
command.params['groupKey'] = group_key unless group_key.nil?
|
||||
command.params['memberKey'] = member_key unless member_key.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Add user to the specified group.
|
||||
# @param [String] group_key
|
||||
# Email or immutable ID of the group
|
||||
# @param [Google::Apis::AdminDirectoryV1::Member] member_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -1326,7 +1364,7 @@ module Google
|
||||
|
||||
# Retrieve all members in a group (paginated)
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group
|
||||
# Email or immutable ID of the group
|
||||
# @param [Fixnum] max_results
|
||||
# Maximum number of results to return. Default is 200
|
||||
# @param [String] page_token
|
||||
@@ -1371,10 +1409,10 @@ module Google
|
||||
# Update membership of a user in the specified group. This method supports patch
|
||||
# semantics.
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group. If Id, it should match with id of group
|
||||
# Email or immutable ID of the group. If ID, it should match with id of group
|
||||
# object
|
||||
# @param [String] member_key
|
||||
# Email or immutable Id of the user. If Id, it should match with id of member
|
||||
# Email or immutable ID of the user. If ID, it should match with id of member
|
||||
# object
|
||||
# @param [Google::Apis::AdminDirectoryV1::Member] member_object
|
||||
# @param [String] fields
|
||||
@@ -1414,10 +1452,10 @@ module Google
|
||||
|
||||
# Update membership of a user in the specified group.
|
||||
# @param [String] group_key
|
||||
# Email or immutable Id of the group. If Id, it should match with id of group
|
||||
# Email or immutable ID of the group. If ID, it should match with id of group
|
||||
# object
|
||||
# @param [String] member_key
|
||||
# Email or immutable Id of the user. If Id, it should match with id of member
|
||||
# Email or immutable ID of the user. If ID, it should match with id of member
|
||||
# object
|
||||
# @param [Google::Apis::AdminDirectoryV1::Member] member_object
|
||||
# @param [String] fields
|
||||
@@ -1829,11 +1867,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Remove Organization Unit
|
||||
# Remove organizational unit
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [Array<String>, String] org_unit_path
|
||||
# Full path of the organization unit or its Id
|
||||
# Full path of the organizational unit or its ID
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1865,11 +1903,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieve Organization Unit
|
||||
# Retrieve organizational unit
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [Array<String>, String] org_unit_path
|
||||
# Full path of the organization unit or its Id
|
||||
# Full path of the organizational unit or its ID
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -1903,7 +1941,7 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Add Organization Unit
|
||||
# Add organizational unit
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
||||
@@ -1941,11 +1979,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieve all Organization Units
|
||||
# Retrieve all organizational units
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [String] org_unit_path
|
||||
# the URL-encoded organization unit's path or its Id
|
||||
# the URL-encoded organizational unit's path or its ID
|
||||
# @param [String] type
|
||||
# Whether to return all sub-organizations or just immediate children
|
||||
# @param [String] fields
|
||||
@@ -1982,11 +2020,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update Organization Unit. This method supports patch semantics.
|
||||
# Update organizational unit. This method supports patch semantics.
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [Array<String>, String] org_unit_path
|
||||
# Full path of the organization unit or its Id
|
||||
# Full path of the organizational unit or its ID
|
||||
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -2023,11 +2061,11 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update Organization Unit
|
||||
# Update organizational unit
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [Array<String>, String] org_unit_path
|
||||
# Full path of the organization unit or its Id
|
||||
# Full path of the organizational unit or its ID
|
||||
# @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -2810,7 +2848,7 @@ module Google
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [String] schema_key
|
||||
# Name or immutable Id of the schema
|
||||
# Name or immutable ID of the schema
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -2846,7 +2884,7 @@ module Google
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [String] schema_key
|
||||
# Name or immutable Id of the schema
|
||||
# Name or immutable ID of the schema
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -2957,7 +2995,7 @@ module Google
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [String] schema_key
|
||||
# Name or immutable Id of the schema.
|
||||
# Name or immutable ID of the schema.
|
||||
# @param [Google::Apis::AdminDirectoryV1::Schema] schema_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -2998,7 +3036,7 @@ module Google
|
||||
# @param [String] customer_id
|
||||
# Immutable ID of the G Suite account
|
||||
# @param [String] schema_key
|
||||
# Name or immutable Id of the schema.
|
||||
# Name or immutable ID of the schema.
|
||||
# @param [Google::Apis::AdminDirectoryV1::Schema] schema_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -3149,7 +3187,7 @@ module Google
|
||||
|
||||
# Delete user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -3182,7 +3220,7 @@ module Google
|
||||
|
||||
# retrieve user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] custom_field_mask
|
||||
# Comma-separated list of schema names. All fields from these schemas are
|
||||
# fetched. This should only be set when projection=custom.
|
||||
@@ -3334,7 +3372,7 @@ module Google
|
||||
|
||||
# change admin status of a user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user as admin
|
||||
# Email or immutable ID of the user as admin
|
||||
# @param [Google::Apis::AdminDirectoryV1::UserMakeAdmin] user_make_admin_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -3370,7 +3408,7 @@ module Google
|
||||
|
||||
# update user. This method supports patch semantics.
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user. If Id, it should match with id of user
|
||||
# Email or immutable ID of the user. If ID, it should match with id of user
|
||||
# object
|
||||
# @param [Google::Apis::AdminDirectoryV1::User] user_object
|
||||
# @param [String] fields
|
||||
@@ -3445,7 +3483,7 @@ module Google
|
||||
|
||||
# update user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user. If Id, it should match with id of user
|
||||
# Email or immutable ID of the user. If ID, it should match with id of user
|
||||
# object
|
||||
# @param [Google::Apis::AdminDirectoryV1::User] user_object
|
||||
# @param [String] fields
|
||||
@@ -3559,7 +3597,7 @@ module Google
|
||||
|
||||
# Remove a alias for the user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] user_alias
|
||||
# The alias to be removed
|
||||
# @param [String] fields
|
||||
@@ -3595,7 +3633,7 @@ module Google
|
||||
|
||||
# Add a alias for the user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [Google::Apis::AdminDirectoryV1::Alias] alias_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -3633,7 +3671,7 @@ module Google
|
||||
|
||||
# List all aliases for a user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] event
|
||||
# Event on which subscription is intended (if subscribing)
|
||||
# @param [String] fields
|
||||
@@ -3671,7 +3709,7 @@ module Google
|
||||
|
||||
# Watch for changes in user aliases list
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
|
||||
# @param [String] event
|
||||
# Event on which subscription is intended (if subscribing)
|
||||
@@ -3712,7 +3750,7 @@ module Google
|
||||
|
||||
# Remove photos for the user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -3745,7 +3783,7 @@ module Google
|
||||
|
||||
# Retrieve photo of a user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -3780,7 +3818,7 @@ module Google
|
||||
|
||||
# Add a photo for the user. This method supports patch semantics.
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [Google::Apis::AdminDirectoryV1::UserPhoto] user_photo_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -3818,7 +3856,7 @@ module Google
|
||||
|
||||
# Add a photo for the user
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [Google::Apis::AdminDirectoryV1::UserPhoto] user_photo_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -3856,7 +3894,7 @@ module Google
|
||||
|
||||
# Generate new backup verification codes for the user.
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
@@ -3889,7 +3927,7 @@ module Google
|
||||
|
||||
# Invalidate the current backup verification codes for the user.
|
||||
# @param [String] user_key
|
||||
# Email or immutable Id of the user
|
||||
# Email or immutable ID of the user
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171026'
|
||||
REVISION = '20171109'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -370,6 +370,11 @@ module Google
|
||||
# @return [Google::Apis::AppengineV1::RequestUtilization]
|
||||
attr_accessor :request_utilization
|
||||
|
||||
# Scheduler settings for standard environment.
|
||||
# Corresponds to the JSON property `standardSchedulerSettings`
|
||||
# @return [Google::Apis::AppengineV1::StandardSchedulerSettings]
|
||||
attr_accessor :standard_scheduler_settings
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -388,6 +393,7 @@ module Google
|
||||
@min_total_instances = args[:min_total_instances] if args.key?(:min_total_instances)
|
||||
@network_utilization = args[:network_utilization] if args.key?(:network_utilization)
|
||||
@request_utilization = args[:request_utilization] if args.key?(:request_utilization)
|
||||
@standard_scheduler_settings = args[:standard_scheduler_settings] if args.key?(:standard_scheduler_settings)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2177,6 +2183,45 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Scheduler settings for standard environment.
|
||||
class StandardSchedulerSettings
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Maximum number of instances for an app version. Set to a non-positive value (0
|
||||
# by convention) to disable max_instances configuration.
|
||||
# Corresponds to the JSON property `maxInstances`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :max_instances
|
||||
|
||||
# Minimum number of instances for an app version. Set to a non-positive value (0
|
||||
# by convention) to disable min_instances configuration.
|
||||
# Corresponds to the JSON property `minInstances`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :min_instances
|
||||
|
||||
# Target CPU utilization ratio to maintain when scaling.
|
||||
# Corresponds to the JSON property `targetCpuUtilization`
|
||||
# @return [Float]
|
||||
attr_accessor :target_cpu_utilization
|
||||
|
||||
# Target throughput utilization ratio to maintain when scaling
|
||||
# Corresponds to the JSON property `targetThroughputUtilization`
|
||||
# @return [Float]
|
||||
attr_accessor :target_throughput_utilization
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
||||
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
||||
@target_cpu_utilization = args[:target_cpu_utilization] if args.key?(:target_cpu_utilization)
|
||||
@target_throughput_utilization = args[:target_throughput_utilization] if args.key?(:target_throughput_utilization)
|
||||
end
|
||||
end
|
||||
|
||||
# Files served directly to the user for a given URL, such as images, CSS
|
||||
# stylesheets, or JavaScript source files. Static file handlers describe which
|
||||
# files in the application directory are static files, and which URLs serve them.
|
||||
|
||||
@@ -352,6 +352,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StandardSchedulerSettings
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -482,6 +488,8 @@ module Google
|
||||
|
||||
property :request_utilization, as: 'requestUtilization', class: Google::Apis::AppengineV1::RequestUtilization, decorator: Google::Apis::AppengineV1::RequestUtilization::Representation
|
||||
|
||||
property :standard_scheduler_settings, as: 'standardSchedulerSettings', class: Google::Apis::AppengineV1::StandardSchedulerSettings, decorator: Google::Apis::AppengineV1::StandardSchedulerSettings::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -959,6 +967,16 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class StandardSchedulerSettings
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :max_instances, as: 'maxInstances'
|
||||
property :min_instances, as: 'minInstances'
|
||||
property :target_cpu_utilization, as: 'targetCpuUtilization'
|
||||
property :target_throughput_utilization, as: 'targetThroughputUtilization'
|
||||
end
|
||||
end
|
||||
|
||||
class StaticFilesHandler
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/appengine/docs/admin-api/
|
||||
module AppengineV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20171026'
|
||||
REVISION = '20171109'
|
||||
|
||||
# View and manage your applications deployed on Google App Engine
|
||||
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
||||
|
||||
@@ -808,6 +808,13 @@ module Google
|
||||
attr_accessor :split_health_checks
|
||||
alias_method :split_health_checks?, :split_health_checks
|
||||
|
||||
# If true, use Container-Optimized OS (https://cloud.google.com/container-
|
||||
# optimized-os/) base image for VMs, rather than a base Debian image.
|
||||
# Corresponds to the JSON property `useContainerOptimizedOs`
|
||||
# @return [Boolean]
|
||||
attr_accessor :use_container_optimized_os
|
||||
alias_method :use_container_optimized_os?, :use_container_optimized_os
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -815,6 +822,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@split_health_checks = args[:split_health_checks] if args.key?(:split_health_checks)
|
||||
@use_container_optimized_os = args[:use_container_optimized_os] if args.key?(:use_container_optimized_os)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -631,6 +631,7 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :split_health_checks, as: 'splitHealthChecks'
|
||||
property :use_container_optimized_os, as: 'useContainerOptimizedOs'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/dialogflow_v2beta1/service.rb'
|
||||
require 'google/apis/dialogflow_v2beta1/classes.rb'
|
||||
require 'google/apis/dialogflow_v2beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Dialogflow API
|
||||
#
|
||||
# An end-to-end development suite for conversational interfaces (e.g., chatbots,
|
||||
# voice-powered apps and devices).
|
||||
#
|
||||
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||
module DialogflowV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20171115'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
end
|
||||
end
|
||||
end
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2beta1
|
||||
VERSION = 'V2beta1'
|
||||
REVISION = '20171030'
|
||||
REVISION = '20171113'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -658,10 +658,10 @@ module Google
|
||||
# @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
|
||||
attr_accessor :source_location
|
||||
|
||||
# Optional. Id of the span within the trace associated with the log entry. e.g. "
|
||||
# 0000000000000042" For Stackdriver trace spans, this is the same format that
|
||||
# the Stackdriver trace API uses. The ID is a 16-character hexadecimal encoding
|
||||
# of an 8-byte array.
|
||||
# Optional. The span ID within the trace associated with the log entry. For
|
||||
# Stackdriver Trace spans, this is the same format that the Stackdriver Trace
|
||||
# API v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such as <
|
||||
# code>"000000000000004a"</code>.
|
||||
# Corresponds to the JSON property `spanId`
|
||||
# @return [String]
|
||||
attr_accessor :span_id
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171106'
|
||||
REVISION = '20171113'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
||||
Reference in new issue
Block a user