toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allKmsKeys != null) 'allKmsKeys': allKmsKeys!,
      if (allKmsKeysVersions != null)
        'allKmsKeysVersions': allKmsKeysVersions!,
      if (callLogLevel != null) 'callLogLevel': callLogLevel!,
      if (createTime != null) 'createTime': createTime!,
      if (cryptoKeyName != null) 'cryptoKeyName': cryptoKeyName!,
      if (cryptoKeyVersion != null) 'cryptoKeyVersion': cryptoKeyVersion!,
      if (description != null) 'description': description!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (revisionCreateTime != null)
        'revisionCreateTime': revisionCreateTime!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (sourceContents != null) 'sourceContents': sourceContents!,
      if (state != null) 'state': state!,
      if (stateError != null) 'stateError': stateError!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (userEnvVars != null) 'userEnvVars': userEnvVars!,
    };