Пример #1
0
class ConferenceForms(messages.Message):
    """ConferenceForms -- multiple Conference outbound form message"""
    items = messages.MessageField(ConferenceForm, 1, repeated=True)
Пример #2
0
class EventList(messages.Message):
    code = messages.IntegerField(1)
    data = messages.MessageField(EventUpdate, 2, repeated=True)
Пример #3
0
class SuperSuperMessage(messages.Message):
    """A test message with two levels of nested."""

    sub_message = messages.MessageField(SuperMessage, 1)
    sub_messages = messages.MessageField(SuperMessage, 2, repeated=True)
Пример #4
0
class HeaderMessage(messages.Message):
    extensions = messages.StringField(1, repeated=True)
    fields = messages.MessageField(FieldMessage, 2, repeated=True)
class Operation(messages.Message):
    """An operation resource, used to manage asynchronous API requests.

  Enums:
    StatusValueValuesEnum: [Output Only] Status of the operation. Can be one
      of the following: PENDING, RUNNING, or DONE.

  Messages:
    ErrorValue: [Output Only] If errors are generated during processing of the
      operation, this field will be populated.
    WarningsValueListEntry: A WarningsValueListEntry object.

  Fields:
    clientOperationId: [Output Only] An optional identifier specified by the
      client when the mutation was initiated. Must be unique for all operation
      resources in the project.
    creationTimestamp: [Output Only] Creation timestamp in RFC3339 text
      format.
    endTime: [Output Only] The time that this operation was completed. This is
      in RFC3339 text format.
    error: [Output Only] If errors are generated during processing of the
      operation, this field will be populated.
    httpErrorMessage: [Output Only] If the operation fails, this field
      contains the HTTP error message that was returned, such as NOT FOUND.
    httpErrorStatusCode: [Output Only] If the operation fails, this field
      contains the HTTP error message that was returned, such as 404.
    id: [Output Only] Unique identifier for the resource; defined by the
      server.
    insertTime: [Output Only] The time that this operation was requested. This
      is in RFC3339 text format.
    kind: [Output Only] Type of the resource. Always compute#Operation for
      Operation resources.
    name: [Output Only] Name of the resource.
    operationType: [Output Only] Type of the operation, such as insert,
      update, and delete.
    progress: [Output Only] An optional progress indicator that ranges from 0
      to 100. There is no requirement that this be linear or support any
      granularity of operations. This should not be used to guess at when the
      operation will be complete. This number should monotonically increase as
      the operation progresses.
    region: [Output Only] URL of the region where the operation resides. Only
      applicable for regional resources.
    selfLink: [Output Only] Server defined URL for the resource.
    startTime: [Output Only] The time that this operation was started by the
      server. This is in RFC3339 text format.
    status: [Output Only] Status of the operation. Can be one of the
      following: PENDING, RUNNING, or DONE.
    statusMessage: [Output Only] An optional textual description of the
      current status of the operation.
    targetId: [Output Only] Unique target ID which identifies a particular
      incarnation of the target.
    targetLink: [Output Only] URL of the resource the operation is mutating.
    user: [Output Only] User who requested the operation, for example:
      [email protected].
    warnings: [Output Only] If warning messages are generated during
      processing of the operation, this field will be populated.
    zone: [Output Only] URL of the zone where the operation resides.
  """
    class StatusValueValuesEnum(messages.Enum):
        """[Output Only] Status of the operation. Can be one of the following:
    PENDING, RUNNING, or DONE.

    Values:
      DONE: <no description>
      PENDING: <no description>
      RUNNING: <no description>
    """
        DONE = 0
        PENDING = 1
        RUNNING = 2

    class ErrorValue(messages.Message):
        """[Output Only] If errors are generated during processing of the
    operation, this field will be populated.

    Messages:
      ErrorsValueListEntry: A ErrorsValueListEntry object.

    Fields:
      errors: [Output Only] The array of errors encountered while processing
        this operation.
    """
        class ErrorsValueListEntry(messages.Message):
            """A ErrorsValueListEntry object.

      Fields:
        code: [Output Only] The error type identifier for this error.
        location: [Output Only] Indicates the field in the request which
          caused the error. This property is optional.
        message: [Output Only] An optional, human-readable error message.
      """

            code = messages.StringField(1)
            location = messages.StringField(2)
            message = messages.StringField(3)

        errors = messages.MessageField('ErrorsValueListEntry',
                                       1,
                                       repeated=True)

    class WarningsValueListEntry(messages.Message):
        """A WarningsValueListEntry object.

    Enums:
      CodeValueValuesEnum: [Output Only] The warning type identifier for this
        warning.

    Messages:
      DataValueListEntry: A DataValueListEntry object.

    Fields:
      code: [Output Only] The warning type identifier for this warning.
      data: [Output Only] Metadata for this warning in key: value format.
      message: [Output Only] Optional human-readable details for this warning.
    """
        class CodeValueValuesEnum(messages.Enum):
            """[Output Only] The warning type identifier for this warning.

      Values:
        DEPRECATED_RESOURCE_USED: <no description>
        DISK_SIZE_LARGER_THAN_IMAGE_SIZE: <no description>
        INJECTED_KERNELS_DEPRECATED: <no description>
        NEXT_HOP_ADDRESS_NOT_ASSIGNED: <no description>
        NEXT_HOP_CANNOT_IP_FORWARD: <no description>
        NEXT_HOP_INSTANCE_NOT_FOUND: <no description>
        NEXT_HOP_INSTANCE_NOT_ON_NETWORK: <no description>
        NEXT_HOP_NOT_RUNNING: <no description>
        NOT_CRITICAL_ERROR: <no description>
        NO_RESULTS_ON_PAGE: <no description>
        REQUIRED_TOS_AGREEMENT: <no description>
        RESOURCE_NOT_DELETED: <no description>
        SINGLE_INSTANCE_PROPERTY_TEMPLATE: <no description>
        UNREACHABLE: <no description>
      """
            DEPRECATED_RESOURCE_USED = 0
            DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 1
            INJECTED_KERNELS_DEPRECATED = 2
            NEXT_HOP_ADDRESS_NOT_ASSIGNED = 3
            NEXT_HOP_CANNOT_IP_FORWARD = 4
            NEXT_HOP_INSTANCE_NOT_FOUND = 5
            NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 6
            NEXT_HOP_NOT_RUNNING = 7
            NOT_CRITICAL_ERROR = 8
            NO_RESULTS_ON_PAGE = 9
            REQUIRED_TOS_AGREEMENT = 10
            RESOURCE_NOT_DELETED = 11
            SINGLE_INSTANCE_PROPERTY_TEMPLATE = 12
            UNREACHABLE = 13

        class DataValueListEntry(messages.Message):
            """A DataValueListEntry object.

      Fields:
        key: [Output Only] A key for the warning data.
        value: [Output Only] A warning data value corresponding to the key.
      """

            key = messages.StringField(1)
            value = messages.StringField(2)

        code = messages.EnumField('CodeValueValuesEnum', 1)
        data = messages.MessageField('DataValueListEntry', 2, repeated=True)
        message = messages.StringField(3)

    clientOperationId = messages.StringField(1)
    creationTimestamp = messages.StringField(2)
    endTime = messages.StringField(3)
    error = messages.MessageField('ErrorValue', 4)
    httpErrorMessage = messages.StringField(5)
    httpErrorStatusCode = messages.IntegerField(6,
                                                variant=messages.Variant.INT32)
    id = messages.IntegerField(7, variant=messages.Variant.UINT64)
    insertTime = messages.StringField(8)
    kind = messages.StringField(9, default=u'computeaccounts#operation')
    name = messages.StringField(10)
    operationType = messages.StringField(11)
    progress = messages.IntegerField(12, variant=messages.Variant.INT32)
    region = messages.StringField(13)
    selfLink = messages.StringField(14)
    startTime = messages.StringField(15)
    status = messages.EnumField('StatusValueValuesEnum', 16)
    statusMessage = messages.StringField(17)
    targetId = messages.IntegerField(18, variant=messages.Variant.UINT64)
    targetLink = messages.StringField(19)
    user = messages.StringField(20)
    warnings = messages.MessageField('WarningsValueListEntry',
                                     21,
                                     repeated=True)
    zone = messages.StringField(22)
Пример #6
0
class TaskRequestMetadata(messages.Message):
    """Provides the ID of the requested TaskRequest."""
    request = messages.MessageField(TaskRequest, 1)
    task_id = messages.StringField(2)
    # Set to finished task result in case task was deduplicated.
    task_result = messages.MessageField(TaskResult, 3)
Пример #7
0
class BotEvents(messages.Message):
    cursor = messages.StringField(1)
    items = messages.MessageField(BotEvent, 2, repeated=True)
    now = message_types.DateTimeField(3)
Пример #8
0
class TicTacToeGameForms(messages.Message):
    """
    Return multiple TicTactoeGameForm.
    """
    games = messages.MessageField(TicTacToeGameForm, 1, repeated=True)
Пример #9
0
class TicTacToeScoreForms(messages.Message):
    """
    Return multiple TicTacToeScoreForms.
    """
    items = messages.MessageField(TicTacToeScoreForm, 1, repeated=True)
Пример #10
0
class DigestCollection(messages.Message):
    """Endpoints request type analogous to the existing JSON post body."""
    items = messages.MessageField(Digest, 1, repeated=True)
    namespace = messages.StringField(2)
Пример #11
0
class UrlCollection(messages.Message):
    """Endpoints response type analogous to existing JSON response."""
    items = messages.MessageField(PreuploadStatus, 1, repeated=True)
Пример #12
0
class SpeakerForms(messages.Message):
    """SpeakerForms -- multiple Speaker outbound message"""
    speakers = messages.MessageField(SpeakerForm, 1, repeated=True)
Пример #13
0
class SessionForms(messages.Message):
    """SessionForms -- mutliple Session outbound for message"""
    sessions = messages.MessageField(SessionForm, 1, repeated=True)
Пример #14
0
class ConferenceQueryForms(messages.Message):
    """ConferenceQueryForms -- multiple ConferenceQueryForm inbound form message"""
    filters = messages.MessageField(ConferenceQueryForm, 1, repeated=True)
Пример #15
0
class NeighbourSearchMessage(messages.Message):
    position = messages.MessageField(GeoPointWithAccuracyMessage,
                                     1,
                                     required=True)
    radius = messages.FloatField(2, required=True)
Пример #16
0
class TicTacToePlayerRankingForms(messages.Message):
    """
    Return multiple TicTacToePlayerRankingForms.
    """
    items = messages.MessageField(TicTacToePlayerRankingForm, 1, repeated=True)
Пример #17
0
class TaskList(messages.Message):
    """Wraps a list of TaskResult, along with request information."""
    cursor = messages.StringField(1)
    items = messages.MessageField(TaskResult, 2, repeated=True)
    now = message_types.DateTimeField(3)
Пример #18
0
class AppGuideItemCollection(messages.Message):
    items = messages.MessageField(AppGuideItemResponse, 1, repeated=True)
Пример #19
0
class BotList(messages.Message):
    """Wraps a list of BotInfo, along with information about the request."""
    cursor = messages.StringField(1)
    items = messages.MessageField(BotInfo, 2, repeated=True)
    now = message_types.DateTimeField(3)
    death_timeout = messages.IntegerField(4)
Пример #20
0
class BookForms(messages.Message):
    items = messages.MessageField('BookForm', 1, repeated=True)
Пример #21
0
class BotTasks(messages.Message):
    cursor = messages.StringField(1)
    items = messages.MessageField(TaskResult, 2, repeated=True)
    now = message_types.DateTimeField(3)
Пример #22
0
class IntegrationSpotMessage(messages.Message):

    display_name = messages.StringField(1,required=True)
    description = messages.StringField(2)
    location = messages.MessageField(GeoPointMessage, 3)
    image = messages.StringField(4)
Пример #23
0
class GreetingCollection(messages.Message):
  """Collection of Greetings."""
  items = messages.MessageField(Greeting, 1, repeated=True)
Пример #24
0
class IntegrationSpotMapResponseMessage(messages.Message):

    items = messages.MessageField(IntegrationSpotMessage, 1, repeated=True)
    class WarningsValueListEntry(messages.Message):
        """A WarningsValueListEntry object.

    Enums:
      CodeValueValuesEnum: [Output Only] The warning type identifier for this
        warning.

    Messages:
      DataValueListEntry: A DataValueListEntry object.

    Fields:
      code: [Output Only] The warning type identifier for this warning.
      data: [Output Only] Metadata for this warning in key: value format.
      message: [Output Only] Optional human-readable details for this warning.
    """
        class CodeValueValuesEnum(messages.Enum):
            """[Output Only] The warning type identifier for this warning.

      Values:
        DEPRECATED_RESOURCE_USED: <no description>
        DISK_SIZE_LARGER_THAN_IMAGE_SIZE: <no description>
        INJECTED_KERNELS_DEPRECATED: <no description>
        NEXT_HOP_ADDRESS_NOT_ASSIGNED: <no description>
        NEXT_HOP_CANNOT_IP_FORWARD: <no description>
        NEXT_HOP_INSTANCE_NOT_FOUND: <no description>
        NEXT_HOP_INSTANCE_NOT_ON_NETWORK: <no description>
        NEXT_HOP_NOT_RUNNING: <no description>
        NOT_CRITICAL_ERROR: <no description>
        NO_RESULTS_ON_PAGE: <no description>
        REQUIRED_TOS_AGREEMENT: <no description>
        RESOURCE_NOT_DELETED: <no description>
        SINGLE_INSTANCE_PROPERTY_TEMPLATE: <no description>
        UNREACHABLE: <no description>
      """
            DEPRECATED_RESOURCE_USED = 0
            DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 1
            INJECTED_KERNELS_DEPRECATED = 2
            NEXT_HOP_ADDRESS_NOT_ASSIGNED = 3
            NEXT_HOP_CANNOT_IP_FORWARD = 4
            NEXT_HOP_INSTANCE_NOT_FOUND = 5
            NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 6
            NEXT_HOP_NOT_RUNNING = 7
            NOT_CRITICAL_ERROR = 8
            NO_RESULTS_ON_PAGE = 9
            REQUIRED_TOS_AGREEMENT = 10
            RESOURCE_NOT_DELETED = 11
            SINGLE_INSTANCE_PROPERTY_TEMPLATE = 12
            UNREACHABLE = 13

        class DataValueListEntry(messages.Message):
            """A DataValueListEntry object.

      Fields:
        key: [Output Only] A key for the warning data.
        value: [Output Only] A warning data value corresponding to the key.
      """

            key = messages.StringField(1)
            value = messages.StringField(2)

        code = messages.EnumField('CodeValueValuesEnum', 1)
        data = messages.MessageField('DataValueListEntry', 2, repeated=True)
        message = messages.StringField(3)
Пример #26
0
class TimedPositionMessage(messages.Message):
    position = messages.MessageField(GeoPointWithAccuracyMessage,
                                     1,
                                     required=True)
    timestamp = messages.StringField(2, required=True)
Пример #27
0
        class HasNestedRepeated(messages.Message):

            nested = messages.MessageField(HasRepeated, 1, repeated=True)
Пример #28
0
class RouteMessage(messages.Message):
    positions = messages.MessageField(TimedPositionMessage, 1, repeated=True)
Пример #29
0
class InfoNodeResponse(messages.Message):
    id = messages.StringField(1)
    entityKey = messages.StringField(2)
    kind = messages.StringField(3)
    fields = messages.MessageField(RecordSchema, 4, repeated=True)
    parent = messages.StringField(5)
class ExpertCollection(messages.Message):
    experts = messages.MessageField(Expert, 1, repeated=True)
    keyword = messages.StringField(2)
    number_of_experts = messages.IntegerField(3)