google-api-client 0.9.15 → 0.9.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +82 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +80 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +23 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -5
- data/generated/google/apis/analytics_v3/representations.rb +1 -0
- data/generated/google/apis/analytics_v3/service.rb +17 -18
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +80 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +30 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +55 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/service.rb +36 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +7 -0
- data/generated/google/apis/classroom_v1/representations.rb +1 -0
- data/generated/google/apis/classroom_v1/service.rb +25 -15
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +56 -8
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +535 -298
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +141 -36
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +250 -45
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +99 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +44 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +44 -29
- data/generated/google/apis/compute_beta/representations.rb +1 -0
- data/generated/google/apis/compute_beta/service.rb +123 -25
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -20
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +608 -67
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +38 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4009 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +1718 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +515 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +8 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +8 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +181 -206
- data/generated/google/apis/iam_v1/representations.rb +36 -45
- data/generated/google/apis/iam_v1/service.rb +101 -67
- data/generated/google/apis/identitytoolkit_v3.rb +4 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +11 -27
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -4
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +742 -732
- data/generated/google/apis/logging_v2beta1/representations.rb +134 -147
- data/generated/google/apis/logging_v2beta1/service.rb +276 -209
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -13
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +10 -9
- data/generated/google/apis/pubsub_v1/service.rb +128 -27
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +20 -30
- data/generated/google/apis/speech_v1beta1/representations.rb +6 -7
- data/generated/google/apis/speech_v1beta1/service.rb +68 -65
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +6 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -3
- data/generated/google/apis/storage_v1/representations.rb +2 -1
- data/generated/google/apis/storage_v1/service.rb +5 -2
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/ad-exchange/buyer-rest
|
27
27
|
module AdexchangebuyerV1_4
|
28
28
|
VERSION = 'V1_4'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20161006'
|
30
30
|
|
31
31
|
# Manage your Ad Exchange buyer account configuration
|
32
32
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -568,7 +568,8 @@ module Google
|
|
568
568
|
# @return [Array<String>]
|
569
569
|
attr_accessor :languages
|
570
570
|
|
571
|
-
# If nativeAd is set, HTMLSnippet and videoURL
|
571
|
+
# If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should
|
572
|
+
# not be set. (The videoURL inside nativeAd can be set.)
|
572
573
|
# Corresponds to the JSON property `nativeAd`
|
573
574
|
# @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd]
|
574
575
|
attr_accessor :native_ad
|
@@ -618,7 +619,8 @@ module Google
|
|
618
619
|
# @return [Fixnum]
|
619
620
|
attr_accessor :version
|
620
621
|
|
621
|
-
# The
|
622
|
+
# The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not
|
623
|
+
# be set. Note, this is diffrent from resource.native_ad.video_url above.
|
622
624
|
# Corresponds to the JSON property `videoURL`
|
623
625
|
# @return [String]
|
624
626
|
attr_accessor :video_url
|
@@ -789,7 +791,8 @@ module Google
|
|
789
791
|
end
|
790
792
|
end
|
791
793
|
|
792
|
-
# If nativeAd is set, HTMLSnippet and videoURL
|
794
|
+
# If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should
|
795
|
+
# not be set. (The videoURL inside nativeAd can be set.)
|
793
796
|
class NativeAd
|
794
797
|
include Google::Apis::Core::Hashable
|
795
798
|
|
@@ -853,6 +856,11 @@ module Google
|
|
853
856
|
# @return [String]
|
854
857
|
attr_accessor :store
|
855
858
|
|
859
|
+
#
|
860
|
+
# Corresponds to the JSON property `videoURL`
|
861
|
+
# @return [String]
|
862
|
+
attr_accessor :video_url
|
863
|
+
|
856
864
|
def initialize(**args)
|
857
865
|
update!(**args)
|
858
866
|
end
|
@@ -871,6 +879,7 @@ module Google
|
|
871
879
|
@price = args[:price] if args.key?(:price)
|
872
880
|
@star_rating = args[:star_rating] if args.key?(:star_rating)
|
873
881
|
@store = args[:store] if args.key?(:store)
|
882
|
+
@video_url = args[:video_url] if args.key?(:video_url)
|
874
883
|
end
|
875
884
|
|
876
885
|
# The app icon, for app download ads.
|
@@ -1069,6 +1078,62 @@ module Google
|
|
1069
1078
|
end
|
1070
1079
|
end
|
1071
1080
|
|
1081
|
+
# The external deal ids associated with a creative.
|
1082
|
+
class CreativeDealIds
|
1083
|
+
include Google::Apis::Core::Hashable
|
1084
|
+
|
1085
|
+
# A list of external deal ids and ARC approval status.
|
1086
|
+
# Corresponds to the JSON property `dealStatuses`
|
1087
|
+
# @return [Array<Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus>]
|
1088
|
+
attr_accessor :deal_statuses
|
1089
|
+
|
1090
|
+
# Resource type.
|
1091
|
+
# Corresponds to the JSON property `kind`
|
1092
|
+
# @return [String]
|
1093
|
+
attr_accessor :kind
|
1094
|
+
|
1095
|
+
def initialize(**args)
|
1096
|
+
update!(**args)
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Update properties of this object
|
1100
|
+
def update!(**args)
|
1101
|
+
@deal_statuses = args[:deal_statuses] if args.key?(:deal_statuses)
|
1102
|
+
@kind = args[:kind] if args.key?(:kind)
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
#
|
1106
|
+
class DealStatus
|
1107
|
+
include Google::Apis::Core::Hashable
|
1108
|
+
|
1109
|
+
# ARC approval status.
|
1110
|
+
# Corresponds to the JSON property `arcStatus`
|
1111
|
+
# @return [String]
|
1112
|
+
attr_accessor :arc_status
|
1113
|
+
|
1114
|
+
# External deal ID.
|
1115
|
+
# Corresponds to the JSON property `dealId`
|
1116
|
+
# @return [String]
|
1117
|
+
attr_accessor :deal_id
|
1118
|
+
|
1119
|
+
# Publisher ID.
|
1120
|
+
# Corresponds to the JSON property `webPropertyId`
|
1121
|
+
# @return [Fixnum]
|
1122
|
+
attr_accessor :web_property_id
|
1123
|
+
|
1124
|
+
def initialize(**args)
|
1125
|
+
update!(**args)
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Update properties of this object
|
1129
|
+
def update!(**args)
|
1130
|
+
@arc_status = args[:arc_status] if args.key?(:arc_status)
|
1131
|
+
@deal_id = args[:deal_id] if args.key?(:deal_id)
|
1132
|
+
@web_property_id = args[:web_property_id] if args.key?(:web_property_id)
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1072
1137
|
# The creatives feed lists the active creatives for the Ad Exchange buyer
|
1073
1138
|
# accounts that the user has access to. Each entry in the feed corresponds to a
|
1074
1139
|
# single creative.
|
@@ -1833,6 +1898,13 @@ module Google
|
|
1833
1898
|
# @return [String]
|
1834
1899
|
attr_accessor :inventory_description
|
1835
1900
|
|
1901
|
+
# Indicates whether the current deal is a RFP template. RFP template is created
|
1902
|
+
# by buyer and not based on seller created products.
|
1903
|
+
# Corresponds to the JSON property `isRfpTemplate`
|
1904
|
+
# @return [Boolean]
|
1905
|
+
attr_accessor :is_rfp_template
|
1906
|
+
alias_method :is_rfp_template?, :is_rfp_template
|
1907
|
+
|
1836
1908
|
# Identifies what kind of resource this is. Value: the fixed string "
|
1837
1909
|
# adexchangebuyer#marketplaceDeal".
|
1838
1910
|
# Corresponds to the JSON property `kind`
|
@@ -1915,6 +1987,7 @@ module Google
|
|
1915
1987
|
@flight_end_time_ms = args[:flight_end_time_ms] if args.key?(:flight_end_time_ms)
|
1916
1988
|
@flight_start_time_ms = args[:flight_start_time_ms] if args.key?(:flight_start_time_ms)
|
1917
1989
|
@inventory_description = args[:inventory_description] if args.key?(:inventory_description)
|
1990
|
+
@is_rfp_template = args[:is_rfp_template] if args.key?(:is_rfp_template)
|
1918
1991
|
@kind = args[:kind] if args.key?(:kind)
|
1919
1992
|
@last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms)
|
1920
1993
|
@name = args[:name] if args.key?(:name)
|
@@ -2848,6 +2921,11 @@ module Google
|
|
2848
2921
|
# @return [Google::Apis::AdexchangebuyerV1_4::PrivateData]
|
2849
2922
|
attr_accessor :buyer_private_data
|
2850
2923
|
|
2924
|
+
# IDs of DBM advertisers permission to this proposal.
|
2925
|
+
# Corresponds to the JSON property `dbmAdvertiserIds`
|
2926
|
+
# @return [Array<String>]
|
2927
|
+
attr_accessor :dbm_advertiser_ids
|
2928
|
+
|
2851
2929
|
# When an proposal is in an accepted state, indicates whether the buyer has
|
2852
2930
|
# signed off. Once both sides have signed off on a deal, the proposal can be
|
2853
2931
|
# finalized by the seller. (seller-readonly)
|
@@ -2959,6 +3037,7 @@ module Google
|
|
2959
3037
|
@buyer = args[:buyer] if args.key?(:buyer)
|
2960
3038
|
@buyer_contacts = args[:buyer_contacts] if args.key?(:buyer_contacts)
|
2961
3039
|
@buyer_private_data = args[:buyer_private_data] if args.key?(:buyer_private_data)
|
3040
|
+
@dbm_advertiser_ids = args[:dbm_advertiser_ids] if args.key?(:dbm_advertiser_ids)
|
2962
3041
|
@has_buyer_signed_off = args[:has_buyer_signed_off] if args.key?(:has_buyer_signed_off)
|
2963
3042
|
@has_seller_signed_off = args[:has_seller_signed_off] if args.key?(:has_seller_signed_off)
|
2964
3043
|
@inventory_source = args[:inventory_source] if args.key?(:inventory_source)
|
@@ -178,6 +178,18 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
+
class CreativeDealIds
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
class DealStatus
|
185
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
186
|
+
|
187
|
+
include Google::Apis::Core::JsonObjectSupport
|
188
|
+
end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
181
193
|
class CreativesList
|
182
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
195
|
|
@@ -697,6 +709,7 @@ module Google
|
|
697
709
|
property :price, as: 'price'
|
698
710
|
property :star_rating, as: 'starRating'
|
699
711
|
property :store, as: 'store'
|
712
|
+
property :video_url, as: 'videoURL'
|
700
713
|
end
|
701
714
|
|
702
715
|
class AppIcon
|
@@ -757,6 +770,24 @@ module Google
|
|
757
770
|
end
|
758
771
|
end
|
759
772
|
|
773
|
+
class CreativeDealIds
|
774
|
+
# @private
|
775
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
776
|
+
collection :deal_statuses, as: 'dealStatuses', class: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus, decorator: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus::Representation
|
777
|
+
|
778
|
+
property :kind, as: 'kind'
|
779
|
+
end
|
780
|
+
|
781
|
+
class DealStatus
|
782
|
+
# @private
|
783
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
784
|
+
property :arc_status, as: 'arcStatus'
|
785
|
+
property :deal_id, as: 'dealId'
|
786
|
+
property :web_property_id, as: 'webPropertyId'
|
787
|
+
end
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
760
791
|
class CreativesList
|
761
792
|
# @private
|
762
793
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -991,6 +1022,7 @@ module Google
|
|
991
1022
|
property :flight_end_time_ms, as: 'flightEndTimeMs'
|
992
1023
|
property :flight_start_time_ms, as: 'flightStartTimeMs'
|
993
1024
|
property :inventory_description, as: 'inventoryDescription'
|
1025
|
+
property :is_rfp_template, as: 'isRfpTemplate'
|
994
1026
|
property :kind, as: 'kind'
|
995
1027
|
property :last_update_time_ms, as: 'lastUpdateTimeMs'
|
996
1028
|
property :name, as: 'name'
|
@@ -1233,6 +1265,7 @@ module Google
|
|
1233
1265
|
|
1234
1266
|
property :buyer_private_data, as: 'buyerPrivateData', class: Google::Apis::AdexchangebuyerV1_4::PrivateData, decorator: Google::Apis::AdexchangebuyerV1_4::PrivateData::Representation
|
1235
1267
|
|
1268
|
+
collection :dbm_advertiser_ids, as: 'dbmAdvertiserIds'
|
1236
1269
|
property :has_buyer_signed_off, as: 'hasBuyerSignedOff'
|
1237
1270
|
property :has_seller_signed_off, as: 'hasSellerSignedOff'
|
1238
1271
|
property :inventory_source, as: 'inventorySource'
|
@@ -562,6 +562,44 @@ module Google
|
|
562
562
|
execute_or_queue_command(command, &block)
|
563
563
|
end
|
564
564
|
|
565
|
+
# Lists the external deal ids associated with the creative.
|
566
|
+
# @param [Fixnum] account_id
|
567
|
+
# The id for the account that will serve this creative.
|
568
|
+
# @param [String] buyer_creative_id
|
569
|
+
# The buyer-specific id for this creative.
|
570
|
+
# @param [String] fields
|
571
|
+
# Selector specifying which fields to include in a partial response.
|
572
|
+
# @param [String] quota_user
|
573
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
574
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
575
|
+
# Overrides userIp if both are provided.
|
576
|
+
# @param [String] user_ip
|
577
|
+
# IP address of the site where the request originates. Use this if you want to
|
578
|
+
# enforce per-user limits.
|
579
|
+
# @param [Google::Apis::RequestOptions] options
|
580
|
+
# Request-specific options
|
581
|
+
#
|
582
|
+
# @yield [result, err] Result & error if block supplied
|
583
|
+
# @yieldparam result [Google::Apis::AdexchangebuyerV1_4::CreativeDealIds] parsed result object
|
584
|
+
# @yieldparam err [StandardError] error object if request failed
|
585
|
+
#
|
586
|
+
# @return [Google::Apis::AdexchangebuyerV1_4::CreativeDealIds]
|
587
|
+
#
|
588
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
589
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
590
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
591
|
+
def list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
592
|
+
command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}/listDeals', options)
|
593
|
+
command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::Representation
|
594
|
+
command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds
|
595
|
+
command.params['accountId'] = account_id unless account_id.nil?
|
596
|
+
command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil?
|
597
|
+
command.query['fields'] = fields unless fields.nil?
|
598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
599
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
600
|
+
execute_or_queue_command(command, &block)
|
601
|
+
end
|
602
|
+
|
565
603
|
# Remove a deal id associated with the creative.
|
566
604
|
# @param [Fixnum] account_id
|
567
605
|
# The id for the account that will serve this creative.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/directory/
|
27
27
|
module AdminDirectoryV1
|
28
28
|
VERSION = 'DirectoryV1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20161003'
|
30
30
|
|
31
31
|
# View and manage customer related information
|
32
32
|
AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer'
|
@@ -574,6 +574,32 @@ module Google
|
|
574
574
|
end
|
575
575
|
end
|
576
576
|
|
577
|
+
# JSON request template for firing actions on ChromeOs Device in Directory
|
578
|
+
# Devices API.
|
579
|
+
class ChromeOsDeviceAction
|
580
|
+
include Google::Apis::Core::Hashable
|
581
|
+
|
582
|
+
# Action to be taken on the ChromeOs Device
|
583
|
+
# Corresponds to the JSON property `action`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :action
|
586
|
+
|
587
|
+
#
|
588
|
+
# Corresponds to the JSON property `deprovisionReason`
|
589
|
+
# @return [String]
|
590
|
+
attr_accessor :deprovision_reason
|
591
|
+
|
592
|
+
def initialize(**args)
|
593
|
+
update!(**args)
|
594
|
+
end
|
595
|
+
|
596
|
+
# Update properties of this object
|
597
|
+
def update!(**args)
|
598
|
+
@action = args[:action] if args.key?(:action)
|
599
|
+
@deprovision_reason = args[:deprovision_reason] if args.key?(:deprovision_reason)
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
577
603
|
# JSON response template for List Chrome OS Devices operation in Directory API.
|
578
604
|
class ChromeOsDevices
|
579
605
|
include Google::Apis::Core::Hashable
|
@@ -1147,6 +1173,16 @@ module Google
|
|
1147
1173
|
# @return [String]
|
1148
1174
|
attr_accessor :baseband_version
|
1149
1175
|
|
1176
|
+
# Mobile Device Bootloader version (Read-only)
|
1177
|
+
# Corresponds to the JSON property `bootloaderVersion`
|
1178
|
+
# @return [String]
|
1179
|
+
attr_accessor :bootloader_version
|
1180
|
+
|
1181
|
+
# Mobile Device Brand (Read-only)
|
1182
|
+
# Corresponds to the JSON property `brand`
|
1183
|
+
# @return [String]
|
1184
|
+
attr_accessor :brand
|
1185
|
+
|
1150
1186
|
# Mobile Device Build number (Read-only)
|
1151
1187
|
# Corresponds to the JSON property `buildNumber`
|
1152
1188
|
# @return [String]
|
@@ -1173,11 +1209,21 @@ module Google
|
|
1173
1209
|
# @return [String]
|
1174
1210
|
attr_accessor :device_id
|
1175
1211
|
|
1212
|
+
# DevicePasswordStatus (Read-only)
|
1213
|
+
# Corresponds to the JSON property `devicePasswordStatus`
|
1214
|
+
# @return [String]
|
1215
|
+
attr_accessor :device_password_status
|
1216
|
+
|
1176
1217
|
# List of owner user's email addresses (Read-only)
|
1177
1218
|
# Corresponds to the JSON property `email`
|
1178
1219
|
# @return [Array<String>]
|
1179
1220
|
attr_accessor :email
|
1180
1221
|
|
1222
|
+
# Mobile Device Encryption Status (Read-only)
|
1223
|
+
# Corresponds to the JSON property `encryptionStatus`
|
1224
|
+
# @return [String]
|
1225
|
+
attr_accessor :encryption_status
|
1226
|
+
|
1181
1227
|
# ETag of the resource.
|
1182
1228
|
# Corresponds to the JSON property `etag`
|
1183
1229
|
# @return [String]
|
@@ -1189,6 +1235,11 @@ module Google
|
|
1189
1235
|
# @return [DateTime]
|
1190
1236
|
attr_accessor :first_sync
|
1191
1237
|
|
1238
|
+
# Mobile Device Hardware (Read-only)
|
1239
|
+
# Corresponds to the JSON property `hardware`
|
1240
|
+
# @return [String]
|
1241
|
+
attr_accessor :hardware
|
1242
|
+
|
1192
1243
|
# Mobile Device Hardware Id (Read-only)
|
1193
1244
|
# Corresponds to the JSON property `hardwareId`
|
1194
1245
|
# @return [String]
|
@@ -1222,6 +1273,11 @@ module Google
|
|
1222
1273
|
attr_accessor :managed_account_is_on_owner_profile
|
1223
1274
|
alias_method :managed_account_is_on_owner_profile?, :managed_account_is_on_owner_profile
|
1224
1275
|
|
1276
|
+
# Mobile Device manufacturer (Read-only)
|
1277
|
+
# Corresponds to the JSON property `manufacturer`
|
1278
|
+
# @return [String]
|
1279
|
+
attr_accessor :manufacturer
|
1280
|
+
|
1225
1281
|
# Mobile Device MEID number (Read-only)
|
1226
1282
|
# Corresponds to the JSON property `meid`
|
1227
1283
|
# @return [String]
|
@@ -1252,11 +1308,26 @@ module Google
|
|
1252
1308
|
# @return [Array<String>]
|
1253
1309
|
attr_accessor :other_accounts_info
|
1254
1310
|
|
1311
|
+
# DMAgentPermission (Read-only)
|
1312
|
+
# Corresponds to the JSON property `privilege`
|
1313
|
+
# @return [String]
|
1314
|
+
attr_accessor :privilege
|
1315
|
+
|
1316
|
+
# Mobile Device release version version (Read-only)
|
1317
|
+
# Corresponds to the JSON property `releaseVersion`
|
1318
|
+
# @return [String]
|
1319
|
+
attr_accessor :release_version
|
1320
|
+
|
1255
1321
|
# Unique identifier of Mobile Device (Read-only)
|
1256
1322
|
# Corresponds to the JSON property `resourceId`
|
1257
1323
|
# @return [String]
|
1258
1324
|
attr_accessor :resource_id
|
1259
1325
|
|
1326
|
+
# Mobile Device Security patch level (Read-only)
|
1327
|
+
# Corresponds to the JSON property `securityPatchLevel`
|
1328
|
+
# @return [String]
|
1329
|
+
attr_accessor :security_patch_level
|
1330
|
+
|
1260
1331
|
# Mobile Device SSN or Serial Number (Read-only)
|
1261
1332
|
# Corresponds to the JSON property `serialNumber`
|
1262
1333
|
# @return [String]
|
@@ -1303,27 +1374,36 @@ module Google
|
|
1303
1374
|
@adb_status = args[:adb_status] if args.key?(:adb_status)
|
1304
1375
|
@applications = args[:applications] if args.key?(:applications)
|
1305
1376
|
@baseband_version = args[:baseband_version] if args.key?(:baseband_version)
|
1377
|
+
@bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
|
1378
|
+
@brand = args[:brand] if args.key?(:brand)
|
1306
1379
|
@build_number = args[:build_number] if args.key?(:build_number)
|
1307
1380
|
@default_language = args[:default_language] if args.key?(:default_language)
|
1308
1381
|
@developer_options_status = args[:developer_options_status] if args.key?(:developer_options_status)
|
1309
1382
|
@device_compromised_status = args[:device_compromised_status] if args.key?(:device_compromised_status)
|
1310
1383
|
@device_id = args[:device_id] if args.key?(:device_id)
|
1384
|
+
@device_password_status = args[:device_password_status] if args.key?(:device_password_status)
|
1311
1385
|
@email = args[:email] if args.key?(:email)
|
1386
|
+
@encryption_status = args[:encryption_status] if args.key?(:encryption_status)
|
1312
1387
|
@etag = args[:etag] if args.key?(:etag)
|
1313
1388
|
@first_sync = args[:first_sync] if args.key?(:first_sync)
|
1389
|
+
@hardware = args[:hardware] if args.key?(:hardware)
|
1314
1390
|
@hardware_id = args[:hardware_id] if args.key?(:hardware_id)
|
1315
1391
|
@imei = args[:imei] if args.key?(:imei)
|
1316
1392
|
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
1317
1393
|
@kind = args[:kind] if args.key?(:kind)
|
1318
1394
|
@last_sync = args[:last_sync] if args.key?(:last_sync)
|
1319
1395
|
@managed_account_is_on_owner_profile = args[:managed_account_is_on_owner_profile] if args.key?(:managed_account_is_on_owner_profile)
|
1396
|
+
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
1320
1397
|
@meid = args[:meid] if args.key?(:meid)
|
1321
1398
|
@model = args[:model] if args.key?(:model)
|
1322
1399
|
@name = args[:name] if args.key?(:name)
|
1323
1400
|
@network_operator = args[:network_operator] if args.key?(:network_operator)
|
1324
1401
|
@os = args[:os] if args.key?(:os)
|
1325
1402
|
@other_accounts_info = args[:other_accounts_info] if args.key?(:other_accounts_info)
|
1403
|
+
@privilege = args[:privilege] if args.key?(:privilege)
|
1404
|
+
@release_version = args[:release_version] if args.key?(:release_version)
|
1326
1405
|
@resource_id = args[:resource_id] if args.key?(:resource_id)
|
1406
|
+
@security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level)
|
1327
1407
|
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
1328
1408
|
@status = args[:status] if args.key?(:status)
|
1329
1409
|
@supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile)
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class ChromeOsDeviceAction
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class ChromeOsDevices
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -512,6 +518,14 @@ module Google
|
|
512
518
|
end
|
513
519
|
end
|
514
520
|
|
521
|
+
class ChromeOsDeviceAction
|
522
|
+
# @private
|
523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
524
|
+
property :action, as: 'action'
|
525
|
+
property :deprovision_reason, as: 'deprovisionReason'
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
515
529
|
class ChromeOsDevices
|
516
530
|
# @private
|
517
531
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -659,15 +673,20 @@ module Google
|
|
659
673
|
collection :applications, as: 'applications', class: Google::Apis::AdminDirectoryV1::MobileDevice::Application, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Application::Representation
|
660
674
|
|
661
675
|
property :baseband_version, as: 'basebandVersion'
|
676
|
+
property :bootloader_version, as: 'bootloaderVersion'
|
677
|
+
property :brand, as: 'brand'
|
662
678
|
property :build_number, as: 'buildNumber'
|
663
679
|
property :default_language, as: 'defaultLanguage'
|
664
680
|
property :developer_options_status, as: 'developerOptionsStatus'
|
665
681
|
property :device_compromised_status, as: 'deviceCompromisedStatus'
|
666
682
|
property :device_id, as: 'deviceId'
|
683
|
+
property :device_password_status, as: 'devicePasswordStatus'
|
667
684
|
collection :email, as: 'email'
|
685
|
+
property :encryption_status, as: 'encryptionStatus'
|
668
686
|
property :etag, as: 'etag'
|
669
687
|
property :first_sync, as: 'firstSync', type: DateTime
|
670
688
|
|
689
|
+
property :hardware, as: 'hardware'
|
671
690
|
property :hardware_id, as: 'hardwareId'
|
672
691
|
property :imei, as: 'imei'
|
673
692
|
property :kernel_version, as: 'kernelVersion'
|
@@ -675,13 +694,17 @@ module Google
|
|
675
694
|
property :last_sync, as: 'lastSync', type: DateTime
|
676
695
|
|
677
696
|
property :managed_account_is_on_owner_profile, as: 'managedAccountIsOnOwnerProfile'
|
697
|
+
property :manufacturer, as: 'manufacturer'
|
678
698
|
property :meid, as: 'meid'
|
679
699
|
property :model, as: 'model'
|
680
700
|
collection :name, as: 'name'
|
681
701
|
property :network_operator, as: 'networkOperator'
|
682
702
|
property :os, as: 'os'
|
683
703
|
collection :other_accounts_info, as: 'otherAccountsInfo'
|
704
|
+
property :privilege, as: 'privilege'
|
705
|
+
property :release_version, as: 'releaseVersion'
|
684
706
|
property :resource_id, as: 'resourceId'
|
707
|
+
property :security_patch_level, as: 'securityPatchLevel'
|
685
708
|
property :serial_number, as: 'serialNumber'
|
686
709
|
property :status, as: 'status'
|
687
710
|
property :supports_work_profile, as: 'supportsWorkProfile'
|