google-api-client 0.42.0 → 0.42.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +70 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/service.rb +1 -1
  5. data/generated/google/apis/appsmarket_v2.rb +1 -1
  6. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  7. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  8. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  9. data/generated/google/apis/blogger_v3.rb +1 -1
  10. data/generated/google/apis/chat_v1.rb +1 -1
  11. data/generated/google/apis/chat_v1/classes.rb +111 -0
  12. data/generated/google/apis/chat_v1/representations.rb +50 -0
  13. data/generated/google/apis/chat_v1/service.rb +32 -0
  14. data/generated/google/apis/classroom_v1.rb +1 -1
  15. data/generated/google/apis/classroom_v1/service.rb +5 -2
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  18. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  19. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +25 -0
  20. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +15 -0
  21. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  22. data/generated/google/apis/cloudscheduler_v1/classes.rb +5 -5
  23. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  24. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +5 -5
  25. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  26. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  27. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  28. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  29. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  30. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  31. data/generated/google/apis/compute_beta.rb +1 -1
  32. data/generated/google/apis/compute_beta/classes.rb +279 -0
  33. data/generated/google/apis/compute_beta/representations.rb +90 -0
  34. data/generated/google/apis/compute_beta/service.rb +257 -0
  35. data/generated/google/apis/compute_v1.rb +1 -1
  36. data/generated/google/apis/compute_v1/classes.rb +279 -0
  37. data/generated/google/apis/compute_v1/representations.rb +90 -0
  38. data/generated/google/apis/compute_v1/service.rb +257 -0
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +9 -0
  41. data/generated/google/apis/container_v1/representations.rb +1 -0
  42. data/generated/google/apis/container_v1beta1.rb +1 -1
  43. data/generated/google/apis/container_v1beta1/classes.rb +15 -0
  44. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  45. data/generated/google/apis/content_v2.rb +1 -1
  46. data/generated/google/apis/content_v2/classes.rb +2 -2
  47. data/generated/google/apis/content_v2_1.rb +1 -1
  48. data/generated/google/apis/content_v2_1/classes.rb +4 -4
  49. data/generated/google/apis/customsearch_v1.rb +1 -1
  50. data/generated/google/apis/customsearch_v1/service.rb +12 -2
  51. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  52. data/generated/google/apis/datacatalog_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  54. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  55. data/generated/google/apis/dataproc_v1.rb +1 -1
  56. data/generated/google/apis/dataproc_v1/classes.rb +9 -9
  57. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  58. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -9
  59. data/generated/google/apis/datastore_v1.rb +1 -1
  60. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  61. data/generated/google/apis/displayvideo_v1.rb +1 -1
  62. data/generated/google/apis/displayvideo_v1/service.rb +2 -1
  63. data/generated/google/apis/dlp_v2.rb +1 -1
  64. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  65. data/generated/google/apis/dns_v1.rb +1 -1
  66. data/generated/google/apis/dns_v1beta2.rb +1 -1
  67. data/generated/google/apis/dns_v2beta1.rb +4 -4
  68. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  69. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  70. data/generated/google/apis/drive_v2.rb +1 -1
  71. data/generated/google/apis/drive_v2/classes.rb +66 -2
  72. data/generated/google/apis/drive_v2/representations.rb +22 -0
  73. data/generated/google/apis/drive_v2/service.rb +23 -10
  74. data/generated/google/apis/drive_v3.rb +1 -1
  75. data/generated/google/apis/drive_v3/classes.rb +65 -2
  76. data/generated/google/apis/drive_v3/representations.rb +22 -0
  77. data/generated/google/apis/drive_v3/service.rb +8 -5
  78. data/generated/google/apis/firestore_v1.rb +1 -1
  79. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  80. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  81. data/generated/google/apis/firestore_v1/service.rb +78 -0
  82. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  83. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  84. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  85. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  86. data/generated/google/apis/gmail_v1.rb +1 -1
  87. data/generated/google/apis/gmail_v1/classes.rb +53 -53
  88. data/generated/google/apis/gmail_v1/service.rb +72 -72
  89. data/generated/google/apis/healthcare_v1.rb +1 -1
  90. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  91. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  92. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  93. data/generated/google/apis/iam_v1.rb +1 -1
  94. data/generated/google/apis/iam_v1/classes.rb +22 -3
  95. data/generated/google/apis/iam_v1/service.rb +18 -6
  96. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  97. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  98. data/generated/google/apis/ml_v1.rb +1 -1
  99. data/generated/google/apis/ml_v1/classes.rb +17 -11
  100. data/generated/google/apis/monitoring_v3.rb +1 -1
  101. data/generated/google/apis/monitoring_v3/classes.rb +54 -30
  102. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  103. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  104. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  105. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  106. data/generated/google/apis/osconfig_v1.rb +1 -1
  107. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  108. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  109. data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
  110. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  111. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  112. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  113. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  114. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  115. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  116. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  118. data/generated/google/apis/reseller_v1.rb +4 -3
  119. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  120. data/generated/google/apis/reseller_v1/service.rb +247 -252
  121. data/generated/google/apis/run_v1.rb +2 -2
  122. data/generated/google/apis/run_v1/classes.rb +6 -1
  123. data/generated/google/apis/run_v1/service.rb +1 -1
  124. data/generated/google/apis/run_v1alpha1.rb +2 -2
  125. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  126. data/generated/google/apis/run_v1beta1.rb +2 -2
  127. data/generated/google/apis/run_v1beta1/service.rb +1 -1
  128. data/generated/google/apis/searchconsole_v1.rb +4 -3
  129. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  130. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  131. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
  132. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  133. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  134. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  135. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  136. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  137. data/generated/google/apis/servicemanagement_v1/classes.rb +2 -2
  138. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  139. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  140. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  141. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  142. data/generated/google/apis/serviceusage_v1.rb +1 -1
  143. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  144. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  145. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/sheets_v4.rb +1 -1
  147. data/generated/google/apis/sheets_v4/classes.rb +28 -28
  148. data/generated/google/apis/vision_v1.rb +1 -1
  149. data/generated/google/apis/vision_v1/classes.rb +2 -0
  150. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  151. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  152. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  153. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  154. data/generated/google/apis/youtube_v3.rb +1 -1
  155. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  156. data/generated/google/apis/youtube_v3/service.rb +1 -0
  157. data/lib/google/apis/version.rb +1 -1
  158. metadata +7 -3
@@ -20,9 +20,9 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module DnsV2beta1
23
- # Google Cloud DNS API
23
+ # Cloud DNS API
24
24
  #
25
- # Configures and serves authoritative DNS records.
25
+ #
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/dns_v2beta1'
@@ -30,7 +30,7 @@ module Google
30
30
  # Dns = Google::Apis::DnsV2beta1 # Alias the module
31
31
  # service = Dns::DnsService.new
32
32
  #
33
- # @see https://developers.google.com/cloud-dns
33
+ # @see http://developers.google.com/cloud-dns
34
34
  class DnsService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -38,31 +38,31 @@ module Google
38
38
  attr_accessor :key
39
39
 
40
40
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
43
  attr_accessor :quota_user
44
44
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
45
  def initialize
50
- super('https://dns.googleapis.com/', 'dns/v2beta1/projects/')
51
- @batch_path = 'batch/dns/v2beta1'
46
+ super('https://dns.googleapis.com/', '')
47
+ @batch_path = 'batch'
52
48
  end
53
49
 
54
- #
50
+ # Atomically update the ResourceRecordSet collection.
55
51
  # @param [String] project
52
+ # Identifies the project addressed by this request.
56
53
  # @param [String] managed_zone
54
+ # Identifies the managed zone addressed by this request. Can be the managed
55
+ # zone name or id.
57
56
  # @param [Google::Apis::DnsV2beta1::Change] change_object
58
57
  # @param [String] client_operation_id
58
+ # For mutating operation requests only. An optional identifier
59
+ # specified by the client. Must be unique for operation resources in the
60
+ # Operations collection.
59
61
  # @param [String] fields
60
62
  # Selector specifying which fields to include in a partial response.
61
63
  # @param [String] quota_user
62
- # An opaque string that represents a user for quota purposes. Must not exceed 40
63
- # characters.
64
- # @param [String] user_ip
65
- # Deprecated. Please use quotaUser instead.
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
66
  # @param [Google::Apis::RequestOptions] options
67
67
  # Request-specific options
68
68
  #
@@ -75,8 +75,8 @@ module Google
75
75
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
76
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
77
  # @raise [Google::Apis::AuthorizationError] Authorization is required
78
- def create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
79
- command = make_simple_command(:post, '{project}/managedZones/{managedZone}/changes', options)
78
+ def create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:post, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes', options)
80
80
  command.request_representation = Google::Apis::DnsV2beta1::Change::Representation
81
81
  command.request_object = change_object
82
82
  command.response_representation = Google::Apis::DnsV2beta1::Change::Representation
@@ -86,22 +86,27 @@ module Google
86
86
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
87
87
  command.query['fields'] = fields unless fields.nil?
88
88
  command.query['quotaUser'] = quota_user unless quota_user.nil?
89
- command.query['userIp'] = user_ip unless user_ip.nil?
90
89
  execute_or_queue_command(command, &block)
91
90
  end
92
91
 
93
- #
92
+ # Fetch the representation of an existing Change.
94
93
  # @param [String] project
94
+ # Identifies the project addressed by this request.
95
95
  # @param [String] managed_zone
96
+ # Identifies the managed zone addressed by this request. Can be the managed
97
+ # zone name or id.
96
98
  # @param [String] change_id
99
+ # The identifier of the requested change, from a previous
100
+ # ResourceRecordSetsChangeResponse.
97
101
  # @param [String] client_operation_id
102
+ # For mutating operation requests only. An optional identifier
103
+ # specified by the client. Must be unique for operation resources in the
104
+ # Operations collection.
98
105
  # @param [String] fields
99
106
  # Selector specifying which fields to include in a partial response.
100
107
  # @param [String] quota_user
101
- # An opaque string that represents a user for quota purposes. Must not exceed 40
102
- # characters.
103
- # @param [String] user_ip
104
- # Deprecated. Please use quotaUser instead.
108
+ # Available to use for quota purposes for server-side applications. Can be any
109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
110
  # @param [Google::Apis::RequestOptions] options
106
111
  # Request-specific options
107
112
  #
@@ -114,8 +119,8 @@ module Google
114
119
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
120
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
121
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
- def get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes/{changeId}', options)
122
+ def get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
123
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes/{changeId}', options)
119
124
  command.response_representation = Google::Apis::DnsV2beta1::Change::Representation
120
125
  command.response_class = Google::Apis::DnsV2beta1::Change
121
126
  command.params['project'] = project unless project.nil?
@@ -124,24 +129,30 @@ module Google
124
129
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
125
130
  command.query['fields'] = fields unless fields.nil?
126
131
  command.query['quotaUser'] = quota_user unless quota_user.nil?
127
- command.query['userIp'] = user_ip unless user_ip.nil?
128
132
  execute_or_queue_command(command, &block)
129
133
  end
130
134
 
131
- #
135
+ # Enumerate Changes to a ResourceRecordSet collection.
132
136
  # @param [String] project
137
+ # Identifies the project addressed by this request.
133
138
  # @param [String] managed_zone
139
+ # Identifies the managed zone addressed by this request. Can be the managed
140
+ # zone name or id.
134
141
  # @param [Fixnum] max_results
142
+ # Optional. Maximum number of results to be returned. If unspecified, the
143
+ # server will decide how many results to return.
135
144
  # @param [String] page_token
145
+ # Optional. A tag returned by a previous list request that was truncated.
146
+ # Use this parameter to continue a previous list request.
136
147
  # @param [String] sort_by
148
+ # Sorting criterion. The only supported value is change sequence.
137
149
  # @param [String] sort_order
150
+ # Sorting order direction: 'ascending' or 'descending'.
138
151
  # @param [String] fields
139
152
  # Selector specifying which fields to include in a partial response.
140
153
  # @param [String] quota_user
141
- # An opaque string that represents a user for quota purposes. Must not exceed 40
142
- # characters.
143
- # @param [String] user_ip
144
- # Deprecated. Please use quotaUser instead.
154
+ # Available to use for quota purposes for server-side applications. Can be any
155
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
145
156
  # @param [Google::Apis::RequestOptions] options
146
157
  # Request-specific options
147
158
  #
@@ -154,8 +165,8 @@ module Google
154
165
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
155
166
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
156
167
  # @raise [Google::Apis::AuthorizationError] Authorization is required
157
- def list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
158
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes', options)
168
+ def list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
169
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes', options)
159
170
  command.response_representation = Google::Apis::DnsV2beta1::ChangesListResponse::Representation
160
171
  command.response_class = Google::Apis::DnsV2beta1::ChangesListResponse
161
172
  command.params['project'] = project unless project.nil?
@@ -166,23 +177,30 @@ module Google
166
177
  command.query['sortOrder'] = sort_order unless sort_order.nil?
167
178
  command.query['fields'] = fields unless fields.nil?
168
179
  command.query['quotaUser'] = quota_user unless quota_user.nil?
169
- command.query['userIp'] = user_ip unless user_ip.nil?
170
180
  execute_or_queue_command(command, &block)
171
181
  end
172
182
 
173
- #
183
+ # Fetch the representation of an existing DnsKey.
174
184
  # @param [String] project
185
+ # Identifies the project addressed by this request.
175
186
  # @param [String] managed_zone
187
+ # Identifies the managed zone addressed by this request. Can be the managed
188
+ # zone name or id.
176
189
  # @param [String] dns_key_id
190
+ # The identifier of the requested DnsKey.
177
191
  # @param [String] client_operation_id
192
+ # For mutating operation requests only. An optional identifier
193
+ # specified by the client. Must be unique for operation resources in the
194
+ # Operations collection.
178
195
  # @param [String] digest_type
196
+ # An optional comma-separated list of digest types to compute and display
197
+ # for key signing keys. If omitted, the recommended digest type will be
198
+ # computed and displayed.
179
199
  # @param [String] fields
180
200
  # Selector specifying which fields to include in a partial response.
181
201
  # @param [String] quota_user
182
- # An opaque string that represents a user for quota purposes. Must not exceed 40
183
- # characters.
184
- # @param [String] user_ip
185
- # Deprecated. Please use quotaUser instead.
202
+ # Available to use for quota purposes for server-side applications. Can be any
203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
186
204
  # @param [Google::Apis::RequestOptions] options
187
205
  # Request-specific options
188
206
  #
@@ -195,8 +213,8 @@ module Google
195
213
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
196
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
198
- def get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
199
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}', options)
216
+ def get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, options: nil, &block)
217
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}', options)
200
218
  command.response_representation = Google::Apis::DnsV2beta1::DnsKey::Representation
201
219
  command.response_class = Google::Apis::DnsV2beta1::DnsKey
202
220
  command.params['project'] = project unless project.nil?
@@ -206,23 +224,30 @@ module Google
206
224
  command.query['digestType'] = digest_type unless digest_type.nil?
207
225
  command.query['fields'] = fields unless fields.nil?
208
226
  command.query['quotaUser'] = quota_user unless quota_user.nil?
209
- command.query['userIp'] = user_ip unless user_ip.nil?
210
227
  execute_or_queue_command(command, &block)
211
228
  end
212
229
 
213
- #
230
+ # Enumerate DnsKeys to a ResourceRecordSet collection.
214
231
  # @param [String] project
232
+ # Identifies the project addressed by this request.
215
233
  # @param [String] managed_zone
234
+ # Identifies the managed zone addressed by this request. Can be the managed
235
+ # zone name or id.
216
236
  # @param [String] digest_type
237
+ # An optional comma-separated list of digest types to compute and display
238
+ # for key signing keys. If omitted, the recommended digest type will be
239
+ # computed and displayed.
217
240
  # @param [Fixnum] max_results
241
+ # Optional. Maximum number of results to be returned. If unspecified, the
242
+ # server will decide how many results to return.
218
243
  # @param [String] page_token
244
+ # Optional. A tag returned by a previous list request that was truncated.
245
+ # Use this parameter to continue a previous list request.
219
246
  # @param [String] fields
220
247
  # Selector specifying which fields to include in a partial response.
221
248
  # @param [String] quota_user
222
- # An opaque string that represents a user for quota purposes. Must not exceed 40
223
- # characters.
224
- # @param [String] user_ip
225
- # Deprecated. Please use quotaUser instead.
249
+ # Available to use for quota purposes for server-side applications. Can be any
250
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
226
251
  # @param [Google::Apis::RequestOptions] options
227
252
  # Request-specific options
228
253
  #
@@ -235,8 +260,8 @@ module Google
235
260
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
236
261
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
237
262
  # @raise [Google::Apis::AuthorizationError] Authorization is required
238
- def list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
239
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys', options)
263
+ def list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
264
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys', options)
240
265
  command.response_representation = Google::Apis::DnsV2beta1::DnsKeysListResponse::Representation
241
266
  command.response_class = Google::Apis::DnsV2beta1::DnsKeysListResponse
242
267
  command.params['project'] = project unless project.nil?
@@ -246,22 +271,25 @@ module Google
246
271
  command.query['pageToken'] = page_token unless page_token.nil?
247
272
  command.query['fields'] = fields unless fields.nil?
248
273
  command.query['quotaUser'] = quota_user unless quota_user.nil?
249
- command.query['userIp'] = user_ip unless user_ip.nil?
250
274
  execute_or_queue_command(command, &block)
251
275
  end
252
276
 
253
- #
277
+ # Fetch the representation of an existing Operation.
254
278
  # @param [String] project
279
+ # Identifies the project addressed by this request.
255
280
  # @param [String] managed_zone
281
+ # Identifies the managed zone addressed by this request.
256
282
  # @param [String] operation
283
+ # Identifies the operation addressed by this request.
257
284
  # @param [String] client_operation_id
285
+ # For mutating operation requests only. An optional identifier
286
+ # specified by the client. Must be unique for operation resources in the
287
+ # Operations collection.
258
288
  # @param [String] fields
259
289
  # Selector specifying which fields to include in a partial response.
260
290
  # @param [String] quota_user
261
- # An opaque string that represents a user for quota purposes. Must not exceed 40
262
- # characters.
263
- # @param [String] user_ip
264
- # Deprecated. Please use quotaUser instead.
291
+ # Available to use for quota purposes for server-side applications. Can be any
292
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
265
293
  # @param [Google::Apis::RequestOptions] options
266
294
  # Request-specific options
267
295
  #
@@ -274,8 +302,8 @@ module Google
274
302
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
275
303
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
276
304
  # @raise [Google::Apis::AuthorizationError] Authorization is required
277
- def get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
278
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations/{operation}', options)
305
+ def get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
306
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations/{operation}', options)
279
307
  command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation
280
308
  command.response_class = Google::Apis::DnsV2beta1::Operation
281
309
  command.params['project'] = project unless project.nil?
@@ -284,23 +312,27 @@ module Google
284
312
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
285
313
  command.query['fields'] = fields unless fields.nil?
286
314
  command.query['quotaUser'] = quota_user unless quota_user.nil?
287
- command.query['userIp'] = user_ip unless user_ip.nil?
288
315
  execute_or_queue_command(command, &block)
289
316
  end
290
317
 
291
- #
318
+ # Enumerate Operations for the given ManagedZone.
292
319
  # @param [String] project
320
+ # Identifies the project addressed by this request.
293
321
  # @param [String] managed_zone
322
+ # Identifies the managed zone addressed by this request.
294
323
  # @param [Fixnum] max_results
324
+ # Optional. Maximum number of results to be returned. If unspecified, the
325
+ # server will decide how many results to return.
295
326
  # @param [String] page_token
327
+ # Optional. A tag returned by a previous list request that was truncated.
328
+ # Use this parameter to continue a previous list request.
296
329
  # @param [String] sort_by
330
+ # Sorting criterion. The only supported values are START_TIME and ID.
297
331
  # @param [String] fields
298
332
  # Selector specifying which fields to include in a partial response.
299
333
  # @param [String] quota_user
300
- # An opaque string that represents a user for quota purposes. Must not exceed 40
301
- # characters.
302
- # @param [String] user_ip
303
- # Deprecated. Please use quotaUser instead.
334
+ # Available to use for quota purposes for server-side applications. Can be any
335
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
304
336
  # @param [Google::Apis::RequestOptions] options
305
337
  # Request-specific options
306
338
  #
@@ -313,8 +345,8 @@ module Google
313
345
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
314
346
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
315
347
  # @raise [Google::Apis::AuthorizationError] Authorization is required
316
- def list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
317
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations', options)
348
+ def list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block)
349
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations', options)
318
350
  command.response_representation = Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse::Representation
319
351
  command.response_class = Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse
320
352
  command.params['project'] = project unless project.nil?
@@ -324,21 +356,22 @@ module Google
324
356
  command.query['sortBy'] = sort_by unless sort_by.nil?
325
357
  command.query['fields'] = fields unless fields.nil?
326
358
  command.query['quotaUser'] = quota_user unless quota_user.nil?
327
- command.query['userIp'] = user_ip unless user_ip.nil?
328
359
  execute_or_queue_command(command, &block)
329
360
  end
330
361
 
331
- #
362
+ # Create a new ManagedZone.
332
363
  # @param [String] project
364
+ # Identifies the project addressed by this request.
333
365
  # @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
334
366
  # @param [String] client_operation_id
367
+ # For mutating operation requests only. An optional identifier
368
+ # specified by the client. Must be unique for operation resources in the
369
+ # Operations collection.
335
370
  # @param [String] fields
336
371
  # Selector specifying which fields to include in a partial response.
337
372
  # @param [String] quota_user
338
- # An opaque string that represents a user for quota purposes. Must not exceed 40
339
- # characters.
340
- # @param [String] user_ip
341
- # Deprecated. Please use quotaUser instead.
373
+ # Available to use for quota purposes for server-side applications. Can be any
374
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
342
375
  # @param [Google::Apis::RequestOptions] options
343
376
  # Request-specific options
344
377
  #
@@ -351,8 +384,8 @@ module Google
351
384
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
352
385
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
353
386
  # @raise [Google::Apis::AuthorizationError] Authorization is required
354
- def create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
355
- command = make_simple_command(:post, '{project}/managedZones', options)
387
+ def create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
388
+ command = make_simple_command(:post, 'dns/v2beta1/projects/{project}/managedZones', options)
356
389
  command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation
357
390
  command.request_object = managed_zone_object
358
391
  command.response_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation
@@ -361,21 +394,24 @@ module Google
361
394
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
362
395
  command.query['fields'] = fields unless fields.nil?
363
396
  command.query['quotaUser'] = quota_user unless quota_user.nil?
364
- command.query['userIp'] = user_ip unless user_ip.nil?
365
397
  execute_or_queue_command(command, &block)
366
398
  end
367
399
 
368
- #
400
+ # Delete a previously created ManagedZone.
369
401
  # @param [String] project
402
+ # Identifies the project addressed by this request.
370
403
  # @param [String] managed_zone
404
+ # Identifies the managed zone addressed by this request. Can be the managed
405
+ # zone name or id.
371
406
  # @param [String] client_operation_id
407
+ # For mutating operation requests only. An optional identifier
408
+ # specified by the client. Must be unique for operation resources in the
409
+ # Operations collection.
372
410
  # @param [String] fields
373
411
  # Selector specifying which fields to include in a partial response.
374
412
  # @param [String] quota_user
375
- # An opaque string that represents a user for quota purposes. Must not exceed 40
376
- # characters.
377
- # @param [String] user_ip
378
- # Deprecated. Please use quotaUser instead.
413
+ # Available to use for quota purposes for server-side applications. Can be any
414
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
379
415
  # @param [Google::Apis::RequestOptions] options
380
416
  # Request-specific options
381
417
  #
@@ -388,28 +424,31 @@ module Google
388
424
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
389
425
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
390
426
  # @raise [Google::Apis::AuthorizationError] Authorization is required
391
- def delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
392
- command = make_simple_command(:delete, '{project}/managedZones/{managedZone}', options)
427
+ def delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
428
+ command = make_simple_command(:delete, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}', options)
393
429
  command.params['project'] = project unless project.nil?
394
430
  command.params['managedZone'] = managed_zone unless managed_zone.nil?
395
431
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
396
432
  command.query['fields'] = fields unless fields.nil?
397
433
  command.query['quotaUser'] = quota_user unless quota_user.nil?
398
- command.query['userIp'] = user_ip unless user_ip.nil?
399
434
  execute_or_queue_command(command, &block)
400
435
  end
401
436
 
402
- #
437
+ # Fetch the representation of an existing ManagedZone.
403
438
  # @param [String] project
439
+ # Identifies the project addressed by this request.
404
440
  # @param [String] managed_zone
441
+ # Identifies the managed zone addressed by this request. Can be the managed
442
+ # zone name or id.
405
443
  # @param [String] client_operation_id
444
+ # For mutating operation requests only. An optional identifier
445
+ # specified by the client. Must be unique for operation resources in the
446
+ # Operations collection.
406
447
  # @param [String] fields
407
448
  # Selector specifying which fields to include in a partial response.
408
449
  # @param [String] quota_user
409
- # An opaque string that represents a user for quota purposes. Must not exceed 40
410
- # characters.
411
- # @param [String] user_ip
412
- # Deprecated. Please use quotaUser instead.
450
+ # Available to use for quota purposes for server-side applications. Can be any
451
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
413
452
  # @param [Google::Apis::RequestOptions] options
414
453
  # Request-specific options
415
454
  #
@@ -422,8 +461,8 @@ module Google
422
461
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
423
462
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
424
463
  # @raise [Google::Apis::AuthorizationError] Authorization is required
425
- def get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
426
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}', options)
464
+ def get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
465
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}', options)
427
466
  command.response_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation
428
467
  command.response_class = Google::Apis::DnsV2beta1::ManagedZone
429
468
  command.params['project'] = project unless project.nil?
@@ -431,22 +470,25 @@ module Google
431
470
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
432
471
  command.query['fields'] = fields unless fields.nil?
433
472
  command.query['quotaUser'] = quota_user unless quota_user.nil?
434
- command.query['userIp'] = user_ip unless user_ip.nil?
435
473
  execute_or_queue_command(command, &block)
436
474
  end
437
475
 
438
- #
476
+ # Enumerate ManagedZones that have been created but not yet deleted.
439
477
  # @param [String] project
478
+ # Identifies the project addressed by this request.
440
479
  # @param [String] dns_name
480
+ # Restricts the list to return only zones with this domain name.
441
481
  # @param [Fixnum] max_results
482
+ # Optional. Maximum number of results to be returned. If unspecified, the
483
+ # server will decide how many results to return.
442
484
  # @param [String] page_token
485
+ # Optional. A tag returned by a previous list request that was truncated.
486
+ # Use this parameter to continue a previous list request.
443
487
  # @param [String] fields
444
488
  # Selector specifying which fields to include in a partial response.
445
489
  # @param [String] quota_user
446
- # An opaque string that represents a user for quota purposes. Must not exceed 40
447
- # characters.
448
- # @param [String] user_ip
449
- # Deprecated. Please use quotaUser instead.
490
+ # Available to use for quota purposes for server-side applications. Can be any
491
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
450
492
  # @param [Google::Apis::RequestOptions] options
451
493
  # Request-specific options
452
494
  #
@@ -459,8 +501,8 @@ module Google
459
501
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
460
502
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
503
  # @raise [Google::Apis::AuthorizationError] Authorization is required
462
- def list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
463
- command = make_simple_command(:get, '{project}/managedZones', options)
504
+ def list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
505
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones', options)
464
506
  command.response_representation = Google::Apis::DnsV2beta1::ManagedZonesListResponse::Representation
465
507
  command.response_class = Google::Apis::DnsV2beta1::ManagedZonesListResponse
466
508
  command.params['project'] = project unless project.nil?
@@ -469,22 +511,25 @@ module Google
469
511
  command.query['pageToken'] = page_token unless page_token.nil?
470
512
  command.query['fields'] = fields unless fields.nil?
471
513
  command.query['quotaUser'] = quota_user unless quota_user.nil?
472
- command.query['userIp'] = user_ip unless user_ip.nil?
473
514
  execute_or_queue_command(command, &block)
474
515
  end
475
516
 
476
- #
517
+ # Apply a partial update to an existing ManagedZone.
477
518
  # @param [String] project
519
+ # Identifies the project addressed by this request.
478
520
  # @param [String] managed_zone
521
+ # Identifies the managed zone addressed by this request. Can be the managed
522
+ # zone name or id.
479
523
  # @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
480
524
  # @param [String] client_operation_id
525
+ # For mutating operation requests only. An optional identifier
526
+ # specified by the client. Must be unique for operation resources in the
527
+ # Operations collection.
481
528
  # @param [String] fields
482
529
  # Selector specifying which fields to include in a partial response.
483
530
  # @param [String] quota_user
484
- # An opaque string that represents a user for quota purposes. Must not exceed 40
485
- # characters.
486
- # @param [String] user_ip
487
- # Deprecated. Please use quotaUser instead.
531
+ # Available to use for quota purposes for server-side applications. Can be any
532
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
488
533
  # @param [Google::Apis::RequestOptions] options
489
534
  # Request-specific options
490
535
  #
@@ -497,8 +542,8 @@ module Google
497
542
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
498
543
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
499
544
  # @raise [Google::Apis::AuthorizationError] Authorization is required
500
- def patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
501
- command = make_simple_command(:patch, '{project}/managedZones/{managedZone}', options)
545
+ def patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
546
+ command = make_simple_command(:patch, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}', options)
502
547
  command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation
503
548
  command.request_object = managed_zone_object
504
549
  command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation
@@ -508,22 +553,25 @@ module Google
508
553
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
509
554
  command.query['fields'] = fields unless fields.nil?
510
555
  command.query['quotaUser'] = quota_user unless quota_user.nil?
511
- command.query['userIp'] = user_ip unless user_ip.nil?
512
556
  execute_or_queue_command(command, &block)
513
557
  end
514
558
 
515
- #
559
+ # Update an existing ManagedZone.
516
560
  # @param [String] project
561
+ # Identifies the project addressed by this request.
517
562
  # @param [String] managed_zone
563
+ # Identifies the managed zone addressed by this request. Can be the managed
564
+ # zone name or id.
518
565
  # @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object
519
566
  # @param [String] client_operation_id
567
+ # For mutating operation requests only. An optional identifier
568
+ # specified by the client. Must be unique for operation resources in the
569
+ # Operations collection.
520
570
  # @param [String] fields
521
571
  # Selector specifying which fields to include in a partial response.
522
572
  # @param [String] quota_user
523
- # An opaque string that represents a user for quota purposes. Must not exceed 40
524
- # characters.
525
- # @param [String] user_ip
526
- # Deprecated. Please use quotaUser instead.
573
+ # Available to use for quota purposes for server-side applications. Can be any
574
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
527
575
  # @param [Google::Apis::RequestOptions] options
528
576
  # Request-specific options
529
577
  #
@@ -536,8 +584,8 @@ module Google
536
584
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
537
585
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
538
586
  # @raise [Google::Apis::AuthorizationError] Authorization is required
539
- def update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
540
- command = make_simple_command(:put, '{project}/managedZones/{managedZone}', options)
587
+ def update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
588
+ command = make_simple_command(:put, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}', options)
541
589
  command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation
542
590
  command.request_object = managed_zone_object
543
591
  command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation
@@ -547,21 +595,22 @@ module Google
547
595
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
548
596
  command.query['fields'] = fields unless fields.nil?
549
597
  command.query['quotaUser'] = quota_user unless quota_user.nil?
550
- command.query['userIp'] = user_ip unless user_ip.nil?
551
598
  execute_or_queue_command(command, &block)
552
599
  end
553
600
 
554
- #
601
+ # Create a new Policy
555
602
  # @param [String] project
603
+ # Identifies the project addressed by this request.
556
604
  # @param [Google::Apis::DnsV2beta1::Policy] policy_object
557
605
  # @param [String] client_operation_id
606
+ # For mutating operation requests only. An optional identifier
607
+ # specified by the client. Must be unique for operation resources in the
608
+ # Operations collection.
558
609
  # @param [String] fields
559
610
  # Selector specifying which fields to include in a partial response.
560
611
  # @param [String] quota_user
561
- # An opaque string that represents a user for quota purposes. Must not exceed 40
562
- # characters.
563
- # @param [String] user_ip
564
- # Deprecated. Please use quotaUser instead.
612
+ # Available to use for quota purposes for server-side applications. Can be any
613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
565
614
  # @param [Google::Apis::RequestOptions] options
566
615
  # Request-specific options
567
616
  #
@@ -574,8 +623,8 @@ module Google
574
623
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
575
624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
576
625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
577
- def create_policy(project, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
578
- command = make_simple_command(:post, '{project}/policies', options)
626
+ def create_policy(project, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
627
+ command = make_simple_command(:post, 'dns/v2beta1/projects/{project}/policies', options)
579
628
  command.request_representation = Google::Apis::DnsV2beta1::Policy::Representation
580
629
  command.request_object = policy_object
581
630
  command.response_representation = Google::Apis::DnsV2beta1::Policy::Representation
@@ -584,21 +633,24 @@ module Google
584
633
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
585
634
  command.query['fields'] = fields unless fields.nil?
586
635
  command.query['quotaUser'] = quota_user unless quota_user.nil?
587
- command.query['userIp'] = user_ip unless user_ip.nil?
588
636
  execute_or_queue_command(command, &block)
589
637
  end
590
638
 
591
- #
639
+ # Delete a previously created Policy. Will fail if the policy is still being
640
+ # referenced by a network.
592
641
  # @param [String] project
642
+ # Identifies the project addressed by this request.
593
643
  # @param [String] policy
644
+ # User given friendly name of the policy addressed by this request.
594
645
  # @param [String] client_operation_id
646
+ # For mutating operation requests only. An optional identifier
647
+ # specified by the client. Must be unique for operation resources in the
648
+ # Operations collection.
595
649
  # @param [String] fields
596
650
  # Selector specifying which fields to include in a partial response.
597
651
  # @param [String] quota_user
598
- # An opaque string that represents a user for quota purposes. Must not exceed 40
599
- # characters.
600
- # @param [String] user_ip
601
- # Deprecated. Please use quotaUser instead.
652
+ # Available to use for quota purposes for server-side applications. Can be any
653
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
602
654
  # @param [Google::Apis::RequestOptions] options
603
655
  # Request-specific options
604
656
  #
@@ -611,28 +663,30 @@ module Google
611
663
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
612
664
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
613
665
  # @raise [Google::Apis::AuthorizationError] Authorization is required
614
- def delete_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
615
- command = make_simple_command(:delete, '{project}/policies/{policy}', options)
666
+ def delete_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
667
+ command = make_simple_command(:delete, 'dns/v2beta1/projects/{project}/policies/{policy}', options)
616
668
  command.params['project'] = project unless project.nil?
617
669
  command.params['policy'] = policy unless policy.nil?
618
670
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
619
671
  command.query['fields'] = fields unless fields.nil?
620
672
  command.query['quotaUser'] = quota_user unless quota_user.nil?
621
- command.query['userIp'] = user_ip unless user_ip.nil?
622
673
  execute_or_queue_command(command, &block)
623
674
  end
624
675
 
625
- #
676
+ # Fetch the representation of an existing Policy.
626
677
  # @param [String] project
678
+ # Identifies the project addressed by this request.
627
679
  # @param [String] policy
680
+ # User given friendly name of the policy addressed by this request.
628
681
  # @param [String] client_operation_id
682
+ # For mutating operation requests only. An optional identifier
683
+ # specified by the client. Must be unique for operation resources in the
684
+ # Operations collection.
629
685
  # @param [String] fields
630
686
  # Selector specifying which fields to include in a partial response.
631
687
  # @param [String] quota_user
632
- # An opaque string that represents a user for quota purposes. Must not exceed 40
633
- # characters.
634
- # @param [String] user_ip
635
- # Deprecated. Please use quotaUser instead.
688
+ # Available to use for quota purposes for server-side applications. Can be any
689
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
636
690
  # @param [Google::Apis::RequestOptions] options
637
691
  # Request-specific options
638
692
  #
@@ -645,8 +699,8 @@ module Google
645
699
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
646
700
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
647
701
  # @raise [Google::Apis::AuthorizationError] Authorization is required
648
- def get_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
649
- command = make_simple_command(:get, '{project}/policies/{policy}', options)
702
+ def get_policy(project, policy, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
703
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/policies/{policy}', options)
650
704
  command.response_representation = Google::Apis::DnsV2beta1::Policy::Representation
651
705
  command.response_class = Google::Apis::DnsV2beta1::Policy
652
706
  command.params['project'] = project unless project.nil?
@@ -654,21 +708,23 @@ module Google
654
708
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
655
709
  command.query['fields'] = fields unless fields.nil?
656
710
  command.query['quotaUser'] = quota_user unless quota_user.nil?
657
- command.query['userIp'] = user_ip unless user_ip.nil?
658
711
  execute_or_queue_command(command, &block)
659
712
  end
660
713
 
661
- #
714
+ # Enumerate all Policies associated with a project.
662
715
  # @param [String] project
716
+ # Identifies the project addressed by this request.
663
717
  # @param [Fixnum] max_results
718
+ # Optional. Maximum number of results to be returned. If unspecified, the
719
+ # server will decide how many results to return.
664
720
  # @param [String] page_token
721
+ # Optional. A tag returned by a previous list request that was truncated.
722
+ # Use this parameter to continue a previous list request.
665
723
  # @param [String] fields
666
724
  # Selector specifying which fields to include in a partial response.
667
725
  # @param [String] quota_user
668
- # An opaque string that represents a user for quota purposes. Must not exceed 40
669
- # characters.
670
- # @param [String] user_ip
671
- # Deprecated. Please use quotaUser instead.
726
+ # Available to use for quota purposes for server-side applications. Can be any
727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
672
728
  # @param [Google::Apis::RequestOptions] options
673
729
  # Request-specific options
674
730
  #
@@ -681,8 +737,8 @@ module Google
681
737
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
682
738
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
683
739
  # @raise [Google::Apis::AuthorizationError] Authorization is required
684
- def list_policies(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
685
- command = make_simple_command(:get, '{project}/policies', options)
740
+ def list_policies(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
741
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/policies', options)
686
742
  command.response_representation = Google::Apis::DnsV2beta1::PoliciesListResponse::Representation
687
743
  command.response_class = Google::Apis::DnsV2beta1::PoliciesListResponse
688
744
  command.params['project'] = project unless project.nil?
@@ -690,22 +746,24 @@ module Google
690
746
  command.query['pageToken'] = page_token unless page_token.nil?
691
747
  command.query['fields'] = fields unless fields.nil?
692
748
  command.query['quotaUser'] = quota_user unless quota_user.nil?
693
- command.query['userIp'] = user_ip unless user_ip.nil?
694
749
  execute_or_queue_command(command, &block)
695
750
  end
696
751
 
697
- #
752
+ # Apply a partial update to an existing Policy.
698
753
  # @param [String] project
754
+ # Identifies the project addressed by this request.
699
755
  # @param [String] policy
756
+ # User given friendly name of the policy addressed by this request.
700
757
  # @param [Google::Apis::DnsV2beta1::Policy] policy_object
701
758
  # @param [String] client_operation_id
759
+ # For mutating operation requests only. An optional identifier
760
+ # specified by the client. Must be unique for operation resources in the
761
+ # Operations collection.
702
762
  # @param [String] fields
703
763
  # Selector specifying which fields to include in a partial response.
704
764
  # @param [String] quota_user
705
- # An opaque string that represents a user for quota purposes. Must not exceed 40
706
- # characters.
707
- # @param [String] user_ip
708
- # Deprecated. Please use quotaUser instead.
765
+ # Available to use for quota purposes for server-side applications. Can be any
766
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
709
767
  # @param [Google::Apis::RequestOptions] options
710
768
  # Request-specific options
711
769
  #
@@ -718,8 +776,8 @@ module Google
718
776
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
719
777
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
720
778
  # @raise [Google::Apis::AuthorizationError] Authorization is required
721
- def patch_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
722
- command = make_simple_command(:patch, '{project}/policies/{policy}', options)
779
+ def patch_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
780
+ command = make_simple_command(:patch, 'dns/v2beta1/projects/{project}/policies/{policy}', options)
723
781
  command.request_representation = Google::Apis::DnsV2beta1::Policy::Representation
724
782
  command.request_object = policy_object
725
783
  command.response_representation = Google::Apis::DnsV2beta1::PoliciesPatchResponse::Representation
@@ -729,22 +787,24 @@ module Google
729
787
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
730
788
  command.query['fields'] = fields unless fields.nil?
731
789
  command.query['quotaUser'] = quota_user unless quota_user.nil?
732
- command.query['userIp'] = user_ip unless user_ip.nil?
733
790
  execute_or_queue_command(command, &block)
734
791
  end
735
792
 
736
- #
793
+ # Update an existing Policy.
737
794
  # @param [String] project
795
+ # Identifies the project addressed by this request.
738
796
  # @param [String] policy
797
+ # User given friendly name of the policy addressed by this request.
739
798
  # @param [Google::Apis::DnsV2beta1::Policy] policy_object
740
799
  # @param [String] client_operation_id
800
+ # For mutating operation requests only. An optional identifier
801
+ # specified by the client. Must be unique for operation resources in the
802
+ # Operations collection.
741
803
  # @param [String] fields
742
804
  # Selector specifying which fields to include in a partial response.
743
805
  # @param [String] quota_user
744
- # An opaque string that represents a user for quota purposes. Must not exceed 40
745
- # characters.
746
- # @param [String] user_ip
747
- # Deprecated. Please use quotaUser instead.
806
+ # Available to use for quota purposes for server-side applications. Can be any
807
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
748
808
  # @param [Google::Apis::RequestOptions] options
749
809
  # Request-specific options
750
810
  #
@@ -757,8 +817,8 @@ module Google
757
817
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
758
818
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
759
819
  # @raise [Google::Apis::AuthorizationError] Authorization is required
760
- def update_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
761
- command = make_simple_command(:put, '{project}/policies/{policy}', options)
820
+ def update_policy(project, policy, policy_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
821
+ command = make_simple_command(:put, 'dns/v2beta1/projects/{project}/policies/{policy}', options)
762
822
  command.request_representation = Google::Apis::DnsV2beta1::Policy::Representation
763
823
  command.request_object = policy_object
764
824
  command.response_representation = Google::Apis::DnsV2beta1::PoliciesUpdateResponse::Representation
@@ -768,20 +828,21 @@ module Google
768
828
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
769
829
  command.query['fields'] = fields unless fields.nil?
770
830
  command.query['quotaUser'] = quota_user unless quota_user.nil?
771
- command.query['userIp'] = user_ip unless user_ip.nil?
772
831
  execute_or_queue_command(command, &block)
773
832
  end
774
833
 
775
- #
834
+ # Fetch the representation of an existing Project.
776
835
  # @param [String] project
836
+ # Identifies the project addressed by this request.
777
837
  # @param [String] client_operation_id
838
+ # For mutating operation requests only. An optional identifier
839
+ # specified by the client. Must be unique for operation resources in the
840
+ # Operations collection.
778
841
  # @param [String] fields
779
842
  # Selector specifying which fields to include in a partial response.
780
843
  # @param [String] quota_user
781
- # An opaque string that represents a user for quota purposes. Must not exceed 40
782
- # characters.
783
- # @param [String] user_ip
784
- # Deprecated. Please use quotaUser instead.
844
+ # Available to use for quota purposes for server-side applications. Can be any
845
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
785
846
  # @param [Google::Apis::RequestOptions] options
786
847
  # Request-specific options
787
848
  #
@@ -794,32 +855,40 @@ module Google
794
855
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
795
856
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
796
857
  # @raise [Google::Apis::AuthorizationError] Authorization is required
797
- def get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
798
- command = make_simple_command(:get, '{project}', options)
858
+ def get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
859
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}', options)
799
860
  command.response_representation = Google::Apis::DnsV2beta1::Project::Representation
800
861
  command.response_class = Google::Apis::DnsV2beta1::Project
801
862
  command.params['project'] = project unless project.nil?
802
863
  command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil?
803
864
  command.query['fields'] = fields unless fields.nil?
804
865
  command.query['quotaUser'] = quota_user unless quota_user.nil?
805
- command.query['userIp'] = user_ip unless user_ip.nil?
806
866
  execute_or_queue_command(command, &block)
807
867
  end
808
868
 
809
- #
869
+ # Enumerate ResourceRecordSets that have been created but not yet deleted.
810
870
  # @param [String] project
871
+ # Identifies the project addressed by this request.
811
872
  # @param [String] managed_zone
873
+ # Identifies the managed zone addressed by this request. Can be the managed
874
+ # zone name or id.
812
875
  # @param [Fixnum] max_results
876
+ # Optional. Maximum number of results to be returned. If unspecified, the
877
+ # server will decide how many results to return.
813
878
  # @param [String] name
879
+ # Restricts the list to return only records with this fully qualified domain
880
+ # name.
814
881
  # @param [String] page_token
882
+ # Optional. A tag returned by a previous list request that was truncated.
883
+ # Use this parameter to continue a previous list request.
815
884
  # @param [String] type
885
+ # Restricts the list to return only records of this type. If present, the
886
+ # "name" parameter must also be present.
816
887
  # @param [String] fields
817
888
  # Selector specifying which fields to include in a partial response.
818
889
  # @param [String] quota_user
819
- # An opaque string that represents a user for quota purposes. Must not exceed 40
820
- # characters.
821
- # @param [String] user_ip
822
- # Deprecated. Please use quotaUser instead.
890
+ # Available to use for quota purposes for server-side applications. Can be any
891
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
823
892
  # @param [Google::Apis::RequestOptions] options
824
893
  # Request-specific options
825
894
  #
@@ -832,8 +901,8 @@ module Google
832
901
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
833
902
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
834
903
  # @raise [Google::Apis::AuthorizationError] Authorization is required
835
- def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
836
- command = make_simple_command(:get, '{project}/managedZones/{managedZone}/rrsets', options)
904
+ def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
905
+ command = make_simple_command(:get, 'dns/v2beta1/projects/{project}/managedZones/{managedZone}/rrsets', options)
837
906
  command.response_representation = Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse::Representation
838
907
  command.response_class = Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse
839
908
  command.params['project'] = project unless project.nil?
@@ -844,7 +913,6 @@ module Google
844
913
  command.query['type'] = type unless type.nil?
845
914
  command.query['fields'] = fields unless fields.nil?
846
915
  command.query['quotaUser'] = quota_user unless quota_user.nil?
847
- command.query['userIp'] = user_ip unless user_ip.nil?
848
916
  execute_or_queue_command(command, &block)
849
917
  end
850
918
 
@@ -853,7 +921,6 @@ module Google
853
921
  def apply_command_defaults(command)
854
922
  command.query['key'] = key unless key.nil?
855
923
  command.query['quotaUser'] = quota_user unless quota_user.nil?
856
- command.query['userIp'] = user_ip unless user_ip.nil?
857
924
  end
858
925
  end
859
926
  end