lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb in google-cloud-compute-v1-1.3.0 vs lib/google/cloud/compute/v1/firewall_policies/rest/service_stub.rb in google-cloud-compute-v1-1.4.0
- old
+ new
@@ -580,10 +580,10 @@
# Uri, Body, Query string parameters
def transcode_move_request request_pb
uri = "/compute/v1/locations/global/firewallPolicies/#{request_pb.firewall_policy}/move"
body = nil
query_string_params = {}
- query_string_params["parentId"] = request_pb.parent_id.to_s if request_pb.has_parent_id?
+ query_string_params["parentId"] = request_pb.parent_id.to_s
query_string_params["requestId"] = request_pb.request_id.to_s if request_pb.has_request_id?
[uri, body, query_string_params]
end