google-apis-realtimebidding_v1alpha 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/realtimebidding_v1alpha/classes.rb +32 -0
- data/lib/google/apis/realtimebidding_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/realtimebidding_v1alpha/representations.rb +25 -0
- data/lib/google/apis/realtimebidding_v1alpha/service.rb +71 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba1cd4aa086a252e7b3baff3fd8f46d0274412a31cd24c96bdf1a048c8e63b75
|
4
|
+
data.tar.gz: 7a716077919990d938c4339c6563a4dc31a2eb518830541a30238375d5a8e51f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3838c0238c0302c27e5ea268d4cd2ab79fe7ae012b771a43087ba180cdee3edc4581e10684359cf5899eae105c959c3710f8d311417d6b3588a4cd6c356f991f
|
7
|
+
data.tar.gz: 0c0929ae062f6da5061c8d35fdf38983bb2d1f039f089aacc459ff8d53a3d55142ee01d3c2902276a639d9d51657bf2ac9668dd6c4336836b8823e3c6b5c7b3d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-realtimebidding_v1alpha
|
2
2
|
|
3
|
+
### v0.5.0 (2021-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210624
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
3
8
|
### v0.4.0 (2021-05-19)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20210518
|
@@ -22,6 +22,32 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RealtimebiddingV1alpha
|
24
24
|
|
25
|
+
# The request to activate a bidding function.
|
26
|
+
class ActivateBiddingFunctionRequest
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
def initialize(**args)
|
30
|
+
update!(**args)
|
31
|
+
end
|
32
|
+
|
33
|
+
# Update properties of this object
|
34
|
+
def update!(**args)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# A request to archive a bidding function.
|
39
|
+
class ArchiveBiddingFunctionRequest
|
40
|
+
include Google::Apis::Core::Hashable
|
41
|
+
|
42
|
+
def initialize(**args)
|
43
|
+
update!(**args)
|
44
|
+
end
|
45
|
+
|
46
|
+
# Update properties of this object
|
47
|
+
def update!(**args)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
25
51
|
# The bidding function to be executed as part of the TURTLEDOVE simulation
|
26
52
|
# experiment bidding flow.
|
27
53
|
class BiddingFunction
|
@@ -38,6 +64,11 @@ module Google
|
|
38
64
|
# @return [String]
|
39
65
|
attr_accessor :name
|
40
66
|
|
67
|
+
# Output only. The state of the bidding function.
|
68
|
+
# Corresponds to the JSON property `state`
|
69
|
+
# @return [String]
|
70
|
+
attr_accessor :state
|
71
|
+
|
41
72
|
# The type of the bidding function to be created.
|
42
73
|
# Corresponds to the JSON property `type`
|
43
74
|
# @return [String]
|
@@ -51,6 +82,7 @@ module Google
|
|
51
82
|
def update!(**args)
|
52
83
|
@bidding_function = args[:bidding_function] if args.key?(:bidding_function)
|
53
84
|
@name = args[:name] if args.key?(:name)
|
85
|
+
@state = args[:state] if args.key?(:state)
|
54
86
|
@type = args[:type] if args.key?(:type)
|
55
87
|
end
|
56
88
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RealtimebiddingV1alpha
|
18
18
|
# Version of the google-apis-realtimebidding_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210624"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RealtimebiddingV1alpha
|
24
24
|
|
25
|
+
class ActivateBiddingFunctionRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ArchiveBiddingFunctionRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class BiddingFunction
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -34,11 +46,24 @@ module Google
|
|
34
46
|
include Google::Apis::Core::JsonObjectSupport
|
35
47
|
end
|
36
48
|
|
49
|
+
class ActivateBiddingFunctionRequest
|
50
|
+
# @private
|
51
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
class ArchiveBiddingFunctionRequest
|
56
|
+
# @private
|
57
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
37
61
|
class BiddingFunction
|
38
62
|
# @private
|
39
63
|
class Representation < Google::Apis::Core::JsonRepresentation
|
40
64
|
property :bidding_function, as: 'biddingFunction'
|
41
65
|
property :name, as: 'name'
|
66
|
+
property :state, as: 'state'
|
42
67
|
property :type, as: 'type'
|
43
68
|
end
|
44
69
|
end
|
@@ -52,6 +52,77 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Activates an existing bidding function. An activated function is available for
|
56
|
+
# invocation for the server-side TURTLEDOVE simulations.
|
57
|
+
# @param [String] name
|
58
|
+
# Required. The name of the bidding function to activate. Format: `bidders/`
|
59
|
+
# bidder_account_id`/biddingFunction/`bidding_function_name``
|
60
|
+
# @param [Google::Apis::RealtimebiddingV1alpha::ActivateBiddingFunctionRequest] activate_bidding_function_request_object
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1alpha::BiddingFunction] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::RealtimebiddingV1alpha::BiddingFunction]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def activate_bidding_function(name, activate_bidding_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:activate', options)
|
80
|
+
command.request_representation = Google::Apis::RealtimebiddingV1alpha::ActivateBiddingFunctionRequest::Representation
|
81
|
+
command.request_object = activate_bidding_function_request_object
|
82
|
+
command.response_representation = Google::Apis::RealtimebiddingV1alpha::BiddingFunction::Representation
|
83
|
+
command.response_class = Google::Apis::RealtimebiddingV1alpha::BiddingFunction
|
84
|
+
command.params['name'] = name unless name.nil?
|
85
|
+
command.query['fields'] = fields unless fields.nil?
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
+
execute_or_queue_command(command, &block)
|
88
|
+
end
|
89
|
+
|
90
|
+
# Archives an existing bidding function. An archived function will not be
|
91
|
+
# available for function invocation for the server-side TURTLEDOVE simulations
|
92
|
+
# unless it is activated.
|
93
|
+
# @param [String] name
|
94
|
+
# Required. The name of the bidding function to archive. Format: `bidders/`
|
95
|
+
# bidder_account_id`/biddingFunction/`bidding_function_name``
|
96
|
+
# @param [Google::Apis::RealtimebiddingV1alpha::ArchiveBiddingFunctionRequest] archive_bidding_function_request_object
|
97
|
+
# @param [String] fields
|
98
|
+
# Selector specifying which fields to include in a partial response.
|
99
|
+
# @param [String] quota_user
|
100
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
101
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
102
|
+
# @param [Google::Apis::RequestOptions] options
|
103
|
+
# Request-specific options
|
104
|
+
#
|
105
|
+
# @yield [result, err] Result & error if block supplied
|
106
|
+
# @yieldparam result [Google::Apis::RealtimebiddingV1alpha::BiddingFunction] parsed result object
|
107
|
+
# @yieldparam err [StandardError] error object if request failed
|
108
|
+
#
|
109
|
+
# @return [Google::Apis::RealtimebiddingV1alpha::BiddingFunction]
|
110
|
+
#
|
111
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
+
def archive_bidding_function(name, archive_bidding_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
115
|
+
command = make_simple_command(:post, 'v1alpha/{+name}:archive', options)
|
116
|
+
command.request_representation = Google::Apis::RealtimebiddingV1alpha::ArchiveBiddingFunctionRequest::Representation
|
117
|
+
command.request_object = archive_bidding_function_request_object
|
118
|
+
command.response_representation = Google::Apis::RealtimebiddingV1alpha::BiddingFunction::Representation
|
119
|
+
command.response_class = Google::Apis::RealtimebiddingV1alpha::BiddingFunction
|
120
|
+
command.params['name'] = name unless name.nil?
|
121
|
+
command.query['fields'] = fields unless fields.nil?
|
122
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
123
|
+
execute_or_queue_command(command, &block)
|
124
|
+
end
|
125
|
+
|
55
126
|
# Creates a new bidding function.
|
56
127
|
# @param [String] parent
|
57
128
|
# Required. The name of the bidder for which to create the bidding function.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-realtimebidding_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Real-time Bidding API V1alpha. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-realtimebidding_v1alpha/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1alpha/v0.5.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-realtimebidding_v1alpha
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|