class Google::Apis::StreetviewpublishV1::PhotoResponse
Response payload for a single Photo
in batch operations including BatchGetPhotos and BatchUpdatePhotos.
Attributes
Photo
is used to store 360 photos along with photo metadata. Corresponds to the JSON property `photo` @return [Google::Apis::StreetviewpublishV1::Photo]
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [ gRPC](github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https: //cloud.google.com/apis/design/errors). Corresponds to the JSON property `status` @return [Google::Apis::StreetviewpublishV1::Status]
Public Class Methods
# File lib/google/apis/streetviewpublish_v1/classes.rb, line 434 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/streetviewpublish_v1/classes.rb, line 439 def update!(**args) @photo = args[:photo] if args.key?(:photo) @status = args[:status] if args.key?(:status) end