Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::UpdateOccurrenceRequest.
Request to update an occurrence.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def
name
()
-
>
::
String
Returns
- (::String) — The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
#name=
def
name=
(
value
)
-
>
::
String
Parameter
- value(::String) — The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
Returns
- (::String) — The name of the occurrence in the form of
projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]
.
#occurrence
def
occurrence
()
-
>
::
Grafeas
::
V1
::
Occurrence
Returns
- ( ::Grafeas::V1::Occurrence ) — The updated occurrence.
#occurrence=
def
occurrence=
(
value
)
-
>
::
Grafeas
::
V1
::
Occurrence
Parameter
- value( ::Grafeas::V1::Occurrence ) — The updated occurrence.
Returns
- ( ::Grafeas::V1::Occurrence ) — The updated occurrence.
#update_mask
def
update_mask
()
-
>
::
Google
::
Protobuf
::
FieldMask
Returns
- ( ::Google::Protobuf::FieldMask ) — The fields to update.
#update_mask=
def
update_mask=
(
value
)
-
>
::
Google
::
Protobuf
::
FieldMask
Parameter
- value( ::Google::Protobuf::FieldMask ) — The fields to update.
Returns
- ( ::Google::Protobuf::FieldMask ) — The fields to update.