google-apis-realtimebidding_v1alpha 0.4.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7c1f463de290282bf84f3180d79605bdeb67a3a5cf640d75bc1402fabccbeb2
4
- data.tar.gz: b4d0a6e714a62b20d1971bd319b80e307a02858d6d3a092b78e013d2786941e8
3
+ metadata.gz: a28ff72172d9f06bcc84c2c6493671f792b1275b74ca5c8d1a9f8dec606cbd6e
4
+ data.tar.gz: 20aa7f7f3fd75c25c865290d7964376e829b9314230e2ff64913b4f2d945ca99
5
5
  SHA512:
6
- metadata.gz: 4f2c69efbf0e0566f02930fbcb4e67803cbf0e890f8e3c3252605fe139a534f25dce466123b51e8ad1686c9bca6d2b77173940c14e35ae6c48b64c79e18cd46c
7
- data.tar.gz: cd9dfbadfc68536316bfca003cf48eb348f020a7fa34e9b09e5260f38783c2d71a6eb64afa41582516dda261c543bfbd1ce3ac3e739075c43ef0f1b9d1a94186
6
+ metadata.gz: 70ec17d7d14b880af6c4c181f98831c7e938f394ba754629e9af1aa5ec096ded73c8fafbcec40b180c4d3f79000231352968204b0100110b5a4c4cd548bad199
7
+ data.tar.gz: 6d52b8a698c203cec8b57859649bbc5890e210fe614c90e3a6b763d6ee5aabae7e4995bd2be8a89319126934ea93b935cafd163fa7059c08afe6732f44d809e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-realtimebidding_v1alpha
2
2
 
3
+ ### v0.8.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.7.0 (2021-10-20)
8
+
9
+ * Regenerated from discovery document revision 20210923
10
+
11
+ ### v0.6.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.5.0 (2021-06-25)
16
+
17
+ * Regenerated from discovery document revision 20210624
18
+ * Regenerated using generator version 0.3.0
19
+
3
20
  ### v0.4.0 (2021-05-19)
4
21
 
5
22
  * Regenerated from discovery document revision 20210518
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/realtimebidding_v1alpha"
51
51
  client = Google::Apis::RealtimebiddingV1alpha::RealtimeBiddingService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Realtimebidding service in particular.)
67
67
 
@@ -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.4.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210518"
25
+ REVISION = "20210923"
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.0
4
+ version: 0.8.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-05-24 00:00:00.000000000 Z
11
+ date: 2022-01-10 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.1'
19
+ version: '0.4'
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.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
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
@@ -51,9 +57,9 @@ licenses:
51
57
  - Apache-2.0
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
- 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.4.0
56
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-realtimebidding_v1alpha
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-realtimebidding_v1alpha/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-realtimebidding_v1alpha/v0.8.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-realtimebidding_v1alpha
57
63
  post_install_message:
58
64
  rdoc_options: []
59
65
  require_paths:
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Real-time Bidding API V1alpha