google-api-client 0.13.4 → 0.13.5
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 +43 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +33 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +16 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +10 -1
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -253
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -99
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +12 -6
- data/generated/google/apis/cloudtrace_v2/representations.rb +2 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +72 -15
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +58 -15
- data/generated/google/apis/container_v1beta1/representations.rb +5 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +16 -0
- data/generated/google/apis/content_v2/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +87 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +46 -0
- data/generated/google/apis/datastore_v1beta1.rb +38 -0
- data/generated/google/apis/datastore_v1beta1/classes.rb +567 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +191 -0
- data/generated/google/apis/datastore_v1beta1/service.rb +137 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/service.rb +142 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +6 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +6 -6
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +6 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +6 -6
- data/generated/google/apis/firebaseremoteconfig_v1.rb +32 -0
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +180 -0
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +87 -0
- data/generated/google/apis/firebaseremoteconfig_v1/service.rb +153 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +444 -18
- data/generated/google/apis/logging_v2/representations.rb +119 -0
- data/generated/google/apis/logging_v2/service.rb +808 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +367 -18
- data/generated/google/apis/logging_v2beta1/representations.rb +88 -0
- data/generated/google/apis/logging_v2beta1/service.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1 -254
- data/generated/google/apis/ml_v1/representations.rb +0 -99
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +213 -0
- data/generated/google/apis/monitoring_v3/representations.rb +61 -0
- data/generated/google/apis/monitoring_v3/service.rb +4 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +37 -0
- data/generated/google/apis/people_v1/representations.rb +18 -0
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +13 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +10 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +5 -3
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +48 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +48 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +2 -2
- data/generated/google/apis/vault_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +137 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +62 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +80 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -2
|
@@ -507,6 +507,54 @@ module Google
|
|
|
507
507
|
execute_or_queue_command(command, &block)
|
|
508
508
|
end
|
|
509
509
|
|
|
510
|
+
# Retrieves a single screenshot cluster by its ID
|
|
511
|
+
# @param [String] project_id
|
|
512
|
+
# A Project id.
|
|
513
|
+
# Required.
|
|
514
|
+
# @param [String] history_id
|
|
515
|
+
# A History id.
|
|
516
|
+
# Required.
|
|
517
|
+
# @param [String] execution_id
|
|
518
|
+
# An Execution id.
|
|
519
|
+
# Required.
|
|
520
|
+
# @param [String] cluster_id
|
|
521
|
+
# A Cluster id
|
|
522
|
+
# Required.
|
|
523
|
+
# @param [String] fields
|
|
524
|
+
# Selector specifying which fields to include in a partial response.
|
|
525
|
+
# @param [String] quota_user
|
|
526
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
527
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
528
|
+
# Overrides userIp if both are provided.
|
|
529
|
+
# @param [String] user_ip
|
|
530
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
531
|
+
# enforce per-user limits.
|
|
532
|
+
# @param [Google::Apis::RequestOptions] options
|
|
533
|
+
# Request-specific options
|
|
534
|
+
#
|
|
535
|
+
# @yield [result, err] Result & error if block supplied
|
|
536
|
+
# @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster] parsed result object
|
|
537
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
538
|
+
#
|
|
539
|
+
# @return [Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster]
|
|
540
|
+
#
|
|
541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
544
|
+
def get_project_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
545
|
+
command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options)
|
|
546
|
+
command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster::Representation
|
|
547
|
+
command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster
|
|
548
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
549
|
+
command.params['historyId'] = history_id unless history_id.nil?
|
|
550
|
+
command.params['executionId'] = execution_id unless execution_id.nil?
|
|
551
|
+
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
|
552
|
+
command.query['fields'] = fields unless fields.nil?
|
|
553
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
554
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
555
|
+
execute_or_queue_command(command, &block)
|
|
556
|
+
end
|
|
557
|
+
|
|
510
558
|
# Lists Screenshot Clusters
|
|
511
559
|
# Returns the list of screenshot clusters corresponding to an execution.
|
|
512
560
|
# Screenshot clusters are created after the execution is finished. Clusters are
|
|
@@ -149,8 +149,8 @@ module Google
|
|
|
149
149
|
class HeldAccount
|
|
150
150
|
include Google::Apis::Core::Hashable
|
|
151
151
|
|
|
152
|
-
# The account's ID as provided by the
|
|
153
|
-
# href="https://developers.google.com/admin-sdk/">Admin SDK</a>.
|
|
152
|
+
# The account's ID as provided by the
|
|
153
|
+
# <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>.
|
|
154
154
|
# Corresponds to the JSON property `accountId`
|
|
155
155
|
# @return [String]
|
|
156
156
|
attr_accessor :account_id
|
|
@@ -630,8 +630,8 @@ module Google
|
|
|
630
630
|
end
|
|
631
631
|
|
|
632
632
|
# Lists HeldAccounts for a hold. This will only list individually specified
|
|
633
|
-
# held accounts. If the hold is on an OU, then use
|
|
634
|
-
# developers.google.com/admin-sdk/">Admin SDK</a>
|
|
633
|
+
# held accounts. If the hold is on an OU, then use
|
|
634
|
+
# <a href="https://developers.google.com/admin-sdk/">Admin SDK</a>
|
|
635
635
|
# to enumerate its members.
|
|
636
636
|
# @param [String] matter_id
|
|
637
637
|
# The matter ID.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
|
26
26
|
module YoutubePartnerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170828'
|
|
29
29
|
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
|
@@ -3658,6 +3658,70 @@ module Google
|
|
|
3658
3658
|
end
|
|
3659
3659
|
end
|
|
3660
3660
|
|
|
3661
|
+
#
|
|
3662
|
+
class ValidateAsyncRequest
|
|
3663
|
+
include Google::Apis::Core::Hashable
|
|
3664
|
+
|
|
3665
|
+
# The metadata file contents.
|
|
3666
|
+
# Corresponds to the JSON property `content`
|
|
3667
|
+
# @return [String]
|
|
3668
|
+
attr_accessor :content
|
|
3669
|
+
|
|
3670
|
+
# The type of the API resource. For this operation, the value is youtubePartner#
|
|
3671
|
+
# validateAsyncRequest.
|
|
3672
|
+
# Corresponds to the JSON property `kind`
|
|
3673
|
+
# @return [String]
|
|
3674
|
+
attr_accessor :kind
|
|
3675
|
+
|
|
3676
|
+
# The uploader name.
|
|
3677
|
+
# Corresponds to the JSON property `uploaderName`
|
|
3678
|
+
# @return [String]
|
|
3679
|
+
attr_accessor :uploader_name
|
|
3680
|
+
|
|
3681
|
+
def initialize(**args)
|
|
3682
|
+
update!(**args)
|
|
3683
|
+
end
|
|
3684
|
+
|
|
3685
|
+
# Update properties of this object
|
|
3686
|
+
def update!(**args)
|
|
3687
|
+
@content = args[:content] if args.key?(:content)
|
|
3688
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3689
|
+
@uploader_name = args[:uploader_name] if args.key?(:uploader_name)
|
|
3690
|
+
end
|
|
3691
|
+
end
|
|
3692
|
+
|
|
3693
|
+
#
|
|
3694
|
+
class ValidateAsyncResponse
|
|
3695
|
+
include Google::Apis::Core::Hashable
|
|
3696
|
+
|
|
3697
|
+
# The type of the API resource. For this operation, the value is youtubePartner#
|
|
3698
|
+
# validateAsyncResponse.
|
|
3699
|
+
# Corresponds to the JSON property `kind`
|
|
3700
|
+
# @return [String]
|
|
3701
|
+
attr_accessor :kind
|
|
3702
|
+
|
|
3703
|
+
# The validation status.
|
|
3704
|
+
# Corresponds to the JSON property `status`
|
|
3705
|
+
# @return [String]
|
|
3706
|
+
attr_accessor :status
|
|
3707
|
+
|
|
3708
|
+
# The validation ID.
|
|
3709
|
+
# Corresponds to the JSON property `validationId`
|
|
3710
|
+
# @return [String]
|
|
3711
|
+
attr_accessor :validation_id
|
|
3712
|
+
|
|
3713
|
+
def initialize(**args)
|
|
3714
|
+
update!(**args)
|
|
3715
|
+
end
|
|
3716
|
+
|
|
3717
|
+
# Update properties of this object
|
|
3718
|
+
def update!(**args)
|
|
3719
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3720
|
+
@status = args[:status] if args.key?(:status)
|
|
3721
|
+
@validation_id = args[:validation_id] if args.key?(:validation_id)
|
|
3722
|
+
end
|
|
3723
|
+
end
|
|
3724
|
+
|
|
3661
3725
|
#
|
|
3662
3726
|
class ValidateError
|
|
3663
3727
|
include Google::Apis::Core::Hashable
|
|
@@ -3779,6 +3843,79 @@ module Google
|
|
|
3779
3843
|
end
|
|
3780
3844
|
end
|
|
3781
3845
|
|
|
3846
|
+
#
|
|
3847
|
+
class ValidateStatusRequest
|
|
3848
|
+
include Google::Apis::Core::Hashable
|
|
3849
|
+
|
|
3850
|
+
# The type of the API resource. For this operation, the value is youtubePartner#
|
|
3851
|
+
# validateStatusRequest.
|
|
3852
|
+
# Corresponds to the JSON property `kind`
|
|
3853
|
+
# @return [String]
|
|
3854
|
+
attr_accessor :kind
|
|
3855
|
+
|
|
3856
|
+
# The desired locale of the error messages as defined in BCP 47 (http://tools.
|
|
3857
|
+
# ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
|
|
3858
|
+
# return the error messages in English ("en").
|
|
3859
|
+
# Corresponds to the JSON property `locale`
|
|
3860
|
+
# @return [String]
|
|
3861
|
+
attr_accessor :locale
|
|
3862
|
+
|
|
3863
|
+
# The validation ID.
|
|
3864
|
+
# Corresponds to the JSON property `validationId`
|
|
3865
|
+
# @return [String]
|
|
3866
|
+
attr_accessor :validation_id
|
|
3867
|
+
|
|
3868
|
+
def initialize(**args)
|
|
3869
|
+
update!(**args)
|
|
3870
|
+
end
|
|
3871
|
+
|
|
3872
|
+
# Update properties of this object
|
|
3873
|
+
def update!(**args)
|
|
3874
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3875
|
+
@locale = args[:locale] if args.key?(:locale)
|
|
3876
|
+
@validation_id = args[:validation_id] if args.key?(:validation_id)
|
|
3877
|
+
end
|
|
3878
|
+
end
|
|
3879
|
+
|
|
3880
|
+
#
|
|
3881
|
+
class ValidateStatusResponse
|
|
3882
|
+
include Google::Apis::Core::Hashable
|
|
3883
|
+
|
|
3884
|
+
# The list of errors and/or warnings.
|
|
3885
|
+
# Corresponds to the JSON property `errors`
|
|
3886
|
+
# @return [Array<Google::Apis::YoutubePartnerV1::ValidateError>]
|
|
3887
|
+
attr_accessor :errors
|
|
3888
|
+
|
|
3889
|
+
# If this is a metadata-only package.
|
|
3890
|
+
# Corresponds to the JSON property `isMetadataOnly`
|
|
3891
|
+
# @return [Boolean]
|
|
3892
|
+
attr_accessor :is_metadata_only
|
|
3893
|
+
alias_method :is_metadata_only?, :is_metadata_only
|
|
3894
|
+
|
|
3895
|
+
# The type of the API resource. For this operation, the value is youtubePartner#
|
|
3896
|
+
# validateStatusResponse.
|
|
3897
|
+
# Corresponds to the JSON property `kind`
|
|
3898
|
+
# @return [String]
|
|
3899
|
+
attr_accessor :kind
|
|
3900
|
+
|
|
3901
|
+
# The validation status.
|
|
3902
|
+
# Corresponds to the JSON property `status`
|
|
3903
|
+
# @return [String]
|
|
3904
|
+
attr_accessor :status
|
|
3905
|
+
|
|
3906
|
+
def initialize(**args)
|
|
3907
|
+
update!(**args)
|
|
3908
|
+
end
|
|
3909
|
+
|
|
3910
|
+
# Update properties of this object
|
|
3911
|
+
def update!(**args)
|
|
3912
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
3913
|
+
@is_metadata_only = args[:is_metadata_only] if args.key?(:is_metadata_only)
|
|
3914
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
3915
|
+
@status = args[:status] if args.key?(:status)
|
|
3916
|
+
end
|
|
3917
|
+
end
|
|
3918
|
+
|
|
3782
3919
|
#
|
|
3783
3920
|
class VideoAdvertisingOption
|
|
3784
3921
|
include Google::Apis::Core::Hashable
|
|
@@ -490,6 +490,18 @@ module Google
|
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
|
491
491
|
end
|
|
492
492
|
|
|
493
|
+
class ValidateAsyncRequest
|
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
+
|
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
+
end
|
|
498
|
+
|
|
499
|
+
class ValidateAsyncResponse
|
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
|
+
|
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
503
|
+
end
|
|
504
|
+
|
|
493
505
|
class ValidateError
|
|
494
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
507
|
|
|
@@ -508,6 +520,18 @@ module Google
|
|
|
508
520
|
include Google::Apis::Core::JsonObjectSupport
|
|
509
521
|
end
|
|
510
522
|
|
|
523
|
+
class ValidateStatusRequest
|
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
525
|
+
|
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
class ValidateStatusResponse
|
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
531
|
+
|
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
533
|
+
end
|
|
534
|
+
|
|
511
535
|
class VideoAdvertisingOption
|
|
512
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
513
537
|
|
|
@@ -1492,6 +1516,24 @@ module Google
|
|
|
1492
1516
|
end
|
|
1493
1517
|
end
|
|
1494
1518
|
|
|
1519
|
+
class ValidateAsyncRequest
|
|
1520
|
+
# @private
|
|
1521
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1522
|
+
property :content, as: 'content'
|
|
1523
|
+
property :kind, as: 'kind'
|
|
1524
|
+
property :uploader_name, as: 'uploaderName'
|
|
1525
|
+
end
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1528
|
+
class ValidateAsyncResponse
|
|
1529
|
+
# @private
|
|
1530
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1531
|
+
property :kind, as: 'kind'
|
|
1532
|
+
property :status, as: 'status'
|
|
1533
|
+
property :validation_id, as: 'validationId'
|
|
1534
|
+
end
|
|
1535
|
+
end
|
|
1536
|
+
|
|
1495
1537
|
class ValidateError
|
|
1496
1538
|
# @private
|
|
1497
1539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1524,6 +1566,26 @@ module Google
|
|
|
1524
1566
|
end
|
|
1525
1567
|
end
|
|
1526
1568
|
|
|
1569
|
+
class ValidateStatusRequest
|
|
1570
|
+
# @private
|
|
1571
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1572
|
+
property :kind, as: 'kind'
|
|
1573
|
+
property :locale, as: 'locale'
|
|
1574
|
+
property :validation_id, as: 'validationId'
|
|
1575
|
+
end
|
|
1576
|
+
end
|
|
1577
|
+
|
|
1578
|
+
class ValidateStatusResponse
|
|
1579
|
+
# @private
|
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1581
|
+
collection :errors, as: 'errors', class: Google::Apis::YoutubePartnerV1::ValidateError, decorator: Google::Apis::YoutubePartnerV1::ValidateError::Representation
|
|
1582
|
+
|
|
1583
|
+
property :is_metadata_only, as: 'isMetadataOnly'
|
|
1584
|
+
property :kind, as: 'kind'
|
|
1585
|
+
property :status, as: 'status'
|
|
1586
|
+
end
|
|
1587
|
+
end
|
|
1588
|
+
|
|
1527
1589
|
class VideoAdvertisingOption
|
|
1528
1590
|
# @private
|
|
1529
1591
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2997,6 +2997,86 @@ module Google
|
|
|
2997
2997
|
execute_or_queue_command(command, &block)
|
|
2998
2998
|
end
|
|
2999
2999
|
|
|
3000
|
+
# Validate a metadata file asynchronously.
|
|
3001
|
+
# @param [Google::Apis::YoutubePartnerV1::ValidateAsyncRequest] validate_async_request_object
|
|
3002
|
+
# @param [String] on_behalf_of_content_owner
|
|
3003
|
+
# The onBehalfOfContentOwner parameter identifies the content owner that the
|
|
3004
|
+
# user is acting on behalf of. This parameter supports users whose accounts are
|
|
3005
|
+
# associated with multiple content owners.
|
|
3006
|
+
# @param [String] fields
|
|
3007
|
+
# Selector specifying which fields to include in a partial response.
|
|
3008
|
+
# @param [String] quota_user
|
|
3009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3011
|
+
# Overrides userIp if both are provided.
|
|
3012
|
+
# @param [String] user_ip
|
|
3013
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
3014
|
+
# enforce per-user limits.
|
|
3015
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3016
|
+
# Request-specific options
|
|
3017
|
+
#
|
|
3018
|
+
# @yield [result, err] Result & error if block supplied
|
|
3019
|
+
# @yieldparam result [Google::Apis::YoutubePartnerV1::ValidateAsyncResponse] parsed result object
|
|
3020
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3021
|
+
#
|
|
3022
|
+
# @return [Google::Apis::YoutubePartnerV1::ValidateAsyncResponse]
|
|
3023
|
+
#
|
|
3024
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3025
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3026
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3027
|
+
def validate_validator_async(validate_async_request_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3028
|
+
command = make_simple_command(:post, 'validatorAsync', options)
|
|
3029
|
+
command.request_representation = Google::Apis::YoutubePartnerV1::ValidateAsyncRequest::Representation
|
|
3030
|
+
command.request_object = validate_async_request_object
|
|
3031
|
+
command.response_representation = Google::Apis::YoutubePartnerV1::ValidateAsyncResponse::Representation
|
|
3032
|
+
command.response_class = Google::Apis::YoutubePartnerV1::ValidateAsyncResponse
|
|
3033
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
|
3034
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3035
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3036
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3037
|
+
execute_or_queue_command(command, &block)
|
|
3038
|
+
end
|
|
3039
|
+
|
|
3040
|
+
# Get the asynchronous validation status.
|
|
3041
|
+
# @param [Google::Apis::YoutubePartnerV1::ValidateStatusRequest] validate_status_request_object
|
|
3042
|
+
# @param [String] on_behalf_of_content_owner
|
|
3043
|
+
# The onBehalfOfContentOwner parameter identifies the content owner that the
|
|
3044
|
+
# user is acting on behalf of. This parameter supports users whose accounts are
|
|
3045
|
+
# associated with multiple content owners.
|
|
3046
|
+
# @param [String] fields
|
|
3047
|
+
# Selector specifying which fields to include in a partial response.
|
|
3048
|
+
# @param [String] quota_user
|
|
3049
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3050
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3051
|
+
# Overrides userIp if both are provided.
|
|
3052
|
+
# @param [String] user_ip
|
|
3053
|
+
# IP address of the site where the request originates. Use this if you want to
|
|
3054
|
+
# enforce per-user limits.
|
|
3055
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3056
|
+
# Request-specific options
|
|
3057
|
+
#
|
|
3058
|
+
# @yield [result, err] Result & error if block supplied
|
|
3059
|
+
# @yieldparam result [Google::Apis::YoutubePartnerV1::ValidateStatusResponse] parsed result object
|
|
3060
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3061
|
+
#
|
|
3062
|
+
# @return [Google::Apis::YoutubePartnerV1::ValidateStatusResponse]
|
|
3063
|
+
#
|
|
3064
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3065
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3066
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3067
|
+
def validate_validator_async_status(validate_status_request_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3068
|
+
command = make_simple_command(:post, 'validatorAsyncStatus', options)
|
|
3069
|
+
command.request_representation = Google::Apis::YoutubePartnerV1::ValidateStatusRequest::Representation
|
|
3070
|
+
command.request_object = validate_status_request_object
|
|
3071
|
+
command.response_representation = Google::Apis::YoutubePartnerV1::ValidateStatusResponse::Representation
|
|
3072
|
+
command.response_class = Google::Apis::YoutubePartnerV1::ValidateStatusResponse
|
|
3073
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
|
3074
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3075
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3076
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3077
|
+
execute_or_queue_command(command, &block)
|
|
3078
|
+
end
|
|
3079
|
+
|
|
3000
3080
|
# Retrieves advertising settings for the specified video.
|
|
3001
3081
|
# @param [String] video_id
|
|
3002
3082
|
# The videoId parameter specifies the YouTube video ID of the video for which
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-api-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.13.
|
|
4
|
+
version: 0.13.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Bazyl
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2017-
|
|
14
|
+
date: 2017-09-04 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: representable
|
|
@@ -448,6 +448,10 @@ files:
|
|
|
448
448
|
- generated/google/apis/datastore_v1/classes.rb
|
|
449
449
|
- generated/google/apis/datastore_v1/representations.rb
|
|
450
450
|
- generated/google/apis/datastore_v1/service.rb
|
|
451
|
+
- generated/google/apis/datastore_v1beta1.rb
|
|
452
|
+
- generated/google/apis/datastore_v1beta1/classes.rb
|
|
453
|
+
- generated/google/apis/datastore_v1beta1/representations.rb
|
|
454
|
+
- generated/google/apis/datastore_v1beta1/service.rb
|
|
451
455
|
- generated/google/apis/datastore_v1beta3.rb
|
|
452
456
|
- generated/google/apis/datastore_v1beta3/classes.rb
|
|
453
457
|
- generated/google/apis/datastore_v1beta3/representations.rb
|
|
@@ -508,6 +512,10 @@ files:
|
|
|
508
512
|
- generated/google/apis/firebasedynamiclinks_v1/classes.rb
|
|
509
513
|
- generated/google/apis/firebasedynamiclinks_v1/representations.rb
|
|
510
514
|
- generated/google/apis/firebasedynamiclinks_v1/service.rb
|
|
515
|
+
- generated/google/apis/firebaseremoteconfig_v1.rb
|
|
516
|
+
- generated/google/apis/firebaseremoteconfig_v1/classes.rb
|
|
517
|
+
- generated/google/apis/firebaseremoteconfig_v1/representations.rb
|
|
518
|
+
- generated/google/apis/firebaseremoteconfig_v1/service.rb
|
|
511
519
|
- generated/google/apis/firebaserules_v1.rb
|
|
512
520
|
- generated/google/apis/firebaserules_v1/classes.rb
|
|
513
521
|
- generated/google/apis/firebaserules_v1/representations.rb
|