generated/google/apis/cloudfunctions_v1/classes.rb in google-api-client-0.10.3 vs generated/google/apis/cloudfunctions_v1/classes.rb in google-api-client-0.11.0

- old
+ new

@@ -64,34 +64,34 @@ # Metadata describing an Operation class OperationMetadataV1Beta2 include Google::Apis::Core::Hashable - # Target of the operation - for example - # projects/project-1/locations/region-1/functions/function-1 - # Corresponds to the JSON property `target` - # @return [String] - attr_accessor :target - # The original request that started the operation. # Corresponds to the JSON property `request` # @return [Hash<String,Object>] attr_accessor :request # Type of operation. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type + # Target of the operation - for example + # projects/project-1/locations/region-1/functions/function-1 + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @target = args[:target] if args.key?(:target) @request = args[:request] if args.key?(:request) @type = args[:type] if args.key?(:type) + @target = args[:target] if args.key?(:target) end end end end end