google-api-client 0.9.6 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/api_names.yaml +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
- data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
- data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
- data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
- data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +97 -61
- data/generated/google/apis/bigquery_v2/representations.rb +23 -18
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +23 -2
- data/generated/google/apis/classroom_v1/classes.rb +920 -6
- data/generated/google/apis/classroom_v1/representations.rb +419 -0
- data/generated/google/apis/classroom_v1/service.rb +507 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
- data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
- data/generated/google/apis/cloudtrace_v1.rb +11 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
- data/generated/google/apis/compute_beta.rb +2 -2
- data/generated/google/apis/compute_beta/classes.rb +162 -32
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +392 -267
- data/generated/google/apis/compute_v1.rb +2 -2
- data/generated/google/apis/compute_v1/classes.rb +21 -9
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +291 -253
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +148 -0
- data/generated/google/apis/container_v1/representations.rb +55 -0
- data/generated/google/apis/container_v1/service.rb +161 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +18 -6
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +2 -11
- data/generated/google/apis/dataproc_v1/classes.rb +0 -19
- data/generated/google/apis/dataproc_v1/representations.rb +0 -13
- data/generated/google/apis/dataproc_v1/service.rb +8 -87
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
- data/generated/google/apis/discovery_v1.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +2 -3
- data/generated/google/apis/dns_v1/service.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +3 -2
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +3 -2
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +34 -0
- data/generated/google/apis/games_management_v1management/representations.rb +16 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +34 -0
- data/generated/google/apis/games_v1/representations.rb +16 -0
- data/generated/google/apis/games_v1/service.rb +212 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +18 -0
- data/generated/google/apis/genomics_v1/representations.rb +3 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
- data/generated/google/apis/mybusiness_v3.rb +32 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
- data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
- data/generated/google/apis/mybusiness_v3/service.rb +960 -0
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -1
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6.rb +4 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
- data/generated/google/apis/replicapool_v1beta2.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
- data/generated/google/apis/script_v1.rb +6 -3
- data/generated/google/apis/script_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +43 -0
- data/generated/google/apis/sheets_v4/classes.rb +5425 -0
- data/generated/google/apis/sheets_v4/representations.rb +2070 -0
- data/generated/google/apis/sheets_v4/service.rb +402 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -1
- data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +4 -5
- data/generated/google/apis/vision_v1/classes.rb +69 -68
- data/generated/google/apis/vision_v1/representations.rb +13 -13
- data/generated/google/apis/vision_v1/service.rb +3 -4
- data/generated/google/apis/youtube_analytics_v1.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +24 -0
- data/generated/google/apis/youtube_v3/representations.rb +4 -0
- data/generated/google/apis/youtubereporting_v1.rb +3 -3
- data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20160520'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -2733,7 +2733,9 @@ module Google
|
|
2733
2733
|
# @return [Fixnum]
|
2734
2734
|
attr_accessor :quantity
|
2735
2735
|
|
2736
|
-
# The reason for the cancellation.
|
2736
|
+
# The reason for the cancellation. Orders that are cancelled with a noIventory
|
2737
|
+
# reason will lead to the removal of the product from POG until you make an
|
2738
|
+
# update to that product. This will not affect your Shopping ads.
|
2737
2739
|
# Corresponds to the JSON property `reason`
|
2738
2740
|
# @return [String]
|
2739
2741
|
attr_accessor :reason
|
@@ -2766,7 +2768,7 @@ module Google
|
|
2766
2768
|
# @return [String]
|
2767
2769
|
attr_accessor :email
|
2768
2770
|
|
2769
|
-
# If set, this indicates the user
|
2771
|
+
# If set, this indicates the user explicitly chose to opt in or out of providing
|
2770
2772
|
# marketing rights to the merchant. If unset, this indicates the user has
|
2771
2773
|
# already made this choice in a previous purchase, and was thus not shown the
|
2772
2774
|
# marketing right opt in/out checkbox during the Purchases on Google checkout
|
@@ -4552,6 +4554,12 @@ module Google
|
|
4552
4554
|
# @return [Array<String>]
|
4553
4555
|
attr_accessor :additional_image_links
|
4554
4556
|
|
4557
|
+
# Additional categories of the item (formatted as in products feed specification)
|
4558
|
+
# .
|
4559
|
+
# Corresponds to the JSON property `additionalProductTypes`
|
4560
|
+
# @return [Array<String>]
|
4561
|
+
attr_accessor :additional_product_types
|
4562
|
+
|
4555
4563
|
# Set to true if the item is targeted towards adults.
|
4556
4564
|
# Corresponds to the JSON property `adult`
|
4557
4565
|
# @return [Boolean]
|
@@ -4792,7 +4800,10 @@ module Google
|
|
4792
4800
|
# @return [String]
|
4793
4801
|
attr_accessor :multipack
|
4794
4802
|
|
4795
|
-
# An identifier of the item.
|
4803
|
+
# An identifier of the item. Leading and trailing whitespaces are stripped and
|
4804
|
+
# multiple whitespaces are replaced by a single whitespace upon submission. Only
|
4805
|
+
# valid unicode characters are accepted. See the products feed specification for
|
4806
|
+
# details.
|
4796
4807
|
# Corresponds to the JSON property `offerId`
|
4797
4808
|
# @return [String]
|
4798
4809
|
attr_accessor :offer_id
|
@@ -4813,7 +4824,7 @@ module Google
|
|
4813
4824
|
# @return [Google::Apis::ContentV2::Price]
|
4814
4825
|
attr_accessor :price
|
4815
4826
|
|
4816
|
-
# Your category of the item (formatted as in
|
4827
|
+
# Your category of the item (formatted as in products feed specification).
|
4817
4828
|
# Corresponds to the JSON property `productType`
|
4818
4829
|
# @return [String]
|
4819
4830
|
attr_accessor :product_type
|
@@ -4828,7 +4839,7 @@ module Google
|
|
4828
4839
|
# @return [Google::Apis::ContentV2::Price]
|
4829
4840
|
attr_accessor :sale_price
|
4830
4841
|
|
4831
|
-
# Date range during which the item is on sale (see
|
4842
|
+
# Date range during which the item is on sale (see products feed specification).
|
4832
4843
|
# Corresponds to the JSON property `salePriceEffectiveDate`
|
4833
4844
|
# @return [String]
|
4834
4845
|
attr_accessor :sale_price_effective_date
|
@@ -4926,6 +4937,7 @@ module Google
|
|
4926
4937
|
# Update properties of this object
|
4927
4938
|
def update!(**args)
|
4928
4939
|
@additional_image_links = args[:additional_image_links] if args.key?(:additional_image_links)
|
4940
|
+
@additional_product_types = args[:additional_product_types] if args.key?(:additional_product_types)
|
4929
4941
|
@adult = args[:adult] if args.key?(:adult)
|
4930
4942
|
@adwords_grouping = args[:adwords_grouping] if args.key?(:adwords_grouping)
|
4931
4943
|
@adwords_labels = args[:adwords_labels] if args.key?(:adwords_labels)
|
@@ -5886,7 +5898,7 @@ module Google
|
|
5886
5898
|
# @return [String]
|
5887
5899
|
attr_accessor :email
|
5888
5900
|
|
5889
|
-
# If set, this indicates the user
|
5901
|
+
# If set, this indicates the user explicitly chose to opt in or out of providing
|
5890
5902
|
# marketing rights to the merchant. If unset, this indicates the user has
|
5891
5903
|
# already made this choice in a previous purchase, and was thus not shown the
|
5892
5904
|
# marketing right opt in/out checkbox during the Purchases on Google checkout
|
@@ -2212,6 +2212,7 @@ module Google
|
|
2212
2212
|
# @private
|
2213
2213
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2214
2214
|
collection :additional_image_links, as: 'additionalImageLinks'
|
2215
|
+
collection :additional_product_types, as: 'additionalProductTypes'
|
2215
2216
|
property :adult, as: 'adult'
|
2216
2217
|
property :adwords_grouping, as: 'adwordsGrouping'
|
2217
2218
|
collection :adwords_labels, as: 'adwordsLabels'
|
@@ -20,24 +20,15 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Google Cloud Dataproc API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
24
24
|
#
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
26
26
|
module DataprocV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160503'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
32
|
-
|
33
|
-
# Administrate log data for your projects
|
34
|
-
AUTH_LOGGING_ADMIN = 'https://www.googleapis.com/auth/logging.admin'
|
35
|
-
|
36
|
-
# View log data for your projects
|
37
|
-
AUTH_LOGGING_READ = 'https://www.googleapis.com/auth/logging.read'
|
38
|
-
|
39
|
-
# Submit log data for your projects
|
40
|
-
AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write'
|
41
32
|
end
|
42
33
|
end
|
43
34
|
end
|
@@ -22,25 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DataprocV1
|
24
24
|
|
25
|
-
# Media resource.
|
26
|
-
class Media
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Name of the media resource.
|
30
|
-
# Corresponds to the JSON property `resourceName`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :resource_name
|
33
|
-
|
34
|
-
def initialize(**args)
|
35
|
-
update!(**args)
|
36
|
-
end
|
37
|
-
|
38
|
-
# Update properties of this object
|
39
|
-
def update!(**args)
|
40
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
25
|
# Describes the identifying information, config, and status of a cluster of
|
45
26
|
# Google Compute Engine instances.
|
46
27
|
class Cluster
|
@@ -22,12 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DataprocV1
|
24
24
|
|
25
|
-
class Media
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
29
|
-
end
|
30
|
-
|
31
25
|
class Cluster
|
32
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
27
|
|
@@ -244,13 +238,6 @@ module Google
|
|
244
238
|
include Google::Apis::Core::JsonObjectSupport
|
245
239
|
end
|
246
240
|
|
247
|
-
class Media
|
248
|
-
# @private
|
249
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
-
property :resource_name, as: 'resourceName'
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
241
|
class Cluster
|
255
242
|
# @private
|
256
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module DataprocV1
|
23
23
|
# Google Cloud Dataproc API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/dataproc_v1'
|
@@ -46,90 +46,6 @@ module Google
|
|
46
46
|
super('https://dataproc.googleapis.com/', '')
|
47
47
|
end
|
48
48
|
|
49
|
-
# Method for media upload. Upload is supported on the URI `/upload/v1/media/`+
|
50
|
-
# name``.
|
51
|
-
# @param [String] resource_name
|
52
|
-
# Name of the media that is being downloaded. See ByteStream.ReadRequest.
|
53
|
-
# resource_name.
|
54
|
-
# @param [Google::Apis::DataprocV1::Media] media_object
|
55
|
-
# @param [String] fields
|
56
|
-
# Selector specifying which fields to include in a partial response.
|
57
|
-
# @param [String] quota_user
|
58
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
59
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
60
|
-
# @param [IO, String] upload_source
|
61
|
-
# IO stream or filename containing content to upload
|
62
|
-
# @param [String] content_type
|
63
|
-
# Content type of the uploaded content.
|
64
|
-
# @param [Google::Apis::RequestOptions] options
|
65
|
-
# Request-specific options
|
66
|
-
#
|
67
|
-
# @yield [result, err] Result & error if block supplied
|
68
|
-
# @yieldparam result [Google::Apis::DataprocV1::Media] parsed result object
|
69
|
-
# @yieldparam err [StandardError] error object if request failed
|
70
|
-
#
|
71
|
-
# @return [Google::Apis::DataprocV1::Media]
|
72
|
-
#
|
73
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
74
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
75
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
76
|
-
def upload_medium(resource_name, media_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
77
|
-
if upload_source.nil?
|
78
|
-
command = make_simple_command(:post, 'v1/media/{+resourceName}', options)
|
79
|
-
else
|
80
|
-
command = make_upload_command(:post, 'v1/media/{+resourceName}', options)
|
81
|
-
command.upload_source = upload_source
|
82
|
-
command.upload_content_type = content_type
|
83
|
-
end
|
84
|
-
command.request_representation = Google::Apis::DataprocV1::Media::Representation
|
85
|
-
command.request_object = media_object
|
86
|
-
command.response_representation = Google::Apis::DataprocV1::Media::Representation
|
87
|
-
command.response_class = Google::Apis::DataprocV1::Media
|
88
|
-
command.params['resourceName'] = resource_name unless resource_name.nil?
|
89
|
-
command.query['fields'] = fields unless fields.nil?
|
90
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
91
|
-
execute_or_queue_command(command, &block)
|
92
|
-
end
|
93
|
-
|
94
|
-
# Method for media download. Download is supported on the URI `/v1/media/`+name`?
|
95
|
-
# alt=media`.
|
96
|
-
# @param [String] resource_name
|
97
|
-
# Name of the media that is being downloaded. See ByteStream.ReadRequest.
|
98
|
-
# resource_name.
|
99
|
-
# @param [String] fields
|
100
|
-
# Selector specifying which fields to include in a partial response.
|
101
|
-
# @param [String] quota_user
|
102
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
-
# @param [IO, String] download_dest
|
105
|
-
# IO stream or filename to receive content download
|
106
|
-
# @param [Google::Apis::RequestOptions] options
|
107
|
-
# Request-specific options
|
108
|
-
#
|
109
|
-
# @yield [result, err] Result & error if block supplied
|
110
|
-
# @yieldparam result [Google::Apis::DataprocV1::Media] parsed result object
|
111
|
-
# @yieldparam err [StandardError] error object if request failed
|
112
|
-
#
|
113
|
-
# @return [Google::Apis::DataprocV1::Media]
|
114
|
-
#
|
115
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
116
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
117
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
118
|
-
def download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
|
119
|
-
if download_dest.nil?
|
120
|
-
command = make_simple_command(:get, 'v1/media/{+resourceName}', options)
|
121
|
-
else
|
122
|
-
command = make_download_command(:get, 'v1/media/{+resourceName}', options)
|
123
|
-
command.download_dest = download_dest
|
124
|
-
end
|
125
|
-
command.response_representation = Google::Apis::DataprocV1::Media::Representation
|
126
|
-
command.response_class = Google::Apis::DataprocV1::Media
|
127
|
-
command.params['resourceName'] = resource_name unless resource_name.nil?
|
128
|
-
command.query['fields'] = fields unless fields.nil?
|
129
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
130
|
-
execute_or_queue_command(command, &block)
|
131
|
-
end
|
132
|
-
|
133
49
|
# Creates a cluster in a project.
|
134
50
|
# @param [String] project_id
|
135
51
|
# [Required] The ID of the Google Cloud Platform project that the cluster
|
@@ -180,8 +96,13 @@ module Google
|
|
180
96
|
# For example, to change the number of workers in a cluster to 5, the
|
181
97
|
# update_mask parameter would be specified as config.worker_config.num_instances,
|
182
98
|
# and the `PATCH` request body would specify the new value, as follows: ` "
|
183
|
-
# config":` "workerConfig":` "numInstances":"5" ` ` `
|
184
|
-
#
|
99
|
+
# config":` "workerConfig":` "numInstances":"5" ` ` ` Similarly, to change the
|
100
|
+
# number of preemptible workers in a cluster to 5, the update_mask parameter
|
101
|
+
# would be config.secondary_worker_config.num_instances, and the `PATCH` request
|
102
|
+
# body would be set as follows: ` "config":` "secondaryWorkerConfig":` "
|
103
|
+
# numInstances":"5" ` ` ` Note: Currently, config.worker_config.num_instances
|
104
|
+
# and config.secondary_worker_config.num_instances are the only fields that can
|
105
|
+
# be updated.
|
185
106
|
# @param [String] fields
|
186
107
|
# Selector specifying which fields to include in a partial response.
|
187
108
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/deployment-manager/
|
26
26
|
module DeploymentmanagerV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160426'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/doubleclick-advertisers/reporting/
|
26
26
|
module DfareportingV2_3
|
27
27
|
VERSION = 'V2_3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20160509'
|
29
29
|
|
30
30
|
# View and manage DoubleClick for Advertisers reports
|
31
31
|
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
@@ -2373,7 +2373,8 @@ module Google
|
|
2373
2373
|
attr_accessor :background_color
|
2374
2374
|
|
2375
2375
|
# Click-through URL for backup image. Applicable to the following creative types:
|
2376
|
-
#
|
2376
|
+
# FLASH_INPAGE, and HTML5_BANNER. Applicable to ENHANCED_BANNER when the
|
2377
|
+
# primary asset type is not HTML_IMAGE.
|
2377
2378
|
# Corresponds to the JSON property `backupImageClickThroughUrl`
|
2378
2379
|
# @return [String]
|
2379
2380
|
attr_accessor :backup_image_click_through_url
|
@@ -2385,13 +2386,14 @@ module Google
|
|
2385
2386
|
# all features detected by DCM for all the assets of this creative and can then
|
2386
2387
|
# be modified by the client. To reset this field, copy over all the
|
2387
2388
|
# creativeAssets' detected features. Applicable to the following creative types:
|
2388
|
-
# ENHANCED_BANNER
|
2389
|
+
# HTML5_BANNER. Applicable to ENHANCED_BANNER when the primary asset is not
|
2390
|
+
# HTML_IMAGE.
|
2389
2391
|
# Corresponds to the JSON property `backupImageFeatures`
|
2390
2392
|
# @return [Array<String>]
|
2391
2393
|
attr_accessor :backup_image_features
|
2392
2394
|
|
2393
|
-
# Reporting label used for HTML5 banner backup image. Applicable to
|
2394
|
-
#
|
2395
|
+
# Reporting label used for HTML5 banner backup image. Applicable to
|
2396
|
+
# ENHANCED_BANNER when the primary asset type is not HTML_IMAGE.
|
2395
2397
|
# Corresponds to the JSON property `backupImageReportingLabel`
|
2396
2398
|
# @return [String]
|
2397
2399
|
attr_accessor :backup_image_reporting_label
|
@@ -2410,8 +2412,9 @@ module Google
|
|
2410
2412
|
# should be exactly one entry in this list for each image creative asset. A
|
2411
2413
|
# click tag is matched with a corresponding creative asset by matching the
|
2412
2414
|
# clickTag.name field with the creativeAsset.assetIdentifier.name field.
|
2413
|
-
# Applicable to the following creative types:
|
2414
|
-
#
|
2415
|
+
# Applicable to the following creative types: ENHANCED_IMAGE, FLASH_INPAGE
|
2416
|
+
# HTML5_BANNER. Applicable to ENHANCED_BANNER when the primary asset type is not
|
2417
|
+
# HTML_IMAGE.
|
2415
2418
|
# Corresponds to the JSON property `clickTags`
|
2416
2419
|
# @return [Array<Google::Apis::DfareportingV2_3::ClickTag>]
|
2417
2420
|
attr_accessor :click_tags
|
@@ -2447,8 +2450,8 @@ module Google
|
|
2447
2450
|
# Whether Flash assets associated with the creative need to be automatically
|
2448
2451
|
# converted to HTML5. This flag is enabled by default and users can choose to
|
2449
2452
|
# disable it if they don't want the system to generate and use HTML5 asset for
|
2450
|
-
# this creative. Applicable to the following creative
|
2451
|
-
#
|
2453
|
+
# this creative. Applicable to the following creative type: FLASH_INPAGE.
|
2454
|
+
# Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE.
|
2452
2455
|
# Corresponds to the JSON property `convertFlashToHtml5`
|
2453
2456
|
# @return [Boolean]
|
2454
2457
|
attr_accessor :convert_flash_to_html5
|
@@ -2486,7 +2489,8 @@ module Google
|
|
2486
2489
|
# ENHANCED_IMAGE creatives, these are read-only and auto-generated from
|
2487
2490
|
# clickTags, For ENHANCED_BANNER, an event is also created from the
|
2488
2491
|
# backupImageReportingLabel. Applicable to the following creative types:
|
2489
|
-
#
|
2492
|
+
# ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID. Applicable to ENHANCED_BANNER
|
2493
|
+
# when the primary asset is not HTML_IMAGE.
|
2490
2494
|
# Corresponds to the JSON property `exitCustomEvents`
|
2491
2495
|
# @return [Array<Google::Apis::DfareportingV2_3::CreativeCustomEvent>]
|
2492
2496
|
attr_accessor :exit_custom_events
|
@@ -2582,7 +2586,8 @@ module Google
|
|
2582
2586
|
|
2583
2587
|
# The internal Flash version for this creative as calculated by DoubleClick
|
2584
2588
|
# Studio. This is a read-only field. Applicable to the following creative types:
|
2585
|
-
# FLASH_INPAGE,
|
2589
|
+
# FLASH_INPAGE, all RICH_MEDIA, and all VPAID. Applicable to ENHANCED_BANNER
|
2590
|
+
# when the primary asset type is not HTML_IMAGE.
|
2586
2591
|
# Corresponds to the JSON property `requiredFlashVersion`
|
2587
2592
|
# @return [Fixnum]
|
2588
2593
|
attr_accessor :required_flash_version
|
@@ -2642,13 +2647,13 @@ module Google
|
|
2642
2647
|
attr_accessor :subaccount_id
|
2643
2648
|
|
2644
2649
|
# Third-party URL used to record backup image impressions. Applicable to the
|
2645
|
-
# following creative types: all RICH_MEDIA
|
2650
|
+
# following creative types: all RICH_MEDIA.
|
2646
2651
|
# Corresponds to the JSON property `thirdPartyBackupImageImpressionsUrl`
|
2647
2652
|
# @return [String]
|
2648
2653
|
attr_accessor :third_party_backup_image_impressions_url
|
2649
2654
|
|
2650
2655
|
# Third-party URL used to record rich media impressions. Applicable to the
|
2651
|
-
# following creative types: all RICH_MEDIA
|
2656
|
+
# following creative types: all RICH_MEDIA.
|
2652
2657
|
# Corresponds to the JSON property `thirdPartyRichMediaImpressionsUrl`
|
2653
2658
|
# @return [String]
|
2654
2659
|
attr_accessor :third_party_rich_media_impressions_url
|
@@ -2662,6 +2667,7 @@ module Google
|
|
2662
2667
|
# List of timer events configured for the creative. For ENHANCED_IMAGE creatives,
|
2663
2668
|
# these are read-only and auto-generated from clickTags. Applicable to the
|
2664
2669
|
# following creative types: ENHANCED_IMAGE, all RICH_MEDIA, and all VPAID.
|
2670
|
+
# Applicable to ENHANCED_BANNER when the primary asset is not HTML_IMAGE.
|
2665
2671
|
# Corresponds to the JSON property `timerCustomEvents`
|
2666
2672
|
# @return [Array<Google::Apis::DfareportingV2_3::CreativeCustomEvent>]
|
2667
2673
|
attr_accessor :timer_custom_events
|
@@ -2773,8 +2779,8 @@ module Google
|
|
2773
2779
|
include Google::Apis::Core::Hashable
|
2774
2780
|
|
2775
2781
|
# Whether ActionScript3 is enabled for the flash asset. This is a read-only
|
2776
|
-
# field. Applicable to the following creative
|
2777
|
-
# ENHANCED_BANNER.
|
2782
|
+
# field. Applicable to the following creative type: FLASH_INPAGE. Applicable to
|
2783
|
+
# ENHANCED_BANNER when the primary asset type is not HTML_IMAGE.
|
2778
2784
|
# Corresponds to the JSON property `actionScript3`
|
2779
2785
|
# @return [Boolean]
|
2780
2786
|
attr_accessor :action_script3
|
@@ -2873,8 +2879,8 @@ module Google
|
|
2873
2879
|
attr_accessor :file_size
|
2874
2880
|
|
2875
2881
|
# Flash version of the asset. This is a read-only field. Applicable to the
|
2876
|
-
# following creative types: FLASH_INPAGE,
|
2877
|
-
#
|
2882
|
+
# following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID.
|
2883
|
+
# Applicable to ENHANCED_BANNER when the primary asset type is not HTML_IMAGE.
|
2878
2884
|
# Corresponds to the JSON property `flashVersion`
|
2879
2885
|
# @return [Fixnum]
|
2880
2886
|
attr_accessor :flash_version
|
@@ -2982,8 +2988,8 @@ module Google
|
|
2982
2988
|
# TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets
|
2983
2989
|
# and is applicable to INSTREAM_VIDEO and VPAID_LINEAR creatives.
|
2984
2990
|
# ALTERNATE_VIDEO refers to the DCM representation of child asset videos from
|
2985
|
-
# Studio, and is applicable to
|
2986
|
-
# removed within DCM.
|
2991
|
+
# Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be
|
2992
|
+
# added or removed within DCM.
|
2987
2993
|
# For VPAID_LINEAR creatives, PARENT_VIDEO, TRANSCODED_VIDEO and ALTERNATE_VIDEO
|
2988
2994
|
# assets that are marked active serve as backup in case the VPAID creative
|
2989
2995
|
# cannot be served. Only PARENT_VIDEO assets can be added or removed for an
|
@@ -3177,27 +3183,30 @@ module Google
|
|
3177
3183
|
# Rules validated during code generation that generated a warning. This is a
|
3178
3184
|
# read-only, auto-generated field.
|
3179
3185
|
# Possible values are:
|
3180
|
-
# - "
|
3186
|
+
# - "ADMOB_REFERENCED"
|
3187
|
+
# - "ASSET_FORMAT_UNSUPPORTED_DCM"
|
3188
|
+
# - "ASSET_INVALID"
|
3189
|
+
# - "CLICK_TAG_HARD_CODED"
|
3190
|
+
# - "CLICK_TAG_INVALID"
|
3191
|
+
# - "CLICK_TAG_IN_GWD"
|
3181
3192
|
# - "CLICK_TAG_MISSING"
|
3182
3193
|
# - "CLICK_TAG_MORE_THAN_ONE"
|
3183
|
-
# - "
|
3184
|
-
# - "
|
3185
|
-
# - "
|
3194
|
+
# - "CLICK_TAG_NON_TOP_LEVEL"
|
3195
|
+
# - "COMPONENT_UNSUPPORTED_DCM"
|
3196
|
+
# - "ENABLER_UNSUPPORTED_METHOD_DCM"
|
3186
3197
|
# - "EXTERNAL_FILE_REFERENCED"
|
3187
|
-
# - "
|
3188
|
-
# - "ADMOB_REFERENCED"
|
3198
|
+
# - "FILE_DETAIL_EMPTY"
|
3189
3199
|
# - "FILE_TYPE_INVALID"
|
3190
|
-
# - "
|
3200
|
+
# - "GWD_PROPERTIES_INVALID"
|
3201
|
+
# - "HTML5_FEATURE_UNSUPPORTED"
|
3191
3202
|
# - "LINKED_FILE_NOT_FOUND"
|
3192
3203
|
# - "MAX_FLASH_VERSION_11"
|
3204
|
+
# - "MRAID_REFERENCED"
|
3193
3205
|
# - "NOT_SSL_COMPLIANT"
|
3194
|
-
# - "
|
3195
|
-
# - "
|
3196
|
-
# - "
|
3197
|
-
# - "
|
3198
|
-
# - "ASSET_FORMAT_UNSUPPORTED_DCM"
|
3199
|
-
# - "COMPONENT_UNSUPPORTED_DCM"
|
3200
|
-
# - "HTML5_FEATURE_UNSUPPORTED' "
|
3206
|
+
# - "ORPHANED_ASSET"
|
3207
|
+
# - "PRIMARY_HTML_MISSING"
|
3208
|
+
# - "SVG_INVALID"
|
3209
|
+
# - "ZIP_INVALID"
|
3201
3210
|
# Corresponds to the JSON property `warnedValidationRules`
|
3202
3211
|
# @return [Array<String>]
|
3203
3212
|
attr_accessor :warned_validation_rules
|