google-api-client 0.17.4 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +35 -0
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +101 -0
- data/generated/google/apis/abusiveexperiencereport_v1/representations.rb +59 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +124 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +148 -8
- data/generated/google/apis/admin_directory_v1/representations.rb +55 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +9 -2
- data/generated/google/apis/admin_reports_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1/service.rb +58 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +55 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +10 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +26 -26
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -1
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
- data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -105
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -67
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -107
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -25
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -4
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -143
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -4
- data/generated/google/apis/dataproc_v1/service.rb +9 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +17 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +39 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +15 -3
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +25 -5
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +39 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +16 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +76 -0
- data/generated/google/apis/ml_v1/representations.rb +44 -0
- data/generated/google/apis/ml_v1/service.rb +73 -0
- data/generated/google/apis/poly_v1.rb +2 -2
- data/generated/google/apis/poly_v1/service.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +132 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +64 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/dfareporting_v2_7.rb +0 -40
- data/generated/google/apis/dfareporting_v2_7/classes.rb +0 -11876
- data/generated/google/apis/dfareporting_v2_7/representations.rb +0 -4243
- data/generated/google/apis/dfareporting_v2_7/service.rb +0 -9098
|
@@ -79,6 +79,12 @@ module Google
|
|
|
79
79
|
include Google::Apis::Core::JsonObjectSupport
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
+
class DeviceFile
|
|
83
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
84
|
+
|
|
85
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
86
|
+
end
|
|
87
|
+
|
|
82
88
|
class RecentUser
|
|
83
89
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
84
90
|
|
|
@@ -142,6 +148,18 @@ module Google
|
|
|
142
148
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
149
|
end
|
|
144
150
|
|
|
151
|
+
class Feature
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
class FeatureInstance
|
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
+
end
|
|
162
|
+
|
|
145
163
|
class Group
|
|
146
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
165
|
|
|
@@ -508,14 +526,21 @@ module Google
|
|
|
508
526
|
class CalendarResource
|
|
509
527
|
# @private
|
|
510
528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
529
|
+
property :building_id, as: 'buildingId'
|
|
530
|
+
property :capacity, as: 'capacity'
|
|
511
531
|
property :etags, as: 'etags'
|
|
532
|
+
property :feature_instances, as: 'featureInstances'
|
|
533
|
+
property :floor_name, as: 'floorName'
|
|
534
|
+
property :floor_section, as: 'floorSection'
|
|
512
535
|
property :generated_resource_name, as: 'generatedResourceName'
|
|
513
536
|
property :kind, as: 'kind'
|
|
537
|
+
property :resource_category, as: 'resourceCategory'
|
|
514
538
|
property :resource_description, as: 'resourceDescription'
|
|
515
539
|
property :resource_email, as: 'resourceEmail'
|
|
516
540
|
property :resource_id, as: 'resourceId'
|
|
517
541
|
property :resource_name, as: 'resourceName'
|
|
518
542
|
property :resource_type, as: 'resourceType'
|
|
543
|
+
property :user_visible_description, as: 'userVisibleDescription'
|
|
519
544
|
end
|
|
520
545
|
end
|
|
521
546
|
|
|
@@ -555,6 +580,8 @@ module Google
|
|
|
555
580
|
property :annotated_location, as: 'annotatedLocation'
|
|
556
581
|
property :annotated_user, as: 'annotatedUser'
|
|
557
582
|
property :boot_mode, as: 'bootMode'
|
|
583
|
+
collection :device_files, as: 'deviceFiles', class: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile, decorator: Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile::Representation
|
|
584
|
+
|
|
558
585
|
property :device_id, as: 'deviceId'
|
|
559
586
|
property :etag, as: 'etag'
|
|
560
587
|
property :ethernet_mac_address, as: 'ethernetMacAddress'
|
|
@@ -590,6 +617,17 @@ module Google
|
|
|
590
617
|
end
|
|
591
618
|
end
|
|
592
619
|
|
|
620
|
+
class DeviceFile
|
|
621
|
+
# @private
|
|
622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
623
|
+
property :create_time, as: 'createTime', type: DateTime
|
|
624
|
+
|
|
625
|
+
property :download_url, as: 'downloadUrl'
|
|
626
|
+
property :name, as: 'name'
|
|
627
|
+
property :type, as: 'type'
|
|
628
|
+
end
|
|
629
|
+
end
|
|
630
|
+
|
|
593
631
|
class RecentUser
|
|
594
632
|
# @private
|
|
595
633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -703,6 +741,23 @@ module Google
|
|
|
703
741
|
end
|
|
704
742
|
end
|
|
705
743
|
|
|
744
|
+
class Feature
|
|
745
|
+
# @private
|
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
747
|
+
property :etags, as: 'etags'
|
|
748
|
+
property :kind, as: 'kind'
|
|
749
|
+
property :name, as: 'name'
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
class FeatureInstance
|
|
754
|
+
# @private
|
|
755
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
756
|
+
property :feature, as: 'feature', class: Google::Apis::AdminDirectoryV1::Feature, decorator: Google::Apis::AdminDirectoryV1::Feature::Representation
|
|
757
|
+
|
|
758
|
+
end
|
|
759
|
+
end
|
|
760
|
+
|
|
706
761
|
class Group
|
|
707
762
|
# @private
|
|
708
763
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/reports/
|
|
27
27
|
module AdminReportsV1
|
|
28
28
|
VERSION = 'ReportsV1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20171204'
|
|
30
30
|
|
|
31
31
|
# View audit reports for your G Suite domain
|
|
32
32
|
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
|
@@ -398,17 +398,23 @@ module Google
|
|
|
398
398
|
# @return [String]
|
|
399
399
|
attr_accessor :customer_id
|
|
400
400
|
|
|
401
|
+
# Object key. Only relevant if entity.type = "OBJECT" Note: external-facing name
|
|
402
|
+
# of report is "Entities" rather than "Objects".
|
|
403
|
+
# Corresponds to the JSON property `entityId`
|
|
404
|
+
# @return [String]
|
|
405
|
+
attr_accessor :entity_id
|
|
406
|
+
|
|
401
407
|
# Obfuscated user id for the record.
|
|
402
408
|
# Corresponds to the JSON property `profileId`
|
|
403
409
|
# @return [String]
|
|
404
410
|
attr_accessor :profile_id
|
|
405
411
|
|
|
406
|
-
# The type of item, can be
|
|
412
|
+
# The type of item, can be customer, user, or entity (aka. object).
|
|
407
413
|
# Corresponds to the JSON property `type`
|
|
408
414
|
# @return [String]
|
|
409
415
|
attr_accessor :type
|
|
410
416
|
|
|
411
|
-
# user's email.
|
|
417
|
+
# user's email. Only relevant if entity.type = "USER"
|
|
412
418
|
# Corresponds to the JSON property `userEmail`
|
|
413
419
|
# @return [String]
|
|
414
420
|
attr_accessor :user_email
|
|
@@ -420,6 +426,7 @@ module Google
|
|
|
420
426
|
# Update properties of this object
|
|
421
427
|
def update!(**args)
|
|
422
428
|
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
|
429
|
+
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
|
423
430
|
@profile_id = args[:profile_id] if args.key?(:profile_id)
|
|
424
431
|
@type = args[:type] if args.key?(:type)
|
|
425
432
|
@user_email = args[:user_email] if args.key?(:user_email)
|
|
@@ -202,6 +202,7 @@ module Google
|
|
|
202
202
|
# @private
|
|
203
203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
204
204
|
property :customer_id, as: 'customerId'
|
|
205
|
+
property :entity_id, as: 'entityId'
|
|
205
206
|
property :profile_id, as: 'profileId'
|
|
206
207
|
property :type, as: 'type'
|
|
207
208
|
property :user_email, as: 'userEmail'
|
|
@@ -268,6 +268,64 @@ module Google
|
|
|
268
268
|
execute_or_queue_command(command, &block)
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
+
# Retrieves a report which is a collection of properties / statistics for a set
|
|
272
|
+
# of objects.
|
|
273
|
+
# @param [String] entity_type
|
|
274
|
+
# Type of object. Should be one of - gplus_communities.
|
|
275
|
+
# @param [String] entity_key
|
|
276
|
+
# Represents the key of object for which the data should be filtered.
|
|
277
|
+
# @param [String] date
|
|
278
|
+
# Represents the date in yyyy-mm-dd format for which the data is to be fetched.
|
|
279
|
+
# @param [String] customer_id
|
|
280
|
+
# Represents the customer for which the data is to be fetched.
|
|
281
|
+
# @param [String] filters
|
|
282
|
+
# Represents the set of filters including parameter operator value.
|
|
283
|
+
# @param [Fixnum] max_results
|
|
284
|
+
# Maximum number of results to return. Maximum allowed is 1000
|
|
285
|
+
# @param [String] page_token
|
|
286
|
+
# Token to specify next page.
|
|
287
|
+
# @param [String] parameters
|
|
288
|
+
# Represents the application name, parameter name pairs to fetch in csv as
|
|
289
|
+
# app_name1:param_name1, app_name2:param_name2.
|
|
290
|
+
# @param [String] fields
|
|
291
|
+
# Selector specifying which fields to include in a partial response.
|
|
292
|
+
# @param [String] quota_user
|
|
293
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
294
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
295
|
+
# Overrides userIp if both are provided.
|
|
296
|
+
# @param [String] user_ip
|
|
297
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
298
|
+
# enforce per-user limits.
|
|
299
|
+
# @param [Google::Apis::RequestOptions] options
|
|
300
|
+
# Request-specific options
|
|
301
|
+
#
|
|
302
|
+
# @yield [result, err] Result & error if block supplied
|
|
303
|
+
# @yieldparam result [Google::Apis::AdminReportsV1::UsageReports] parsed result object
|
|
304
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
305
|
+
#
|
|
306
|
+
# @return [Google::Apis::AdminReportsV1::UsageReports]
|
|
307
|
+
#
|
|
308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
311
|
+
def get_entity_usage_report(entity_type, entity_key, date, customer_id: nil, filters: nil, max_results: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
312
|
+
command = make_simple_command(:get, 'usage/{entityType}/{entityKey}/dates/{date}', options)
|
|
313
|
+
command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
|
|
314
|
+
command.response_class = Google::Apis::AdminReportsV1::UsageReports
|
|
315
|
+
command.params['entityType'] = entity_type unless entity_type.nil?
|
|
316
|
+
command.params['entityKey'] = entity_key unless entity_key.nil?
|
|
317
|
+
command.params['date'] = date unless date.nil?
|
|
318
|
+
command.query['customerId'] = customer_id unless customer_id.nil?
|
|
319
|
+
command.query['filters'] = filters unless filters.nil?
|
|
320
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
321
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
322
|
+
command.query['parameters'] = parameters unless parameters.nil?
|
|
323
|
+
command.query['fields'] = fields unless fields.nil?
|
|
324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
325
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
326
|
+
execute_or_queue_command(command, &block)
|
|
327
|
+
end
|
|
328
|
+
|
|
271
329
|
# Retrieves a report which is a collection of properties / statistics for a set
|
|
272
330
|
# of users.
|
|
273
331
|
# @param [String] user_key
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
|
26
26
|
module AndroidenterpriseV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20171130'
|
|
29
29
|
|
|
30
30
|
# Manage corporate Android devices
|
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
|
@@ -1627,11 +1627,31 @@ module Google
|
|
|
1627
1627
|
# @return [String]
|
|
1628
1628
|
attr_accessor :author_name
|
|
1629
1629
|
|
|
1630
|
+
# The countries which this app is available in.
|
|
1631
|
+
# Corresponds to the JSON property `availableCountries`
|
|
1632
|
+
# @return [Array<String>]
|
|
1633
|
+
attr_accessor :available_countries
|
|
1634
|
+
|
|
1630
1635
|
# The tracks that are visible to the enterprise.
|
|
1631
1636
|
# Corresponds to the JSON property `availableTracks`
|
|
1632
1637
|
# @return [Array<String>]
|
|
1633
1638
|
attr_accessor :available_tracks
|
|
1634
1639
|
|
|
1640
|
+
# The app category (e.g. RACING, SOCIAL, etc.)
|
|
1641
|
+
# Corresponds to the JSON property `category`
|
|
1642
|
+
# @return [String]
|
|
1643
|
+
attr_accessor :category
|
|
1644
|
+
|
|
1645
|
+
# The content rating for this app.
|
|
1646
|
+
# Corresponds to the JSON property `contentRating`
|
|
1647
|
+
# @return [String]
|
|
1648
|
+
attr_accessor :content_rating
|
|
1649
|
+
|
|
1650
|
+
# A localized promotional description, if available.
|
|
1651
|
+
# Corresponds to the JSON property `description`
|
|
1652
|
+
# @return [String]
|
|
1653
|
+
attr_accessor :description
|
|
1654
|
+
|
|
1635
1655
|
# A link to the (consumer) Google Play details page for the product.
|
|
1636
1656
|
# Corresponds to the JSON property `detailsUrl`
|
|
1637
1657
|
# @return [String]
|
|
@@ -1659,6 +1679,22 @@ module Google
|
|
|
1659
1679
|
# @return [String]
|
|
1660
1680
|
attr_accessor :kind
|
|
1661
1681
|
|
|
1682
|
+
# The time (in milliseconds since epoch) when application was last published. (
|
|
1683
|
+
# Timestamp is approximate within 7 days of actual publish time.)
|
|
1684
|
+
# Corresponds to the JSON property `lastUpdatedTimestampMillis`
|
|
1685
|
+
# @return [Fixnum]
|
|
1686
|
+
attr_accessor :last_updated_timestamp_millis
|
|
1687
|
+
|
|
1688
|
+
# The minimum Android SDK necessary to run the app.
|
|
1689
|
+
# Corresponds to the JSON property `minAndroidSdkVersion`
|
|
1690
|
+
# @return [Fixnum]
|
|
1691
|
+
attr_accessor :min_android_sdk_version
|
|
1692
|
+
|
|
1693
|
+
# The permissions required for this app.
|
|
1694
|
+
# Corresponds to the JSON property `permissions`
|
|
1695
|
+
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]
|
|
1696
|
+
attr_accessor :permissions
|
|
1697
|
+
|
|
1662
1698
|
# A string of the form app:<package name>. For example, app:com.google.android.
|
|
1663
1699
|
# gm represents the Gmail app.
|
|
1664
1700
|
# Corresponds to the JSON property `productId`
|
|
@@ -1672,12 +1708,22 @@ module Google
|
|
|
1672
1708
|
# @return [String]
|
|
1673
1709
|
attr_accessor :product_pricing
|
|
1674
1710
|
|
|
1711
|
+
# A description of the recent changes made to the app.
|
|
1712
|
+
# Corresponds to the JSON property `recentChanges`
|
|
1713
|
+
# @return [String]
|
|
1714
|
+
attr_accessor :recent_changes
|
|
1715
|
+
|
|
1675
1716
|
# Deprecated.
|
|
1676
1717
|
# Corresponds to the JSON property `requiresContainerApp`
|
|
1677
1718
|
# @return [Boolean]
|
|
1678
1719
|
attr_accessor :requires_container_app
|
|
1679
1720
|
alias_method :requires_container_app?, :requires_container_app
|
|
1680
1721
|
|
|
1722
|
+
# A list of screenshot links representing the app.
|
|
1723
|
+
# Corresponds to the JSON property `screenshotUrls`
|
|
1724
|
+
# @return [Array<String>]
|
|
1725
|
+
attr_accessor :screenshot_urls
|
|
1726
|
+
|
|
1681
1727
|
# The certificate used to sign this product.
|
|
1682
1728
|
# Corresponds to the JSON property `signingCertificate`
|
|
1683
1729
|
# @return [Google::Apis::AndroidenterpriseV1::ProductSigningCertificate]
|
|
@@ -1708,14 +1754,23 @@ module Google
|
|
|
1708
1754
|
def update!(**args)
|
|
1709
1755
|
@app_version = args[:app_version] if args.key?(:app_version)
|
|
1710
1756
|
@author_name = args[:author_name] if args.key?(:author_name)
|
|
1757
|
+
@available_countries = args[:available_countries] if args.key?(:available_countries)
|
|
1711
1758
|
@available_tracks = args[:available_tracks] if args.key?(:available_tracks)
|
|
1759
|
+
@category = args[:category] if args.key?(:category)
|
|
1760
|
+
@content_rating = args[:content_rating] if args.key?(:content_rating)
|
|
1761
|
+
@description = args[:description] if args.key?(:description)
|
|
1712
1762
|
@details_url = args[:details_url] if args.key?(:details_url)
|
|
1713
1763
|
@distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel)
|
|
1714
1764
|
@icon_url = args[:icon_url] if args.key?(:icon_url)
|
|
1715
1765
|
@kind = args[:kind] if args.key?(:kind)
|
|
1766
|
+
@last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis)
|
|
1767
|
+
@min_android_sdk_version = args[:min_android_sdk_version] if args.key?(:min_android_sdk_version)
|
|
1768
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
|
1716
1769
|
@product_id = args[:product_id] if args.key?(:product_id)
|
|
1717
1770
|
@product_pricing = args[:product_pricing] if args.key?(:product_pricing)
|
|
1771
|
+
@recent_changes = args[:recent_changes] if args.key?(:recent_changes)
|
|
1718
1772
|
@requires_container_app = args[:requires_container_app] if args.key?(:requires_container_app)
|
|
1773
|
+
@screenshot_urls = args[:screenshot_urls] if args.key?(:screenshot_urls)
|
|
1719
1774
|
@signing_certificate = args[:signing_certificate] if args.key?(:signing_certificate)
|
|
1720
1775
|
@small_icon_url = args[:small_icon_url] if args.key?(:small_icon_url)
|
|
1721
1776
|
@title = args[:title] if args.key?(:title)
|
|
@@ -863,14 +863,24 @@ module Google
|
|
|
863
863
|
collection :app_version, as: 'appVersion', class: Google::Apis::AndroidenterpriseV1::AppVersion, decorator: Google::Apis::AndroidenterpriseV1::AppVersion::Representation
|
|
864
864
|
|
|
865
865
|
property :author_name, as: 'authorName'
|
|
866
|
+
collection :available_countries, as: 'availableCountries'
|
|
866
867
|
collection :available_tracks, as: 'availableTracks'
|
|
868
|
+
property :category, as: 'category'
|
|
869
|
+
property :content_rating, as: 'contentRating'
|
|
870
|
+
property :description, as: 'description'
|
|
867
871
|
property :details_url, as: 'detailsUrl'
|
|
868
872
|
property :distribution_channel, as: 'distributionChannel'
|
|
869
873
|
property :icon_url, as: 'iconUrl'
|
|
870
874
|
property :kind, as: 'kind'
|
|
875
|
+
property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis'
|
|
876
|
+
property :min_android_sdk_version, as: 'minAndroidSdkVersion'
|
|
877
|
+
collection :permissions, as: 'permissions', class: Google::Apis::AndroidenterpriseV1::ProductPermission, decorator: Google::Apis::AndroidenterpriseV1::ProductPermission::Representation
|
|
878
|
+
|
|
871
879
|
property :product_id, as: 'productId'
|
|
872
880
|
property :product_pricing, as: 'productPricing'
|
|
881
|
+
property :recent_changes, as: 'recentChanges'
|
|
873
882
|
property :requires_container_app, as: 'requiresContainerApp'
|
|
883
|
+
collection :screenshot_urls, as: 'screenshotUrls'
|
|
874
884
|
property :signing_certificate, as: 'signingCertificate', class: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate, decorator: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate::Representation
|
|
875
885
|
|
|
876
886
|
property :small_icon_url, as: 'smallIconUrl'
|
|
@@ -1512,7 +1512,7 @@ module Google
|
|
|
1512
1512
|
include Google::Apis::Core::Hashable
|
|
1513
1513
|
|
|
1514
1514
|
# Account types that cannot be managed by the user. <i>Requires the beta version
|
|
1515
|
-
# of Android
|
|
1515
|
+
# of the Android Device Policy app.</i>
|
|
1516
1516
|
# Corresponds to the JSON property `accountTypesWithManagementDisabled`
|
|
1517
1517
|
# @return [Array<String>]
|
|
1518
1518
|
attr_accessor :account_types_with_management_disabled
|
|
@@ -1555,15 +1555,15 @@ module Google
|
|
|
1555
1555
|
attr_accessor :block_applications_enabled
|
|
1556
1556
|
alias_method :block_applications_enabled?, :block_applications_enabled
|
|
1557
1557
|
|
|
1558
|
-
# Whether configuring bluetooth is disabled. <i>Requires the beta version of
|
|
1559
|
-
# Android
|
|
1558
|
+
# Whether configuring bluetooth is disabled. <i>Requires the beta version of the
|
|
1559
|
+
# Android Device Policy app.</i>
|
|
1560
1560
|
# Corresponds to the JSON property `bluetoothConfigDisabled`
|
|
1561
1561
|
# @return [Boolean]
|
|
1562
1562
|
attr_accessor :bluetooth_config_disabled
|
|
1563
1563
|
alias_method :bluetooth_config_disabled?, :bluetooth_config_disabled
|
|
1564
1564
|
|
|
1565
1565
|
# Whether bluetooth contact sharing is disabled. <i>Requires the beta version of
|
|
1566
|
-
# Android
|
|
1566
|
+
# the Android Device Policy app.</i>
|
|
1567
1567
|
# Corresponds to the JSON property `bluetoothContactSharingDisabled`
|
|
1568
1568
|
# @return [Boolean]
|
|
1569
1569
|
attr_accessor :bluetooth_contact_sharing_disabled
|
|
@@ -1571,7 +1571,7 @@ module Google
|
|
|
1571
1571
|
|
|
1572
1572
|
# Whether bluetooth is disabled. Prefer this setting over
|
|
1573
1573
|
# bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by
|
|
1574
|
-
# the user. <i>Requires the beta version of Android
|
|
1574
|
+
# the user. <i>Requires the beta version of the Android Device Policy app.</i>
|
|
1575
1575
|
# Corresponds to the JSON property `bluetoothDisabled`
|
|
1576
1576
|
# @return [Boolean]
|
|
1577
1577
|
attr_accessor :bluetooth_disabled
|
|
@@ -1584,7 +1584,7 @@ module Google
|
|
|
1584
1584
|
alias_method :camera_disabled?, :camera_disabled
|
|
1585
1585
|
|
|
1586
1586
|
# Whether configuring cell broadcast is disabled. <i>Requires the beta version
|
|
1587
|
-
# of Android
|
|
1587
|
+
# of the Android Device Policy app.</i>
|
|
1588
1588
|
# Corresponds to the JSON property `cellBroadcastsConfigDisabled`
|
|
1589
1589
|
# @return [Boolean]
|
|
1590
1590
|
attr_accessor :cell_broadcasts_config_disabled
|
|
@@ -1599,21 +1599,21 @@ module Google
|
|
|
1599
1599
|
attr_accessor :compliance_rules
|
|
1600
1600
|
|
|
1601
1601
|
# Whether creating windows besides app windows is disabled. <i>Requires the beta
|
|
1602
|
-
# version of Android
|
|
1602
|
+
# version of the Android Device Policy app.</i>
|
|
1603
1603
|
# Corresponds to the JSON property `createWindowsDisabled`
|
|
1604
1604
|
# @return [Boolean]
|
|
1605
1605
|
attr_accessor :create_windows_disabled
|
|
1606
1606
|
alias_method :create_windows_disabled?, :create_windows_disabled
|
|
1607
1607
|
|
|
1608
1608
|
# Whether configuring user credentials is disabled. <i>Requires the beta version
|
|
1609
|
-
# of Android
|
|
1609
|
+
# of the Android Device Policy app.</i>
|
|
1610
1610
|
# Corresponds to the JSON property `credentialsConfigDisabled`
|
|
1611
1611
|
# @return [Boolean]
|
|
1612
1612
|
attr_accessor :credentials_config_disabled
|
|
1613
1613
|
alias_method :credentials_config_disabled?, :credentials_config_disabled
|
|
1614
1614
|
|
|
1615
1615
|
# Whether roaming data services are disabled. <i>Requires the beta version of
|
|
1616
|
-
# Android
|
|
1616
|
+
# the Android Device Policy app.</i>
|
|
1617
1617
|
# Corresponds to the JSON property `dataRoamingDisabled`
|
|
1618
1618
|
# @return [Boolean]
|
|
1619
1619
|
attr_accessor :data_roaming_disabled
|
|
@@ -1631,7 +1631,7 @@ module Google
|
|
|
1631
1631
|
attr_accessor :default_permission_policy
|
|
1632
1632
|
|
|
1633
1633
|
# Whether application verification is forced to be enabled. <i>Requires the beta
|
|
1634
|
-
# version of Android
|
|
1634
|
+
# version of the Android Device Policy app.</i>
|
|
1635
1635
|
# Corresponds to the JSON property `ensureVerifyAppsEnabled`
|
|
1636
1636
|
# @return [Boolean]
|
|
1637
1637
|
attr_accessor :ensure_verify_apps_enabled
|
|
@@ -1659,7 +1659,7 @@ module Google
|
|
|
1659
1659
|
alias_method :fun_disabled?, :fun_disabled
|
|
1660
1660
|
|
|
1661
1661
|
# Whether user installation of apps is disabled. <i>Requires the beta version of
|
|
1662
|
-
# Android
|
|
1662
|
+
# the Android Device Policy app.</i>
|
|
1663
1663
|
# Corresponds to the JSON property `installAppsDisabled`
|
|
1664
1664
|
# @return [Boolean]
|
|
1665
1665
|
attr_accessor :install_apps_disabled
|
|
@@ -1679,7 +1679,7 @@ module Google
|
|
|
1679
1679
|
alias_method :keyguard_disabled?, :keyguard_disabled
|
|
1680
1680
|
|
|
1681
1681
|
# Disabled keyguard customizations, such as widgets. <i>Requires the beta
|
|
1682
|
-
# version of Android
|
|
1682
|
+
# version of the Android Device Policy app.</i>
|
|
1683
1683
|
# Corresponds to the JSON property `keyguardDisabledFeatures`
|
|
1684
1684
|
# @return [Array<String>]
|
|
1685
1685
|
attr_accessor :keyguard_disabled_features
|
|
@@ -1697,7 +1697,7 @@ module Google
|
|
|
1697
1697
|
attr_accessor :maximum_time_to_lock
|
|
1698
1698
|
|
|
1699
1699
|
# Whether configuring mobile networks is disabled. <i>Requires the beta version
|
|
1700
|
-
# of Android
|
|
1700
|
+
# of the Android Device Policy app.</i>
|
|
1701
1701
|
# Corresponds to the JSON property `mobileNetworksConfigDisabled`
|
|
1702
1702
|
# @return [Boolean]
|
|
1703
1703
|
attr_accessor :mobile_networks_config_disabled
|
|
@@ -1710,7 +1710,7 @@ module Google
|
|
|
1710
1710
|
alias_method :modify_accounts_disabled?, :modify_accounts_disabled
|
|
1711
1711
|
|
|
1712
1712
|
# Whether the user mounting physical external media is disabled. <i>Requires the
|
|
1713
|
-
# beta version of Android
|
|
1713
|
+
# beta version of the Android Device Policy app.</i>
|
|
1714
1714
|
# Corresponds to the JSON property `mountPhysicalMediaDisabled`
|
|
1715
1715
|
# @return [Boolean]
|
|
1716
1716
|
attr_accessor :mount_physical_media_disabled
|
|
@@ -1735,7 +1735,7 @@ module Google
|
|
|
1735
1735
|
alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled
|
|
1736
1736
|
|
|
1737
1737
|
# Whether resetting network settings is disabled. <i>Requires the beta version
|
|
1738
|
-
# of Android
|
|
1738
|
+
# of the Android Device Policy app.</i>
|
|
1739
1739
|
# Corresponds to the JSON property `networkResetDisabled`
|
|
1740
1740
|
# @return [Boolean]
|
|
1741
1741
|
attr_accessor :network_reset_disabled
|
|
@@ -1748,14 +1748,14 @@ module Google
|
|
|
1748
1748
|
attr_accessor :open_network_configuration
|
|
1749
1749
|
|
|
1750
1750
|
# Whether using NFC to beam out data from apps is disabled. <i>Requires the beta
|
|
1751
|
-
# version of Android
|
|
1751
|
+
# version of the Android Device Policy app.</i>
|
|
1752
1752
|
# Corresponds to the JSON property `outgoingBeamDisabled`
|
|
1753
1753
|
# @return [Boolean]
|
|
1754
1754
|
attr_accessor :outgoing_beam_disabled
|
|
1755
1755
|
alias_method :outgoing_beam_disabled?, :outgoing_beam_disabled
|
|
1756
1756
|
|
|
1757
|
-
# Whether outgoing calls are disabled. <i>Requires the beta version of
|
|
1758
|
-
#
|
|
1757
|
+
# Whether outgoing calls are disabled. <i>Requires the beta version of the
|
|
1758
|
+
# Android Device Policy app.</i>
|
|
1759
1759
|
# Corresponds to the JSON property `outgoingCallsDisabled`
|
|
1760
1760
|
# @return [Boolean]
|
|
1761
1761
|
attr_accessor :outgoing_calls_disabled
|
|
@@ -1801,14 +1801,14 @@ module Google
|
|
|
1801
1801
|
alias_method :screen_capture_disabled?, :screen_capture_disabled
|
|
1802
1802
|
|
|
1803
1803
|
# Whether changing the user icon is disabled. <i>Requires the beta version of
|
|
1804
|
-
# Android
|
|
1804
|
+
# the Android Device Policy app.</i>
|
|
1805
1805
|
# Corresponds to the JSON property `setUserIconDisabled`
|
|
1806
1806
|
# @return [Boolean]
|
|
1807
1807
|
attr_accessor :set_user_icon_disabled
|
|
1808
1808
|
alias_method :set_user_icon_disabled?, :set_user_icon_disabled
|
|
1809
1809
|
|
|
1810
1810
|
# Whether changing the wallpaper is disabled. <i>Requires the beta version of
|
|
1811
|
-
# Android
|
|
1811
|
+
# the Android Device Policy app.</i>
|
|
1812
1812
|
# Corresponds to the JSON property `setWallpaperDisabled`
|
|
1813
1813
|
# @return [Boolean]
|
|
1814
1814
|
attr_accessor :set_wallpaper_disabled
|
|
@@ -1821,7 +1821,7 @@ module Google
|
|
|
1821
1821
|
attr_accessor :short_support_message
|
|
1822
1822
|
|
|
1823
1823
|
# Whether sending or receiving SMS messages is disabled. <i>Requires the beta
|
|
1824
|
-
# version of Android
|
|
1824
|
+
# version of the Android Device Policy app.</i>
|
|
1825
1825
|
# Corresponds to the JSON property `smsDisabled`
|
|
1826
1826
|
# @return [Boolean]
|
|
1827
1827
|
attr_accessor :sms_disabled
|
|
@@ -1852,14 +1852,14 @@ module Google
|
|
|
1852
1852
|
attr_accessor :system_update
|
|
1853
1853
|
|
|
1854
1854
|
# Whether configuring tethering and portable hotspots is disabled. <i>Requires
|
|
1855
|
-
# the beta version of Android
|
|
1855
|
+
# the beta version of the Android Device Policy app.</i>
|
|
1856
1856
|
# Corresponds to the JSON property `tetheringConfigDisabled`
|
|
1857
1857
|
# @return [Boolean]
|
|
1858
1858
|
attr_accessor :tethering_config_disabled
|
|
1859
1859
|
alias_method :tethering_config_disabled?, :tethering_config_disabled
|
|
1860
1860
|
|
|
1861
1861
|
# Whether user uninstallation of applications is disabled. <i>Requires the beta
|
|
1862
|
-
# version of Android
|
|
1862
|
+
# version of the Android Device Policy app.</i>
|
|
1863
1863
|
# Corresponds to the JSON property `uninstallAppsDisabled`
|
|
1864
1864
|
# @return [Boolean]
|
|
1865
1865
|
attr_accessor :uninstall_apps_disabled
|
|
@@ -1872,7 +1872,7 @@ module Google
|
|
|
1872
1872
|
alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
|
|
1873
1873
|
|
|
1874
1874
|
# Whether transferring files over USB is disabled. <i>Requires the beta version
|
|
1875
|
-
# of Android
|
|
1875
|
+
# of the Android Device Policy app.</i>
|
|
1876
1876
|
# Corresponds to the JSON property `usbFileTransferDisabled`
|
|
1877
1877
|
# @return [Boolean]
|
|
1878
1878
|
attr_accessor :usb_file_transfer_disabled
|
|
@@ -1884,8 +1884,8 @@ module Google
|
|
|
1884
1884
|
# @return [Fixnum]
|
|
1885
1885
|
attr_accessor :version
|
|
1886
1886
|
|
|
1887
|
-
# Whether configuring VPN is disabled. <i>Requires the beta version of
|
|
1888
|
-
#
|
|
1887
|
+
# Whether configuring VPN is disabled. <i>Requires the beta version of the
|
|
1888
|
+
# Android Device Policy app.</i>
|
|
1889
1889
|
# Corresponds to the JSON property `vpnConfigDisabled`
|
|
1890
1890
|
# @return [Boolean]
|
|
1891
1891
|
attr_accessor :vpn_config_disabled
|