google-ads-ad_manager-v1 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +37 -1
- data/lib/google/ads/ad_manager/v1/ad_unit_service/rest/client.rb +36 -4
- data/lib/google/ads/ad_manager/v1/ad_unit_service/rest/service_stub.rb +38 -20
- data/lib/google/ads/ad_manager/v1/company_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/company_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/custom_field_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/custom_field_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/custom_targeting_key_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/custom_targeting_value_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest/client.rb +35 -7
- data/lib/google/ads/ad_manager/v1/entity_signals_mapping_service/rest/service_stub.rb +62 -38
- data/lib/google/ads/ad_manager/v1/network_service/rest/client.rb +34 -3
- data/lib/google/ads/ad_manager/v1/network_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/order_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/order_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/placement_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/placement_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/report_service/rest/client.rb +36 -7
- data/lib/google/ads/ad_manager/v1/report_service/rest/operations.rb +50 -38
- data/lib/google/ads/ad_manager/v1/report_service/rest/service_stub.rb +62 -38
- data/lib/google/ads/ad_manager/v1/role_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/role_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest/client.rb +35 -3
- data/lib/google/ads/ad_manager/v1/taxonomy_category_service/rest/service_stub.rb +30 -14
- data/lib/google/ads/ad_manager/v1/user_service/rest/client.rb +34 -2
- data/lib/google/ads/ad_manager/v1/user_service/rest/service_stub.rb +22 -8
- data/lib/google/ads/ad_manager/v1/version.rb +1 -1
- data/proto_docs/google/ads/admanager/v1/custom_field_value.rb +8 -0
- data/proto_docs/google/ads/admanager/v1/entity_signals_mapping_messages.rb +6 -0
- data/proto_docs/google/ads/admanager/v1/report_service.rb +34 -0
- data/proto_docs/google/api/client.rb +25 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- metadata +6 -9
@@ -30,7 +30,8 @@ module Google
|
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
|
-
|
33
|
+
# @private
|
34
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
34
35
|
# These require statements are intentionally placed here to initialize
|
35
36
|
# the REST modules only when it's required.
|
36
37
|
require "gapic/rest"
|
@@ -40,7 +41,9 @@ module Google
|
|
40
41
|
universe_domain: universe_domain,
|
41
42
|
credentials: credentials,
|
42
43
|
numeric_enums: true,
|
43
|
-
|
44
|
+
service_name: self.class,
|
45
|
+
raise_faraday_errors: false,
|
46
|
+
logger: logger
|
44
47
|
end
|
45
48
|
|
46
49
|
##
|
@@ -61,6 +64,15 @@ module Google
|
|
61
64
|
@client_stub.endpoint
|
62
65
|
end
|
63
66
|
|
67
|
+
##
|
68
|
+
# The logger used for request/response debug logging.
|
69
|
+
#
|
70
|
+
# @return [Logger]
|
71
|
+
#
|
72
|
+
def logger stub: false
|
73
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
74
|
+
end
|
75
|
+
|
64
76
|
##
|
65
77
|
# Baseline implementation for the get_taxonomy_category REST call
|
66
78
|
#
|
@@ -87,16 +99,18 @@ module Google
|
|
87
99
|
|
88
100
|
response = @client_stub.make_http_request(
|
89
101
|
verb,
|
90
|
-
uri:
|
91
|
-
body:
|
92
|
-
params:
|
102
|
+
uri: uri,
|
103
|
+
body: body || "",
|
104
|
+
params: query_string_params,
|
105
|
+
method_name: "get_taxonomy_category",
|
93
106
|
options: options
|
94
107
|
)
|
95
108
|
operation = ::Gapic::Rest::TransportOperation.new response
|
96
109
|
result = ::Google::Ads::AdManager::V1::TaxonomyCategory.decode_json response.body, ignore_unknown_fields: true
|
97
|
-
|
98
|
-
|
99
|
-
|
110
|
+
catch :response do
|
111
|
+
yield result, operation if block_given?
|
112
|
+
result
|
113
|
+
end
|
100
114
|
end
|
101
115
|
|
102
116
|
##
|
@@ -125,16 +139,18 @@ module Google
|
|
125
139
|
|
126
140
|
response = @client_stub.make_http_request(
|
127
141
|
verb,
|
128
|
-
uri:
|
129
|
-
body:
|
130
|
-
params:
|
142
|
+
uri: uri,
|
143
|
+
body: body || "",
|
144
|
+
params: query_string_params,
|
145
|
+
method_name: "list_taxonomy_categories",
|
131
146
|
options: options
|
132
147
|
)
|
133
148
|
operation = ::Gapic::Rest::TransportOperation.new response
|
134
149
|
result = ::Google::Ads::AdManager::V1::ListTaxonomyCategoriesResponse.decode_json response.body, ignore_unknown_fields: true
|
135
|
-
|
136
|
-
|
137
|
-
|
150
|
+
catch :response do
|
151
|
+
yield result, operation if block_given?
|
152
|
+
result
|
153
|
+
end
|
138
154
|
end
|
139
155
|
|
140
156
|
##
|
@@ -150,8 +150,28 @@ module Google
|
|
150
150
|
endpoint: @config.endpoint,
|
151
151
|
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
152
152
|
universe_domain: @config.universe_domain,
|
153
|
-
credentials: credentials
|
153
|
+
credentials: credentials,
|
154
|
+
logger: @config.logger
|
154
155
|
)
|
156
|
+
|
157
|
+
@user_service_stub.logger(stub: true)&.info do |entry|
|
158
|
+
entry.set_system_name
|
159
|
+
entry.set_service
|
160
|
+
entry.message = "Created client for #{entry.service}"
|
161
|
+
entry.set_credentials_fields credentials
|
162
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
163
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
164
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
##
|
169
|
+
# The logger used for request/response debug logging.
|
170
|
+
#
|
171
|
+
# @return [Logger]
|
172
|
+
#
|
173
|
+
def logger
|
174
|
+
@user_service_stub.logger
|
155
175
|
end
|
156
176
|
|
157
177
|
# Service calls
|
@@ -233,7 +253,6 @@ module Google
|
|
233
253
|
|
234
254
|
@user_service_stub.get_user request, options do |result, operation|
|
235
255
|
yield result, operation if block_given?
|
236
|
-
return result
|
237
256
|
end
|
238
257
|
rescue ::Gapic::Rest::Error => e
|
239
258
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -281,6 +300,13 @@ module Google
|
|
281
300
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
282
301
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
283
302
|
# * (`nil`) indicating no credentials
|
303
|
+
#
|
304
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
305
|
+
# external source for authentication to Google Cloud, you must validate it before
|
306
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
307
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
308
|
+
# For more information, refer to [Validate credential configurations from external
|
309
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
284
310
|
# @return [::Object]
|
285
311
|
# @!attribute [rw] scope
|
286
312
|
# The OAuth scopes
|
@@ -313,6 +339,11 @@ module Google
|
|
313
339
|
# default endpoint URL. The default value of nil uses the environment
|
314
340
|
# universe (usually the default "googleapis.com" universe).
|
315
341
|
# @return [::String,nil]
|
342
|
+
# @!attribute [rw] logger
|
343
|
+
# A custom logger to use for request/response debug logging, or the value
|
344
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
345
|
+
# explicitly disable logging.
|
346
|
+
# @return [::Logger,:default,nil]
|
316
347
|
#
|
317
348
|
class Configuration
|
318
349
|
extend ::Gapic::Config
|
@@ -334,6 +365,7 @@ module Google
|
|
334
365
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
335
366
|
config_attr :quota_project, nil, ::String, nil
|
336
367
|
config_attr :universe_domain, nil, ::String, nil
|
368
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
337
369
|
|
338
370
|
# @private
|
339
371
|
def initialize parent_config = nil
|
@@ -30,7 +30,8 @@ module Google
|
|
30
30
|
# including transcoding, making the REST call, and deserialing the response.
|
31
31
|
#
|
32
32
|
class ServiceStub
|
33
|
-
|
33
|
+
# @private
|
34
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:, logger:
|
34
35
|
# These require statements are intentionally placed here to initialize
|
35
36
|
# the REST modules only when it's required.
|
36
37
|
require "gapic/rest"
|
@@ -40,7 +41,9 @@ module Google
|
|
40
41
|
universe_domain: universe_domain,
|
41
42
|
credentials: credentials,
|
42
43
|
numeric_enums: true,
|
43
|
-
|
44
|
+
service_name: self.class,
|
45
|
+
raise_faraday_errors: false,
|
46
|
+
logger: logger
|
44
47
|
end
|
45
48
|
|
46
49
|
##
|
@@ -61,6 +64,15 @@ module Google
|
|
61
64
|
@client_stub.endpoint
|
62
65
|
end
|
63
66
|
|
67
|
+
##
|
68
|
+
# The logger used for request/response debug logging.
|
69
|
+
#
|
70
|
+
# @return [Logger]
|
71
|
+
#
|
72
|
+
def logger stub: false
|
73
|
+
stub ? @client_stub.stub_logger : @client_stub.logger
|
74
|
+
end
|
75
|
+
|
64
76
|
##
|
65
77
|
# Baseline implementation for the get_user REST call
|
66
78
|
#
|
@@ -87,16 +99,18 @@ module Google
|
|
87
99
|
|
88
100
|
response = @client_stub.make_http_request(
|
89
101
|
verb,
|
90
|
-
uri:
|
91
|
-
body:
|
92
|
-
params:
|
102
|
+
uri: uri,
|
103
|
+
body: body || "",
|
104
|
+
params: query_string_params,
|
105
|
+
method_name: "get_user",
|
93
106
|
options: options
|
94
107
|
)
|
95
108
|
operation = ::Gapic::Rest::TransportOperation.new response
|
96
109
|
result = ::Google::Ads::AdManager::V1::User.decode_json response.body, ignore_unknown_fields: true
|
97
|
-
|
98
|
-
|
99
|
-
|
110
|
+
catch :response do
|
111
|
+
yield result, operation if block_given?
|
112
|
+
result
|
113
|
+
end
|
100
114
|
end
|
101
115
|
|
102
116
|
##
|
@@ -38,15 +38,23 @@ module Google
|
|
38
38
|
# @!attribute [rw] dropdown_value
|
39
39
|
# @return [::Integer]
|
40
40
|
# The custom_field_option_id, if the CustomFieldDataType is DROPDOWN.
|
41
|
+
#
|
42
|
+
# Note: The following fields are mutually exclusive: `dropdown_value`, `string_value`, `number_value`, `toggle_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
41
43
|
# @!attribute [rw] string_value
|
42
44
|
# @return [::String]
|
43
45
|
# The value, if the CustomFieldDataType is STRING.
|
46
|
+
#
|
47
|
+
# Note: The following fields are mutually exclusive: `string_value`, `dropdown_value`, `number_value`, `toggle_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
44
48
|
# @!attribute [rw] number_value
|
45
49
|
# @return [::Float]
|
46
50
|
# The value, if the CustomFieldDataType is NUMBER.
|
51
|
+
#
|
52
|
+
# Note: The following fields are mutually exclusive: `number_value`, `dropdown_value`, `string_value`, `toggle_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
47
53
|
# @!attribute [rw] toggle_value
|
48
54
|
# @return [::Boolean]
|
49
55
|
# The value, if the CustomFieldDataType is TOGGLE.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `toggle_value`, `dropdown_value`, `string_value`, `number_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
50
58
|
class Value
|
51
59
|
include ::Google::Protobuf::MessageExts
|
52
60
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -25,12 +25,18 @@ module Google
|
|
25
25
|
# @!attribute [rw] audience_segment_id
|
26
26
|
# @return [::Integer]
|
27
27
|
# ID of an AudienceSegment that this mapping belongs to.
|
28
|
+
#
|
29
|
+
# Note: The following fields are mutually exclusive: `audience_segment_id`, `content_bundle_id`, `custom_targeting_value_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
28
30
|
# @!attribute [rw] content_bundle_id
|
29
31
|
# @return [::Integer]
|
30
32
|
# ID of a ContentBundle that this mapping belongs to.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `content_bundle_id`, `audience_segment_id`, `custom_targeting_value_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
31
35
|
# @!attribute [rw] custom_targeting_value_id
|
32
36
|
# @return [::Integer]
|
33
37
|
# ID of a CustomValue that this mapping belongs to.
|
38
|
+
#
|
39
|
+
# Note: The following fields are mutually exclusive: `custom_targeting_value_id`, `audience_segment_id`, `content_bundle_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
34
40
|
# @!attribute [rw] name
|
35
41
|
# @return [::String]
|
36
42
|
# Identifier. The resource name of the `EntitySignalsMapping`.
|
@@ -60,24 +60,38 @@ module Google
|
|
60
60
|
# @!attribute [rw] int_value
|
61
61
|
# @return [::Integer]
|
62
62
|
# For integer values.
|
63
|
+
#
|
64
|
+
# Note: The following fields are mutually exclusive: `int_value`, `double_value`, `string_value`, `bool_value`, `int_list_value`, `string_list_value`, `bytes_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
63
65
|
# @!attribute [rw] double_value
|
64
66
|
# @return [::Float]
|
65
67
|
# For double values.
|
68
|
+
#
|
69
|
+
# Note: The following fields are mutually exclusive: `double_value`, `int_value`, `string_value`, `bool_value`, `int_list_value`, `string_list_value`, `bytes_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
66
70
|
# @!attribute [rw] string_value
|
67
71
|
# @return [::String]
|
68
72
|
# For string values.
|
73
|
+
#
|
74
|
+
# Note: The following fields are mutually exclusive: `string_value`, `int_value`, `double_value`, `bool_value`, `int_list_value`, `string_list_value`, `bytes_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
69
75
|
# @!attribute [rw] bool_value
|
70
76
|
# @return [::Boolean]
|
71
77
|
# For boolean values.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `int_value`, `double_value`, `string_value`, `int_list_value`, `string_list_value`, `bytes_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
72
80
|
# @!attribute [rw] int_list_value
|
73
81
|
# @return [::Google::Ads::AdManager::V1::Report::Value::IntList]
|
74
82
|
# For lists of integer values.
|
83
|
+
#
|
84
|
+
# Note: The following fields are mutually exclusive: `int_list_value`, `int_value`, `double_value`, `string_value`, `bool_value`, `string_list_value`, `bytes_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
75
85
|
# @!attribute [rw] string_list_value
|
76
86
|
# @return [::Google::Ads::AdManager::V1::Report::Value::StringList]
|
77
87
|
# For lists of string values.
|
88
|
+
#
|
89
|
+
# Note: The following fields are mutually exclusive: `string_list_value`, `int_value`, `double_value`, `string_value`, `bool_value`, `int_list_value`, `bytes_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
78
90
|
# @!attribute [rw] bytes_value
|
79
91
|
# @return [::String]
|
80
92
|
# For bytes values.
|
93
|
+
#
|
94
|
+
# Note: The following fields are mutually exclusive: `bytes_value`, `int_value`, `double_value`, `string_value`, `bool_value`, `int_list_value`, `string_list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
95
|
class Value
|
82
96
|
include ::Google::Protobuf::MessageExts
|
83
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -187,9 +201,13 @@ module Google
|
|
187
201
|
# @!attribute [rw] dimension
|
188
202
|
# @return [::Google::Ads::AdManager::V1::Report::Dimension]
|
189
203
|
# The dimension this field represents.
|
204
|
+
#
|
205
|
+
# Note: The following fields are mutually exclusive: `dimension`, `metric`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
190
206
|
# @!attribute [rw] metric
|
191
207
|
# @return [::Google::Ads::AdManager::V1::Report::Metric]
|
192
208
|
# The metric this field represents.
|
209
|
+
#
|
210
|
+
# Note: The following fields are mutually exclusive: `metric`, `dimension`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
193
211
|
class Field
|
194
212
|
include ::Google::Protobuf::MessageExts
|
195
213
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -214,15 +232,23 @@ module Google
|
|
214
232
|
# @!attribute [rw] field_filter
|
215
233
|
# @return [::Google::Ads::AdManager::V1::Report::Filter::FieldFilter]
|
216
234
|
# A filter on a single field.
|
235
|
+
#
|
236
|
+
# Note: The following fields are mutually exclusive: `field_filter`, `not_filter`, `and_filter`, `or_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
217
237
|
# @!attribute [rw] not_filter
|
218
238
|
# @return [::Google::Ads::AdManager::V1::Report::Filter]
|
219
239
|
# A filter whose result is negated.
|
240
|
+
#
|
241
|
+
# Note: The following fields are mutually exclusive: `not_filter`, `field_filter`, `and_filter`, `or_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
220
242
|
# @!attribute [rw] and_filter
|
221
243
|
# @return [::Google::Ads::AdManager::V1::Report::Filter::FilterList]
|
222
244
|
# A list of filters whose results are AND-ed.
|
245
|
+
#
|
246
|
+
# Note: The following fields are mutually exclusive: `and_filter`, `field_filter`, `not_filter`, `or_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
223
247
|
# @!attribute [rw] or_filter
|
224
248
|
# @return [::Google::Ads::AdManager::V1::Report::Filter::FilterList]
|
225
249
|
# A list of filters whose results are OR-ed.
|
250
|
+
#
|
251
|
+
# Note: The following fields are mutually exclusive: `or_filter`, `field_filter`, `not_filter`, `and_filter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
226
252
|
class Filter
|
227
253
|
include ::Google::Protobuf::MessageExts
|
228
254
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -341,9 +367,13 @@ module Google
|
|
341
367
|
# @!attribute [rw] fixed
|
342
368
|
# @return [::Google::Ads::AdManager::V1::Report::DateRange::FixedDateRange]
|
343
369
|
# A fixed date range.
|
370
|
+
#
|
371
|
+
# Note: The following fields are mutually exclusive: `fixed`, `relative`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
344
372
|
# @!attribute [rw] relative
|
345
373
|
# @return [::Google::Ads::AdManager::V1::Report::DateRange::RelativeDateRange]
|
346
374
|
# A relative date range.
|
375
|
+
#
|
376
|
+
# Note: The following fields are mutually exclusive: `relative`, `fixed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
347
377
|
class DateRange
|
348
378
|
include ::Google::Protobuf::MessageExts
|
349
379
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3396,9 +3426,13 @@ module Google
|
|
3396
3426
|
# @!attribute [rw] weekly_schedule
|
3397
3427
|
# @return [::Google::Ads::AdManager::V1::Schedule::WeeklySchedule]
|
3398
3428
|
# Days of week to schedule report run.
|
3429
|
+
#
|
3430
|
+
# Note: The following fields are mutually exclusive: `weekly_schedule`, `monthly_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
3399
3431
|
# @!attribute [rw] monthly_schedule
|
3400
3432
|
# @return [::Google::Ads::AdManager::V1::Schedule::MonthlySchedule]
|
3401
3433
|
# Days of month to schedule report run.
|
3434
|
+
#
|
3435
|
+
# Note: The following fields are mutually exclusive: `monthly_schedule`, `weekly_schedule`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
3402
3436
|
# @!attribute [rw] start_date
|
3403
3437
|
# @return [::Google::Type::Date]
|
3404
3438
|
# Date for the first run of the report.
|
@@ -215,6 +215,12 @@ module Google
|
|
215
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
216
216
|
# This feature will be enabled by default 1 month after launching the
|
217
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
218
224
|
class ExperimentalFeatures
|
219
225
|
include ::Google::Protobuf::MessageExts
|
220
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -300,9 +306,28 @@ module Google
|
|
300
306
|
# @!attribute [rw] common
|
301
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
302
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
303
319
|
class GoSettings
|
304
320
|
include ::Google::Protobuf::MessageExts
|
305
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
306
331
|
end
|
307
332
|
|
308
333
|
# Describes the generator configuration for a method.
|
@@ -40,9 +40,11 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
47
|
+
# The normal, successful response of the operation. If the original
|
46
48
|
# method returns no data on success, such as `Delete`, the response is
|
47
49
|
# `google.protobuf.Empty`. If the original method is standard
|
48
50
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -50,12 +52,15 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
60
|
end
|
57
61
|
|
58
|
-
# The request message for
|
62
|
+
# The request message for
|
63
|
+
# Operations.GetOperation.
|
59
64
|
# @!attribute [rw] name
|
60
65
|
# @return [::String]
|
61
66
|
# The name of the operation resource.
|
@@ -64,7 +69,8 @@ module Google
|
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
70
|
end
|
66
71
|
|
67
|
-
# The request message for
|
72
|
+
# The request message for
|
73
|
+
# Operations.ListOperations.
|
68
74
|
# @!attribute [rw] name
|
69
75
|
# @return [::String]
|
70
76
|
# The name of the operation's parent resource.
|
@@ -82,7 +88,8 @@ module Google
|
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
89
|
end
|
84
90
|
|
85
|
-
# The response message for
|
91
|
+
# The response message for
|
92
|
+
# Operations.ListOperations.
|
86
93
|
# @!attribute [rw] operations
|
87
94
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
95
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +101,8 @@ module Google
|
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
102
|
end
|
96
103
|
|
97
|
-
# The request message for
|
104
|
+
# The request message for
|
105
|
+
# Operations.CancelOperation.
|
98
106
|
# @!attribute [rw] name
|
99
107
|
# @return [::String]
|
100
108
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +111,8 @@ module Google
|
|
103
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
112
|
end
|
105
113
|
|
106
|
-
# The request message for
|
114
|
+
# The request message for
|
115
|
+
# Operations.DeleteOperation.
|
107
116
|
# @!attribute [rw] name
|
108
117
|
# @return [::String]
|
109
118
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +121,8 @@ module Google
|
|
112
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
122
|
end
|
114
123
|
|
115
|
-
# The request message for
|
124
|
+
# The request message for
|
125
|
+
# Operations.WaitOperation.
|
116
126
|
# @!attribute [rw] name
|
117
127
|
# @return [::String]
|
118
128
|
# The name of the operation resource to wait on.
|
@@ -130,13 +140,12 @@ module Google
|
|
130
140
|
#
|
131
141
|
# Example:
|
132
142
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
143
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
144
|
+
# option (google.longrunning.operation_info) = {
|
145
|
+
# response_type: "ExportResponse"
|
146
|
+
# metadata_type: "ExportMetadata"
|
147
|
+
# };
|
148
|
+
# }
|
140
149
|
# @!attribute [rw] response_type
|
141
150
|
# @return [::String]
|
142
151
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-ads-ad_manager-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -264,7 +263,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
264
263
|
licenses:
|
265
264
|
- Apache-2.0
|
266
265
|
metadata: {}
|
267
|
-
post_install_message:
|
268
266
|
rdoc_options: []
|
269
267
|
require_paths:
|
270
268
|
- lib
|
@@ -272,15 +270,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
272
270
|
requirements:
|
273
271
|
- - ">="
|
274
272
|
- !ruby/object:Gem::Version
|
275
|
-
version: '
|
273
|
+
version: '3.0'
|
276
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
275
|
requirements:
|
278
276
|
- - ">="
|
279
277
|
- !ruby/object:Gem::Version
|
280
278
|
version: '0'
|
281
279
|
requirements: []
|
282
|
-
rubygems_version: 3.
|
283
|
-
signing_key:
|
280
|
+
rubygems_version: 3.6.2
|
284
281
|
specification_version: 4
|
285
282
|
summary: Manage your Ad Manager inventory, run reports and more.
|
286
283
|
test_files: []
|