google-api-ruby-client/google-api-client/generated/google/apis/admin_directory_v1/representations.rb

1615 lines
58 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +00:00
# 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 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module AdminDirectoryV1
class Alias
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Aliases
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Asp
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Asps
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Building
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BuildingAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class BuildingCoordinates
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Buildings
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-12-14 22:27:57 +00:00
class CalendarResource
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-14 22:27:57 +00:00
end
class CalendarResources
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-14 22:27:57 +00:00
end
2015-06-23 23:05:46 +00:00
class Channel
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ChromeOsDevice
class Representation < Google::Apis::Core::JsonRepresentation; end
class ActiveTimeRange
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class CpuStatusReport
class Representation < Google::Apis::Core::JsonRepresentation; end
class CpuTemperatureInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class DeviceFile
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DiskVolumeReport
class Representation < Google::Apis::Core::JsonRepresentation; end
class VolumeInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
include Google::Apis::Core::JsonObjectSupport
end
class LastKnownNetwork
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class SystemRamFreeReport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class TpmVersionInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-10-12 22:52:51 +00:00
class ChromeOsDeviceAction
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class ChromeOsDevices
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ChromeOsMoveDevicesToOu
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-12-03 01:10:07 +00:00
class Customer
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class CustomerPostalAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class DirectoryChromeosdevicesCommand
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DirectoryChromeosdevicesCommandResult
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DirectoryChromeosdevicesIssueCommandRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DirectoryChromeosdevicesIssueCommandResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-12-03 01:10:07 +00:00
class DomainAlias
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class DomainAliases
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class Domains
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class Domains2
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class Feature
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FeatureInstance
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FeatureRename
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Features
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class Group
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Groups
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Member
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Members
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class MembersHasMember
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class MobileDevice
class Representation < Google::Apis::Core::JsonRepresentation; end
class Application
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class MobileDeviceAction
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class MobileDevices
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class OrgUnit
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class OrgUnits
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2015-12-03 01:10:07 +00:00
class Privilege
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class Privileges
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
feat: Automated regeneration of admin directory_v1 client (#1675) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2020-12-09 01:30:44,515 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-admin-directory_v1 nothing to commit, working tree clean 2020-12-09 01:30:44,544 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth admin directory_v1 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth admin directory_v1 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.8 Installing tzinfo 1.2.8 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.51.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.0 Installing redcarpet 3.5.0 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=admin.directory_v1 --names-out=/workspace/api_names_out.yaml Loading admin, version directory_v1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/admin.directory_v1.json W, [2020-12-09T09:31:06.303552 #241] WARN -- : Found reserved keyword 'alias' W, [2020-12-09T09:31:06.303609 #241] WARN -- : Changed to 'alias_' W, [2020-12-09T09:31:06.342907 #241] WARN -- : Found reserved keyword 'alias' W, [2020-12-09T09:31:06.342954 #241] WARN -- : Changed to 'alias_' conflict google/apis/admin_directory_v1.rb <in_directory_v1.rb? (enter "h" for help) [Ynaqdhm] a force google/apis/admin_directory_v1.rb conflict google/apis/admin_directory_v1/service.rb force google/apis/admin_directory_v1/service.rb conflict google/apis/admin_directory_v1/classes.rb force google/apis/admin_directory_v1/classes.rb conflict google/apis/admin_directory_v1/representations.rb force google/apis/admin_directory_v1/representations.rb conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2020-12-09 01:31:11,146 synthtool [DEBUG] > Wrote metadata to generated/google/apis/admin_directory_v1/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/admin_directory_v1/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/13e6b812-a54d-4bbb-9ab8-105f680377a2/targets - [ ] To automatically regenerate this PR, check this box.
2020-12-09 09:54:06 +00:00
class RecentUsers
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-12-03 01:10:07 +00:00
class Role
class Representation < Google::Apis::Core::JsonRepresentation; end
class RolePrivilege
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class RoleAssignment
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class RoleAssignments
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
class Roles
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-12-03 01:10:07 +00:00
end
2015-06-23 23:05:46 +00:00
class Schema
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class SchemaFieldSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
class NumericIndexingSpec
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Schemas
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Token
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Tokens
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class User
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserAbout
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserAddress
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserEmail
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserExternalId
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserGender
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class UserIm
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserKeyword
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2017-07-12 20:10:42 +00:00
class UserLanguage
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class UserLocation
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class UserMakeAdmin
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserName
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserOrganization
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserPhone
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserPhoto
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2017-03-27 22:14:47 +00:00
class UserPosixAccount
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class UserRelation
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
2017-03-27 22:14:47 +00:00
class UserSshPublicKey
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
2015-06-23 23:05:46 +00:00
class UserUndelete
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class UserWebsite
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Users
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class VerificationCode
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class VerificationCodes
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Alias
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :alias, as: 'alias'
property :etag, as: 'etag'
property :id, as: 'id'
property :kind, as: 'kind'
property :primary_email, as: 'primaryEmail'
end
end
class Aliases
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :aliases, as: 'aliases'
2015-06-23 23:05:46 +00:00
property :etag, as: 'etag'
property :kind, as: 'kind'
end
end
class Asp
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :code_id, as: 'codeId'
2017-04-03 20:18:48 +00:00
property :creation_time, :numeric_string => true, as: 'creationTime'
2015-06-23 23:05:46 +00:00
property :etag, as: 'etag'
property :kind, as: 'kind'
2017-04-03 20:18:48 +00:00
property :last_time_used, :numeric_string => true, as: 'lastTimeUsed'
2015-06-23 23:05:46 +00:00
property :name, as: 'name'
property :user_key, as: 'userKey'
end
end
class Asps
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Asp, decorator: Google::Apis::AdminDirectoryV1::Asp::Representation
property :kind, as: 'kind'
end
end
class Building
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address', class: Google::Apis::AdminDirectoryV1::BuildingAddress, decorator: Google::Apis::AdminDirectoryV1::BuildingAddress::Representation
property :building_id, as: 'buildingId'
property :building_name, as: 'buildingName'
property :coordinates, as: 'coordinates', class: Google::Apis::AdminDirectoryV1::BuildingCoordinates, decorator: Google::Apis::AdminDirectoryV1::BuildingCoordinates::Representation
property :description, as: 'description'
property :etags, as: 'etags'
collection :floor_names, as: 'floorNames'
property :kind, as: 'kind'
end
end
class BuildingAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :address_lines, as: 'addressLines'
property :administrative_area, as: 'administrativeArea'
property :language_code, as: 'languageCode'
property :locality, as: 'locality'
property :postal_code, as: 'postalCode'
property :region_code, as: 'regionCode'
property :sublocality, as: 'sublocality'
end
end
class BuildingCoordinates
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :latitude, as: 'latitude'
property :longitude, as: 'longitude'
end
end
class Buildings
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :buildings, as: 'buildings', class: Google::Apis::AdminDirectoryV1::Building, decorator: Google::Apis::AdminDirectoryV1::Building::Representation
property :etag, as: 'etag'
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
2015-12-14 22:27:57 +00:00
class CalendarResource
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :building_id, as: 'buildingId'
property :capacity, as: 'capacity'
2015-12-14 22:27:57 +00:00
property :etags, as: 'etags'
property :feature_instances, as: 'featureInstances'
property :floor_name, as: 'floorName'
property :floor_section, as: 'floorSection'
property :generated_resource_name, as: 'generatedResourceName'
2015-12-14 22:27:57 +00:00
property :kind, as: 'kind'
property :resource_category, as: 'resourceCategory'
2015-12-14 22:27:57 +00:00
property :resource_description, as: 'resourceDescription'
property :resource_email, as: 'resourceEmail'
property :resource_id, as: 'resourceId'
property :resource_name, as: 'resourceName'
property :resource_type, as: 'resourceType'
property :user_visible_description, as: 'userVisibleDescription'
2015-12-14 22:27:57 +00:00
end
end
class CalendarResources
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::CalendarResource, decorator: Google::Apis::AdminDirectoryV1::CalendarResource::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
2015-06-23 23:05:46 +00:00
class Channel
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address'
2017-04-03 20:18:48 +00:00
property :expiration, :numeric_string => true, as: 'expiration'
2015-06-23 23:05:46 +00:00
property :id, as: 'id'
property :kind, as: 'kind'
hash :params, as: 'params'
property :payload, as: 'payload'
property :resource_id, as: 'resourceId'
property :resource_uri, as: 'resourceUri'
property :token, as: 'token'
property :type, as: 'type'
end
end
class ChromeOsDevice
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :active_time_ranges, as: 'activeTimeRanges', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange::Representation
property :annotated_asset_id, as: 'annotatedAssetId'
property :annotated_location, as: 'annotatedLocation'
property :annotated_user, as: 'annotatedUser'
property :auto_update_expiration, :numeric_string => true, as: 'autoUpdateExpiration'
2015-06-23 23:05:46 +00:00
property :boot_mode, as: 'bootMode'
collection :cpu_status_reports, as: 'cpuStatusReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::Representation
collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
2015-06-23 23:05:46 +00:00
property :device_id, as: 'deviceId'
collection :disk_volume_reports, as: 'diskVolumeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::Representation
property :dock_mac_address, as: 'dockMacAddress'
2015-06-23 23:05:46 +00:00
property :etag, as: 'etag'
property :ethernet_mac_address, as: 'ethernetMacAddress'
property :ethernet_mac_address0, as: 'ethernetMacAddress0'
2015-06-23 23:05:46 +00:00
property :firmware_version, as: 'firmwareVersion'
property :kind, as: 'kind'
property :last_enrollment_time, as: 'lastEnrollmentTime', type: DateTime
collection :last_known_network, as: 'lastKnownNetwork', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::LastKnownNetwork::Representation
2015-06-23 23:05:46 +00:00
property :last_sync, as: 'lastSync', type: DateTime
property :mac_address, as: 'macAddress'
property :manufacture_date, as: 'manufactureDate'
2015-06-23 23:05:46 +00:00
property :meid, as: 'meid'
property :model, as: 'model'
property :notes, as: 'notes'
property :order_number, as: 'orderNumber'
property :org_unit_path, as: 'orgUnitPath'
property :os_version, as: 'osVersion'
property :platform_version, as: 'platformVersion'
feat: Automated regeneration of admin directory_v1 client (#1675) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2020-12-09 01:30:44,515 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-admin-directory_v1 nothing to commit, working tree clean 2020-12-09 01:30:44,544 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth admin directory_v1 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth admin directory_v1 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.8 Installing tzinfo 1.2.8 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.51.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.0 Installing redcarpet 3.5.0 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=admin.directory_v1 --names-out=/workspace/api_names_out.yaml Loading admin, version directory_v1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/admin.directory_v1.json W, [2020-12-09T09:31:06.303552 #241] WARN -- : Found reserved keyword 'alias' W, [2020-12-09T09:31:06.303609 #241] WARN -- : Changed to 'alias_' W, [2020-12-09T09:31:06.342907 #241] WARN -- : Found reserved keyword 'alias' W, [2020-12-09T09:31:06.342954 #241] WARN -- : Changed to 'alias_' conflict google/apis/admin_directory_v1.rb <in_directory_v1.rb? (enter "h" for help) [Ynaqdhm] a force google/apis/admin_directory_v1.rb conflict google/apis/admin_directory_v1/service.rb force google/apis/admin_directory_v1/service.rb conflict google/apis/admin_directory_v1/classes.rb force google/apis/admin_directory_v1/classes.rb conflict google/apis/admin_directory_v1/representations.rb force google/apis/admin_directory_v1/representations.rb conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2020-12-09 01:31:11,146 synthtool [DEBUG] > Wrote metadata to generated/google/apis/admin_directory_v1/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/admin_directory_v1/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/13e6b812-a54d-4bbb-9ab8-105f680377a2/targets - [ ] To automatically regenerate this PR, check this box.
2020-12-09 09:54:06 +00:00
collection :recent_users, as: 'recentUsers', class: Google::Apis::AdminDirectoryV1::RecentUsers, decorator: Google::Apis::AdminDirectoryV1::RecentUsers::Representation
2015-06-23 23:05:46 +00:00
property :serial_number, as: 'serialNumber'
property :status, as: 'status'
property :support_end_date, as: 'supportEndDate', type: DateTime
collection :system_ram_free_reports, as: 'systemRamFreeReports', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::SystemRamFreeReport::Representation
property :system_ram_total, :numeric_string => true, as: 'systemRamTotal'
property :tpm_version_info, as: 'tpmVersionInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo::Representation
2015-06-23 23:05:46 +00:00
property :will_auto_renew, as: 'willAutoRenew'
end
class ActiveTimeRange
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :active_time, as: 'activeTime'
property :date, as: 'date', type: Date
end
end
class CpuStatusReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :cpu_temperature_info, as: 'cpuTemperatureInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::CpuStatusReport::CpuTemperatureInfo::Representation
collection :cpu_utilization_percentage_info, as: 'cpuUtilizationPercentageInfo'
property :report_time, as: 'reportTime', type: DateTime
end
class CpuTemperatureInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :label, as: 'label'
property :temperature, as: 'temperature'
end
end
end
class DeviceFile
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime', type: DateTime
property :download_url, as: 'downloadUrl'
property :name, as: 'name'
property :type, as: 'type'
end
end
class DiskVolumeReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :volume_info, as: 'volumeInfo', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DiskVolumeReport::VolumeInfo::Representation
end
class VolumeInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :storage_free, :numeric_string => true, as: 'storageFree'
property :storage_total, :numeric_string => true, as: 'storageTotal'
property :volume_id, as: 'volumeId'
end
end
end
class LastKnownNetwork
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :ip_address, as: 'ipAddress'
property :wan_ip_address, as: 'wanIpAddress'
end
end
class SystemRamFreeReport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :report_time, as: 'reportTime', type: DateTime
collection :system_ram_free_info, as: 'systemRamFreeInfo'
end
end
class TpmVersionInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :family, as: 'family'
property :firmware_version, as: 'firmwareVersion'
property :manufacturer, as: 'manufacturer'
property :spec_level, as: 'specLevel'
property :tpm_model, as: 'tpmModel'
property :vendor_specific, as: 'vendorSpecific'
end
end
2015-06-23 23:05:46 +00:00
end
2016-10-12 22:52:51 +00:00
class ChromeOsDeviceAction
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
property :deprovision_reason, as: 'deprovisionReason'
end
end
2015-06-23 23:05:46 +00:00
class ChromeOsDevices
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
collection :chromeosdevices, as: 'chromeosdevices', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
property :etag, as: 'etag'
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class ChromeOsMoveDevicesToOu
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :device_ids, as: 'deviceIds'
end
end
2015-12-03 01:10:07 +00:00
class Customer
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :alternate_email, as: 'alternateEmail'
property :customer_creation_time, as: 'customerCreationTime', type: DateTime
property :customer_domain, as: 'customerDomain'
property :etag, as: 'etag'
property :id, as: 'id'
property :kind, as: 'kind'
property :language, as: 'language'
property :phone_number, as: 'phoneNumber'
property :postal_address, as: 'postalAddress', class: Google::Apis::AdminDirectoryV1::CustomerPostalAddress, decorator: Google::Apis::AdminDirectoryV1::CustomerPostalAddress::Representation
end
end
class CustomerPostalAddress
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address_line1, as: 'addressLine1'
property :address_line2, as: 'addressLine2'
property :address_line3, as: 'addressLine3'
property :contact_name, as: 'contactName'
property :country_code, as: 'countryCode'
property :locality, as: 'locality'
property :organization_name, as: 'organizationName'
property :postal_code, as: 'postalCode'
property :region, as: 'region'
end
end
class DirectoryChromeosdevicesCommand
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :command_expire_time, as: 'commandExpireTime'
property :command_id, :numeric_string => true, as: 'commandId'
property :command_result, as: 'commandResult', class: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult, decorator: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult::Representation
property :issue_time, as: 'issueTime'
property :payload, as: 'payload'
property :state, as: 'state'
property :type, as: 'type'
end
end
class DirectoryChromeosdevicesCommandResult
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error_message, as: 'errorMessage'
property :execute_time, as: 'executeTime'
property :result, as: 'result'
end
end
class DirectoryChromeosdevicesIssueCommandRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :command_type, as: 'commandType'
property :payload, as: 'payload'
end
end
class DirectoryChromeosdevicesIssueCommandResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :command_id, :numeric_string => true, as: 'commandId'
end
end
2015-12-03 01:10:07 +00:00
class DomainAlias
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :creation_time, :numeric_string => true, as: 'creationTime'
2015-12-03 01:10:07 +00:00
property :domain_alias_name, as: 'domainAliasName'
property :etag, as: 'etag'
property :kind, as: 'kind'
property :parent_domain_name, as: 'parentDomainName'
property :verified, as: 'verified'
end
end
class DomainAliases
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :domain_aliases, as: 'domainAliases', class: Google::Apis::AdminDirectoryV1::DomainAlias, decorator: Google::Apis::AdminDirectoryV1::DomainAlias::Representation
property :etag, as: 'etag'
property :kind, as: 'kind'
end
end
class Domains
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :creation_time, :numeric_string => true, as: 'creationTime'
2015-12-03 01:10:07 +00:00
collection :domain_aliases, as: 'domainAliases', class: Google::Apis::AdminDirectoryV1::DomainAlias, decorator: Google::Apis::AdminDirectoryV1::DomainAlias::Representation
property :domain_name, as: 'domainName'
property :etag, as: 'etag'
property :is_primary, as: 'isPrimary'
property :kind, as: 'kind'
property :verified, as: 'verified'
end
end
class Domains2
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :domains, as: 'domains', class: Google::Apis::AdminDirectoryV1::Domains, decorator: Google::Apis::AdminDirectoryV1::Domains::Representation
property :etag, as: 'etag'
property :kind, as: 'kind'
end
end
class Feature
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etags, as: 'etags'
property :kind, as: 'kind'
property :name, as: 'name'
end
end
class FeatureInstance
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :feature, as: 'feature', class: Google::Apis::AdminDirectoryV1::Feature, decorator: Google::Apis::AdminDirectoryV1::Feature::Representation
end
end
class FeatureRename
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :new_name, as: 'newName'
end
end
class Features
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :features, as: 'features', class: Google::Apis::AdminDirectoryV1::Feature, decorator: Google::Apis::AdminDirectoryV1::Feature::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
2015-06-23 23:05:46 +00:00
class Group
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :admin_created, as: 'adminCreated'
collection :aliases, as: 'aliases'
property :description, as: 'description'
2017-04-03 20:18:48 +00:00
property :direct_members_count, :numeric_string => true, as: 'directMembersCount'
2015-06-23 23:05:46 +00:00
property :email, as: 'email'
property :etag, as: 'etag'
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
collection :non_editable_aliases, as: 'nonEditableAliases'
end
end
class Groups
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :groups, as: 'groups', class: Google::Apis::AdminDirectoryV1::Group, decorator: Google::Apis::AdminDirectoryV1::Group::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class Member
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :delivery_settings, as: 'delivery_settings'
2015-06-23 23:05:46 +00:00
property :email, as: 'email'
property :etag, as: 'etag'
property :id, as: 'id'
property :kind, as: 'kind'
property :role, as: 'role'
2016-08-08 20:25:38 +00:00
property :status, as: 'status'
2015-06-23 23:05:46 +00:00
property :type, as: 'type'
end
end
class Members
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
collection :members, as: 'members', class: Google::Apis::AdminDirectoryV1::Member, decorator: Google::Apis::AdminDirectoryV1::Member::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class MembersHasMember
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :is_member, as: 'isMember'
end
end
2015-06-23 23:05:46 +00:00
class MobileDevice
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
2015-07-31 00:05:47 +00:00
property :adb_status, as: 'adbStatus'
2015-06-23 23:05:46 +00:00
collection :applications, as: 'applications', class: Google::Apis::AdminDirectoryV1::MobileDevice::Application, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Application::Representation
property :baseband_version, as: 'basebandVersion'
2016-10-12 22:52:51 +00:00
property :bootloader_version, as: 'bootloaderVersion'
property :brand, as: 'brand'
2015-06-23 23:05:46 +00:00
property :build_number, as: 'buildNumber'
property :default_language, as: 'defaultLanguage'
2015-07-31 00:05:47 +00:00
property :developer_options_status, as: 'developerOptionsStatus'
2015-06-23 23:05:46 +00:00
property :device_compromised_status, as: 'deviceCompromisedStatus'
property :device_id, as: 'deviceId'
2016-10-12 22:52:51 +00:00
property :device_password_status, as: 'devicePasswordStatus'
2015-06-23 23:05:46 +00:00
collection :email, as: 'email'
2016-10-12 22:52:51 +00:00
property :encryption_status, as: 'encryptionStatus'
2015-06-23 23:05:46 +00:00
property :etag, as: 'etag'
property :first_sync, as: 'firstSync', type: DateTime
2016-10-12 22:52:51 +00:00
property :hardware, as: 'hardware'
2015-06-23 23:05:46 +00:00
property :hardware_id, as: 'hardwareId'
property :imei, as: 'imei'
property :kernel_version, as: 'kernelVersion'
property :kind, as: 'kind'
property :last_sync, as: 'lastSync', type: DateTime
property :managed_account_is_on_owner_profile, as: 'managedAccountIsOnOwnerProfile'
2016-10-12 22:52:51 +00:00
property :manufacturer, as: 'manufacturer'
2015-06-23 23:05:46 +00:00
property :meid, as: 'meid'
property :model, as: 'model'
collection :name, as: 'name'
property :network_operator, as: 'networkOperator'
property :os, as: 'os'
2015-07-31 00:05:47 +00:00
collection :other_accounts_info, as: 'otherAccountsInfo'
2016-10-12 22:52:51 +00:00
property :privilege, as: 'privilege'
property :release_version, as: 'releaseVersion'
2015-06-23 23:05:46 +00:00
property :resource_id, as: 'resourceId'
2017-04-03 20:18:48 +00:00
property :security_patch_level, :numeric_string => true, as: 'securityPatchLevel'
2015-06-23 23:05:46 +00:00
property :serial_number, as: 'serialNumber'
property :status, as: 'status'
2015-07-31 00:05:47 +00:00
property :supports_work_profile, as: 'supportsWorkProfile'
2015-06-23 23:05:46 +00:00
property :type, as: 'type'
2015-07-31 00:05:47 +00:00
property :unknown_sources_status, as: 'unknownSourcesStatus'
2015-06-23 23:05:46 +00:00
property :user_agent, as: 'userAgent'
property :wifi_mac_address, as: 'wifiMacAddress'
end
class Application
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
property :package_name, as: 'packageName'
collection :permission, as: 'permission'
property :version_code, as: 'versionCode'
property :version_name, as: 'versionName'
end
end
end
class MobileDeviceAction
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :action, as: 'action'
end
end
class MobileDevices
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
collection :mobiledevices, as: 'mobiledevices', class: Google::Apis::AdminDirectoryV1::MobileDevice, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Representation
property :next_page_token, as: 'nextPageToken'
end
end
class OrgUnit
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :block_inheritance, as: 'blockInheritance'
property :description, as: 'description'
property :etag, as: 'etag'
property :kind, as: 'kind'
property :name, as: 'name'
property :org_unit_id, as: 'orgUnitId'
property :org_unit_path, as: 'orgUnitPath'
property :parent_org_unit_id, as: 'parentOrgUnitId'
property :parent_org_unit_path, as: 'parentOrgUnitPath'
end
end
class OrgUnits
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
collection :organization_units, as: 'organizationUnits', class: Google::Apis::AdminDirectoryV1::OrgUnit, decorator: Google::Apis::AdminDirectoryV1::OrgUnit::Representation
end
end
2015-12-03 01:10:07 +00:00
class Privilege
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :child_privileges, as: 'childPrivileges', class: Google::Apis::AdminDirectoryV1::Privilege, decorator: Google::Apis::AdminDirectoryV1::Privilege::Representation
property :etag, as: 'etag'
property :is_ou_scopable, as: 'isOuScopable'
property :kind, as: 'kind'
property :privilege_name, as: 'privilegeName'
property :service_id, as: 'serviceId'
property :service_name, as: 'serviceName'
end
end
class Privileges
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Privilege, decorator: Google::Apis::AdminDirectoryV1::Privilege::Representation
property :kind, as: 'kind'
end
end
feat: Automated regeneration of admin directory_v1 client (#1675) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2020-12-09 01:30:44,515 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-ruby-client/synth.py. On branch autosynth-admin-directory_v1 nothing to commit, working tree clean 2020-12-09 01:30:44,544 synthtool [DEBUG] > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth admin directory_v1 DEBUG:synthtool:Running: docker run --rm -v/home/kbuilder/.cache/synthtool/google-api-ruby-client:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace --entrypoint script/synth.rb gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/autosynth admin directory_v1 bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. The dependency jruby-openssl (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for java. To add those platforms to the bundle, run `bundle lock --add-platform java`. Fetching gem metadata from https://rubygems.org/......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... Fetching rake 11.3.0 Installing rake 11.3.0 Fetching concurrent-ruby 1.1.7 Installing concurrent-ruby 1.1.7 Fetching i18n 1.8.5 Installing i18n 1.8.5 Fetching minitest 5.14.2 Installing minitest 5.14.2 Fetching thread_safe 0.3.6 Installing thread_safe 0.3.6 Fetching tzinfo 1.2.8 Installing tzinfo 1.2.8 Fetching activesupport 5.0.7.2 Installing activesupport 5.0.7.2 Fetching public_suffix 4.0.6 Installing public_suffix 4.0.6 Fetching addressable 2.7.0 Installing addressable 2.7.0 Fetching ast 2.4.1 Installing ast 2.4.1 Using bundler 2.1.4 Fetching byebug 11.1.3 Installing byebug 11.1.3 with native extensions Fetching coderay 1.1.3 Installing coderay 1.1.3 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.10.2 Installing simplecov-html 0.10.2 Fetching simplecov 0.16.1 Installing simplecov 0.16.1 Using sync 0.5.0 Fetching tins 1.26.0 Installing tins 1.26.0 Fetching term-ansicolor 1.7.1 Installing term-ansicolor 1.7.1 Fetching thor 0.20.3 Installing thor 0.20.3 Fetching coveralls 0.8.23 Installing coveralls 0.8.23 Fetching crack 0.4.4 Installing crack 0.4.4 Fetching declarative 0.0.20 Installing declarative 0.0.20 Fetching declarative-option 0.1.0 Installing declarative-option 0.1.0 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching dotenv 2.7.6 Installing dotenv 2.7.6 Fetching fakefs 0.20.1 Installing fakefs 0.20.1 Fetching multipart-post 2.1.1 Installing multipart-post 2.1.1 Fetching ruby2_keywords 0.0.2 Installing ruby2_keywords 0.0.2 Fetching faraday 1.1.0 Installing faraday 1.1.0 Fetching gems 1.2.0 Installing gems 1.2.0 Fetching github-markup 1.7.0 Installing github-markup 1.7.0 Fetching jwt 2.2.2 Installing jwt 2.2.2 Fetching memoist 0.16.2 Installing memoist 0.16.2 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching os 0.9.6 Installing os 0.9.6 Fetching signet 0.14.0 Installing signet 0.14.0 Fetching googleauth 0.14.0 Installing googleauth 0.14.0 Fetching httpclient 2.8.3 Installing httpclient 2.8.3 Fetching mini_mime 1.0.2 Installing mini_mime 1.0.2 Fetching uber 0.1.0 Installing uber 0.1.0 Fetching representable 3.0.4 Installing representable 3.0.4 Fetching retriable 3.1.2 Installing retriable 3.1.2 Fetching rexml 3.2.4 Installing rexml 3.2.4 Using google-api-client 0.51.0 from source at `.` Fetching google-id-token 1.4.2 Installing google-id-token 1.4.2 Fetching hashdiff 1.0.1 Installing hashdiff 1.0.1 Fetching mime-types-data 3.2020.1104 Installing mime-types-data 3.2020.1104 Fetching mime-types 3.3.1 Installing mime-types 3.3.1 Fetching multi_xml 0.6.0 Installing multi_xml 0.6.0 Fetching httparty 0.18.1 Installing httparty 0.18.1 Fetching rspec-support 3.10.0 Installing rspec-support 3.10.0 Fetching rspec-core 3.10.0 Installing rspec-core 3.10.0 Fetching rspec-expectations 3.10.0 Installing rspec-expectations 3.10.0 Fetching rspec-mocks 3.10.0 Installing rspec-mocks 3.10.0 Fetching rspec 3.10.0 Installing rspec 3.10.0 Fetching json_spec 1.1.5 Installing json_spec 1.1.5 Fetching launchy 2.5.0 Installing launchy 2.5.0 Fetching little-plugger 1.1.4 Installing little-plugger 1.1.4 Fetching logging 2.3.0 Installing logging 2.3.0 Fetching method_source 1.0.0 Installing method_source 1.0.0 Fetching opencensus 0.5.0 Installing opencensus 0.5.0 Fetching parallel 1.20.1 Installing parallel 1.20.1 Fetching parser 2.7.2.0 Installing parser 2.7.2.0 Fetching powerpack 0.1.3 Installing powerpack 0.1.3 Fetching pry 0.13.1 Installing pry 0.13.1 Fetching pry-byebug 3.9.0 Installing pry-byebug 3.9.0 Fetching yard 0.9.25 Installing yard 0.9.25 Fetching pry-doc 0.13.5 Installing pry-doc 0.13.5 Fetching rainbow 2.2.2 Installing rainbow 2.2.2 with native extensions Fetching redcarpet 3.5.0 Installing redcarpet 3.5.0 with native extensions Fetching redis 3.3.5 Installing redis 3.3.5 Fetching rmail 1.1.4 Installing rmail 1.1.4 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.7.0 Installing unicode-display_width 1.7.0 Fetching rubocop 0.49.1 Installing rubocop 0.49.1 Fetching webmock 2.3.2 Installing webmock 2.3.2 Bundle complete! 31 Gemfile dependencies, 78 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from i18n: HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 Post-install message from httparty: When you HTTParty, you must party hard! echo a | bundle exec bin/generate-api gen generated --api=admin.directory_v1 --names-out=/workspace/api_names_out.yaml Loading admin, version directory_v1 from https://raw.githubusercontent.com/googleapis/discovery-artifact-manager/master/discoveries/admin.directory_v1.json W, [2020-12-09T09:31:06.303552 #241] WARN -- : Found reserved keyword 'alias' W, [2020-12-09T09:31:06.303609 #241] WARN -- : Changed to 'alias_' W, [2020-12-09T09:31:06.342907 #241] WARN -- : Found reserved keyword 'alias' W, [2020-12-09T09:31:06.342954 #241] WARN -- : Changed to 'alias_' conflict google/apis/admin_directory_v1.rb <in_directory_v1.rb? (enter "h" for help) [Ynaqdhm] a force google/apis/admin_directory_v1.rb conflict google/apis/admin_directory_v1/service.rb force google/apis/admin_directory_v1/service.rb conflict google/apis/admin_directory_v1/classes.rb force google/apis/admin_directory_v1/classes.rb conflict google/apis/admin_directory_v1/representations.rb force google/apis/admin_directory_v1/representations.rb conflict /workspace/api_names_out.yaml force /workspace/api_names_out.yaml 2020-12-09 01:31:11,146 synthtool [DEBUG] > Wrote metadata to generated/google/apis/admin_directory_v1/synth.metadata. DEBUG:synthtool:Wrote metadata to generated/google/apis/admin_directory_v1/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/13e6b812-a54d-4bbb-9ab8-105f680377a2/targets - [ ] To automatically regenerate this PR, check this box.
2020-12-09 09:54:06 +00:00
class RecentUsers
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :email, as: 'email'
property :type, as: 'type'
end
end
2015-12-03 01:10:07 +00:00
class Role
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :is_super_admin_role, as: 'isSuperAdminRole'
property :is_system_role, as: 'isSystemRole'
property :kind, as: 'kind'
property :role_description, as: 'roleDescription'
2017-04-03 20:18:48 +00:00
property :role_id, :numeric_string => true, as: 'roleId'
2015-12-03 01:10:07 +00:00
property :role_name, as: 'roleName'
collection :role_privileges, as: 'rolePrivileges', class: Google::Apis::AdminDirectoryV1::Role::RolePrivilege, decorator: Google::Apis::AdminDirectoryV1::Role::RolePrivilege::Representation
end
class RolePrivilege
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :privilege_name, as: 'privilegeName'
property :service_id, as: 'serviceId'
end
end
end
class RoleAssignment
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :assigned_to, as: 'assignedTo'
property :etag, as: 'etag'
property :kind, as: 'kind'
property :org_unit_id, as: 'orgUnitId'
2017-04-03 20:18:48 +00:00
property :role_assignment_id, :numeric_string => true, as: 'roleAssignmentId'
property :role_id, :numeric_string => true, as: 'roleId'
2015-12-03 01:10:07 +00:00
property :scope_type, as: 'scopeType'
end
end
class RoleAssignments
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::RoleAssignment, decorator: Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
class Roles
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Role, decorator: Google::Apis::AdminDirectoryV1::Role::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
end
end
2015-06-23 23:05:46 +00:00
class Schema
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
2015-06-23 23:05:46 +00:00
property :etag, as: 'etag'
collection :fields, as: 'fields', class: Google::Apis::AdminDirectoryV1::SchemaFieldSpec, decorator: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::Representation
property :kind, as: 'kind'
property :schema_id, as: 'schemaId'
property :schema_name, as: 'schemaName'
end
end
class SchemaFieldSpec
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :display_name, as: 'displayName'
2015-06-23 23:05:46 +00:00
property :etag, as: 'etag'
property :field_id, as: 'fieldId'
property :field_name, as: 'fieldName'
property :field_type, as: 'fieldType'
property :indexed, as: 'indexed'
property :kind, as: 'kind'
property :multi_valued, as: 'multiValued'
property :numeric_indexing_spec, as: 'numericIndexingSpec', class: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::NumericIndexingSpec, decorator: Google::Apis::AdminDirectoryV1::SchemaFieldSpec::NumericIndexingSpec::Representation
property :read_access_type, as: 'readAccessType'
end
class NumericIndexingSpec
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :max_value, as: 'maxValue'
property :min_value, as: 'minValue'
end
end
end
class Schemas
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
collection :schemas, as: 'schemas', class: Google::Apis::AdminDirectoryV1::Schema, decorator: Google::Apis::AdminDirectoryV1::Schema::Representation
end
end
class Token
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :anonymous, as: 'anonymous'
property :client_id, as: 'clientId'
property :display_text, as: 'displayText'
property :etag, as: 'etag'
property :kind, as: 'kind'
property :native_app, as: 'nativeApp'
collection :scopes, as: 'scopes'
property :user_key, as: 'userKey'
end
end
class Tokens
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::Token, decorator: Google::Apis::AdminDirectoryV1::Token::Representation
property :kind, as: 'kind'
end
end
class User
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :addresses, as: 'addresses'
property :agreed_to_terms, as: 'agreedToTerms'
collection :aliases, as: 'aliases'
Autogenerated update (2018-08-22) Delete: - spectrum_v1explorer Update: - abusiveexperiencereport_v1 - adexchangebuyer2_v2beta1 - adexchangebuyer_v1_2 - adexchangebuyer_v1_3 - adexchangebuyer_v1_4 - adexchangeseller_v1 - adexchangeseller_v1_1 - adexchangeseller_v2_0 - adexperiencereport_v1 - admin_datatransfer_v1 - admin_directory_v1 - admin_reports_v1 - adsense_v1_4 - adsensehost_v4_1 - analytics_v2_4 - analytics_v3 - analyticsreporting_v4 - androiddeviceprovisioning_v1 - androidenterprise_v1 - androidmanagement_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - appengine_v1 - appengine_v1beta - appsactivity_v1 - appsmarket_v2 - appstate_v1 - bigquery_v2 - bigquerydatatransfer_v1 - blogger_v2 - blogger_v3 - books_v1 - calendar_v3 - chat_v1 - civicinfo_v2 - classroom_v1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - clouderrorreporting_v1beta1 - cloudiot_v1 - cloudkms_v1 - cloudprofiler_v2 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - cloudshell_v1alpha1 - cloudtasks_v2beta2 - cloudtrace_v1 - cloudtrace_v2 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - content_v2 - content_v2sandbox - customsearch_v1 - dataproc_v1beta2 - datastore_v1 - datastore_v1beta1 - datastore_v1beta3 - deploymentmanager_alpha - deploymentmanager_v2 - deploymentmanager_v2beta - dfareporting_v2_8 - dfareporting_v3_0 - dfareporting_v3_1 - dialogflow_v2 - dialogflow_v2beta1 - discovery_v1 - dlp_v2 - dns_v1 - dns_v1beta2 - dns_v2beta1 - doubleclickbidmanager_v1 - doubleclicksearch_v2 - drive_v2 - drive_v3 - firestore_v1beta1 - fitness_v1 - fusiontables_v1 - fusiontables_v2 - games_configuration_v1configuration - games_management_v1management - games_v1 - genomics_v1 - genomics_v1alpha2 - genomics_v2alpha1 - gmail_v1 - groupsmigration_v1 - groupssettings_v1 - iam_v1 - iamcredentials_v1 - identitytoolkit_v3 - jobs_v2 - licensing_v1 - logging_v2 - logging_v2beta1 - mirror_v1 - ml_v1 - monitoring_v3 - oauth2_v1 - oauth2_v2 - pagespeedonline_v1 - pagespeedonline_v2 - pagespeedonline_v4 - playcustomapp_v1 - plus_domains_v1 - plus_v1 - poly_v1 - pubsub_v1 - pubsub_v1beta2 - redis_v1beta1 - replicapool_v1beta1 - replicapoolupdater_v1beta1 - reseller_v1 - runtimeconfig_v1beta1 - script_v1 - servicebroker_v1 - servicebroker_v1alpha1 - servicebroker_v1beta1 - serviceconsumermanagement_v1 - servicecontrol_v1 - servicemanagement_v1 - serviceusage_v1 - serviceusage_v1beta1 - serviceuser_v1 - sheets_v4 - site_verification_v1 - slides_v1 - sourcerepo_v1 - sqladmin_v1beta4 - storage_v1 - storage_v1beta1 - storage_v1beta2 - surveys_v2 - tagmanager_v1 - tagmanager_v2 - tasks_v1 - testing_v1 - texttospeech_v1beta1 - toolresults_v1beta3 - tpu_v1 - tpu_v1alpha1 - urlshortener_v1 - vault_v1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - webfonts_v1 - webmasters_v3 - websecurityscanner_v1alpha - youtube_analytics_v1 - youtube_analytics_v1beta1 - youtube_partner_v1 - youtube_v3
2018-08-22 21:14:52 +00:00
property :archived, as: 'archived'
2015-06-23 23:05:46 +00:00
property :change_password_at_next_login, as: 'changePasswordAtNextLogin'
property :creation_time, as: 'creationTime', type: DateTime
Autogenerated update (2020-09-14) Update: - accessapproval_v1 - accesscontextmanager_v1 - accesscontextmanager_v1beta - admin_directory_v1 - admob_v1 - analyticsreporting_v4 - androidpublisher_v3 - appengine_v1 - appengine_v1beta - bigquery_v2 - bigtableadmin_v1 - bigtableadmin_v2 - binaryauthorization_v1 - binaryauthorization_v1beta1 - calendar_v3 - civicinfo_v2 - cloudasset_v1 - cloudasset_v1beta1 - cloudasset_v1p5beta1 - cloudbuild_v1 - cloudbuild_v1alpha1 - cloudbuild_v1alpha2 - clouderrorreporting_v1beta1 - cloudidentity_v1 - cloudidentity_v1beta1 - cloudiot_v1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - cloudsearch_v1 - cloudtasks_v2beta3 - container_v1 - container_v1beta1 - containeranalysis_v1alpha1 - containeranalysis_v1beta1 - content_v2 - content_v2_1 - datacatalog_v1beta1 - datafusion_v1 - datafusion_v1beta1 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - dialogflow_v3beta1 - digitalassetlinks_v1 - displayvideo_v1 - dlp_v2 - documentai_v1beta2 - doubleclickbidmanager_v1 - doubleclickbidmanager_v1_1 - firebase_v1beta1 - firebasedynamiclinks_v1 - firebasehosting_v1beta1 - firebaseml_v1beta2 - firestore_v1 - firestore_v1beta1 - fitness_v1 - games_v1 - gameservices_v1 - gameservices_v1beta - healthcare_v1 - healthcare_v1beta1 - homegraph_v1 - iam_v1 - iap_v1 - iap_v1beta1 - jobs_v2 - jobs_v3 - jobs_v3p1beta1 - managedidentities_v1alpha1 - managedidentities_v1beta1 - ml_v1 - monitoring_v1 - osconfig_v1 - osconfig_v1beta - playcustomapp_v1 - prod_tt_sasportal_v1alpha1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - runtimeconfig_v1beta1 - safebrowsing_v4 - secretmanager_v1 - secretmanager_v1beta1 - servicedirectory_v1beta1 - servicenetworking_v1 - speech_v1p1beta1 - sql_v1beta4 - storage_v1 - storagetransfer_v1 - texttospeech_v1beta1 - tpu_v1 - tpu_v1alpha1 - vault_v1 - verifiedaccess_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1 - youtube_partner_v1 - youtube_v3
2020-09-14 23:21:28 +00:00
hash :custom_schemas, as: 'customSchemas'
2015-06-23 23:05:46 +00:00
property :customer_id, as: 'customerId'
property :deletion_time, as: 'deletionTime', type: DateTime
property :emails, as: 'emails'
property :etag, as: 'etag'
property :external_ids, as: 'externalIds'
property :gender, as: 'gender'
2015-06-23 23:05:46 +00:00
property :hash_function, as: 'hashFunction'
property :id, as: 'id'
property :ims, as: 'ims'
property :include_in_global_address_list, as: 'includeInGlobalAddressList'
property :ip_whitelisted, as: 'ipWhitelisted'
property :is_admin, as: 'isAdmin'
property :is_delegated_admin, as: 'isDelegatedAdmin'
2017-01-13 23:04:35 +00:00
property :is_enforced_in2_sv, as: 'isEnforcedIn2Sv'
property :is_enrolled_in2_sv, as: 'isEnrolledIn2Sv'
2015-06-23 23:05:46 +00:00
property :is_mailbox_setup, as: 'isMailboxSetup'
property :keywords, as: 'keywords'
2015-06-23 23:05:46 +00:00
property :kind, as: 'kind'
2017-07-12 20:10:42 +00:00
property :languages, as: 'languages'
2015-06-23 23:05:46 +00:00
property :last_login_time, as: 'lastLoginTime', type: DateTime
property :locations, as: 'locations'
2015-06-23 23:05:46 +00:00
property :name, as: 'name', class: Google::Apis::AdminDirectoryV1::UserName, decorator: Google::Apis::AdminDirectoryV1::UserName::Representation
collection :non_editable_aliases, as: 'nonEditableAliases'
property :notes, as: 'notes'
property :org_unit_path, as: 'orgUnitPath'
property :organizations, as: 'organizations'
property :password, as: 'password'
property :phones, as: 'phones'
2017-03-27 22:14:47 +00:00
property :posix_accounts, as: 'posixAccounts'
2015-06-23 23:05:46 +00:00
property :primary_email, as: 'primaryEmail'
property :recovery_email, as: 'recoveryEmail'
property :recovery_phone, as: 'recoveryPhone'
2015-06-23 23:05:46 +00:00
property :relations, as: 'relations'
2017-03-27 22:14:47 +00:00
property :ssh_public_keys, as: 'sshPublicKeys'
2015-06-23 23:05:46 +00:00
property :suspended, as: 'suspended'
property :suspension_reason, as: 'suspensionReason'
property :thumbnail_photo_etag, as: 'thumbnailPhotoEtag'
property :thumbnail_photo_url, as: 'thumbnailPhotoUrl'
property :websites, as: 'websites'
end
end
class UserAbout
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :content_type, as: 'contentType'
property :value, as: 'value'
end
end
class UserAddress
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :country, as: 'country'
property :country_code, as: 'countryCode'
property :custom_type, as: 'customType'
property :extended_address, as: 'extendedAddress'
property :formatted, as: 'formatted'
property :locality, as: 'locality'
property :po_box, as: 'poBox'
property :postal_code, as: 'postalCode'
property :primary, as: 'primary'
property :region, as: 'region'
property :source_is_structured, as: 'sourceIsStructured'
property :street_address, as: 'streetAddress'
property :type, as: 'type'
end
end
class UserEmail
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :address, as: 'address'
property :custom_type, as: 'customType'
property :primary, as: 'primary'
property :type, as: 'type'
end
end
class UserExternalId
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_type, as: 'customType'
property :type, as: 'type'
property :value, as: 'value'
end
end
class UserGender
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :address_me_as, as: 'addressMeAs'
property :custom_gender, as: 'customGender'
property :type, as: 'type'
end
end
2015-06-23 23:05:46 +00:00
class UserIm
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_protocol, as: 'customProtocol'
property :custom_type, as: 'customType'
property :im, as: 'im'
property :primary, as: 'primary'
property :protocol, as: 'protocol'
property :type, as: 'type'
end
end
class UserKeyword
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_type, as: 'customType'
property :type, as: 'type'
property :value, as: 'value'
end
end
2017-07-12 20:10:42 +00:00
class UserLanguage
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_language, as: 'customLanguage'
property :language_code, as: 'languageCode'
end
end
class UserLocation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :area, as: 'area'
property :building_id, as: 'buildingId'
property :custom_type, as: 'customType'
property :desk_code, as: 'deskCode'
property :floor_name, as: 'floorName'
property :floor_section, as: 'floorSection'
property :type, as: 'type'
end
end
2015-06-23 23:05:46 +00:00
class UserMakeAdmin
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :status, as: 'status'
end
end
class UserName
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :family_name, as: 'familyName'
property :full_name, as: 'fullName'
property :given_name, as: 'givenName'
end
end
class UserOrganization
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :cost_center, as: 'costCenter'
property :custom_type, as: 'customType'
property :department, as: 'department'
property :description, as: 'description'
property :domain, as: 'domain'
2017-07-12 20:10:42 +00:00
property :full_time_equivalent, as: 'fullTimeEquivalent'
2015-06-23 23:05:46 +00:00
property :location, as: 'location'
property :name, as: 'name'
property :primary, as: 'primary'
property :symbol, as: 'symbol'
property :title, as: 'title'
property :type, as: 'type'
end
end
class UserPhone
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_type, as: 'customType'
property :primary, as: 'primary'
property :type, as: 'type'
property :value, as: 'value'
end
end
class UserPhoto
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :height, as: 'height'
property :id, as: 'id'
property :kind, as: 'kind'
property :mime_type, as: 'mimeType'
property :photo_data, :base64 => true, as: 'photoData'
property :primary_email, as: 'primaryEmail'
property :width, as: 'width'
end
end
2017-03-27 22:14:47 +00:00
class UserPosixAccount
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :account_id, as: 'accountId'
2017-03-27 22:14:47 +00:00
property :gecos, as: 'gecos'
property :gid, :numeric_string => true, as: 'gid'
2017-03-27 22:14:47 +00:00
property :home_directory, as: 'homeDirectory'
property :operating_system_type, as: 'operatingSystemType'
2017-03-27 22:14:47 +00:00
property :primary, as: 'primary'
property :shell, as: 'shell'
property :system_id, as: 'systemId'
property :uid, :numeric_string => true, as: 'uid'
2017-03-27 22:14:47 +00:00
property :username, as: 'username'
end
end
2015-06-23 23:05:46 +00:00
class UserRelation
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_type, as: 'customType'
property :type, as: 'type'
property :value, as: 'value'
end
end
2017-03-27 22:14:47 +00:00
class UserSshPublicKey
# @private
class Representation < Google::Apis::Core::JsonRepresentation
2017-04-03 20:18:48 +00:00
property :expiration_time_usec, :numeric_string => true, as: 'expirationTimeUsec'
2017-03-27 22:14:47 +00:00
property :fingerprint, as: 'fingerprint'
property :key, as: 'key'
end
end
2015-06-23 23:05:46 +00:00
class UserUndelete
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :org_unit_path, as: 'orgUnitPath'
end
end
class UserWebsite
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :custom_type, as: 'customType'
property :primary, as: 'primary'
property :type, as: 'type'
property :value, as: 'value'
end
end
class Users
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :trigger_event, as: 'trigger_event'
collection :users, as: 'users', class: Google::Apis::AdminDirectoryV1::User, decorator: Google::Apis::AdminDirectoryV1::User::Representation
end
end
class VerificationCode
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
property :kind, as: 'kind'
property :user_id, as: 'userId'
property :verification_code, as: 'verificationCode'
end
end
class VerificationCodes
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :etag, as: 'etag'
collection :items, as: 'items', class: Google::Apis::AdminDirectoryV1::VerificationCode, decorator: Google::Apis::AdminDirectoryV1::VerificationCode::Representation
property :kind, as: 'kind'
end
end
end
end
end