google-api-client 0.19.3 → 0.19.4
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 +39 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +212 -0
- data/generated/google/apis/analytics_v3/representations.rb +77 -0
- data/generated/google/apis/analytics_v3/service.rb +35 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -98
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -46
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -229
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +28 -49
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +12 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -14
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +10 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -69
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -20
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +37 -20
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +161 -13
- data/generated/google/apis/compute_alpha/representations.rb +55 -1
- data/generated/google/apis/compute_alpha/service.rb +3 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +102 -12
- data/generated/google/apis/compute_beta/representations.rb +14 -1
- data/generated/google/apis/compute_beta/service.rb +102 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +12 -5
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +3 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +10 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +10 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +428 -0
- data/generated/google/apis/content_v2/representations.rb +169 -0
- data/generated/google/apis/content_v2/service.rb +128 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +428 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +169 -0
- data/generated/google/apis/content_v2sandbox/service.rb +127 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -3
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +9 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -136
- data/generated/google/apis/ml_v1/representations.rb +0 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -6
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -9
- data/generated/google/apis/oslogin_v1/representations.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -9
- data/generated/google/apis/oslogin_v1alpha/representations.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -9
- data/generated/google/apis/oslogin_v1beta/representations.rb +0 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +5 -2
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -146
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -34
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -10
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +0 -65
- data/generated/google/apis/speech_v1/representations.rb +0 -40
- data/generated/google/apis/speech_v1/service.rb +0 -122
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -44
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -27
- data/generated/google/apis/speech_v1beta1/service.rb +0 -119
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -436,24 +436,6 @@ module Google
|
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
|
437
437
|
end
|
|
438
438
|
|
|
439
|
-
class WebApp
|
|
440
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
-
|
|
442
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
-
end
|
|
444
|
-
|
|
445
|
-
class WebAppImage
|
|
446
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
-
|
|
448
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
-
end
|
|
450
|
-
|
|
451
|
-
class WebAppsListResponse
|
|
452
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
-
|
|
454
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
-
end
|
|
456
|
-
|
|
457
439
|
class Administrator
|
|
458
440
|
# @private
|
|
459
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -800,6 +782,7 @@ module Google
|
|
|
800
782
|
# @private
|
|
801
783
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
802
784
|
property :device_id, as: 'deviceId'
|
|
785
|
+
property :dpc_package_name, as: 'dpcPackageName'
|
|
803
786
|
property :management_type, as: 'managementType'
|
|
804
787
|
property :user_id, as: 'userId'
|
|
805
788
|
end
|
|
@@ -1140,34 +1123,6 @@ module Google
|
|
|
1140
1123
|
property :user_value, as: 'userValue'
|
|
1141
1124
|
end
|
|
1142
1125
|
end
|
|
1143
|
-
|
|
1144
|
-
class WebApp
|
|
1145
|
-
# @private
|
|
1146
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1147
|
-
collection :icons, as: 'icons', class: Google::Apis::AndroidenterpriseV1::WebAppImage, decorator: Google::Apis::AndroidenterpriseV1::WebAppImage::Representation
|
|
1148
|
-
|
|
1149
|
-
property :name, as: 'name'
|
|
1150
|
-
property :start_url, as: 'startUrl'
|
|
1151
|
-
property :web_app_id, as: 'webAppId'
|
|
1152
|
-
end
|
|
1153
|
-
end
|
|
1154
|
-
|
|
1155
|
-
class WebAppImage
|
|
1156
|
-
# @private
|
|
1157
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1158
|
-
property :image_data, :base64 => true, as: 'imageData'
|
|
1159
|
-
collection :purposes, as: 'purposes'
|
|
1160
|
-
end
|
|
1161
|
-
end
|
|
1162
|
-
|
|
1163
|
-
class WebAppsListResponse
|
|
1164
|
-
# @private
|
|
1165
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1166
|
-
property :kind, as: 'kind'
|
|
1167
|
-
collection :web_app, as: 'webApp', class: Google::Apis::AndroidenterpriseV1::WebApp, decorator: Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
1168
|
-
|
|
1169
|
-
end
|
|
1170
|
-
end
|
|
1171
1126
|
end
|
|
1172
1127
|
end
|
|
1173
1128
|
end
|
|
@@ -3518,235 +3518,6 @@ module Google
|
|
|
3518
3518
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3519
3519
|
execute_or_queue_command(command, &block)
|
|
3520
3520
|
end
|
|
3521
|
-
|
|
3522
|
-
# Deletes an existing web app.
|
|
3523
|
-
# @param [String] enterprise_id
|
|
3524
|
-
# The ID of the enterprise.
|
|
3525
|
-
# @param [String] web_app_id
|
|
3526
|
-
# The ID of the web app.
|
|
3527
|
-
# @param [String] fields
|
|
3528
|
-
# Selector specifying which fields to include in a partial response.
|
|
3529
|
-
# @param [String] quota_user
|
|
3530
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3531
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3532
|
-
# Overrides userIp if both are provided.
|
|
3533
|
-
# @param [String] user_ip
|
|
3534
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
3535
|
-
# enforce per-user limits.
|
|
3536
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3537
|
-
# Request-specific options
|
|
3538
|
-
#
|
|
3539
|
-
# @yield [result, err] Result & error if block supplied
|
|
3540
|
-
# @yieldparam result [NilClass] No result returned for this method
|
|
3541
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3542
|
-
#
|
|
3543
|
-
# @return [void]
|
|
3544
|
-
#
|
|
3545
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3546
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3547
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3548
|
-
def delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3549
|
-
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
|
3550
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3551
|
-
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
3552
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3553
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3554
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3555
|
-
execute_or_queue_command(command, &block)
|
|
3556
|
-
end
|
|
3557
|
-
|
|
3558
|
-
# Gets an existing web app.
|
|
3559
|
-
# @param [String] enterprise_id
|
|
3560
|
-
# The ID of the enterprise.
|
|
3561
|
-
# @param [String] web_app_id
|
|
3562
|
-
# The ID of the web app.
|
|
3563
|
-
# @param [String] fields
|
|
3564
|
-
# Selector specifying which fields to include in a partial response.
|
|
3565
|
-
# @param [String] quota_user
|
|
3566
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3567
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3568
|
-
# Overrides userIp if both are provided.
|
|
3569
|
-
# @param [String] user_ip
|
|
3570
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
3571
|
-
# enforce per-user limits.
|
|
3572
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3573
|
-
# Request-specific options
|
|
3574
|
-
#
|
|
3575
|
-
# @yield [result, err] Result & error if block supplied
|
|
3576
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
|
3577
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3578
|
-
#
|
|
3579
|
-
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
|
3580
|
-
#
|
|
3581
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3582
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3583
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3584
|
-
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3585
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
|
3586
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3587
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
|
3588
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3589
|
-
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
3590
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3591
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3592
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3593
|
-
execute_or_queue_command(command, &block)
|
|
3594
|
-
end
|
|
3595
|
-
|
|
3596
|
-
# Creates a new web app for the enterprise.
|
|
3597
|
-
# @param [String] enterprise_id
|
|
3598
|
-
# The ID of the enterprise.
|
|
3599
|
-
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
|
3600
|
-
# @param [String] fields
|
|
3601
|
-
# Selector specifying which fields to include in a partial response.
|
|
3602
|
-
# @param [String] quota_user
|
|
3603
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3604
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3605
|
-
# Overrides userIp if both are provided.
|
|
3606
|
-
# @param [String] user_ip
|
|
3607
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
3608
|
-
# enforce per-user limits.
|
|
3609
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3610
|
-
# Request-specific options
|
|
3611
|
-
#
|
|
3612
|
-
# @yield [result, err] Result & error if block supplied
|
|
3613
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
|
3614
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3615
|
-
#
|
|
3616
|
-
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
|
3617
|
-
#
|
|
3618
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3619
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3620
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3621
|
-
def insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3622
|
-
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webapps', options)
|
|
3623
|
-
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3624
|
-
command.request_object = web_app_object
|
|
3625
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3626
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
|
3627
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3628
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3629
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3630
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3631
|
-
execute_or_queue_command(command, &block)
|
|
3632
|
-
end
|
|
3633
|
-
|
|
3634
|
-
# Retrieves the details of all web apps for a given enterprise.
|
|
3635
|
-
# @param [String] enterprise_id
|
|
3636
|
-
# The ID of the enterprise.
|
|
3637
|
-
# @param [String] fields
|
|
3638
|
-
# Selector specifying which fields to include in a partial response.
|
|
3639
|
-
# @param [String] quota_user
|
|
3640
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3641
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3642
|
-
# Overrides userIp if both are provided.
|
|
3643
|
-
# @param [String] user_ip
|
|
3644
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
3645
|
-
# enforce per-user limits.
|
|
3646
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3647
|
-
# Request-specific options
|
|
3648
|
-
#
|
|
3649
|
-
# @yield [result, err] Result & error if block supplied
|
|
3650
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebAppsListResponse] parsed result object
|
|
3651
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3652
|
-
#
|
|
3653
|
-
# @return [Google::Apis::AndroidenterpriseV1::WebAppsListResponse]
|
|
3654
|
-
#
|
|
3655
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3656
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3657
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3658
|
-
def list_webapps(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3659
|
-
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webapps', options)
|
|
3660
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::WebAppsListResponse::Representation
|
|
3661
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::WebAppsListResponse
|
|
3662
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3663
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3664
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3665
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3666
|
-
execute_or_queue_command(command, &block)
|
|
3667
|
-
end
|
|
3668
|
-
|
|
3669
|
-
# Updates an existing web app. This method supports patch semantics.
|
|
3670
|
-
# @param [String] enterprise_id
|
|
3671
|
-
# The ID of the enterprise.
|
|
3672
|
-
# @param [String] web_app_id
|
|
3673
|
-
# The ID of the web app.
|
|
3674
|
-
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
|
3675
|
-
# @param [String] fields
|
|
3676
|
-
# Selector specifying which fields to include in a partial response.
|
|
3677
|
-
# @param [String] quota_user
|
|
3678
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3679
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3680
|
-
# Overrides userIp if both are provided.
|
|
3681
|
-
# @param [String] user_ip
|
|
3682
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
3683
|
-
# enforce per-user limits.
|
|
3684
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3685
|
-
# Request-specific options
|
|
3686
|
-
#
|
|
3687
|
-
# @yield [result, err] Result & error if block supplied
|
|
3688
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
|
3689
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3690
|
-
#
|
|
3691
|
-
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
|
3692
|
-
#
|
|
3693
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3694
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3695
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3696
|
-
def patch_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3697
|
-
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
|
3698
|
-
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3699
|
-
command.request_object = web_app_object
|
|
3700
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3701
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
|
3702
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3703
|
-
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
3704
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3705
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3706
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3707
|
-
execute_or_queue_command(command, &block)
|
|
3708
|
-
end
|
|
3709
|
-
|
|
3710
|
-
# Updates an existing web app.
|
|
3711
|
-
# @param [String] enterprise_id
|
|
3712
|
-
# The ID of the enterprise.
|
|
3713
|
-
# @param [String] web_app_id
|
|
3714
|
-
# The ID of the web app.
|
|
3715
|
-
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_object
|
|
3716
|
-
# @param [String] fields
|
|
3717
|
-
# Selector specifying which fields to include in a partial response.
|
|
3718
|
-
# @param [String] quota_user
|
|
3719
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
3720
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3721
|
-
# Overrides userIp if both are provided.
|
|
3722
|
-
# @param [String] user_ip
|
|
3723
|
-
# IP address of the site where the request originates. Use this if you want to
|
|
3724
|
-
# enforce per-user limits.
|
|
3725
|
-
# @param [Google::Apis::RequestOptions] options
|
|
3726
|
-
# Request-specific options
|
|
3727
|
-
#
|
|
3728
|
-
# @yield [result, err] Result & error if block supplied
|
|
3729
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::WebApp] parsed result object
|
|
3730
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
3731
|
-
#
|
|
3732
|
-
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
|
3733
|
-
#
|
|
3734
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3735
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3736
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3737
|
-
def update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3738
|
-
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
|
3739
|
-
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3740
|
-
command.request_object = web_app_object
|
|
3741
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
|
3742
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
|
3743
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
|
3744
|
-
command.params['webAppId'] = web_app_id unless web_app_id.nil?
|
|
3745
|
-
command.query['fields'] = fields unless fields.nil?
|
|
3746
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3747
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3748
|
-
execute_or_queue_command(command, &block)
|
|
3749
|
-
end
|
|
3750
3521
|
|
|
3751
3522
|
protected
|
|
3752
3523
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/android/management
|
|
27
27
|
module AndroidmanagementV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180108'
|
|
30
30
|
|
|
31
31
|
# Manage Android devices and apps for your customers
|
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
|
@@ -1574,8 +1574,7 @@ module Google
|
|
|
1574
1574
|
class Policy
|
|
1575
1575
|
include Google::Apis::Core::Hashable
|
|
1576
1576
|
|
|
1577
|
-
# Account types that cannot be managed by the user.
|
|
1578
|
-
# of the Android Device Policy app.</i>
|
|
1577
|
+
# Account types that cannot be managed by the user.
|
|
1579
1578
|
# Corresponds to the JSON property `accountTypesWithManagementDisabled`
|
|
1580
1579
|
# @return [Array<String>]
|
|
1581
1580
|
attr_accessor :account_types_with_management_disabled
|
|
@@ -1618,15 +1617,13 @@ module Google
|
|
|
1618
1617
|
attr_accessor :block_applications_enabled
|
|
1619
1618
|
alias_method :block_applications_enabled?, :block_applications_enabled
|
|
1620
1619
|
|
|
1621
|
-
# Whether configuring bluetooth is disabled.
|
|
1622
|
-
# Android Device Policy app.</i>
|
|
1620
|
+
# Whether configuring bluetooth is disabled.
|
|
1623
1621
|
# Corresponds to the JSON property `bluetoothConfigDisabled`
|
|
1624
1622
|
# @return [Boolean]
|
|
1625
1623
|
attr_accessor :bluetooth_config_disabled
|
|
1626
1624
|
alias_method :bluetooth_config_disabled?, :bluetooth_config_disabled
|
|
1627
1625
|
|
|
1628
|
-
# Whether bluetooth contact sharing is disabled.
|
|
1629
|
-
# the Android Device Policy app.</i>
|
|
1626
|
+
# Whether bluetooth contact sharing is disabled.
|
|
1630
1627
|
# Corresponds to the JSON property `bluetoothContactSharingDisabled`
|
|
1631
1628
|
# @return [Boolean]
|
|
1632
1629
|
attr_accessor :bluetooth_contact_sharing_disabled
|
|
@@ -1634,7 +1631,7 @@ module Google
|
|
|
1634
1631
|
|
|
1635
1632
|
# Whether bluetooth is disabled. Prefer this setting over
|
|
1636
1633
|
# bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by
|
|
1637
|
-
# the user.
|
|
1634
|
+
# the user.
|
|
1638
1635
|
# Corresponds to the JSON property `bluetoothDisabled`
|
|
1639
1636
|
# @return [Boolean]
|
|
1640
1637
|
attr_accessor :bluetooth_disabled
|
|
@@ -1646,8 +1643,7 @@ module Google
|
|
|
1646
1643
|
attr_accessor :camera_disabled
|
|
1647
1644
|
alias_method :camera_disabled?, :camera_disabled
|
|
1648
1645
|
|
|
1649
|
-
# Whether configuring cell broadcast is disabled.
|
|
1650
|
-
# of the Android Device Policy app.</i>
|
|
1646
|
+
# Whether configuring cell broadcast is disabled.
|
|
1651
1647
|
# Corresponds to the JSON property `cellBroadcastsConfigDisabled`
|
|
1652
1648
|
# @return [Boolean]
|
|
1653
1649
|
attr_accessor :cell_broadcasts_config_disabled
|
|
@@ -1661,22 +1657,19 @@ module Google
|
|
|
1661
1657
|
# @return [Array<Google::Apis::AndroidmanagementV1::ComplianceRule>]
|
|
1662
1658
|
attr_accessor :compliance_rules
|
|
1663
1659
|
|
|
1664
|
-
# Whether creating windows besides app windows is disabled.
|
|
1665
|
-
# version of the Android Device Policy app.</i>
|
|
1660
|
+
# Whether creating windows besides app windows is disabled.
|
|
1666
1661
|
# Corresponds to the JSON property `createWindowsDisabled`
|
|
1667
1662
|
# @return [Boolean]
|
|
1668
1663
|
attr_accessor :create_windows_disabled
|
|
1669
1664
|
alias_method :create_windows_disabled?, :create_windows_disabled
|
|
1670
1665
|
|
|
1671
|
-
# Whether configuring user credentials is disabled.
|
|
1672
|
-
# of the Android Device Policy app.</i>
|
|
1666
|
+
# Whether configuring user credentials is disabled.
|
|
1673
1667
|
# Corresponds to the JSON property `credentialsConfigDisabled`
|
|
1674
1668
|
# @return [Boolean]
|
|
1675
1669
|
attr_accessor :credentials_config_disabled
|
|
1676
1670
|
alias_method :credentials_config_disabled?, :credentials_config_disabled
|
|
1677
1671
|
|
|
1678
|
-
# Whether roaming data services are disabled.
|
|
1679
|
-
# the Android Device Policy app.</i>
|
|
1672
|
+
# Whether roaming data services are disabled.
|
|
1680
1673
|
# Corresponds to the JSON property `dataRoamingDisabled`
|
|
1681
1674
|
# @return [Boolean]
|
|
1682
1675
|
attr_accessor :data_roaming_disabled
|
|
@@ -1693,8 +1686,7 @@ module Google
|
|
|
1693
1686
|
# @return [String]
|
|
1694
1687
|
attr_accessor :default_permission_policy
|
|
1695
1688
|
|
|
1696
|
-
# Whether application verification is forced to be enabled.
|
|
1697
|
-
# version of the Android Device Policy app.</i>
|
|
1689
|
+
# Whether application verification is forced to be enabled.
|
|
1698
1690
|
# Corresponds to the JSON property `ensureVerifyAppsEnabled`
|
|
1699
1691
|
# @return [Boolean]
|
|
1700
1692
|
attr_accessor :ensure_verify_apps_enabled
|
|
@@ -1721,8 +1713,7 @@ module Google
|
|
|
1721
1713
|
attr_accessor :fun_disabled
|
|
1722
1714
|
alias_method :fun_disabled?, :fun_disabled
|
|
1723
1715
|
|
|
1724
|
-
# Whether user installation of apps is disabled.
|
|
1725
|
-
# the Android Device Policy app.</i>
|
|
1716
|
+
# Whether user installation of apps is disabled.
|
|
1726
1717
|
# Corresponds to the JSON property `installAppsDisabled`
|
|
1727
1718
|
# @return [Boolean]
|
|
1728
1719
|
attr_accessor :install_apps_disabled
|
|
@@ -1741,16 +1732,16 @@ module Google
|
|
|
1741
1732
|
attr_accessor :keyguard_disabled
|
|
1742
1733
|
alias_method :keyguard_disabled?, :keyguard_disabled
|
|
1743
1734
|
|
|
1744
|
-
# Disabled keyguard customizations, such as widgets.
|
|
1745
|
-
# version of the Android Device Policy app.</i>
|
|
1735
|
+
# Disabled keyguard customizations, such as widgets.
|
|
1746
1736
|
# Corresponds to the JSON property `keyguardDisabledFeatures`
|
|
1747
1737
|
# @return [Array<String>]
|
|
1748
1738
|
attr_accessor :keyguard_disabled_features
|
|
1749
1739
|
|
|
1750
|
-
#
|
|
1751
|
-
#
|
|
1752
|
-
#
|
|
1753
|
-
#
|
|
1740
|
+
# Whether the kiosk custom launcher is enabled. This replaces the home screen
|
|
1741
|
+
# with a launcher that locks down the device to the apps installed via the
|
|
1742
|
+
# applications setting. The apps appear on a single page in alphabetical order.
|
|
1743
|
+
# It is recommended to also use status_bar_disabled to block access to device
|
|
1744
|
+
# settings.
|
|
1754
1745
|
# Corresponds to the JSON property `kioskCustomLauncherEnabled`
|
|
1755
1746
|
# @return [Boolean]
|
|
1756
1747
|
attr_accessor :kiosk_custom_launcher_enabled
|
|
@@ -1768,8 +1759,7 @@ module Google
|
|
|
1768
1759
|
# @return [Fixnum]
|
|
1769
1760
|
attr_accessor :maximum_time_to_lock
|
|
1770
1761
|
|
|
1771
|
-
# Whether configuring mobile networks is disabled.
|
|
1772
|
-
# of the Android Device Policy app.</i>
|
|
1762
|
+
# Whether configuring mobile networks is disabled.
|
|
1773
1763
|
# Corresponds to the JSON property `mobileNetworksConfigDisabled`
|
|
1774
1764
|
# @return [Boolean]
|
|
1775
1765
|
attr_accessor :mobile_networks_config_disabled
|
|
@@ -1781,8 +1771,7 @@ module Google
|
|
|
1781
1771
|
attr_accessor :modify_accounts_disabled
|
|
1782
1772
|
alias_method :modify_accounts_disabled?, :modify_accounts_disabled
|
|
1783
1773
|
|
|
1784
|
-
# Whether the user mounting physical external media is disabled.
|
|
1785
|
-
# beta version of the Android Device Policy app.</i>
|
|
1774
|
+
# Whether the user mounting physical external media is disabled.
|
|
1786
1775
|
# Corresponds to the JSON property `mountPhysicalMediaDisabled`
|
|
1787
1776
|
# @return [Boolean]
|
|
1788
1777
|
attr_accessor :mount_physical_media_disabled
|
|
@@ -1806,8 +1795,7 @@ module Google
|
|
|
1806
1795
|
attr_accessor :network_escape_hatch_enabled
|
|
1807
1796
|
alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled
|
|
1808
1797
|
|
|
1809
|
-
# Whether resetting network settings is disabled.
|
|
1810
|
-
# of the Android Device Policy app.</i>
|
|
1798
|
+
# Whether resetting network settings is disabled.
|
|
1811
1799
|
# Corresponds to the JSON property `networkResetDisabled`
|
|
1812
1800
|
# @return [Boolean]
|
|
1813
1801
|
attr_accessor :network_reset_disabled
|
|
@@ -1819,15 +1807,13 @@ module Google
|
|
|
1819
1807
|
# @return [Hash<String,Object>]
|
|
1820
1808
|
attr_accessor :open_network_configuration
|
|
1821
1809
|
|
|
1822
|
-
# Whether using NFC to beam out data from apps is disabled.
|
|
1823
|
-
# version of the Android Device Policy app.</i>
|
|
1810
|
+
# Whether using NFC to beam out data from apps is disabled.
|
|
1824
1811
|
# Corresponds to the JSON property `outgoingBeamDisabled`
|
|
1825
1812
|
# @return [Boolean]
|
|
1826
1813
|
attr_accessor :outgoing_beam_disabled
|
|
1827
1814
|
alias_method :outgoing_beam_disabled?, :outgoing_beam_disabled
|
|
1828
1815
|
|
|
1829
|
-
# Whether outgoing calls are disabled.
|
|
1830
|
-
# Android Device Policy app.</i>
|
|
1816
|
+
# Whether outgoing calls are disabled.
|
|
1831
1817
|
# Corresponds to the JSON property `outgoingCallsDisabled`
|
|
1832
1818
|
# @return [Boolean]
|
|
1833
1819
|
attr_accessor :outgoing_calls_disabled
|
|
@@ -1872,15 +1858,13 @@ module Google
|
|
|
1872
1858
|
attr_accessor :screen_capture_disabled
|
|
1873
1859
|
alias_method :screen_capture_disabled?, :screen_capture_disabled
|
|
1874
1860
|
|
|
1875
|
-
# Whether changing the user icon is disabled.
|
|
1876
|
-
# the Android Device Policy app.</i>
|
|
1861
|
+
# Whether changing the user icon is disabled.
|
|
1877
1862
|
# Corresponds to the JSON property `setUserIconDisabled`
|
|
1878
1863
|
# @return [Boolean]
|
|
1879
1864
|
attr_accessor :set_user_icon_disabled
|
|
1880
1865
|
alias_method :set_user_icon_disabled?, :set_user_icon_disabled
|
|
1881
1866
|
|
|
1882
|
-
# Whether changing the wallpaper is disabled.
|
|
1883
|
-
# the Android Device Policy app.</i>
|
|
1867
|
+
# Whether changing the wallpaper is disabled.
|
|
1884
1868
|
# Corresponds to the JSON property `setWallpaperDisabled`
|
|
1885
1869
|
# @return [Boolean]
|
|
1886
1870
|
attr_accessor :set_wallpaper_disabled
|
|
@@ -1892,8 +1876,7 @@ module Google
|
|
|
1892
1876
|
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
|
1893
1877
|
attr_accessor :short_support_message
|
|
1894
1878
|
|
|
1895
|
-
# Whether sending or receiving SMS messages is disabled.
|
|
1896
|
-
# version of the Android Device Policy app.</i>
|
|
1879
|
+
# Whether sending or receiving SMS messages is disabled.
|
|
1897
1880
|
# Corresponds to the JSON property `smsDisabled`
|
|
1898
1881
|
# @return [Boolean]
|
|
1899
1882
|
attr_accessor :sms_disabled
|
|
@@ -1923,15 +1906,13 @@ module Google
|
|
|
1923
1906
|
# @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
|
|
1924
1907
|
attr_accessor :system_update
|
|
1925
1908
|
|
|
1926
|
-
# Whether configuring tethering and portable hotspots is disabled.
|
|
1927
|
-
# the beta version of the Android Device Policy app.</i>
|
|
1909
|
+
# Whether configuring tethering and portable hotspots is disabled.
|
|
1928
1910
|
# Corresponds to the JSON property `tetheringConfigDisabled`
|
|
1929
1911
|
# @return [Boolean]
|
|
1930
1912
|
attr_accessor :tethering_config_disabled
|
|
1931
1913
|
alias_method :tethering_config_disabled?, :tethering_config_disabled
|
|
1932
1914
|
|
|
1933
|
-
# Whether user uninstallation of applications is disabled.
|
|
1934
|
-
# version of the Android Device Policy app.</i>
|
|
1915
|
+
# Whether user uninstallation of applications is disabled.
|
|
1935
1916
|
# Corresponds to the JSON property `uninstallAppsDisabled`
|
|
1936
1917
|
# @return [Boolean]
|
|
1937
1918
|
attr_accessor :uninstall_apps_disabled
|
|
@@ -1943,8 +1924,7 @@ module Google
|
|
|
1943
1924
|
attr_accessor :unmute_microphone_disabled
|
|
1944
1925
|
alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
|
|
1945
1926
|
|
|
1946
|
-
# Whether transferring files over USB is disabled.
|
|
1947
|
-
# of the Android Device Policy app.</i>
|
|
1927
|
+
# Whether transferring files over USB is disabled.
|
|
1948
1928
|
# Corresponds to the JSON property `usbFileTransferDisabled`
|
|
1949
1929
|
# @return [Boolean]
|
|
1950
1930
|
attr_accessor :usb_file_transfer_disabled
|
|
@@ -1956,8 +1936,7 @@ module Google
|
|
|
1956
1936
|
# @return [Fixnum]
|
|
1957
1937
|
attr_accessor :version
|
|
1958
1938
|
|
|
1959
|
-
# Whether configuring VPN is disabled.
|
|
1960
|
-
# Android Device Policy app.</i>
|
|
1939
|
+
# Whether configuring VPN is disabled.
|
|
1961
1940
|
# Corresponds to the JSON property `vpnConfigDisabled`
|
|
1962
1941
|
# @return [Boolean]
|
|
1963
1942
|
attr_accessor :vpn_config_disabled
|