Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::CreateOccurrenceRequest.
Request to create a new occurrence.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#occurrence
def
occurrence
()
-
>
::
Grafeas
::
V1
::
Occurrence
Returns
- ( ::Grafeas::V1::Occurrence ) — The occurrence to create.
#occurrence=
def
occurrence=
(
value
)
-
>
::
Grafeas
::
V1
::
Occurrence
Parameter
- value( ::Grafeas::V1::Occurrence ) — The occurrence to create.
Returns
- ( ::Grafeas::V1::Occurrence ) — The occurrence to create.
#parent
def
parent
()
-
>
::
String
Returns
- (::String) — The name of the project in the form of
projects/[PROJECT_ID]
, under which the occurrence is to be created.
#parent=
def
parent=
(
value
)
-
>
::
String
Parameter
- value(::String) — The name of the project in the form of
projects/[PROJECT_ID]
, under which the occurrence is to be created.
Returns
- (::String) — The name of the project in the form of
projects/[PROJECT_ID]
, under which the occurrence is to be created.