proto_docs/google/protobuf/any.rb in google-cloud-automl-v1beta1-0.5.5 vs proto_docs/google/protobuf/any.rb in google-cloud-automl-v1beta1-0.6.0

- old
+ new

@@ -42,21 +42,21 @@ # ... # if (any.is(Foo.class)) { # foo = any.unpack(Foo.class); # } # - # Example 3: Pack and unpack a message in Python. + # Example 3: Pack and unpack a message in Python. # # foo = Foo(...) # any = Any() # any.Pack(foo) # ... # if any.Is(Foo.DESCRIPTOR): # any.Unpack(foo) # ... # - # Example 4: Pack and unpack a message in Go + # Example 4: Pack and unpack a message in Go # # foo := &pb.Foo{...} # any, err := anypb.New(foo) # if err != nil { # ... @@ -73,10 +73,10 @@ # in the type URL, for example "foo.bar.com/x/y.z" will yield type # name "y.z". # # # JSON - # ==== + # # The JSON representation of an `Any` value uses the regular # representation of the deserialized, embedded message, with an # additional field `@type` which contains the type URL. Example: # # package google.profile;